/* ═══════════════════════════════════════════════════════════════
   Ardor Accessibility - Redesign
   Matched to the Ardor admin portal house style:
   warm light bg (#F5F3F0), white cards, near-black text (#1E1E1E),
   charcoal (#1A1A1A) dark bands, RED primary + GOLD accent, Segoe UI.
   No navy. No blue.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces (warm light - exact portal tokens) */
  --bg:       #F5F3F0;   /* page background */
  --paper:    #FFFFFF;   /* white band / cards */
  --tint:     #EFEBE4;   /* warm tint band */
  --card:     #FFFFFF;
  --line:     #E5E2DD;   /* warm hairline (portal --border) */
  --line-2:   #EDEAE4;

  --ink:      #1E1E1E;   /* primary text (portal --text) */
  --ink-soft: #6B6B6B;   /* muted text (portal --text-muted) */
  --ink-dim:  #9A958C;

  /* Dark (charcoal - the portal sidebar tone, NOT navy) */
  --char:     #1A1A1A;
  --char-2:   #242424;
  --char-3:   #2E2E2E;
  --d-text:   #EDEAE4;
  --d-soft:   #A8A29A;
  --d-line:   rgba(255,255,255,0.09);

  /* Brand (exact portal tokens) */
  --red:       #E03C3C;
  --red-dark:  #C62828;
  --gold:      #D4A843;
  --gold-light:#E8C96A;
  --green:     #27AE60;
  --orange:    #E67E22;
  --amber:     #E6AC00;

  /* Accent role (tweakable: red vs gold) */
  --accent:      var(--red);
  --accent-deep: var(--red-dark);
  --accent-soft: #FCEBEB;

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --display: var(--font);  /* tweakable: system vs display font */

  --radius:    12px;
  --radius-lg: 18px;
  --maxw:      1200px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 22px rgba(0,0,0,0.08);
  --shadow-lg: 0 22px 56px rgba(0,0,0,0.14);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s var(--ease); }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── Headings ── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); font-weight: 700; }
p { text-wrap: pretty; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.band-dark .eyebrow { color: var(--gold); }
.band-dark .eyebrow::before { background: var(--gold); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.16rem; margin-top: 16px; line-height: 1.6; }
.band-dark .section-head p { color: var(--d-soft); }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 9px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(224,60,60,0.26); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(224,60,60,0.32); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 14px rgba(212,168,67,0.28); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--paper); }
.band-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.24); }
.band-dark .btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* In-page anchor jumps must clear the fixed header, otherwise the section
   title lands hidden underneath it. Matches the header height. */
html { scroll-padding-top: 120px; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), padding .25s var(--ease);
  padding: 16px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: center; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; margin-right: 44px; }
.nav-logo img { height: 95px; width: auto; transition: height .25s var(--ease); }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links > li { white-space: nowrap; }
/* Extra breathing room before the Request Demo CTA (the item right after Free Scan) */
.nav-links > li:has(.btn-primary) { margin-left: 22px; }
.nav-links > li > a:not(.btn) { font-size: 14.5px; font-weight: 600; color: var(--ink); transition: color .15s; }
.nav-links > li > a:not(.btn):hover { color: var(--accent); }
.nav-link-scan { color: var(--gold) !important; }
.nav-link-scan:hover { color: var(--gold-light) !important; }
.nav-cta { padding: 10px 18px; font-size: 14px; }
.nav-login { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.nav-login:hover { border-color: var(--accent); color: var(--accent); }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 26px; cursor: pointer; line-height: 1; }

.nav.scrolled { background: rgba(245,243,240,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(0,0,0,0.05); padding: 9px 0; }
.nav.scrolled .nav-logo img { height: 67px; }

/* ═══════════ BANDS ═══════════ */
section { position: relative; }
.band-light { background: var(--bg); }
.band-paper { background: var(--paper); }
.band-tint  { background: var(--tint); }
.band-dark  { background: var(--char); color: var(--d-text); }
.band-dark p { color: var(--d-soft); }
.pad { padding: 104px 0; }
.pad-sm { padding: 72px 0; }
.dot-bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; z-index: 0; }

/* ═══════════ HERO (light) ═══════════ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 82% 0%, rgba(224,60,60,0.10), transparent 60%),
    radial-gradient(ellipse 60% 60% at 6% 105%, rgba(212,168,67,0.12), transparent 55%),
    var(--bg);
  padding: 172px 0 96px;
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(30,30,30,0.04) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(39,174,96,0.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(39,174,96,0.45);} 50% { box-shadow: 0 0 0 6px rgba(39,174,96,0);} }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.22rem; color: var(--ink-soft); line-height: 1.62; margin: 24px 0 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust .label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); font-weight: 700; }
.hero-trust .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-trust .chip { font-size: 13px; color: var(--ink); background: var(--paper); padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; box-shadow: var(--shadow-sm); }

/* Hero product mockup (light browser card) */
.hero-visual { position: relative; }
.browser { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.browser-bar .b-dot { width: 11px; height: 11px; border-radius: 50%; }
.b-dot.r { background: #FF5F57; } .b-dot.y { background: #FEBC2E; } .b-dot.g { background: #28C840; }
.browser-url { flex: 1; margin-left: 10px; padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-family: ui-monospace, "Cascadia Code", Menlo, monospace; color: var(--ink-soft); }
.browser-body { padding: 26px; min-height: 320px; position: relative; background: #fff; }
.mock-line { height: 11px; border-radius: 5px; background: #ECE9E4; margin-bottom: 13px; }
.mock-line.h { height: 18px; width: 58%; background: #DEDAD3; margin-bottom: 20px; }
.mock-line.w85 { width: 85%; } .mock-line.w72 { width: 72%; } .mock-line.w90 { width: 90%; } .mock-line.w48 { width: 48%; }
.mock-fab { position: absolute; bottom: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(224,60,60,0.45); animation: float 3.4s ease-in-out infinite; }
.mock-fab svg { width: 24px; height: 20px; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-7px);} }
.mock-panel { position: absolute; bottom: 82px; right: 22px; width: 254px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow-md); }
.mock-panel-title { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.mock-panel-title svg { width: 15px; height: 13px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.mock-row:last-child { border-bottom: 0; }
.mock-row span { font-size: 11.5px; color: var(--ink-soft); }
.mock-toggle { width: 32px; height: 17px; border-radius: 9px; background: #E0DCD5; position: relative; transition: background .2s; }
.mock-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: left .2s; }
.mock-toggle.on { background: var(--green); }
.mock-toggle.on::after { left: 17px; }

/* ═══════════ STAT STRIP ═══════════ */
.statstrip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Changed from repeat(4, 1fr) to repeat(3, 1fr) to fit the available space */
.statstrip .row { display: grid; grid-template-columns: repeat(3, 1fr); }
.statstrip .cell { padding: 38px 24px; text-align: center; border-left: 1px solid var(--line); }
.statstrip .cell:first-child { border-left: 0; }
.statstrip .num { font-size: 2.5rem; font-weight: 700; color: var(--accent-deep); line-height: 1; letter-spacing: -0.02em; }
.statstrip .lab { font-size: 13.5px; color: var(--ink-soft); margin-top: 9px; }

/* ═══════════ EDUCATION ═══════════ */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.edu-copy p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 16px; }
.edu-copy .lead { color: var(--ink); font-size: 1.28rem; line-height: 1.5; font-weight: 600; }
.edu-copy strong { color: var(--ink); }
.fact-stack { display: flex; flex-direction: column; gap: 14px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; }
.fact .big { font-size: 2.1rem; font-weight: 800; color: var(--accent); line-height: 1; min-width: 64px; text-align: center; }
.fact h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.fact p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ═══════════ POUR + REGULATION CARDS (Accessibility 101) ═══════════ */
.pour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.pour-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.pour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #DAD5CC; }
.pour-letter { font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 16px; letter-spacing: -0.01em; }
.pour-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.pour-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.62; }

.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.reg-card { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.reg-badge { flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: 0.02em; }
.reg-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 7px; }
.reg-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.62; margin: 0; }

[data-mode="dark"] .pour-card, [data-mode="dark"] .reg-card { background: var(--char-2); border-color: var(--char-3); box-shadow: none; }
[data-mode="dark"] .pour-card h4, [data-mode="dark"] .reg-card h4 { color: #fff; }
[data-mode="dark"] .pour-card p, [data-mode="dark"] .reg-card p { color: var(--d-soft); }
[data-mode="dark"] .reg-badge { background: rgba(224,60,60,0.16); }

@media (max-width: 980px) {
  .pour-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pour-grid { grid-template-columns: 1fr; }
}

/* ═══════════ SOLUTIONS ═══════════ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.sol-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #DAD5CC; }
.sol-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.sol-icon svg { width: 25px; height: 25px; stroke-width: 1.7; }
.sol-icon.red { background: #FCEBEB; color: var(--red); }
.sol-icon.gold { background: #FBF3DD; color: #B8860B; }
.sol-icon.dark { background: #ECEAE6; color: var(--char); }
.sol-icon.green { background: #E6F6EC; color: var(--green); }
.sol-card h3 { margin-bottom: 9px; }
.sol-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ═══════════ WHO ═══════════ */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.who-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.who-card .ph { height: 180px; }
.who-card .who-body { padding: 24px 26px 28px; }
.who-card h3 { margin-bottom: 8px; }
.who-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

.ph { position: relative; background: repeating-linear-gradient(45deg, rgba(30,30,30,0.045) 0 12px, rgba(30,30,30,0.015) 12px 24px), var(--tint); display: flex; align-items: center; justify-content: center; }
.ph span { font-family: ui-monospace, "Cascadia Code", Menlo, monospace; font-size: 12px; color: #8a8478; letter-spacing: 0.03em; background: rgba(255,255,255,0.82); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); }

/* ═══════════ HOW (charcoal) ═══════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 54px; position: relative; }
.step { position: relative; padding-top: 6px; }
.step-num { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: var(--char); background: var(--gold); margin-bottom: 18px; }
.step h3 { color: #fff; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--d-soft); line-height: 1.6; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 62px; right: -22px; height: 1.5px; background: linear-gradient(90deg, var(--d-line), transparent); }

/* ═══════════ COMPLIANCE ═══════════ */
.comp-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.comp-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.comp-item { display: flex; gap: 15px; align-items: flex-start; padding: 17px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.comp-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #E6F6EC; color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin-top: 1px; }
.comp-item h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; }
.comp-item p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.comp-visual { display: flex; flex-direction: column; align-items: center; }
.shield { width: 196px; height: 228px; filter: drop-shadow(0 14px 28px rgba(224,60,60,0.16)); }
.comp-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; width: 100%; }
.metric { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.metric .v { font-size: 1.85rem; font-weight: 800; color: var(--accent-deep); line-height: 1; }
.metric .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* ═══════════ PRICING ═══════════ */
.price-wrap { display: grid; grid-template-columns: 1fr 0.86fr; gap: 44px; margin-top: 54px; align-items: stretch; }
.price-value { display: flex; flex-direction: column; justify-content: center; }
.price-value h3 { font-size: 1.5rem; margin-bottom: 14px; }
.price-value p { color: var(--ink-soft); font-size: 1.05rem; }
.incl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 22px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.incl li svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.price-card { background: var(--char); color: var(--d-text); border-radius: var(--radius-lg); padding: 38px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.price-badge { align-self: flex-start; padding: 5px 14px; background: rgba(212,168,67,0.18); color: var(--gold); border-radius: 100px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.price-card .amt { font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.price-card .amt span { font-size: 1.05rem; font-weight: 400; color: var(--d-soft); letter-spacing: 0; }
.price-card .per { color: var(--d-soft); font-size: 14.5px; margin-top: 6px; margin-bottom: 24px; }
.price-card .fine { font-size: 13px; color: var(--d-soft); margin-top: 16px; line-height: 1.5; }
.price-card .btn { margin-top: auto; }

/* ═══════════ DEMO / GET STARTED (light) ═══════════ */
.demo { position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% -10%, rgba(224,60,60,0.10), transparent 60%),
    radial-gradient(ellipse 55% 70% at 4% 120%, rgba(212,168,67,0.10), transparent 55%),
    var(--bg); }
.demo-inner { max-width: 660px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.demo-form { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { display: flex; flex-direction: column; gap: 7px; }
.f-group label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.f-group input { padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; font-size: 15px; font-family: var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.f-group input::placeholder { color: var(--ink-dim); }
.f-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-success { display: none; text-align: center; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 22px; box-shadow: var(--shadow-sm); }
.form-success.show { display: block; }
.form-success h3 { color: var(--ink); margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); }

/* ═══════════ FOOTER (charcoal) ═══════════ */
.footer { background: #141414; color: var(--d-soft); padding: 62px 0 30px; border-top: 1px solid var(--d-line); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 44px; margin-bottom: 42px; }
.footer-brand img { height: 95px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; line-height: 1.65; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { color: var(--d-soft); display: inline-flex; transition: color .15s, transform .15s; }
.footer-social a:hover { color: var(--gold); transform: translateY(-2px); }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--d-text); margin-bottom: 15px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--d-soft); margin-bottom: 11px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--d-soft); margin-bottom: 11px; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; }
.footer-addr { font-size: 13.5px; line-height: 1.6; margin-top: 14px; color: var(--d-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--d-line); font-size: 13.5px; }
.footer-bottom a { color: var(--d-soft); } .footer-bottom a:hover { color: var(--gold); }

/* ═══════════ REVEAL ═══════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.stagger.visible > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  .mock-fab, .hero-badge .dot { animation: none; }
}

/* ═══════════ DARK MODE (tweak - flips light bands to charcoal) ═══════════ */
[data-mode="dark"] body { background: var(--char); color: var(--d-text); }
[data-mode="dark"] .hero { background: radial-gradient(ellipse 70% 55% at 82% 0%, rgba(224,60,60,0.16), transparent 60%), radial-gradient(ellipse 60% 60% at 6% 105%, rgba(212,168,67,0.12), transparent 55%), var(--char); }
[data-mode="dark"] .hero::before { background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px); }
[data-mode="dark"] .band-light, [data-mode="dark"] .band-paper { background: var(--char); }
[data-mode="dark"] .band-tint { background: var(--char-2); }
[data-mode="dark"] .statstrip { background: var(--char-2); border-color: var(--d-line); }
[data-mode="dark"] h1, [data-mode="dark"] h2, [data-mode="dark"] h3, [data-mode="dark"] h4 { color: #fff; }
[data-mode="dark"] .hero-sub, [data-mode="dark"] .section-head p, [data-mode="dark"] .edu-copy p,
[data-mode="dark"] .sol-card p, [data-mode="dark"] .who-card p, [data-mode="dark"] .fact p,
[data-mode="dark"] .comp-item p, [data-mode="dark"] .statstrip .lab, [data-mode="dark"] .metric .l,
[data-mode="dark"] .price-value p { color: var(--d-soft); }
[data-mode="dark"] .edu-copy .lead, [data-mode="dark"] .edu-copy strong, [data-mode="dark"] .incl li { color: #fff; }
[data-mode="dark"] .sol-card, [data-mode="dark"] .fact, [data-mode="dark"] .who-card,
[data-mode="dark"] .comp-item, [data-mode="dark"] .metric { background: var(--char-2); border-color: var(--char-3); box-shadow: none; }
[data-mode="dark"] .hero-badge, [data-mode="dark"] .hero-trust .chip { background: var(--char-2); border-color: var(--char-3); color: var(--d-text); box-shadow: none; }
[data-mode="dark"] .hero-trust { border-color: var(--d-line); }
[data-mode="dark"] .browser { background: var(--char-2); border-color: var(--char-3); }
[data-mode="dark"] .browser-bar { background: var(--char); border-color: var(--char-3); }
[data-mode="dark"] .browser-body { background: var(--char-2); }
[data-mode="dark"] .browser-url { background: var(--char); border-color: var(--char-3); color: var(--d-soft); }
[data-mode="dark"] .mock-line { background: rgba(255,255,255,0.06); }
[data-mode="dark"] .mock-line.h { background: rgba(255,255,255,0.1); }
[data-mode="dark"] .mock-panel { background: var(--char); border-color: var(--char-3); }
[data-mode="dark"] .mock-panel-title { color: #fff; }
[data-mode="dark"] .mock-toggle { background: var(--char-3); }
[data-mode="dark"] .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.24); }
[data-mode="dark"] .btn-ghost:hover { background: rgba(255,255,255,0.05); }
[data-mode="dark"] .nav.scrolled { background: rgba(26,26,26,0.92); box-shadow: 0 1px 0 var(--d-line); }
[data-mode="dark"] .nav-links > li > a:not(.btn) { color: var(--d-text); }
[data-mode="dark"] .nav-login { background: var(--char-2); color: var(--d-text); border-color: var(--char-3); }
[data-mode="dark"] .nav-mobile-toggle { color: var(--d-text); }
[data-mode="dark"] .ph { background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, rgba(255,255,255,0.012) 12px 24px), var(--char-3); }
[data-mode="dark"] .ph span { background: rgba(0,0,0,0.4); color: var(--d-soft); border-color: var(--char-3); }
[data-mode="dark"] .price-value h3 { color: #fff; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { display: none; }
  .edu-grid, .comp-grid, .price-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sol-grid, .who-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .statstrip .row { grid-template-columns: repeat(2, 1fr); }
  .statstrip .cell:nth-child(3) { border-left: 0; }
  .step:not(:last-child)::after { display: none; }
  .incl { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) and (min-width: 641px) {
  .nav-links { gap: 15px; }
  .nav-links > li > a:not(.btn) { font-size: 13.5px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .nav-logo { margin-right: 22px; }
  .nav-logo img { height: 50px; }
  .nav-links > li:has(.btn-primary) { margin-left: 10px; }  /* tighter on mid-size to avoid crowding */
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-inner { justify-content: space-between; }  /* mobile: logo left, hamburger right */
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
    backdrop-filter: blur(16px); padding: 22px 28px; border-top: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav-links.open > li { width: 100%; }
  .nav-links.open .nav-cta { width: 100%; }
  .nav-mobile-toggle { display: block; }
  /* Smaller permanent header on phones (was a ~95px logo + 16px padding) */
  .nav { padding: 8px 0; }
  .nav-logo { margin-right: 0; }
  .nav-logo img, .nav.scrolled .nav-logo img { height: 44px; }
  /* Center the CTAs (Request Demo / Client Login) in the open dropdown */
  .nav-links.open .btn { width: 100%; justify-content: center; text-align: center; }
  .nav-links.open > li:has(.btn-primary) { margin-left: 0; }
  /* Header is shorter on mobile, so the anchor offset can be too */
  html { scroll-padding-top: 72px; }
  /* 16px form fields so iOS Safari doesn't zoom the page on focus */
  input, select, textarea { font-size: 16px !important; }
  /* Bigger tap targets in the dropdown (WCAG 2.5.8) */
  .nav-links.open > li > a:not(.btn) { display: block; padding: 8px 0; }
  .pad { padding: 68px 0; } .pad-sm { padding: 52px 0; }
  .hero { padding: 130px 0 68px; }
  .sol-grid, .who-grid, .steps, .footer-grid, .f-row { grid-template-columns: 1fr; }
  .statstrip .row { grid-template-columns: 1fr 1fr; }
  .statstrip .cell { border-left: 0; }
  .statstrip .cell:nth-child(odd) { border-left: 0; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
