/* Postflight page styles, on top of tokens.css (spacefs blueprint). Theme: sky blue and plane white,
   Ocean accent. Every color is solid: the sky is one flat hue, never a gradient. */

:root {
  --sky: #C3E1F5;           /* the hero sky, flat */
  --sky-ink-2: #3D5266;     /* second-line text on the sky: 5.9:1 */
  --canvas: #F3F8FC;        /* page ground, a whisper of sky */
  --surface-2: #E8F1F8;     /* recessed wells */
  --hairline: #D8E4EE;
  --accent: #1E5F99;        /* Ocean, from the accent library: 4.5:1+ for words */
  --cloud: #FFFFFF;
}

html.sky-edge { background: var(--sky); }   /* the bounce above the hero shows sky, not the white page (site.js) */
section[id] { scroll-margin-top: 96px; }
code { font-family: var(--font-mono); font-size: .9em; }
.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; }

/* ---------- nav ---------- */
.nav { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); pointer-events: none; }
.nav > * { pointer-events: auto; }
.logo { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 8px 20px -10px rgb(20 60 100 / .55); color: #FFFFFF; }
.logo svg { width: 30px; height: 30px; transition: transform var(--dur-2) var(--ease-out); }
.logo:hover svg { transform: translate(1.5px, -1.5px); }
.menu-morph { top: calc(env(safe-area-inset-top, 0px) + 14px); }
.menu-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; padding: 0 18px; border: 0; background: none; color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; }
.menu-toggle svg { width: 18px; height: 18px; flex: none; }
.menu-toggle .open-only, .menu-morph[data-open] .menu-toggle .closed-only { display: none; }
.menu-morph[data-open] .menu-toggle .open-only { display: inline; }
.menu-body { position: relative; left: 50%; translate: -50% 0; width: min(520px, 100vw - 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; padding: 6px 28px 22px; }
.menu-group .label { margin: 0 0 6px; }
.menu-group a { display: flex; align-items: center; min-height: 44px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); transition: opacity var(--dur-1) var(--ease-std); }
.menu-group a:hover { opacity: .7; }
.menu-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--hairline); }
.menu-foot a, .menu-foot button { display: inline-flex; align-items: center; min-height: 44px; font: 400 15px/1 var(--font); color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; }
.menu-foot a:hover, .menu-foot button:hover { color: var(--ink); }
@media (max-width: 600px) { .menu-body { grid-template-columns: 1fr; } }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-signin .lb-short { display: none; }
/* Phones and small tablets: the Check button is in the hero, so the top bar keeps only Sign in, at a full 44px. */
@media (max-width: 759px) { .nav-end [data-cta] { display: none; } .nav-signin { --h: 44px; padding: 0 18px; } }
@media (max-width: 399px) { .nav-signin .lb-long { display: none; } .nav-signin .lb-short { display: inline; } }
@media (max-width: 420px) { .logo { width: 48px; height: 48px; } }

/* ---------- hero: the sky scene ----------
   Multi-layer parallax from the owner's guide (far 0.2x, mid 0.5x, near 0.8x), built the modern way:
   a tall section with a sticky stage and CSS scroll-driven animations (web.md, "Parallax and scroll
   recipes"). Without scroll timelines, or with Reduce Motion, it is one finished, static picture. */
.sky { position: relative; background: var(--sky); }
.sky-stage { position: relative; isolation: isolate; overflow: clip; min-height: max(680px, 100svh); display: grid; align-content: center; gap: 40px;
  padding: calc(env(safe-area-inset-top, 0px) + 112px) 0 56px; }
.clouds { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 200 / 90; height: auto; color: var(--cloud); overflow: visible; }
.clouds.far { z-index: 0; } .clouds.far .cloud { opacity: .55; }
.clouds.mid { z-index: 1; } .clouds.mid .cloud { opacity: .85; }
.clouds.near { z-index: 3; }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.trail path { fill: none; stroke: var(--cloud); stroke-width: 3; stroke-linecap: round; opacity: .9; stroke-dasharray: 1 1; stroke-dashoffset: .42; }
.trail path + path { opacity: .6; }
.plane { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(80px, 8.5vw, 128px); aspect-ratio: 1; pointer-events: none;
  offset-path: var(--path, none); offset-rotate: auto; offset-distance: 58%; filter: drop-shadow(0 16px 14px rgb(24 64 104 / .2)); }
.plane svg { width: 100%; height: 100%; }
.sky-copy { position: relative; z-index: 4; display: grid; justify-items: center; text-align: center; gap: 22px; }
.sky-copy .display { max-width: 21ch; }
.sky-copy .lede { margin-top: 2px; max-width: 520px; color: var(--sky-ink-2); }
.sky .two-tone > :last-child { color: var(--sky-ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.hero-meta { color: var(--sky-ink-2); text-wrap: balance; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* The steps: a row of glass cards in the static picture; one at a time while the plane flies. */
.sky-steps { position: relative; z-index: 4; list-style: none; margin: 0 auto; padding: 0 var(--gutter); width: 100%; max-width: calc(var(--max) + 2 * var(--gutter));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sky-step { display: grid; gap: 8px; align-content: start; padding: 22px 24px; border-radius: 24px; background: rgb(255 255 255 / .78); }
.sky-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 14px; font-weight: 500; }
.sky-step h2 { margin: 4px 0 0; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.sky-step p { font-size: 15px; line-height: 1.55; color: var(--sky-ink-2); }
.sky-step .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .sky-steps { grid-template-columns: 1fr; } }

/* The one load animation: each piece of the headline block rises in turn (CSS only). */
@keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .sky-copy > * { animation: hero-rise 1.1s var(--ease-out) both; }
  .sky-copy > :nth-child(2) { animation-delay: 50ms; }
  .sky-copy > :nth-child(3) { animation-delay: 150ms; }
  .sky-copy > :nth-child(4) { animation-delay: 250ms; }
  .sky-copy > :nth-child(5) { animation-delay: 400ms; }
}

/* The flight. Only where scroll timelines exist and motion is welcome. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sky { height: 340vh; view-timeline: --sky block; }
    .sky-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; padding: 0; align-content: center; }
    .plane, .trail path, .clouds, .sky-copy, .sky-step { animation-timeline: --sky; animation-fill-mode: both; animation-timing-function: linear; }
    .plane { animation-name: fly; animation-range: contain 0% contain 100%; }
    .trail path { animation-name: draw; animation-range: contain 0% contain 100%; }
    .clouds { animation-name: drift; animation-range: contain 0% contain 100%; }
    .clouds.far { --y1: -6%; --x1: -2%; }
    .clouds.mid { --y1: -16%; --x1: -5%; }
    .clouds.near { --y1: -38%; --x1: -9%; }
    .sky-copy { animation-name: copy-out; animation-range: contain 0% contain 20%; }
    .sky-steps { position: absolute; left: 0; right: 0; top: 50%; display: block; height: 0; }
    .sky-step { position: absolute; left: var(--gutter); top: 0; translate: 0 -50%; width: min(460px, calc(100% - 2 * var(--gutter))); padding: 28px 30px; }
    .sky-step h2 { font-size: clamp(24px, 2.4vw, 34px); }
    .sky-step p { font-size: 16px; }
    @media (max-width: 640px) {
      .sky-steps { top: auto; bottom: 24px; }
      .sky-step { top: auto; bottom: 0; translate: none; padding: 22px 24px; }
      .sky-step h2 { font-size: 22px; }
    }
    .sky-step:nth-child(1) { animation-name: step; animation-range: contain 18% contain 44%; }
    .sky-step:nth-child(2) { animation-name: step; animation-range: contain 42% contain 68%; }
    .sky-step:nth-child(3) { animation-name: step; animation-range: contain 64% contain 92%; }   /* gone before the checker card rises, so no card is cut by the screen edge */
  }
}
@keyframes fly { from { offset-distance: var(--fly-from, 0%); } to { offset-distance: 100%; } }   /* --fly-from: set in site.js */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: none; } to { transform: translate3d(var(--x1, 0), var(--y1, 0), 0); } }
@keyframes copy-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-64px); visibility: hidden; } }
@keyframes step { 0% { opacity: 0; transform: translateY(28px); visibility: hidden; } 22%, 78% { opacity: 1; transform: none; visibility: visible; } 100% { opacity: 0; transform: translateY(-28px); visibility: hidden; } }

/* Where the sky ends: the checker sits wholly on the white page, with room above it. "Check my logbook"
   lands with the sky's edge at the very top of the screen, so no strip of blue shows under the nav. */
#check { padding-top: clamp(96px, 9vw, 120px); scroll-margin-top: 0; }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { justify-items: center; text-align: center; }
.section-head .lede { max-width: 560px; }

/* ---------- the checker ---------- */
.checker { padding: clamp(20px, 3vw, 36px); scroll-margin-top: 92px; }
.checker-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--hairline); }
.privacy-line { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.privacy-line svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.empty { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 48px); align-items: start; }
.drop { position: relative; display: grid; justify-items: center; align-content: center; gap: 12px; min-height: 300px; padding: 32px 24px; border-radius: 22px; text-align: center;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); cursor: pointer; }
.drop:hover, .drop[data-over] { background: color-mix(in srgb, var(--accent) 6%, var(--surface-2)); box-shadow: inset 0 0 0 1.5px var(--accent); }
.drop-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink); }
.drop-icon svg { width: 26px; height: 26px; }
.drop h3 { margin: 6px 0 0; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.drop p { font-size: 15px; color: var(--ink-2); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.drop:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--accent); }
.drop .btn { pointer-events: none; background: var(--surface); box-shadow: var(--shadow-1); }
.drop-or { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }

.export-help { margin-top: 18px; display: grid; gap: 12px; }
.export-help .segmented { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.export-help ol { margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); display: grid; gap: 4px; }
.export-help li::marker { color: var(--ink-2); }
.export-help b { color: var(--ink); font-weight: 500; }

.gets { list-style: none; margin: 0; padding: 0; }
.gets li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--hairline); }
.gets li:first-child { border-top: 0; padding-top: 4px; }
.gets i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.gets i svg { width: 16px; height: 16px; }
.gets h3 { margin: 4px 0 4px; font-size: 17px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.gets p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.sample-link { margin-top: 6px; }

.status { display: grid; justify-items: center; gap: 12px; padding: 56px 16px; text-align: center; }
.status h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.status p { color: var(--ink-2); max-width: 520px; font-size: 15px; }
.status .btn { margin-top: 6px; }
.gate-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gate .gate-fine { font-size: 14px; }
.gate-fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* results */
.result-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.result-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 500; }
.result-head h2 span { display: block; }
.result-head h2 span + span { color: var(--ink-2); font-size: .55em; letter-spacing: -0.01em; margin-top: 8px; line-height: 1.3; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; padding: 14px 18px; border-radius: 16px; background: var(--surface-2); font-size: 15px; color: var(--ink-2); }
.notice b { color: var(--ink); font-weight: 500; }

.compare { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; padding: 16px 18px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--hairline); }
.compare label { font-size: 15px; font-weight: 500; }
.compare input { width: 140px; }
.compare output { font-size: 15px; color: var(--ink-2); flex: 1 1 260px; }
.compare output b { color: var(--ink); font-weight: 500; }

.block-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: clamp(28px, 4vw, 40px) 0 14px; }
.block-title h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.block-title p { font-size: 14px; color: var(--ink-2); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { padding: 16px 18px; border-radius: 18px; background: var(--surface-2); display: grid; gap: 6px; align-content: start; }
.tile span { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.tile strong { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; font-variant-numeric: tabular-nums; }
.tile small { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tile.big { background: var(--primary); color: var(--on-primary); }
.tile.big span, .tile.big small { color: color-mix(in srgb, var(--on-primary) 72%, transparent); }

.rowlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.rowlist > li { border-bottom: 1px solid var(--hairline); }
.cur { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 0; }
.cur h4 { margin: 0; font-size: 16px; font-weight: 500; }
.cur p { grid-column: 1 / -1; font-size: 14.5px; color: var(--ink-2); }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.state[data-s="current"]::before { background: #2F6B3F; }
.state[data-s="grace"]::before, .state[data-s="soon"]::before, .state[data-s="check"]::before { background: #B26B00; }
.state[data-s="expired"]::before, .state[data-s="ipc"]::before { background: #B3261E; }

.issue summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 28px; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; }
.issue summary::-webkit-details-marker { display: none; }
.issue summary h4 { margin: 0; font-size: 16px; font-weight: 500; }
.issue summary .count { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.issue summary i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-1); transition: transform var(--dur-2) var(--ease-out); }
.issue summary i svg { width: 12px; height: 12px; }
.issue[open] summary i { transform: rotate(45deg); }
.level { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.level[data-l="fix"] { background: var(--ink); color: var(--canvas); }
.issue-body { padding: 0 0 16px; display: grid; gap: 10px; }
.issue-body > p { font-size: 14.5px; color: var(--ink-2); }
.issue-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 280px; overflow: auto; border-radius: 12px; background: var(--surface-2); padding: 8px 14px; }
.issue-items li { display: grid; grid-template-columns: 76px 104px minmax(0, 1fr); gap: 10px; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--hairline); }
.issue-items li:last-child { border-bottom: 0; }
.issue-items span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.all-clear { display: flex; align-items: center; gap: 10px; padding: 16px 0; font-size: 15px; }
.all-clear::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2F6B3F; }

.types { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.types th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-2); padding: 0 0 8px; }
.types td { padding: 10px 0; border-top: 1px solid var(--hairline); }
.types th:not(:first-child), .types td:not(:first-child) { text-align: right; }
.report-wrap { overflow-x: auto; margin-top: 4px; }
.types.form-report td:not(:first-child), .types.form-report th:not(:first-child) { white-space: nowrap; padding-left: 16px; }
.report-wrap + .fine { margin-top: 12px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); }
.fine { margin-top: clamp(24px, 3vw, 32px); padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--ink-2); }
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 20px 22px; border-radius: 20px; background: var(--surface-2); }
.next p { font-size: 16px; font-weight: 500; }

/* ---------- free vs Pro in the results ---------- */
.issue-sum { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; }
.issue-sum h4 { margin: 0; font-size: 16px; font-weight: 500; }
.issue-sum .count { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.state[data-s="locked"]::before { width: 10px; height: 10px; border-radius: 3px; background: var(--ink-3); }
.locked-list .cur { padding: 16px 0; }
.unlock { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(24px, 3vw, 36px); padding: 24px 26px; border-radius: 22px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.unlock > div:first-child { display: grid; gap: 8px; flex: 1 1 380px; }
.unlock .label { margin: 0; }
.unlock h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; }
.unlock p { font-size: 15px; color: var(--ink-2); max-width: 620px; }
.unlock-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .unlock-actions, .unlock-actions .btn { width: 100%; } }

/* ---------- pricing ---------- */
.page-hero { padding: calc(env(safe-area-inset-top, 0px) + 140px) 0 clamp(36px, 5vw, 56px); }
.page-hero .section-head { margin-bottom: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 28px 26px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-2); }
.plan.best { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-3); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.plan-top b { font-size: 16px; font-weight: 500; }
.plan-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--canvas); font-size: 12.5px; font-weight: 500; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan-price strong { font-size: clamp(38px, 3.6vw, 46px); line-height: 1; letter-spacing: -0.04em; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 15px; color: var(--ink-2); }
.plan-note { font-size: 14px; color: var(--ink-2); min-height: 42px; }
.plan .ticks li { font-size: 15px; }
.plan .btn { width: 100%; }
.plan .btn-white { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-1); }
.plan-error { font-size: 14px; color: #B3261E; min-height: 0; }
.notice-bar { margin: 0 0 18px; padding: 14px 18px; border-radius: 16px; background: rgb(255 255 255 / .7); font-size: 15px; color: var(--ink); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-2); }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--hairline); }
.compare-table thead th { border-top: 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.compare-table td:not(:first-child), .compare-table th:not(:first-child) { text-align: center; width: 110px; }
.yes, .no { display: inline-block; font-size: 14px; font-weight: 500; }
.no { color: var(--ink-2); }
.restore { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-2); }
.restore h2 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.025em; font-weight: 500; }
.restore p { font-size: 15px; color: var(--ink-2); }
.restore form { display: grid; gap: 12px; }
.restore .row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.key-box { font-family: var(--font-mono); font-size: 12.5px; word-break: break-all; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  .restore { grid-template-columns: 1fr; }
  .compare-table td:not(:first-child), .compare-table th:not(:first-child) { width: 64px; padding-inline: 10px; }
  .compare-table th, .compare-table td { padding-inline: 14px; }
}

/* ---------- what it checks ---------- */
.checks .label { margin: 0 0 12px; }
.checklist > li { padding: 16px 0; }
.checklist h3 { margin: 0 0 4px; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.checklist p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.fine-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* ---------- interviews and checkrides ---------- */
.interview { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.interview-copy { display: grid; gap: 18px; justify-items: start; }
.interview-copy .lede { max-width: 500px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.report { margin: 0; display: grid; gap: 12px; }
.report img { width: 100%; height: auto; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-3); transform: rotate(1.2deg); }
.report figcaption { font-size: 13px; color: var(--ink-2); text-align: center; }
@media (max-width: 900px) { .interview { grid-template-columns: 1fr; } .report img { transform: none; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.input, .select { width: 100%; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 16px/1.2 var(--font);
  box-shadow: inset 0 0 0 1px var(--hairline); transition: box-shadow var(--dur-1) var(--ease-std); appearance: none; -webkit-appearance: none; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23686D78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
textarea.input { min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #B3261E; }
.field-error { font-size: 14px; color: #B3261E; min-height: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); font-size: 15px; cursor: pointer; transition: box-shadow var(--dur-1) var(--ease-std), background-color var(--dur-1) var(--ease-std); }
.choice input:checked + span { background: var(--primary); color: var(--on-primary); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; top: 0; overflow: hidden; }
.hp input { height: 44px; }
.form-note { font-size: 14px; color: var(--ink-2); }
.form-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline); }
.form-done { display: grid; gap: 10px; padding: 8px 0; }
.form-done h3 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 500; }
.form-done p { color: var(--ink-2); }

/* ---------- beta + app ---------- */
.beta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.beta-copy { display: grid; gap: 18px; align-content: start; position: sticky; top: 120px; }
.beta-copy .lede { max-width: 460px; }
.price-line { display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-2); max-width: 460px; }
.price-line strong { font-size: 28px; letter-spacing: -0.03em; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-line strong small { font-size: 15px; color: var(--ink-2); letter-spacing: 0; font-weight: 400; }
.price-line p { font-size: 14.5px; color: var(--ink-2); }
.beta-form { padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--hairline); align-items: baseline; }
.rows li:last-child { border-bottom: 1px solid var(--hairline); }
.rows .n { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }
.rows h3 { margin: 0; font-size: clamp(22px, 2.25vw, 30px); line-height: 1.2; letter-spacing: -0.025em; font-weight: 500; }
.rows p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.rows-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 120px; display: grid; gap: 14px; }
.faq-side p { color: var(--ink-2); font-size: 16px; }
.faq-side button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline); cursor: pointer; min-height: 44px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-1); transition: transform var(--dur-2) var(--ease-out); }
.faq summary i svg { width: 12px; height: 12px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq .a { padding: 0 44px 18px 0; font-size: 16px; color: var(--ink-2); display: grid; gap: 10px; }
.faq .a ol, .faq .a ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.faq .a b { color: var(--ink); font-weight: 500; }

/* ---------- final call ---------- */
.final { min-height: min(80svh, 720px); padding-block: var(--section); display: grid; place-items: center; text-align: center; position: relative; isolation: isolate; overflow: clip; }
.final { background: var(--sky); }
/* The closing sky is a rounded panel inside the page, not a stripe from edge to edge. */
.final { width: min(100% - 2 * var(--gutter), var(--max) + 2 * var(--gutter)); margin-inline: auto; border-radius: var(--r-xl); }
.final .cloud:nth-child(2) { left: auto; right: 4%; }   /* measured from the right, so it stays whole inside the panel */
@media (max-width: 640px) { .final { border-radius: var(--r-lg); } .final .cloud:nth-child(2) { right: 6%; top: auto; bottom: 6%; width: 110px; } }
.final .clouds .cloud { opacity: .8; }
.final-copy { position: relative; z-index: 1; }
.final .two-tone > :last-child { color: var(--sky-ink-2); }
.final-copy { display: grid; justify-items: center; gap: 22px; }
.fan { position: relative; width: min(680px, 100%); height: 196px; margin-bottom: 18px; }
.fan-card { position: absolute; top: 18px; left: 50%; width: 210px; padding: 18px 20px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-3); display: grid; gap: 6px; text-align: left; }
.fan-card span { font-size: 13px; color: var(--ink-2); }
.fan-card strong { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; }
.fan-card small { font-size: 13px; color: var(--ink-2); }
.fan-card:nth-child(1) { transform: translateX(-148%) rotate(-6deg) translateY(16px); }
.fan-card:nth-child(2) { transform: translateX(-50%); z-index: 2; top: 0; }
.fan-card:nth-child(3) { transform: translateX(48%) rotate(6deg) translateY(16px); }
@media (max-width: 640px) {
  .fan { height: 170px; }
  .fan-card { width: 168px; padding: 14px 16px; }
  .fan-card strong { font-size: 24px; }
  .fan-card:nth-child(1) { transform: translateX(-97%) rotate(-5deg) translateY(14px); }
  .fan-card:nth-child(2) { transform: translateX(-3%) rotate(4deg); top: 6px; }
  .fan-card:nth-child(3) { display: none; }
}
.export-help .segmented { display: flex; width: 100%; }
.export-help .segmented button { flex: 1 1 auto; padding: 8px 10px; }

/* ---------- footer ---------- */
.footer { overflow: hidden; padding-top: clamp(40px, 5vw, 72px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.foot-brand .brand svg { width: 28px; height: 28px; color: var(--accent); }
.foot-brand p { color: var(--ink-2); font-size: 15px; max-width: 360px; }
.foot-col h4 { margin: 0 0 6px; }
.foot-col a, .foot-col button { display: flex; align-items: center; min-height: 40px; font: 400 15px/1.3 var(--font); color: var(--ink-2); background: none; border: 0; padding: 0; cursor: pointer; }
.foot-col a:hover, .foot-col button:hover { color: var(--ink); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 28px; font-size: 13px; color: var(--ink-2); }
.wordmark { color: var(--surface-2); margin: clamp(20px, 3vw, 40px) 0 -0.22em; text-align: center; font-size: clamp(88px, 21vw, 300px); line-height: .8; letter-spacing: -0.06em; font-weight: 650; user-select: none; white-space: nowrap; }

/* ---------- dialog ---------- */
.sheet { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: var(--panel-fill);
  -webkit-backdrop-filter: blur(32px) saturate(1.7); backdrop-filter: blur(32px) saturate(1.7); box-shadow: inset 0 1px 0 var(--control-highlight), 0 32px 80px -32px rgb(30 45 80 / .4); }
.sheet::backdrop { background: rgb(14 15 18 / .3); }
.sheet form { display: grid; gap: 16px; padding: 28px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 500; }
.sheet[open] { animation: sheet-in .32s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- page: privacy ---------- */
.doc { max-width: 720px; padding-top: calc(env(safe-area-inset-top, 0px) + 140px); }
.doc h1 { margin: 0 0 12px; }
.doc h2 { margin: 40px 0 10px; font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.doc p, .doc li { font-size: 16px; color: var(--ink-2); line-height: 1.65; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc p + p { margin-top: 12px; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .empty, .beta, .faq-wrap, .two-col { grid-template-columns: 1fr; }
  .beta-copy, .faq-side { position: static; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .rows li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .issue-items li { grid-template-columns: 64px minmax(0, 1fr); }
  .issue-items li span:nth-child(2) { display: none; }
  .issue summary { grid-template-columns: auto minmax(0, 1fr) 28px; }
  .issue summary .count { display: none; }
  .drop { min-height: 240px; }
  .result-actions { width: 100%; }
  .result-actions .btn { flex: 1 1 auto; }
  .faq .a { padding-right: 0; }
}
