/* Layout concept: a listing walkthrough — the route through the home is the spine of the page */
:root {
  --navy: #10233A;
  --navy-2: #1A3352;
  --sand: #F4F0E8;
  --amber: #F0A92E;
  --amber-ink: #8A5A00;
  --bg: #F7F4EE;
  --surface: #FFFFFF;
  --fg: #10233A;
  --muted: #4E5D70;
  --line: #DCD5C8;
  --band-bg: #10233A;
  --band-fg: #F4F0E8;
  --band-muted: #A9B6C6;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1B2D; --surface: #13263D; --fg: #F1ECE2; --muted: #A9B6C6; --line: #2A405C;
    --amber-ink: #F0A92E; --band-bg: #081524; --band-fg: #F1ECE2; --band-muted: #A9B6C6; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1B2D; --surface: #13263D; --fg: #F1ECE2; --muted: #A9B6C6; --line: #2A405C;
  --amber-ink: #F0A92E; --band-bg: #081524; --band-fg: #F1ECE2; --band-muted: #A9B6C6; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12; font-weight: 800; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-ink); }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
section { padding-block: clamp(56px, 9vw, 104px); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band-bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--band-bg); color: var(--band-fg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--band-muted); }
.nav a:hover { color: var(--band-fg); }
@media (max-width: 720px) { .nav a.hide-sm { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 15px 22px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--amber); color: #10233A; }
.btn-primary:hover { transform: translateY(-1px); background: #F5B94F; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-sm { padding: 10px 16px; font-size: 0.9rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn-primary:hover { transform: none; } }

/* Hero */
.hero { background: var(--band-bg); color: var(--band-fg); padding-block: clamp(36px, 6vw, 72px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.hero-copy { max-width: 760px; display: grid; gap: 20px; }
.hero-copy p.lead { font-size: 1.15rem; color: var(--band-muted); max-width: 60ch; }
.hero-copy p.lead strong { color: var(--band-fg); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero-actions .note { font-size: 0.92rem; color: var(--band-muted); }

.player { position: relative; border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: #0A1626; aspect-ratio: 16 / 9; max-width: 100%; }
.player video { width: 100%; height: 100%; object-fit: cover; }
.player .fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #A9B6C6; font-size: 0.95rem; }
.player .fallback[hidden] { display: none !important; }
.player .tag { position: absolute; left: 14px; bottom: 12px; background: rgba(8, 21, 36, .78); color: #F4F0E8; padding: 6px 10px; border-radius: 6px; }

/* Route strip: the real shot list of the sample */
.route { background: var(--surface); border-bottom: 1px solid var(--line); }
.route .wrap { padding-block: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.route .label { color: var(--muted); margin-right: 8px; }
.route ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.route li { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.route li + li::before { content: "→"; color: var(--amber-ink); font-weight: 400; }
.route .spec { margin-left: auto; color: var(--muted); }
@media (max-width: 720px) { .route .spec { margin-left: 0; width: 100%; } }

/* Two-column feature */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; }
.stack p { color: var(--muted); max-width: 58ch; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare > div { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 8px; align-content: start; background: var(--surface); }
.compare .k { color: var(--muted); }
.compare .ours { border-color: var(--amber); }
.compare ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.95rem; display: grid; gap: 4px; }
@media (max-width: 520px) { .compare { grid-template-columns: 1fr; } }

.vertical { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.phone { width: min(300px, 70vw); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0A1626; border: 6px solid var(--navy); position: relative; max-width: 100%; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .vertical { grid-template-columns: 1fr; justify-items: center; } .vertical .stack { justify-items: start; } }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.specs div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.specs div:nth-child(odd) { padding-right: 16px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; margin-top: 36px; border-top: 2px solid var(--fg); }
.steps li { list-style: none; padding: 22px 22px 0 0; display: grid; gap: 10px; align-content: start; }
.steps li::before { counter-increment: s; content: "Step " counter(s); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-ink); }
.steps p { color: var(--muted); }
.steps ol, .steps { padding: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { padding-bottom: 18px; border-bottom: 1px solid var(--line); } }

/* Pricing */
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 16px; align-content: start; background: var(--bg); }
.plan.featured { border: 2px solid var(--amber); }
.plan .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .after { color: var(--muted); margin-top: -8px; font-size: 1rem; }
.plan .after strong { color: var(--fg); }
.plan.featured .price { font-size: 3.4rem; color: var(--amber-ink); }
.plan .intro { background: var(--amber); color: #10233A; font-weight: 700; font-size: 0.85rem; padding: 5px 10px; border-radius: 999px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { padding-left: 24px; position: relative; color: var(--muted); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 6px; border-left: 2px solid var(--amber-ink); border-bottom: 2px solid var(--amber-ink); transform: rotate(-45deg); }
.plan .btn { justify-self: start; }
.fine { color: var(--muted); font-size: 0.92rem; margin-top: 18px; max-width: 70ch; }

/* Needs */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
@media (max-width: 860px) { .needs { grid-template-columns: 1fr; } }
.needs > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
.needs p { color: var(--muted); }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--amber-ink); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* CTA band + footer */
.cta-band { background: var(--band-bg); color: var(--band-fg); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band p { color: var(--band-muted); margin-top: 8px; }
.site-footer { background: var(--band-bg); color: var(--band-muted); border-top: 1px solid #22385A; font-size: 0.9rem; }
.site-footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--band-fg); }

/* Legal pages */
.legal { padding-block: 48px 80px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin-top: 30px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal strong { color: var(--fg); }
.table-scroll { overflow-x: auto; margin-top: 12px; }
.legal table { border-collapse: collapse; min-width: 640px; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal th { color: var(--fg); }
