/* Motorwise site. Colours are the app's Material 3 roles (app/.../ui/theme/Theme.kt, docs/DESIGN.md):
   primary, onSurface, onSurfaceVariant, outlineVariant, tertiary (amber = check soon), error (red = stop),
   and the app's Good tone, in light and dark. Change them there first, then here. */
:root {
  --bg: #eff3f4;
  --card: #ffffff;
  --text: #171d1e;
  --muted: #3f484a;
  --line: #c3cccd;
  --brand: #006a75;
  --brand-ink: #ffffff;
  --hero-bg: #0a1012;
  --hero-text: #e8f1f2;
  --teal: #4dd0e1;
  --good: #1e7a3c;
  --warn: #8a5100;
  --bad: #ba1a1a;
  --radius: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1214;
    --card: #1e2729;
    --text: #dee3e4;
    --muted: #bfc8ca;
    --line: #3f484a;
    --brand: #6dd8e6;
    --brand-ink: #00363d;
    --hero-bg: #080d0f;
    --good: #7ddc93;
    --warn: #ffb955;
    --bad: #ffb4ab;
  }
}
/* Self-hosted variable fonts (SIL OFL 1.1, from Fontsource): no request to Google. */
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+20AA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; src: url(/assets/fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; src: url(/assets/fonts/rubik-hebrew.woff2) format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
* { box-sizing: border-box; }
/* The page canvas is the footer's dark colour, so overscroll and the area under a short page never
   show a light band below the footer; body paints the light page itself and pushes the footer down. */
html { -webkit-text-size-adjust: 100%; background: var(--hero-bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[lang="he"] body { font-family: Rubik, Inter, system-ui, "Segoe UI", Arial, sans-serif; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; letter-spacing: -.02em; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3 { font-family: Rubik, "Space Grotesk", system-ui, sans-serif; letter-spacing: 0; }
a { color: var(--brand); }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { background: var(--hero-bg); color: var(--hero-text); position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px; max-width: 1200px; padding-inline: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 20px "Space Grotesk", Inter, sans-serif; }
.logo img { width: 34px; height: 34px; }
.top nav { display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.top nav a { color: #b9c7ca; text-decoration: none; }
.top nav a:hover { color: #fff; }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* Play button */
.play {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: #0e1214; font-weight: 700; text-decoration: none;
  padding: 14px 22px; border-radius: 999px; font-size: 17px;
}
.play::before { content: "▶"; font-size: 14px; }
.play:hover { filter: brightness(1.08); }
.section .play { background: var(--brand); color: var(--brand-ink); }
.play-soon::before { content: "✉"; }

/* Example answer card (used by the code pages' phone mock) */
.phone { background: #161d20; border: 1px solid #26323a; border-radius: 32px; padding: 18px; max-width: 360px; margin-inline: auto; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.phone .bar { width: 80px; height: 6px; background: #26323a; border-radius: 3px; margin: 0 auto 16px; }
.answer { background: #0e1214; border-radius: 18px; padding: 16px; color: #e8f1f2; font-size: 15px; }
.answer .code { font-weight: 800; color: var(--teal); font-size: 22px; }
.answer .row { border-top: 1px solid #26323a; padding-top: 10px; margin-top: 10px; }
.answer .label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #9fb0b5; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill.warn { background: #47320f; color: #ffb955; }
.pill.good { background: #173a22; color: #7ddc93; }
.pill.bad { background: #5c1b16; color: #ffb4ab; }
.example { font-size: 12px; color: #9fb0b5; text-align: center; margin: 10px 0 0; }

/* Sections */
.section { padding: 64px 0; }
@media (max-width: 640px) { .section { padding: 48px 0; } }
.section:nth-of-type(even) { background: var(--card); }
.section h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 12px; }
.section > .wrap > p.sub { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 46em; }
.cta-line { margin-top: 28px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.section:nth-of-type(even) .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; }
.steps .card h3::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: 15px; margin-inline-end: 10px; }
.big-answer { max-width: 640px; }
.big-answer dl { margin: 0; }
.big-answer dt { font-weight: 700; margin-top: 12px; }
.big-answer dd { margin: 2px 0 0; color: var(--muted); }
.soon { font-size: 13px; font-weight: 700; color: var(--warn); }
.fine { font-size: 14px; color: var(--muted); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
th, td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg); }
td.us, th.us { background: color-mix(in srgb, var(--brand) 12%, transparent); font-weight: 700; }

/* Plans */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 24px; }
.plan ul { margin: 10px 0 0; padding-inline-start: 20px; color: var(--muted); }
.plan .amount { font-size: 30px; font-weight: 800; }

/* Code lookup */
.lookup { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.lookup input { flex: 1 1 200px; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-transform: uppercase; }
.lookup button { font: inherit; font-weight: 700; padding: 12px 20px; border-radius: 12px; border: 0; background: var(--brand); color: var(--brand-ink); cursor: pointer; }
.lookup-msg { min-height: 1.6em; color: var(--muted); font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 8px 0 0; color: var(--muted); }

/* Disclosure */
.disclosure { border-inline-start: 4px solid var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); padding: 12px 16px; border-radius: 8px; font-size: 15px; margin-bottom: 20px; }

/* Final CTA + footer */
.final { background: var(--hero-bg); color: var(--hero-text); text-align: center; padding: 56px 0; }
.final h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); }
.final p { color: #c5d3d6; }
body > main { flex: 1 0 auto; }
footer { margin-top: auto; background: var(--hero-bg); color: #9fb0b5; font-size: 14px; padding: 28px 0 40px; border-top: 1px solid #26323a; }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 14px; }
footer a { color: #c5d3d6; }
footer .disclaimer strong { color: #e3ecee; font-weight: 600; }

/* Legal pages */
.doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 32px auto 56px; max-width: 820px; }
.doc h1 { margin-top: 0; line-height: 1.2; }
.doc h2 { margin-top: 32px; font-size: 22px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc table { min-width: 0; }

/* Trouble-code pages */
.lead-doc { font-size: 18px; color: var(--muted); }
.quick { border: 2px solid var(--brand); border-radius: var(--radius); padding: 4px 18px 14px; margin: 16px 0 20px; background: color-mix(in srgb, var(--brand) 6%, var(--card)); }
.quick dt { font-weight: 700; margin-top: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.quick dd { margin: 2px 0 0; }
.quick .guide { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.cta-box { background: var(--hero-bg); color: var(--hero-text); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.cta-box h2 { margin: 0 0 6px !important; font-size: 20px !important; }
.cta-box p { color: #c5d3d6; margin: 0 0 12px; }
.cta-box .play { background: var(--teal); color: #0e1214; }
.cta-box .fine { color: #9fb0b5; margin-inline-start: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; text-decoration: none; background: var(--bg); }
.code-list { columns: 2 280px; padding-inline-start: 18px; }
.code-list li { break-inside: avoid; margin-bottom: 4px; }
.code-list a { font-weight: 700; margin-inline-end: 6px; }
table.slim { min-width: 0; }
.pill.good, .pill.warn, .pill.bad { margin-inline-end: 6px; }

/* Comparison table */
.compare th[scope="row"] { white-space: nowrap; }
.compare td { text-align: center; }
.compare td.note { text-align: start; }
.yes { color: var(--good); font-weight: 800; }
.no { color: var(--bad); font-weight: 800; }
.part { color: var(--warn); font-weight: 800; }

/* Analytics consent banner */
.consent { position: fixed; inset-inline: 12px; bottom: 12px; max-width: 520px; margin-inline: auto; background: var(--hero-bg); color: var(--hero-text); border: 1px solid #26323a; border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); z-index: 10; font-size: 15px; }
.consent p { margin: 0 0 10px; color: #c5d3d6; }
.consent a { color: var(--teal); }
.consent button { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 8px 18px; margin-inline-end: 8px; cursor: pointer; background: var(--teal); color: #0e1214; }
.consent button.ghost { background: transparent; color: var(--hero-text); border: 1px solid #4f5d63; }

/* Feedback form (/feedback/) */
.feedback { display: grid; gap: 18px; margin-top: 24px; max-width: 640px; }
.feedback fieldset { border: 0; padding: 0; margin: 0; }
.feedback legend { font-weight: 700; margin-bottom: 8px; }
.feedback .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feedback .chips label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--card); }
.feedback .chips label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
/* Labels are in the page 5 → 1 and shown reversed, so "checked ~ label" lights the stars before it. */
.feedback .stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.feedback .stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.feedback .stars label { font-size: 32px; line-height: 1; color: var(--line); cursor: pointer; }
.feedback .stars label:has(input:checked), .feedback .stars label:has(input:checked) ~ label,
.feedback .stars label:hover, .feedback .stars label:hover ~ label { color: #f5b301; }
.feedback .stars label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.feedback .field { display: grid; gap: 6px; font-weight: 700; }
.feedback textarea, .feedback input[type=email] { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); width: 100%; box-sizing: border-box; }
.feedback button[type=submit] { justify-self: start; font: inherit; font-weight: 700; padding: 12px 24px; border-radius: 12px; border: 0; background: var(--brand); color: var(--brand-ink); cursor: pointer; }
.feedback button[disabled] { opacity: .6; cursor: wait; }
.feedback .status { min-height: 1.4em; margin: 0; font-weight: 600; }
.feedback .status.bad { color: #d64545; }
.feedback .muted { color: var(--muted); font-weight: 400; }
.feedback .small { font-size: 14px; }
.feedback .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.feedback .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ===== Home page. Designed on the Claude Design canvas "Motorwise landing page". ===== */
.home { --night: #0a1012; --night-2: #131c1f; --night-line: #22303a; --teal: #4dd0e1; --amber: #ffb955; --soft: #4a5659; }
.home .h2 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; margin: 0; max-width: 18em; }
.home .lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 36em; margin: 18px 0 0; }
.home .eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
html[lang="he"] .home .eyebrow { letter-spacing: .02em; }
.home .sec { padding: clamp(72px, 9vw, 112px) 0; background: var(--bg); }
.home .sec.white { background: var(--card); }
.home .play, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: center; transition: background .2s, box-shadow .2s, transform .2s; }
.home .play, .btn-primary { background: var(--teal); color: #05181b; }
.home .play:hover, .btn-primary:hover { background: #7fddea; color: #05181b; transform: translateY(-1px); }
.home .play::before { content: none; }
.btn-ghost { color: #e6eef0; box-shadow: inset 0 0 0 1.5px rgba(230,238,240,.28); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(230,238,240,.6); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: #1c2629; color: #fff; }
.nav-cta { min-height: 40px; padding: 8px 18px; font-size: 15px; background: var(--teal); color: #05181b !important; }

/* Hero */
.home .hero { background: var(--night); color: #e6eef0; position: relative; overflow: hidden; padding: 0; }
.glow { position: absolute; width: 820px; height: 820px; inset-inline-end: -180px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(77,208,225,.2), rgba(77,208,225,0)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: 40px 96px; position: relative; }
.alert { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,185,85,.12); color: #ffcf8a; font-size: 14px; font-weight: 600; }
.lamp { width: 20px; height: 20px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,185,85,.18), 0 0 18px rgba(255,185,85,.6); animation: lamp 2.4s ease-in-out infinite; }
@keyframes lamp { 50% { box-shadow: 0 0 0 7px rgba(255,185,85,.08), 0 0 26px rgba(255,185,85,.8); } }
.home .hero h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.03; margin: 22px 0; color: #fff; }
.home .hero h1 em { font-style: normal; color: var(--teal); }
.home .hero .lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; color: #afc0c4; max-width: 34em; margin: 0 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.home .price-note { font-size: 14px; color: #7f9398; margin: 16px 0 0; display: block; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(230,238,240,.1); list-style: none; }
.trust li { display: flex; flex-direction: column; }
.trust b { font: 700 24px "Space Grotesk", Inter, sans-serif; color: #fff; }
.trust span { font-size: 14px; color: #8ca0a5; }
.stage { position: relative; height: 620px; }
.device { position: relative; width: 280px; border-radius: 44px; padding: 10px; background: #000; box-shadow: 0 0 0 1.5px #2c3a40, 0 40px 80px -24px rgba(0,0,0,.6); }
.device img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 1127; border-radius: 35px; }
.stage .device { position: absolute; }
.stage .back { inset-inline-start: 20px; top: 56px; transform: rotate(-7deg); opacity: .75; }
html[dir="rtl"] .stage .back { transform: rotate(7deg); }
.stage .front { inset-inline-end: 40px; top: 0; }
.float { position: absolute; inset-inline-start: 0; bottom: 40px; width: 270px; background: #fff; color: var(--text); border-radius: 20px; padding: 16px 18px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.55); z-index: 1; }
.float small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5f6c70; }
.float strong { display: block; font: 700 19px "Space Grotesk", Inter, sans-serif; margin: 2px 0 8px; }
html[lang="he"] .float strong { font-family: Rubik, sans-serif; }
.verdict { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.v-warn { background: #fff1dc; color: #7a4600; }
.v-good { background: #ddf3e3; color: #14612d; }
.v-bad { background: #ffe1dd; color: #8c1d12; }
.verdicts { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }

/* Problem */
.questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; }
.q { background: var(--bg); border-radius: 24px; padding: 32px; }
.q .n { font: 700 14px "Space Grotesk", Inter, sans-serif; color: #8a4f00; background: #fff1dc; border-radius: 999px; padding: 4px 10px; display: inline-block; }
.q h3 { font-size: 26px; line-height: 1.2; margin: 18px 0 10px; }
.q p { margin: 0; color: var(--muted); }
.turn { margin: 64px 0 0; padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--night); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px 32px; flex-wrap: wrap; }
.turn p { font: 600 clamp(21px, 2.4vw, 28px)/1.3 "Space Grotesk", Inter, sans-serif; margin: 0; max-width: 26em; }
html[lang="he"] .turn p { font-family: Rubik, sans-serif; }
.turn em { font-style: normal; color: var(--teal); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; }
.steps li { padding: 28px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.steps .num { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 700 18px "Space Grotesk", Inter, sans-serif; }
.steps h3 { font-size: 22px; margin: 18px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Chapters */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
.chapter.flip .shot { order: -1; }
.kicker { font: 700 14px "Space Grotesk", Inter, sans-serif; color: var(--brand); letter-spacing: .06em; text-transform: uppercase; }
.chapter h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 12px 0 0; }
.points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.points li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 8px; background: #ddf4f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006a75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.points b { color: var(--text); font-weight: 600; }
.shot { border-radius: 32px; min-height: 640px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 40px 20px; }
.shot-teal { background: linear-gradient(160deg, #ddf4f7, #bfe7ec); }
.shot-amber { background: linear-gradient(160deg, #fff1dc, #ffe0b3); }
.shot-slate { background: linear-gradient(160deg, #e3e9eb, #ccd6d9); }
.shot .device { width: 270px; }
.shot .paper { position: absolute; inset-inline-end: 7%; bottom: 48px; width: 42%; max-width: 210px; border-radius: 8px; background: #fff; box-shadow: 0 24px 48px -16px rgba(0,0,0,.35); transform: rotate(4deg); overflow: hidden; }
.shot .paper img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 736; }
.shot.with-paper .device { margin-inline-end: 34%; }
.home .fine { font-size: 14px; color: var(--muted); margin: 20px 0 0; }
.home .more { display: inline-block; margin-top: 24px; font-weight: 600; }

/* Proof */
.home .proof { background: var(--night); color: #e6eef0; }
.proof .h2 { color: #fff; }
.proof .lede { color: #9fb1b5; }
.proof .eyebrow { color: var(--teal); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; }
.stat { padding: 28px; border-radius: 24px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.stat b { display: block; font: 700 clamp(34px, 3.6vw, 44px)/1 "Space Grotesk", Inter, sans-serif; color: var(--teal); }
.stat span { display: block; margin-top: 10px; color: #9fb1b5; font-size: 15px; }
.real { margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.real div { padding: 24px; border-radius: 20px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.real small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8ca0a5; }
.real p { margin: 8px 0 0; color: #dce6e8; }
.also { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; }
.also li { border-radius: 999px; padding: 6px 14px; font-size: 15px; color: #c3d1d4; box-shadow: inset 0 0 0 1px var(--night-line); }
.also .soon { color: var(--amber); }
.proof a { color: var(--teal); }

/* Pricing */
.home .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; max-width: 880px; }
.home .plan { border-radius: 28px; padding: 36px; background: var(--card); box-shadow: 0 0 0 1px var(--line); border: 0; }
.home .plan.pro { background: var(--night); color: #e6eef0; box-shadow: none; }
.home .plan h3 { font-size: 20px; margin: 0; }
.home .plan .amount { font: 700 52px/1 "Space Grotesk", Inter, sans-serif; margin: 16px 0 6px; }
.home .plan .amount span { font: 500 17px Inter, sans-serif; color: #7f9398; }
.home .plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted); }
.home .plan.pro ul { color: #c3d1d4; }
.home .plan li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-inline-end: 10px; }
.home .plan.pro li::before { color: var(--teal); }
.badge { display: inline-block; margin-inline-start: 8px; padding: 3px 10px; border-radius: 999px; background: var(--teal); color: #05181b; font: 600 12px Inter, sans-serif; vertical-align: middle; }
.home .plan .fine { color: #8ca0a5; }

/* The kept SEO sections inside the home page */
.home .section { padding: clamp(64px, 8vw, 96px) 0; }
.home .section h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; }

/* Final CTA */
.home .final { background: var(--night); color: #fff; text-align: center; padding: clamp(88px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.home .final .glow { inset-inline-end: auto; left: 50%; margin-left: -410px; top: -340px; }
.home .final h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; max-width: 14em; margin: 0 auto; position: relative; }
.home .final p { color: #9fb1b5; margin: 20px 0 32px; position: relative; }

/* Scroll reveal. Only with JS (html.js) and without reduced motion; otherwise everything shows. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .shot.reveal .device { transform: translateY(40px) scale(.97); transition: transform .9s cubic-bezier(.2,.7,.2,1) .1s; }
.js .shot.reveal.in .device { transform: none; }
.js .hero .rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.js .hero .rise.d1 { animation-delay: .1s; } .js .hero .rise.d2 { animation-delay: .2s; } .js .hero .rise.d3 { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .shot.reveal .device { opacity: 1; transform: none; transition: none; }
  .js .hero .rise, .lamp { animation: none; }
}

@media (max-width: 900px) {
  .hero-grid, .chapter { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 16px 64px; gap: 32px; }
  .chapter.flip .shot { order: 0; }
  .questions, .steps, .real, .home .plans { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 20px; }
  .stage { height: 500px; max-width: 420px; margin: 0 auto; width: 100%; }
  .stage .device { width: 220px; border-radius: 36px; padding: 8px; }
  .stage .device img { border-radius: 29px; }
  .stage .front { inset-inline-end: 0; }
  .stage .back { inset-inline-start: 0; top: 44px; }
  .float { width: 230px; bottom: 16px; }
  .shot { min-height: 0; padding: 40px 16px; }
  .shot .device { width: 230px; border-radius: 38px; }
  .shot .device img { border-radius: 30px; }
  .shot.with-paper .device { margin-inline-end: 30%; }
  .q { padding: 24px; }
  .q h3 { font-size: 22px; }
  .home .plan { padding: 28px; }
  .top nav .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .top nav { flex-wrap: nowrap; gap: 14px; }
  .top nav .hide-xs { display: none; }
  .top .wrap { padding-inline: 16px; }
  .wrap { padding-inline: 16px; }
  .float .verdict { font-size: 12px; }
}
@media (max-width: 420px) {
  .stage { height: 440px; }
  .stage .device { width: 190px; }
  .float { width: 210px; padding: 12px 14px; }
  .ctas > * { width: 100%; }
}

/* Plans and account page (/account/) */
.account .plans { margin: 24px 0; }
.account .plan .ctas { margin-top: 16px; }
.account .acct { margin-top: 32px; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.account .acct h2 { margin-top: 0; }
.account .in-only, .account.signed-in .out-only { display: none; }
.account.signed-in .in-only { display: block; }
.account .gbtn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #1f1f1f; font: 500 15px Inter, sans-serif; cursor: pointer; }
.account .gbtn:disabled { opacity: .55; cursor: not-allowed; }
.account .signout { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.account .plan-line { font-weight: 600; }
.account .status:empty { display: none; }
