/* Marketing site styles. Tokens follow the supplied design (pastel surfaces, one periwinkle accent). */
:root {
  --bg: #fbf9ff;
  --bg-2: #f5f2ff;
  --surface: #ffffff;
  --lav: #f0ecff;
  --lav-2: #e4ddff;
  --mint: #d8f3e7;
  --mint-ink: #1d7a55;
  --peach: #ffe6d6;
  --peach-ink: #a8541c;
  --rose: #ffdce5;
  --rose-ink: #b23a5a;
  --sky: #dcebff;
  --sky-ink: #2d64b3;
  --text: #2b2a3a;
  --muted: #6b6883;
  --accent: #5b63e8;
  --accent-2: #9aa1ff;
  --accent-ink: #ffffff;
  --accent-soft: #e9eaff;
  --line: #e7e2f6;
  --map: #eef0ff;
  --road: #ffffff;
  --shadow-sm: 0 2px 8px rgba(43, 42, 58, 0.06);
  --shadow: 0 6px 20px rgba(91, 99, 232, 0.12);
  --shadow-lg: 0 24px 60px -12px rgba(62, 58, 140, 0.28);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16151d; --bg-2: #1b1a25; --surface: #201f2b; --lav: #2a2840; --lav-2: #35324f;
    --mint: #1f3a31; --mint-ink: #7fdcb2; --peach: #41301f; --peach-ink: #ffb98a; --rose: #46252f; --rose-ink: #ff9fb8;
    --sky: #1e3047; --sky-ink: #9cc4ff; --text: #eceaf7; --muted: #a3a0bb; --accent: #a9aeff; --accent-2: #7c83f2;
    --accent-ink: #16151d; --accent-soft: #2b2d55; --line: #34324a; --map: #23223a; --road: #2f2d48;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3); --shadow: 0 6px 20px rgba(0, 0, 0, 0.35); --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16151d; --bg-2: #1b1a25; --surface: #201f2b; --lav: #2a2840; --lav-2: #35324f;
  --mint: #1f3a31; --mint-ink: #7fdcb2; --peach: #41301f; --peach-ink: #ffb98a; --rose: #46252f; --rose-ink: #ff9fb8;
  --sky: #1e3047; --sky-ink: #9cc4ff; --text: #eceaf7; --muted: #a3a0bb; --accent: #a9aeff; --accent-2: #7c83f2;
  --accent-ink: #16151d; --accent-soft: #2b2d55; --line: #34324a; --map: #23223a; --road: #2f2d48;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3); --shadow: 0 6px 20px rgba(0, 0, 0, 0.35); --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
kbd { font: 600 0.85em/1 var(--sans); padding: 3px 7px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); white-space: nowrap; }
code { font: 500 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--lav); padding: 2px 6px; border-radius: 6px; }

svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Map illustrations */
.m-bg { fill: var(--map); }
.m-water { fill: var(--sky); }
.m-park { fill: var(--mint); opacity: 0.85; }
.m-road { fill: none; stroke: var(--road); stroke-width: 7; stroke-linecap: round; }
.m-road.thin { stroke-width: 3.5; opacity: 0.9; }
.m-casing { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; opacity: 0.95; }
.m-route { fill: none; stroke: var(--accent); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s 0.4s ease-out forwards; }
.m-start { fill: #fff; stroke: #2fb47b; stroke-width: 4; }
.m-end path { fill: #e25b80; stroke: #fff; stroke-width: 2; }
.m-end circle { fill: #fff; }
.m-chip circle { fill: #fff; stroke-width: 2.5; }
.m-chip path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-chip.ev circle { stroke: #2fb47b; } .m-chip.ev path { fill: #2fb47b; stroke: none; }
.m-chip.gas circle { stroke: #e08a4a; } .m-chip.gas path { stroke: #c66a2a; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px -6px rgba(91, 99, 232, 0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -6px rgba(91, 99, 232, 0.6); }
.btn-secondary { background: var(--lav); color: var(--text); }
.btn-secondary:hover { background: var(--lav-2); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn .chrome { width: 22px; height: 22px; border-radius: 50%; background: #fff; padding: 2px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; gap: 6px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--lav); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 76px; flex-direction: column; gap: 2px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav > .btn { display: none; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); margin: 14px 0 16px; }
.section-head p { font-size: 19px; color: var(--muted); }
.alt { background: var(--bg-2); }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 30%, color-mix(in srgb, var(--accent-2) 28%, transparent), transparent 70%),
    radial-gradient(35% 45% at 82% 20%, color-mix(in srgb, var(--mint) 90%, transparent), transparent 70%),
    radial-gradient(30% 40% at 70% 75%, color-mix(in srgb, var(--rose) 80%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); margin: 18px 0 22px; letter-spacing: -0.035em; }
.hero h1 .serif { color: var(--accent); display: block; font-size: 1.06em; line-height: 1.05; }
.hero .lead { font-size: 20px; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.badges li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); }
.badges svg { width: 16px; height: 16px; color: var(--mint-ink); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .hero { padding-top: 32px; } }

/* Browser mock */
.mock { position: relative; }
.browser { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.browser-bar i:nth-child(1) { background: #ff8f8f; } .browser-bar i:nth-child(2) { background: #ffd27a; } .browser-bar i:nth-child(3) { background: #7fdcb2; }
.browser-bar .url { flex: 1; margin-left: 10px; height: 26px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; align-items: center; padding: 0 12px; gap: 6px; overflow: hidden; white-space: nowrap; }
.browser-bar .url svg { width: 12px; height: 12px; }
.browser-bar .ext { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; }
.browser-bar .ext img { width: 18px; height: 18px; }
.browser-body { display: grid; grid-template-columns: minmax(0, 1fr) 250px; min-height: 452px; }
.article { padding: 26px 26px 0; position: relative; }
.article .kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.article h3 { font-size: 22px; margin: 8px 0 14px; letter-spacing: -0.02em; }
.article .hl { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--accent-2) 45%, transparent) 55%); }
.lines span { display: block; height: 9px; border-radius: 6px; background: var(--lav); margin-bottom: 10px; }
.lines span:nth-child(2n) { width: 92%; } .lines span:nth-child(3n) { width: 78%; } .lines span:last-child { width: 55%; }
.article .photo { height: 120px; border-radius: 14px; margin: 18px 0; background: linear-gradient(135deg, var(--sky), var(--mint)); position: relative; overflow: hidden; }
.article .photo::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 90%; border-radius: 50%; background: color-mix(in srgb, var(--mint-ink) 22%, transparent); }
.article .photo::after { content: ""; position: absolute; left: 30%; right: -20%; bottom: -55%; height: 100%; border-radius: 50%; background: color-mix(in srgb, var(--sky-ink) 20%, transparent); }

/* The on-page card (widget) */
.widget { position: absolute; left: 16px; right: 16px; bottom: 18px; max-width: 320px; background: var(--lav); border: 1px solid var(--lav-2); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 12px 15px; display: grid; grid-template-columns: 38px 1fr auto; gap: 4px 12px; align-items: center; overflow: hidden; animation: pop 0.5s 0.6s ease-out both; }
.widget .pin { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; grid-row: span 2; }
.widget .pin img { width: 26px; height: 26px; }
.widget strong { font-size: 14px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget small { font-size: 12px; color: var(--muted); grid-column: 2; }
.widget .x { grid-row: 1; grid-column: 3; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.widget .chipbtn { grid-column: 3; grid-row: 2; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--surface); color: var(--accent); white-space: nowrap; }
.widget .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; animation: countdown 12s 1.1s linear both infinite; }
@keyframes countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Side panel */
.panel { border-left: 1px solid var(--line); background: var(--bg); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.panel-top span { display: inline-flex; align-items: center; gap: 6px; }
.panel-top img { width: 18px; height: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--lav); font-size: 12px; font-weight: 600; text-align: center; }
.seg span { padding: 6px 0; border-radius: 999px; color: var(--muted); }
.seg span.on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.map { position: relative; height: 150px; border-radius: 14px; overflow: hidden; background: var(--map); }
.map svg { width: 100%; height: 100%; }
.trip { border-radius: 14px; padding: 12px 14px; background: linear-gradient(135deg, var(--lav), var(--surface)); border: 1px solid var(--line); }
.trip .dur { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.trip .meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.steps { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.steps li { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps i { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-style: normal; font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.steps em { margin-left: auto; font-style: normal; color: var(--muted); }
.panel .btn { min-height: 36px; font-size: 13px; padding: 0 14px; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; animation: float 6s ease-in-out infinite; }
.float-chip svg { width: 18px; height: 18px; }
.float-chip.a { left: -26px; top: 46%; color: var(--mint-ink); }
.float-chip.b { right: 290px; bottom: -20px; color: var(--accent); animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .browser-body { grid-template-columns: minmax(0, 1fr); }
  .article { display: none; }
  .panel { border-left: 0; }
  .float-chip.a { left: 8px; top: auto; bottom: -18px; }
  .float-chip.b { display: none; }
}

/* ── Logos / trust strip ─────────────────────────────────────────────── */
.strip { padding: 28px 0; border-block: 1px solid var(--line); }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; list-style: none; padding: 0; margin: 0 auto; }
.strip li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.strip li svg { width: 22px; height: 22px; color: var(--accent); }

/* ── Feature cards ───────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lav-2); }
.feature .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature .num { float: right; font: 600 13px/1 var(--sans); color: var(--muted); letter-spacing: 0.06em; padding-top: 6px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 16px; }
.tone-lav { background: var(--lav); color: var(--accent); }
.tone-mint { background: var(--mint); color: var(--mint-ink); }
.tone-peach { background: var(--peach); color: var(--peach-ink); }
.tone-rose { background: var(--rose); color: var(--rose-ink); }
.tone-sky { background: var(--sky); color: var(--sky-ink); }

/* ── Split section (along your route) ────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } .split.reverse > :first-child { order: 0; } }
.split h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 18px; }
.split > div > p { font-size: 18px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.checks .ck { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.checks .ck svg { width: 18px; height: 18px; }
.checks b { display: block; font-size: 17px; }
.checks span { color: var(--muted); font-size: 15.5px; }
.visual { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 16px; }
.visual .map { height: 360px; border-radius: 20px; }
.visual .cost { position: absolute; right: -18px; bottom: 34px; width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; }
.visual .cost small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.visual .cost strong { display: block; font-size: 26px; letter-spacing: -0.02em; margin: 4px 0 8px; }
.battery { height: 10px; border-radius: 999px; background: var(--mint); overflow: hidden; }
.battery i { display: block; height: 100%; width: 64%; border-radius: inherit; background: linear-gradient(90deg, #7fdcb2, #2fb47b); }
.visual .cost em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--mint-ink); font-weight: 600; }
.visual .ev { position: absolute; left: -16px; top: 30px; display: grid; gap: 8px; }
@media (max-width: 640px) { .visual .cost { right: 10px; bottom: 10px; width: 200px; } .visual .ev { left: 8px; } .visual .map { height: 300px; } }

/* ── How it works ────────────────────────────────────────────────────── */
.how { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; position: relative; }
.how::before { content: ""; position: absolute; top: 46px; left: 12%; right: 12%; border-top: 2px dashed var(--lav-2); z-index: 0; }
.how li { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.how .n { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 28px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.how .n svg { width: 38px; height: 38px; color: var(--accent); }
.how .n::after { counter-increment: step; content: counter(step); position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 14px/30px var(--sans); }
.how h3 { font-size: 21px; margin-bottom: 10px; }
.how p { color: var(--muted); font-size: 16px; max-width: 320px; margin: 0 auto; }
@media (max-width: 860px) { .how { grid-template-columns: minmax(0, 1fr); gap: 40px; } .how::before { display: none; } }
.shortcuts { margin: 56px auto 0; max-width: 880px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.shortcut { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.shortcut svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.shortcut span { color: var(--muted); }
.shortcut b { display: block; color: var(--text); font-size: 15px; }
@media (max-width: 860px) { .shortcuts { grid-template-columns: minmax(0, 1fr); } }

/* ── Privacy band ────────────────────────────────────────────────────── */
.band { border-radius: var(--r-lg); padding: 56px; background: linear-gradient(135deg, var(--lav), var(--sky)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; overflow: hidden; position: relative; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 14px; }
.band p { color: var(--muted); font-size: 17px; }
.band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.band li { display: flex; gap: 14px; align-items: flex-start; background: color-mix(in srgb, var(--surface) 78%, transparent); border-radius: var(--r); padding: 16px 18px; backdrop-filter: blur(6px); }
.band li svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.band li b { display: block; }
.band li span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; gap: 28px; } }

/* ── Support / FAQ ───────────────────────────────────────────────────── */
.support { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .support { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.2s, box-shadow 0.2s; }
.faq details[open] { border-color: var(--lav-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 16px; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lav) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B63E8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform 0.25s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 22px; color: var(--muted); font-size: 16px; }
.faq .a p + p { margin-top: 10px; }
.help-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.help-card .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; }
.help-card .ico svg { width: 28px; height: 28px; }
.help-card h3 { font-size: 22px; margin-bottom: 8px; }
.help-card p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.help-card .btn { width: 100%; }
.help-links { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.help-links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.help-links a:hover { color: var(--accent); }
.help-links svg { width: 16px; height: 16px; color: var(--muted); }

/* ── Final CTA ───────────────────────────────────────────────────────── */
.cta { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 80px 32px; text-align: center; color: #fff; background: linear-gradient(135deg, #7c83f2 0%, #5b63e8 55%, #4a4fd0 100%); }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta::before { width: 420px; height: 420px; left: -120px; top: -180px; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%); }
.cta::after { width: 520px; height: 520px; right: -160px; bottom: -280px; background: radial-gradient(circle, rgba(216, 243, 231, 0.35), transparent 70%); }
.cta .route-deco { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; }
.cta > *:not(.route-deco) { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; }
.cta h2 .serif { display: block; }
.cta p { font-size: 19px; opacity: 0.88; margin: 16px auto 32px; max-width: 520px; }
.cta .btn-primary { background: #fff; color: #3b42c4; box-shadow: 0 14px 30px -10px rgba(20, 20, 70, 0.55); }
.cta small { display: block; margin-top: 18px; font-size: 14px; opacity: 0.8; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { margin-top: 104px; padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot p { color: var(--muted); margin-top: 14px; max-width: 320px; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.legal-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.legal-line p { max-width: 720px; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* ── Simple page hero (thank-you, uninstall, legal) ──────────────────── */
.page-hero { padding: 72px 0 56px; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 560px; z-index: -1; pointer-events: none; background: radial-gradient(40% 55% at 30% 40%, color-mix(in srgb, var(--accent-2) 24%, transparent), transparent 70%), radial-gradient(35% 50% at 72% 30%, color-mix(in srgb, var(--mint) 85%, transparent), transparent 70%); filter: blur(8px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.035em; margin: 18px auto 18px; max-width: 820px; }
.page-hero h1 .serif { color: var(--accent); }
.page-hero .lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.page-hero .hero-cta { justify-content: center; }
.seal { width: 88px; height: 88px; margin: 0 auto; border-radius: 28px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-lg); position: relative; }
.seal img { width: 60px; height: 60px; }
.seal .tick { position: absolute; right: -10px; bottom: -10px; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; border: 3px solid var(--bg); }
.seal .tick svg { width: 18px; height: 18px; }
.seal.sad .tick { background: var(--rose); color: var(--rose-ink); }

/* Onboarding steps (thank-you) */
.onboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .onboard { grid-template-columns: minmax(0, 1fr); } }
.onboard .card { display: flex; flex-direction: column; gap: 14px; }
.onboard .step-n { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; }
.onboard .step-n b { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 13px; letter-spacing: 0; }
.onboard h3 { font-size: 21px; }
.onboard p { color: var(--muted); font-size: 16px; }
.mini { margin-top: auto; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px; font-size: 13px; }
.mini-bar { display: flex; align-items: center; gap: 8px; }
.mini-bar .addr { flex: 1; height: 30px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 12px; color: var(--muted); gap: 8px; overflow: hidden; white-space: nowrap; }
.mini-bar .addr b { color: var(--accent); }
.mini-bar .tool { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); flex: none; }
.mini-bar .tool svg { width: 16px; height: 16px; }
.mini-bar .tool.hot { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.mini-bar .tool img { width: 18px; height: 18px; }
.mini-list { margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.mini-list div { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; }
.mini-list div.on { background: var(--lav); font-weight: 600; }
.mini-list img { width: 18px; height: 18px; }
.mini-list svg { width: 16px; height: 16px; margin-left: auto; color: var(--accent); }
.mini-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* Try-it demo (thank-you) */
.demo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr); } }
.demo-page { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 32px 32px 120px; min-height: 340px; }
.demo-page .kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.demo-page h3 { font-size: 26px; margin: 8px 0 14px; }
.demo-page p { color: var(--muted); }
.demo-page mark { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--accent-2) 45%, transparent) 55%); color: var(--text); font-weight: 600; }
.demo-page .widget { animation: none; opacity: 0; transform: translateY(14px); transition: opacity 0.35s ease-out, transform 0.35s ease-out; left: auto; right: 22px; width: 320px; max-width: calc(100% - 44px); }
.demo-page .widget.show { opacity: 1; transform: none; }
.demo-page .widget .bar { animation: none; }
.demo-page .widget.show .bar { animation: countdown 12s linear both; }
.demo-page .widget .x { border: 0; cursor: pointer; font: inherit; }

/* Survey + uninstall */
.two { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr); } }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.panel-card + .panel-card { margin-top: 24px; }
.panel-card h2 { font-size: 26px; margin-bottom: 8px; }
.panel-card > p { color: var(--muted); }
.reasons { border: 0; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.reasons legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.reason { position: relative; }
.reason input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.reason span { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; transition: border-color 0.15s, background-color 0.15s; }
.reason span::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--lav-2); background: var(--surface); transition: border 0.15s; }
.reason input:hover + span { border-color: var(--accent-2); }
.reason input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.reason input:checked + span::before { border: 6px solid var(--accent); }
.reason input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { margin-top: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; }
.field label small { font-weight: 400; color: var(--muted); }
.field textarea { width: 100%; min-height: 120px; resize: vertical; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); padding: 14px 16px; font: 16px/1.5 var(--sans); }
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: 14px; max-width: 320px; }
.thanks { display: none; text-align: center; padding: 24px 8px; }
.thanks .seal { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 18px; }
.thanks h2 { margin-bottom: 8px; }
.thanks p { color: var(--muted); }
form.sent > *:not(.thanks) { display: none; }
form.sent .thanks { display: block; }
.ol { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.ol li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: var(--muted); font-size: 16px; }
.ol li::before { content: counter(s); width: 32px; height: 32px; border-radius: 10px; background: var(--lav); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.ol li b { color: var(--text); }
.note { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r); padding: 16px 18px; font-size: 15.5px; margin-top: 18px; }
.note svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.note p { color: var(--text); }
.note.sky { background: var(--sky); } .note.sky svg { color: var(--sky-ink); }
.note.mint { background: var(--mint); } .note.mint svg { color: var(--mint-ink); }
.note.peach { background: var(--peach); } .note.peach svg { color: var(--peach-ink); }
.oops { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; border-radius: var(--r-lg); padding: 28px 32px; background: linear-gradient(135deg, var(--lav), var(--mint)); margin-top: 8px; }
.oops h2 { font-size: 24px; }
.oops p { color: var(--muted); margin-top: 4px; }

/* ── Legal pages ─────────────────────────────────────────────────────── */
.legal-hero { padding: 64px 0 40px; text-align: left; }
.legal-hero h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.03em; margin: 14px 0 14px; }
.legal-hero .meta { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-hero .meta span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.legal-hero .meta svg { width: 15px; height: 15px; }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 4px 8px 10px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 26px 1fr; padding: 7px 8px; border-radius: 9px; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(t) "."; font-variant-numeric: tabular-nums; color: var(--lav-2); font-weight: 600; }
.toc a:hover { background: var(--lav); color: var(--text); }
.toc a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.toc a.active::before { color: var(--accent); }
@media (max-width: 960px) { .toc { position: static; max-height: none; } .toc ol { columns: 2; column-gap: 12px; } @media (max-width: 560px) { .toc ol { columns: 1; } } }
.doc { counter-reset: sec; max-width: 760px; }
.doc .summary { border-radius: var(--r-lg); padding: 28px; background: linear-gradient(135deg, var(--lav), var(--sky)); margin-bottom: 48px; }
.doc .summary h2 { font-size: 20px; margin-bottom: 14px; }
.doc .summary ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.doc .summary li { display: flex; gap: 10px; align-items: flex-start; background: color-mix(in srgb, var(--surface) 78%, transparent); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.doc .summary li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
@media (max-width: 640px) { .doc .summary ul { grid-template-columns: minmax(0, 1fr); } }
.doc section { padding: 8px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.doc section:last-child { border-bottom: 0; }
.doc section > h2 { counter-increment: sec; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.doc section > h2::before { content: counter(sec, decimal-leading-zero); font: 600 14px/1 var(--sans); color: var(--accent); background: var(--accent-soft); padding: 6px 8px; border-radius: 8px; transform: translateY(-3px); }
.doc h3 { font-size: 18px; margin: 22px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--muted); font-size: 16.5px; }
.doc p + p { margin-top: 12px; }
.doc ul.dot { padding-left: 20px; margin: 12px 0; display: grid; gap: 8px; }
.doc ul.dot li::marker { color: var(--accent); }
.doc strong { color: var(--text); }
.doc .caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: 0.01em; }
.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.doc th { background: var(--bg-2); color: var(--text); font-weight: 600; font-size: 13.5px; }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { color: var(--text); font-weight: 500; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--accent); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ── Reveal on scroll ────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Shared HTML-only page and form helpers */
.ddn-page { min-height: 100vh; }
.page-main { min-height: 60vh; }
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { max-width: 850px; margin: 18px 0; font-size: clamp(40px, 6vw, 68px); }
.page-hero .lead { max-width: 720px; font-size: 19px; color: var(--muted); }
.panel-card .contact-email { margin: 18px 0; font-size: 20px; font-weight: 600; }
.ddn-form { display: grid; gap: 20px; margin-top: 24px; }
.ddn-form label { display: grid; gap: 8px; font-weight: 600; }
.ddn-form select, .ddn-form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--text); background: var(--bg); font: 16px/1.5 var(--sans); }
.ddn-form textarea { min-height: 120px; resize: vertical; }
.ddn-form .reasons { margin: 20px 0 0; }
.reason { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.reason input { accent-color: var(--accent); }
.form-status { margin: 16px 0; padding: 14px; border-radius: 12px; background: var(--mint); color: var(--mint-ink); }
@media (max-width: 720px) { .page-hero { padding: 48px 0 32px; } .page-hero h1 { font-size: clamp(36px, 10vw, 54px); } .panel-card { padding: 24px; } }
.legal-hero { padding-bottom: 24px; }
.legal-section { padding-top: 40px; }
.legal-content { line-height: 1.75; overflow-wrap: anywhere; }
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4 { margin: 1.5em 0 0.65em; }
.legal-content h1:first-child, .legal-content h2:first-child, .legal-content h3:first-child { margin-top: 0; }
.legal-content p, .legal-content ul, .legal-content ol { margin: 0.8em 0; color: var(--text); }
.legal-content ul, .legal-content ol { padding-left: 1.5em; }
.legal-content li { margin: 0.4em 0; }
.legal-content a { color: var(--accent); }
.legal-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.legal-content th, .legal-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
