/* ============================================================
   Civil Companion Suit — Design System
   Shared stylesheet for LTR (English) and RTL (Hebrew) pages.
   Uses CSS logical properties so the same rules serve both
   directions based on the <html dir="ltr|rtl"> attribute.
   ============================================================ */

:root {
  --color-navy-900: #0a1930;
  --color-navy-800: #10233f;
  --color-navy-700: #163155;
  --color-blue-600: #2563eb;
  --color-blue-500: #3b82f6;
  --color-blue-100: #dbeafe;
  --color-teal-500: #14b8a6;
  --color-teal-600: #0d9488;
  --color-amber-500: #f59e0b;
  --color-amber-100: #fef3c7;
  --color-slate-900: #0f172a;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;
  --color-red-600: #dc2626;

  --font-en: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-he: "Heebo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 25, 48, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 25, 48, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 25, 48, 0.14);
  --container-width: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-slate-700);
  font-family: var(--font-en);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body { font-family: var(--font-he); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--color-navy-900); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-blue-600); color: var(--color-white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-blue-500); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; border-color: var(--color-slate-200); color: var(--color-navy-900); }
.btn-secondary:hover { border-color: var(--color-blue-600); color: var(--color-blue-600); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--color-white); }
.btn-outline-light:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-block-end: 1px solid var(--color-slate-200);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-navy-900);
}
.brand img { height: 36px; width: 36px; object-fit: contain; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--color-slate-700);
  padding-block: 6px;
  border-block-end: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-blue-600); border-color: var(--color-blue-600); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid var(--color-slate-200);
  border-radius: 999px;
  color: var(--color-navy-900);
}
.lang-switch:hover { border-color: var(--color-blue-600); color: var(--color-blue-600); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-900);
  position: relative;
  transition: all 0.15s ease;
}
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; inset-inline-start: 0; }
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--color-navy-900) 0%, var(--color-navy-800) 55%, var(--color-navy-700) 100%);
  color: var(--color-white);
  padding-block: 96px 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner { max-width: 720px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-500);
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 20px;
}
.hero p.lead {
  color: var(--color-slate-200);
  font-size: 1.1rem;
  margin-bottom: 34px;
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--color-slate-50); }
.section-header { max-width: 680px; margin-bottom: 52px; }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-header p { color: var(--color-slate-600); font-size: 1.05rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-blue-100);
  color: var(--color-blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--color-slate-600); margin: 0; font-size: 0.96rem; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-card.is-coming-soon { background: var(--color-slate-50); }
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}
.badge-live { background: rgba(20,184,166,0.12); color: var(--color-teal-600); }
.badge-soon { background: var(--color-amber-100); color: #92400e; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card .tagline { color: var(--color-slate-600); margin-bottom: 20px; }
.product-checklist { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.product-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; color: var(--color-slate-700); }
.product-checklist li::before {
  content: "✓";
  color: var(--color-teal-600);
  font-weight: 800;
  flex-shrink: 0;
}
.product-card .card-actions { margin-top: auto; }

/* ---------- Product detail page ---------- */
.product-hero {
  background: var(--color-navy-900);
  color: var(--color-white);
  padding-block: 72px;
}
.product-hero .eyebrow-label { color: var(--color-teal-500); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.product-hero h1 { color: var(--color-white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-block: 12px 16px; }
.product-hero p.lead { color: var(--color-slate-200); font-size: 1.08rem; max-width: 680px; margin-bottom: 32px; }
.product-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
  margin-block-start: 40px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: start;
}
.spec-list { display: flex; flex-direction: column; gap: 10px; }
.spec-list li { padding-block: 10px; border-block-end: 1px solid var(--color-slate-200); font-size: 0.95rem; color: var(--color-slate-700); }
.spec-list li:last-child { border-block-end: none; }

.changelog-entry { border-inline-start: 3px solid var(--color-blue-600); padding-inline-start: 20px; margin-bottom: 28px; }
.changelog-entry h4 { margin-bottom: 4px; font-size: 1.02rem; }
.changelog-date { color: var(--color-slate-400); font-size: 0.85rem; margin-bottom: 12px; display: block; }
.changelog-entry ul { display: flex; flex-direction: column; gap: 6px; }
.changelog-entry li { font-size: 0.92rem; color: var(--color-slate-600); position: relative; padding-inline-start: 16px; }
.changelog-entry li::before { content: "–"; position: absolute; inset-inline-start: 0; color: var(--color-slate-400); }

.prose p { color: var(--color-slate-700); font-size: 1rem; margin-bottom: 18px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}
.pricing-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.pricing-card.is-featured {
  border-color: var(--color-blue-600);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pricing-card .plan-subtitle { color: var(--color-slate-600); margin-bottom: 22px; font-size: 0.95rem; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; }
.price-original { text-decoration: line-through; color: var(--color-slate-400); font-size: 1.1rem; }
.price-current { font-size: 2.4rem; font-weight: 800; color: var(--color-navy-900); }
.price-period { color: var(--color-slate-600); font-size: 0.95rem; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex-grow: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; }
.plan-features li::before { content: "✓"; color: var(--color-teal-600); font-weight: 800; flex-shrink: 0; }
.plan-features .all-free-label { font-weight: 700; color: var(--color-navy-900); margin-block: 4px 2px; }

/* ---------- About ---------- */
.about-section { background: var(--color-navy-900); color: var(--color-white); }
.about-section h2 { color: var(--color-white); }
.about-section p { color: var(--color-slate-200); }
.about-inner { max-width: 760px; margin-inline: auto; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.contact-info-card {
  background: var(--color-slate-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-slate-200);
  height: fit-content;
}
.contact-info-card a { color: var(--color-blue-600); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--color-navy-900); }
.form-field input, .form-field textarea {
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--color-slate-900);
  background: var(--color-white);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-blue-600);
  box-shadow: 0 0 0 3px var(--color-blue-100);
}
.form-checkbox { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--color-slate-600); margin-bottom: 22px; }
.form-checkbox input { width: 18px; height: 18px; }
.form-status { margin-block-start: 16px; font-size: 0.92rem; font-weight: 600; }
.form-status.success { color: var(--color-teal-600); }
.form-status.error { color: var(--color-red-600); }
.form-status[hidden] { display: none; }

/* ---------- Tools page ---------- */
.tool-list { display: flex; flex-direction: column; gap: 20px; }
.tool-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tool-card summary {
  cursor: pointer;
  list-style: none;
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.tool-card summary::-webkit-details-marker { display: none; }
.tool-card summary .chevron { color: var(--color-blue-600); font-size: 0.9rem; flex-shrink: 0; margin-block-start: 6px; transition: transform 0.15s ease; }
.tool-card[open] summary .chevron { transform: rotate(90deg); }
.tool-card-badges { display: flex; gap: 8px; margin-bottom: 10px; }
.badge-type { background: var(--color-slate-100); color: var(--color-slate-700); }
.tool-card summary h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tool-card summary .tagline { color: var(--color-slate-600); margin: 0; }
.tool-card-body { padding: 0 30px 30px; border-block-start: 1px solid var(--color-slate-100); padding-block-start: 22px; }
.tool-card-body h4 { font-size: 0.92rem; margin-bottom: 10px; }
.tool-card-body .card-actions { margin-block-start: 20px; }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.article-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; font-size: 0.8rem; color: var(--color-slate-400); }
.article-category { font-weight: 700; color: var(--color-teal-600); text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.75rem; }
.article-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.article-card p { color: var(--color-slate-600); font-size: 0.94rem; margin-bottom: 14px; }
.article-readmore { color: var(--color-blue-600); font-weight: 700; font-size: 0.9rem; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--color-blue-600); font-weight: 600; font-size: 0.92rem; }
.article-cta {
  margin-block-start: 40px;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.article-cta h3 { font-size: 1.1rem; margin-bottom: 10px; }
.article-cta p { color: var(--color-slate-600); margin-bottom: 20px; }

/* ---------- Download page ---------- */
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.download-card .dl-title { font-size: 1.15rem; margin-bottom: 6px; }
.download-card .dl-meta { color: var(--color-slate-600); font-size: 0.92rem; }

/* ---------- Simple content page ---------- */
.simple-page { padding-block: 80px; }
.simple-page h1 { font-size: 2rem; margin-bottom: 24px; }
.simple-page .prose { max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-900);
  color: var(--color-slate-200);
  padding-block: 60px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--color-white); margin-bottom: 14px; }
.footer-brand img { height: 32px; width: 32px; }
.site-footer h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--color-slate-200); font-size: 0.92rem; }
.footer-links a:hover { color: var(--color-teal-500); }
.footer-bottom {
  border-block-start: 1px solid rgba(255,255,255,0.12);
  padding-block-start: 24px;
  font-size: 0.85rem;
  color: var(--color-slate-400);
  text-align: center;
}

/* ---------- Accessibility toolbar ---------- */
.a11y-toggle {
  position: fixed;
  top: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--color-blue-600);
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  font-size: 1.3rem;
}
html[dir="rtl"] .a11y-toggle { border-radius: 0 10px 10px 0; }
.a11y-toggle:hover { background: var(--color-blue-500); }

.a11y-panel {
  position: fixed;
  top: 50%;
  inset-inline-end: 54px;
  transform: translateY(-50%);
  z-index: 210;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 22px 20px;
  width: 270px;
  max-height: 82vh;
  overflow-y: auto;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.05rem; margin-bottom: 6px; padding-inline-end: 20px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-block-end: 1px solid var(--color-slate-100); font-size: 0.88rem; }
.a11y-row .a11y-btns { display: flex; gap: 6px; }
.a11y-row button {
  border: 1px solid var(--color-slate-200);
  background: var(--color-white);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-navy-900);
}
.a11y-row button.is-active { background: var(--color-blue-600); color: #fff; border-color: var(--color-blue-600); }
.a11y-reset { width: 100%; margin-top: 14px; }
.a11y-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-slate-400);
}
.a11y-close:hover { color: var(--color-navy-900); }

.a11y-reading-guide {
  position: fixed;
  inset-inline: 0;
  height: 3px;
  background: #ffd400;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 205;
  display: none;
}

/* Global effect classes applied to <html> by the accessibility toolbar */
html.a11y-font-1 { font-size: 109%; }
html.a11y-font-2 { font-size: 120%; }
html.a11y-font-3 { font-size: 132%; }
html.a11y-contrast body { background: #fff !important; color: #000 !important; }
html.a11y-contrast a { color: #0000EE !important; }
html.a11y-contrast .site-header { background: #fff !important; }
html.a11y-contrast .site-footer,
html.a11y-contrast .hero,
html.a11y-contrast .product-hero,
html.a11y-contrast .about-section { background: #000 !important; color: #fff !important; }
html.a11y-contrast .feature-card,
html.a11y-contrast .product-card,
html.a11y-contrast .pricing-card { border-color: #000 !important; }
html.a11y-grayscale { filter: grayscale(1); }
html.a11y-underline-links a { text-decoration: underline !important; }
html.a11y-readable-font body { font-family: Arial, Helvetica, sans-serif !important; line-height: 1.9 !important; letter-spacing: 0.02em !important; }
html.a11y-big-cursor,
html.a11y-big-cursor a,
html.a11y-big-cursor button {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><polygon points='2,2 2,34 11,26 17,38 23,35 17,23 27,23' fill='black' stroke='white' stroke-width='2'/></svg>") 4 4, auto !important;
}
html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* ---------- Cookie / privacy notice ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 300;
  background: var(--color-navy-900);
  color: var(--color-white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}
.cookie-banner p { margin: 0; font-size: 0.88rem; color: var(--color-slate-200); max-width: 640px; }
.cookie-banner .btn { flex-shrink: 0; padding: 10px 22px; }

/* ---------- Lead-gate modal (download gate) ---------- */
.lead-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 48, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.lead-gate-overlay[hidden] { display: none; }
.lead-gate-modal {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.lead-gate-modal h2 { font-size: 1.4rem; margin-bottom: 8px; }
.lead-gate-subtitle { color: var(--color-slate-600); font-size: 0.95rem; margin-bottom: 24px; }
.lead-gate-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-slate-400);
  cursor: pointer;
  padding: 4px;
}
.lead-gate-close:hover { color: var(--color-navy-900); }
.lead-gate-modal .form-checkbox a { color: var(--color-blue-600); font-weight: 600; }

/* ---------- Coming soon note ---------- */
.coming-soon-note { color: var(--color-slate-600); font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .feature-grid, .product-grid, .pricing-grid, .two-col, .contact-grid, .footer-grid, .article-grid { grid-template-columns: 1fr; }
  .main-nav { position: fixed; inset-block-start: 66px; inset-inline: 0; background: var(--color-white); flex-direction: column; align-items: stretch; padding: 20px 24px 28px; border-block-end: 1px solid var(--color-slate-200); box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.18s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding-block: 12px; }
  .nav-actions { margin-block-start: 16px; flex-direction: column; align-items: stretch; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .hero { padding-block: 72px 60px; }
}
