/* ============================================================
   AEO / LLM Visibility — SignalMatrix AI
   Page-specific styles. Foundations come from tokens.css.
   ============================================================ */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--fg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { margin: 0; }

.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: 88px;
}

/* Two-col section header: heading left, subhead right */
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head--tight { margin-bottom: 32px; }

/* Simple N-column grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Eyebrow */
.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.eyebrow-row .rule {
  width: 36px; height: 2px;
  background: var(--brand-green);
  display: inline-block;
}
.eyebrow-row .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green);
}

/* Headings */
.h1-display {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
}
.h2-section {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.h3-card {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.subhead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0;
  max-width: 720px;
  text-wrap: pretty;
}
.body-default {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-mute);
  text-wrap: pretty;
  margin: 0;
}
.caption {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-dim);
  font-weight: 500;
}
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-family: inherit;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  border: 0;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--brand-green);
  color: #001F11;
}
.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--brand-green-glow);
}
.btn--primary:active { filter: brightness(0.95); transform: scale(0.98); }
.btn--secondary {
  background: transparent;
  color: var(--brand-green);
  border: 1.5px solid var(--brand-green);
}
.btn--secondary:hover { background: var(--brand-green-tint); }

/* Card */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--stroke-1);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.card:hover { border-color: rgba(255,255,255,0.18); }
.card--green-glow {
  border-color: rgba(0,255,136,0.28);
  box-shadow: 0 0 32px rgba(0,255,136,0.10);
}
.card--green-glow:hover {
  border-color: rgba(0,255,136,0.5);
  box-shadow: 0 0 48px rgba(0,255,136,0.20);
}
.card--lg-pad { padding: 36px; }

/* Icon badge */
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0,255,136,0.10);
  border: 1px solid rgba(0,255,136,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 80px;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(10, 15, 30, 0.82);
  border-bottom: 1px solid var(--stroke-1);
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 28px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  align-items: center;
}
.nav-links__cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--stroke-2);
  border-radius: 8px;
  color: var(--fg);
  cursor: pointer;
  flex: none;
}
.nav-toggle__icon { width: 20px; height: 20px; }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

.nav-item { position: relative; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-mute);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  transition: color 150ms;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
}
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--brand-green); }
.nav-link svg { width: 14px; height: 14px; transition: transform 200ms; }
.nav-item:hover .nav-link svg,
.nav-item:focus-within .nav-link svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--stroke-1);
  border-radius: 10px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  pointer-events: none;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-item {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.nav-dropdown-item:hover { background: var(--bg-tertiary); }
.nav-dropdown-item.active { color: var(--brand-green); background: rgba(0,255,136,0.06); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(0,255,136,0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,255,136,0.04), transparent 60%),
    var(--bg-primary);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: 56px;
}
.hero-accent { color: var(--brand-green); }
.hero-sub { margin-top: 24px; }
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-graphic-wrap { position: relative; }
.hero-graphic-wrap svg { width: 100%; height: 100%; max-height: 540px; display: block; }

/* ============================================================
   PROBLEM — stat boxes
   ============================================================ */
.stat-box {
  background: var(--bg-secondary);
  border: 1px solid var(--stroke-1);
  border-left: 4px solid var(--brand-green);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-box .display-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--fg);
}
.stat-box h3 { font-size: 17px; line-height: 1.35; }
.stat-box p { font-size: 14px; }
.stat-source {
  border-top: 1px solid var(--stroke-3);
  padding-top: 12px;
  margin-top: auto;
  font-size: 11px;
}

/* ============================================================
   WHAT WE OPTIMIZE
   ============================================================ */
.optimize-card h3 { margin-top: 20px; }
.optimize-card p { margin-top: 12px; font-size: 14px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: linear-gradient(180deg, transparent, rgba(0,255,136,0.02), transparent);
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--stroke-3);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--stroke-3); }
.step-num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--brand-green);
  text-shadow: 0 0 32px rgba(0,255,136,0.40);
}
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { max-width: 70ch; }
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,255,136,0.3);
  color: var(--brand-green);
  background: rgba(0,255,136,0.04);
  text-transform: uppercase;
}

/* ============================================================
   EXPLAINER / THE SHIFT
   ============================================================ */
.explainer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.explainer-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.explainer-copy p { font-size: 17px; }
.explainer-copy em {
  color: var(--fg);
  font-style: normal;
  font-weight: 600;
}
.explainer-copy strong.accent { color: var(--brand-green); font-weight: 600; }
.explainer-graphic svg { width: 100%; max-height: 500px; display: block; }

.quote-callout {
  margin-top: 64px;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--stroke-1);
  border-left: 4px solid var(--brand-green);
  background: var(--bg-secondary);
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.quote-callout svg { width: 32px; height: 32px; color: var(--brand-green); flex-shrink: 0; }
.quote-callout-body { flex: 1; min-width: 280px; }
.quote-text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.quote-source {
  margin-top: 12px;
  color: var(--fg-dim);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  border: 1.5px solid;
  cursor: pointer;
  transition: all 250ms var(--ease-out);
}
.industry-card:hover { transform: translateY(-3px); }
.industry-card h3 { font-size: 22px; }
.industry-card p { font-size: 14px; }

.industry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.industry-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.industry-icon svg { width: 24px; height: 24px; }
.industry-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 4px;
  text-transform: uppercase;
}
.industry-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.industry-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.industry-stat-label {
  font-size: 12px;
  color: var(--fg-mute);
  margin-top: 4px;
  max-width: 200px;
  line-height: 1.35;
}
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.industry-tag-pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--stroke-1);
  color: var(--fg-mute);
}
.industry-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--stroke-3);
  transition: gap 200ms;
}
.industry-cta svg { width: 14px; height: 14px; }
.industry-card:hover .industry-cta { gap: 12px; }

.industry-card--healthcare {
  border-color: rgba(0,212,255,0.45);
  box-shadow: 0 0 32px rgba(0,212,255,0.22);
}
.industry-card--healthcare .industry-icon,
.industry-card--healthcare .industry-tag { border-color: rgba(0,212,255,0.45); }
.industry-card--healthcare .industry-icon { background: rgba(0,212,255,0.10); color: var(--pillar-automation); }
.industry-card--healthcare .industry-tag,
.industry-card--healthcare .industry-stat-num,
.industry-card--healthcare .industry-cta { color: var(--pillar-automation); }

.industry-card--education {
  border-color: rgba(167,139,250,0.45);
  box-shadow: 0 0 32px rgba(167,139,250,0.22);
}
.industry-card--education .industry-icon,
.industry-card--education .industry-tag { border-color: rgba(167,139,250,0.45); }
.industry-card--education .industry-icon { background: rgba(167,139,250,0.10); color: var(--pillar-crm); }
.industry-card--education .industry-tag,
.industry-card--education .industry-stat-num,
.industry-card--education .industry-cta { color: var(--pillar-crm); }

.industry-card--service {
  border-color: rgba(0,255,136,0.45);
  box-shadow: 0 0 32px rgba(0,255,136,0.22);
}
.industry-card--service .industry-icon,
.industry-card--service .industry-tag { border-color: rgba(0,255,136,0.45); }
.industry-card--service .industry-icon { background: rgba(0,255,136,0.10); color: var(--brand-green); }
.industry-card--service .industry-tag,
.industry-card--service .industry-stat-num,
.industry-card--service .industry-cta { color: var(--brand-green); }

.industry-card--product {
  border-color: rgba(245,181,68,0.45);
  box-shadow: 0 0 32px rgba(245,181,68,0.22);
}
.industry-card--product .industry-icon,
.industry-card--product .industry-tag { border-color: rgba(245,181,68,0.45); }
.industry-card--product .industry-icon { background: rgba(245,181,68,0.10); color: var(--amber); }
.industry-card--product .industry-tag,
.industry-card--product .industry-stat-num,
.industry-card--product .industry-cta { color: var(--amber); }

/* ============================================================
   PROMISE
   ============================================================ */
.promise-card h3 { margin-top: 24px; }
.promise-card p { margin-top: 12px; font-size: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--stroke-1);
  padding: 0;
}
.faq-item:last-of-type { border-bottom: 1px solid var(--stroke-1); }
.faq-item summary {
  list-style: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  padding: 24px 0;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg);
  flex: 1;
}
.faq-chev {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 99px;
  background: var(--bg-secondary);
  border: 1px solid var(--stroke-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms var(--ease-out), border-color 200ms;
  color: var(--brand-green);
}
.faq-chev svg { width: 16px; height: 16px; }
.faq-item[open] .faq-chev { transform: rotate(180deg); border-color: var(--brand-green); }
.faq-a { padding: 0 0 24px; }
.faq-a p { font-size: 15px; color: var(--fg-mute); }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--bg-secondary);
  border: 1px solid var(--stroke-1);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 200ms var(--ease-out);
}
.price-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.price-card--popular {
  border-color: var(--brand-green);
  box-shadow: 0 0 32px rgba(0,255,136,0.20);
}
.price-card--popular:hover { box-shadow: 0 0 48px rgba(0,255,136,0.32); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--brand-green);
  color: #001F11;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 99px;
}
.price-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount .currency { color: var(--fg-mute); font-size: 20px; font-weight: 600; }
.price-amount .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.price-amount .per { font-size: 13px; color: var(--fg-dim); font-weight: 500; }
.price-desc { font-size: 13px; color: var(--fg-mute); line-height: 1.55; min-height: 60px; margin: 0; }
.price-divider { height: 1px; background: var(--stroke-3); margin: 4px 0; }
.price-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-feature {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-mute);
}
.price-feature svg { width: 14px; height: 14px; color: var(--brand-green); flex-shrink: 0; }
.price-card .btn { margin-top: auto; justify-content: center; width: 100%; }
.pricing-note { margin-top: 24px; color: var(--fg-dim); text-align: center; }

/* ============================================================
   AUDIT BANNER
   ============================================================ */
.audit-banner {
  position: relative;
  border-radius: 16px;
  padding: 64px;
  background: linear-gradient(135deg, rgba(0,255,136,0.06), rgba(0,255,136,0.02));
  overflow: hidden;
}
.audit-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--brand-green), rgba(0,255,136,0.25), var(--brand-green));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.audit-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.audit-title { font-size: 44px; max-width: 18ch; }
.audit-sub { margin-top: 20px; max-width: 580px; }
.audit-sub strong { color: var(--fg); }
.audit-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.audit-reassure { font-size: 13px; color: var(--fg-dim); }

.score-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 0 32px rgba(0,255,136,0.15);
}
.score-label { color: var(--brand-green); font-size: 10px; }
.score-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}
.score-value .num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.score-value .of100 { font-size: 16px; color: var(--fg-dim); }
.score-bar {
  margin-top: 16px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.score-bar-fill {
  width: 42%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-green), #00C46A);
}
.score-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.score-metric {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg-mute);
}
.score-metric span:last-child { font-family: var(--font-mono); color: var(--fg); }
.score-footnote {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke-3);
  font-size: 12px;
  color: var(--fg-dim);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-title { max-width: 14ch; margin-bottom: 24px; }
.contact-lead { max-width: 480px; }
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item .icon-badge { width: 44px; height: 44px; }
.contact-item .icon-badge svg { width: 18px; height: 18px; }
.contact-label { color: var(--fg-dim); }
.contact-value { font-size: 15px; color: var(--fg); font-weight: 500; }
.contact-trust {
  margin-top: 40px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--fg-dim);
}
.contact-trust svg { width: 14px; height: 14px; color: var(--brand-green); }

.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.input-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.input-field input,
.input-field textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--stroke-2);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 200ms;
  outline: none;
  resize: vertical;
}
.input-field input:focus,
.input-field textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.12);
}
.input-field textarea { min-height: 120px; }
.contact-form .btn { justify-content: center; margin-top: 8px; }

.form-success {
  display: none;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 32px 0;
}
.form-success .icon-badge { width: 56px; height: 56px; }
.form-success .icon-badge svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 24px; }
.contact-form.submitted .form-fields { display: none; }
.contact-form.submitted .form-success { display: flex; }

/* ============================================================
   FOOTER — matches homepage structure
   ============================================================ */
.foot {
  position: relative;
  padding: 96px 0 32px;
  border-top: 1px solid var(--stroke-3);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,255,136,0.05) 0%, transparent 60%),
    var(--bg-primary);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--stroke-3);
}
.foot-brand img { height: 32px; width: auto; display: block; }
.foot-brand p {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-mute);
  max-width: 340px;
}
.foot-contact {
  margin-top: 20px;
  display: grid;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-mute);
}
.foot-contact a { color: var(--fg-mute); text-decoration: none; transition: color 150ms; }
.foot-contact a:hover { color: var(--brand-green); }
.foot-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.foot-socials a {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--stroke-2);
  display: grid; place-items: center;
  color: var(--fg-mute);
  text-decoration: none;
  transition: color 150ms, background 150ms, border-color 150ms;
}
.foot-socials a:hover {
  color: var(--bg-primary);
  background: var(--brand-green);
  border-color: var(--brand-green);
}
.foot-socials svg { width: 16px; height: 16px; }
.foot-col h5 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.foot-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.foot-col a {
  font-size: 14px;
  color: var(--fg-mute);
  text-decoration: none;
  transition: color 150ms;
  cursor: pointer;
}
.foot-col a:hover { color: var(--fg); }
.foot-col a.active { color: var(--brand-green); }
.foot-cta p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-mute);
}
.foot-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 13px 14px;
  font-size: 13px;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
.foot-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
}
.foot-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--stroke-1);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.foot-badge-ico { color: var(--brand-green); display: inline-grid; place-items: center; }
.foot-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  text-align: right;
}
.foot-legal a { color: var(--fg-dim); text-decoration: none; cursor: pointer; }
.foot-legal a:hover { color: var(--brand-green); }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Responsive — this is a desktop-first 1440px design;
   graceful degradation below that.
   ============================================================ */
@media (max-width: 1180px) {
  .shell { padding: 0 40px; }
  .nav { padding: 18px 40px; }
  .hero-grid,
  .explainer-grid,
  .audit-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .grid-3,
  .grid-2,
  .price-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .shell { padding: 0 24px; }
  .nav { padding: 16px 24px; grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav-cta--desktop { display: none; }
  .nav-links__cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 8px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg-secondary, #121829);
    border-bottom: 1px solid var(--stroke-1);
    padding: 12px 24px 24px;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav-links.is-open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; padding: 12px 4px; justify-content: space-between; display: flex; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 4px 12px;
    display: none;
    min-width: 0;
  }
  .nav-item.is-open .nav-dropdown,
  .nav-item:focus-within .nav-dropdown { display: flex; }
  .grid-3,
  .grid-2,
  .price-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .foot-legal { text-align: left; }
  .h1-display { font-size: 44px; }
  .h2-section { font-size: 32px; }
  .input-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
