/* Kargover's own site (kargover.io): one static page, served by the web container for kargover.io
   (deploy/web/nginx.conf). Colors are the app's tokens (docs/design/tokens.json) written out, light and dark by the
   visitor's own setting; the map is the sign-in stage's (src/app/shared/public-stage). Fonts come from this server. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f1f3ee;
  --bg-2: #e8ede6;
  --surface: #ffffff;
  --surface-2: #f0f7f3;
  --border: #dde7e0;
  --border-strong: #cbdcd2;
  --ink: #17231d;
  --ink-2: #55655c;
  --primary: #0b7d4c;
  --primary-hover: #0a6f44;
  --on-primary: #ffffff;
  --primary-ink: #0a6f44;
  --primary-subtle: #e4f6ed;
  --primary-glow: rgba(11, 125, 76, 0.32);
  --focus-ring: #0b1f16;
  --focus-halo: rgba(12, 130, 80, 0.2);
  --dot: #bcdfcd;
  --route: #0f9d63;
  --accent: #0c8250;
  --money: #96600f;
  --line: rgba(11, 31, 22, 0.16);
  --glow-1: rgba(52, 211, 153, 0.28);
  --glow-2: rgba(134, 239, 172, 0.32);
  --brand-tile: #050a08;
  --brand-light: #34d399;
  --shadow: 0 1px 2px rgba(6, 22, 14, 0.04), 0 8px 24px -12px rgba(6, 22, 14, 0.18);
  --font-sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono Variable", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --journey: 10s;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b120f;
    --bg-2: #111a16;
    --surface: #161e1a;
    --surface-2: #1d2722;
    --border: #26322c;
    --border-strong: #34433b;
    --ink: #e9f1ed;
    --ink-2: #a8bdb2;
    --primary: #34d399;
    --primary-hover: #5fe0b0;
    --on-primary: #04130c;
    --primary-ink: #6ee7b7;
    --primary-subtle: #173325;
    --primary-glow: rgba(52, 211, 153, 0.42);
    --focus-ring: #f2f8f5;
    --focus-halo: rgba(52, 211, 153, 0.26);
    --dot: #1c4635;
    --route: #34d399;
    --accent: #4ee3a8;
    --money: #f6c453;
    --line: rgba(255, 255, 255, 0.15);
    --glow-1: rgba(16, 185, 129, 0.22);
    --glow-2: rgba(13, 148, 136, 0.18);
    --brand-tile: #0b7d4c;
    --brand-light: #b7f5d8;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; box-shadow: 0 0 0 5px var(--focus-halo); border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 60; padding: 8px 14px; border-radius: 8px; background: var(--surface); color: var(--primary-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Logo (the app's km-brand, docs/design/logo) ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 32px; height: 32px; border-radius: 25%; box-shadow: 0 0 16px -2px var(--primary-glow); }
.brand-mark .tile { fill: var(--brand-tile); }
.brand-mark .k { fill: none; stroke: #ffffff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .light { fill: var(--brand-light); }
.brand-word { height: 26px; width: auto; aspect-ratio: 364 / 96; }
.brand-word .ink { fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.brand-word .light { fill: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 10px; border: 1px solid transparent; font: 600 14px/1 var(--font-sans); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 1px var(--primary), 0 6px 20px -6px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); box-shadow: var(--shadow); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
/* The page's one main action blinks like the app's (MotionService); still for reduced motion and the stop button. */
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--primary), 0 6px 20px -6px var(--primary-glow); }
  50% { box-shadow: 0 0 0 1px var(--primary), 0 0 0 7px var(--focus-halo), 0 8px 30px -4px var(--primary-glow); }
}

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.top-nav { display: flex; gap: 4px; margin-left: 12px; }
.top-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.top-nav a:hover { color: var(--ink); background: var(--surface-2); }
.top-actions { display: flex; gap: 8px; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding: 72px 0 88px; }
.glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(40rem 26rem at 78% 30%, var(--glow-1), transparent 70%),
  radial-gradient(30rem 22rem at 8% 0%, var(--glow-2), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); font-size: 13px; font-weight: 550; box-shadow: var(--shadow); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--route); box-shadow: 0 0 0 0 var(--primary-glow); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 var(--primary-glow); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
h1 { margin-top: 20px; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; font-weight: 750; letter-spacing: -0.035em; text-wrap: balance; }
.accent { color: var(--primary); }
.lead { margin-top: 20px; max-width: 34em; color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--ink-2); font-size: 14px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .ico { width: 16px; height: 16px; color: var(--primary); stroke-width: 2.5; }

/* The map card: the sign-in stage's journey, looping. */
.stage { position: relative; margin: 0; padding: 18px 18px 0; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow), 0 40px 80px -48px var(--primary-glow); }
.stage-map { position: relative; aspect-ratio: 1000 / 440; margin: 34px 4px 8px; }
.land { position: absolute; inset: 0; background: var(--dot);
  -webkit-mask: url(harita.svg) center / 100% 100% no-repeat; mask: url(harita.svg) center / 100% 100% no-repeat; }
.over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.quiet { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 2 9; stroke-linecap: round; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -44; } }
.traveller { fill: var(--route); offset-rotate: 0deg; animation: travel linear infinite; }
.t1 { offset-path: path("M176.6 86.4Q500.6 -23.9 789.3 160.0"); animation-duration: 11s; }
.t2 { offset-path: path("M370.5 158.1Q527.1 195.5 595.9 341.1"); animation-duration: 8s; animation-delay: -1.7s; }
.t3 { offset-path: path("M182.0 141.4Q346.6 20.7 543.6 73.6"); animation-duration: 9s; animation-delay: -3.4s; }
.t4 { offset-path: path("M264.1 348.8Q355.5 235.2 501.4 235.5"); animation-duration: 7.5s; animation-delay: -5.1s; }
.t5 { offset-path: path("M493.4 345.6Q676.3 198.8 905.2 249.6"); animation-duration: 10s; animation-delay: -6.8s; }
.t6 { offset-path: path("M352.6 289.9Q520.2 237.4 666.0 335.4"); animation-duration: 9.5s; animation-delay: -8.5s; }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 8%, 92% { opacity: .9; } 100% { offset-distance: 100%; opacity: 0; } }
.node { fill: var(--route); animation: node 4s ease-in-out infinite; }
.node:nth-of-type(3n) { animation-delay: -1.3s; }
.node:nth-of-type(3n+1) { animation-delay: -2.6s; }
@keyframes node { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.route, .back { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; }
.route { stroke: var(--route); animation: draw-out var(--journey) infinite both; }
.back { stroke: var(--money); stroke-dashoffset: 1; animation: draw-back var(--journey) infinite both; }
.route-line, .back-line { stroke-width: 3.4; }
.route-glow, .back-glow { stroke-width: 14; opacity: .22; }
@keyframes draw-out { 0%, 16% { stroke-dashoffset: 1; } 54%, 100% { stroke-dashoffset: 0; } }
@keyframes draw-back { 0%, 72% { stroke-dashoffset: -1; } 88%, 100% { stroke-dashoffset: 0; } }

.pin { fill: var(--ink); }
.pin-to { animation: pin-done var(--journey) infinite both; }
@keyframes pin-done { 0%, 54% { fill: var(--ink-2); } 56%, 100% { fill: var(--route); } }
.ring { fill: none; stroke-width: 2.4; transform-box: fill-box; transform-origin: center; opacity: 0; animation: var(--journey) ease-out infinite both; }
.ring-leave { stroke: var(--route); animation-name: ring-leave; }
.ring-arrive { stroke: var(--route); animation-name: ring-arrive; }
.ring-paid { stroke: var(--money); animation-name: ring-paid; }
@keyframes ring-leave { 0%, 14% { opacity: 0; transform: scale(1); } 15% { opacity: .9; } 30%, 100% { opacity: 0; transform: scale(5); } }
@keyframes ring-arrive { 0%, 54% { opacity: 0; transform: scale(1); } 55% { opacity: .95; } 70%, 100% { opacity: 0; transform: scale(6); } }
@keyframes ring-paid { 0%, 86% { opacity: 0; transform: scale(1); } 87% { opacity: .95; } 96%, 100% { opacity: 0; transform: scale(5); } }

.place, .paid { paint-order: stroke; stroke: var(--surface); stroke-width: 6px; stroke-linejoin: round; font: 600 22px var(--font-sans); fill: var(--ink); }
.paid { fill: var(--money); font: 700 27px var(--font-mono); opacity: 0; animation: paid-in var(--journey) infinite both; }
@keyframes paid-in { 0%, 84% { opacity: 0; transform: translateY(12px); } 90%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.done { opacity: 0; animation: done-in var(--journey) infinite both; }
.done rect { fill: var(--accent); }
.done text { fill: var(--surface); font: 650 19px var(--font-sans); }
@keyframes done-in { 0%, 54% { opacity: 0; transform: translateY(10px); } 60%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.parcel, .coin { offset-path: path("M86.5 254.7Q360.5 23.6 712.2 92.8"); offset-rotate: 0deg; opacity: 0; animation: var(--journey) infinite both; }
.parcel { animation-name: parcel-go; }
.coin { animation-name: coin-back; }
.halo { fill: var(--route); opacity: .28; }
.parcel rect { fill: var(--ink); }
.parcel path { fill: none; stroke: var(--surface); stroke-width: 2.2; }
.coin .halo { fill: var(--money); }
.coin > circle:not(.halo) { fill: var(--money); }
.coin text { fill: var(--surface); font: 700 20px var(--font-sans); }
@keyframes parcel-go {
  0%, 14% { offset-distance: 0%; opacity: 0; }
  16% { offset-distance: 0%; opacity: 1; animation-timing-function: cubic-bezier(.45, .05, .55, .95); }
  54% { offset-distance: 100%; opacity: 1; }
  57%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes coin-back {
  0%, 70% { offset-distance: 100%; opacity: 0; }
  72% { offset-distance: 100%; opacity: 1; animation-timing-function: cubic-bezier(.45, .05, .55, .95); }
  88% { offset-distance: 0%; opacity: 1; }
  91%, 100% { offset-distance: 0%; opacity: 0; }
}

.ticket { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 -18px; padding: 14px 18px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 23px 23px; }
.ticket-head { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.ticket-label { color: var(--ink-2); font-size: 12px; font-weight: 550; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; }
.steps li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--ink-2); font-size: 12px; font-weight: 550; background: var(--surface); animation: var(--journey) infinite both; }
.steps .s1 { animation-name: step-1; }
.steps .s2 { animation-name: step-2; }
.steps .s3 { animation-name: step-3; }
.steps .s4 { animation-name: step-4; }
.steps .s5 { animation-name: step-5; }
@keyframes step-1 { 0%, 3% { color: var(--ink-2); border-color: var(--border-strong); background: var(--surface); } 5%, 97% { color: var(--primary-ink); border-color: var(--primary); background: var(--primary-subtle); } }
@keyframes step-2 { 0%, 15% { color: var(--ink-2); border-color: var(--border-strong); background: var(--surface); } 17%, 97% { color: var(--primary-ink); border-color: var(--primary); background: var(--primary-subtle); } }
@keyframes step-3 { 0%, 40% { color: var(--ink-2); border-color: var(--border-strong); background: var(--surface); } 42%, 97% { color: var(--primary-ink); border-color: var(--primary); background: var(--primary-subtle); } }
@keyframes step-4 { 0%, 54% { color: var(--ink-2); border-color: var(--border-strong); background: var(--surface); } 56%, 97% { color: var(--primary-ink); border-color: var(--primary); background: var(--primary-subtle); } }
@keyframes step-5 { 0%, 87% { color: var(--ink-2); border-color: var(--border-strong); background: var(--surface); } 89%, 97% { color: var(--money); border-color: var(--money); background: var(--surface); } }

.still { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font: 550 12px var(--font-sans); cursor: pointer; }
.still:hover { color: var(--ink); background: var(--surface-2); }
.still .ico { width: 14px; height: 14px; }
.still .ico-play, .is-still .still .ico-pause { display: none; }
.is-still .still .ico-play { display: block; }

/* The stop button and reduced motion both hold everything still; the journey then shows as delivered. */
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .route { stroke-dashoffset: 0; }
  .node { opacity: .7; }
  .pin-to { fill: var(--route); }
  .done { opacity: 1; }
  .back, .parcel, .coin, .traveller, .paid { display: none; }
  .steps li:not(.s5) { color: var(--primary-ink); border-color: var(--primary); background: var(--primary-subtle); }
}
@supports not (offset-path: path("M0 0L1 1")) { .parcel, .coin, .traveller { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.band { padding: 96px 0; background: var(--bg-2); border-block: 1px solid var(--border); }
.kicker { color: var(--primary-ink); font-size: 13px; font-weight: 650; letter-spacing: .02em; }
h2 { margin-top: 10px; max-width: 22em; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; font-weight: 720; letter-spacing: -0.03em; text-wrap: balance; }
.sub { margin-top: 16px; max-width: 40em; color: var(--ink-2); font-size: 17px; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }

.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 48px; counter-reset: step; position: relative; }
.journey li { position: relative; padding: 22px 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.journey p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 10px; background: var(--primary-subtle); color: var(--primary-ink); font-size: 14px; font-weight: 700; }
.journey li:last-child .num { background: var(--money); color: var(--surface); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.features li { padding: 26px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease; }
.features li:hover { border-color: var(--border-strong); }
.features p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.f-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: var(--primary-subtle); color: var(--primary-ink); }
.f-ico .ico { width: 21px; height: 21px; }

.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.card { border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow), 0 30px 60px -40px var(--primary-glow); padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-weight: 650; font-size: 15px; }
.tag { padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 550; }
.todo ul { display: grid; gap: 8px; }
.todo li { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14.5px; }
.count { min-width: 30px; font-size: 18px; font-weight: 700; color: var(--ink); }
.todo-text { flex: 1; color: var(--ink-2); }
.mini-btn { padding: 6px 12px; border-radius: 8px; background: var(--primary); color: var(--on-primary); font-size: 13px; font-weight: 600; white-space: nowrap; }
.todo li:first-child .mini-btn { animation: pulse 2.4s ease-in-out infinite; }

.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; color: var(--ink); font-size: 15.5px; }
.checks .ico { margin-top: 3px; color: var(--primary); stroke-width: 2.5; }

.settle dl { margin: 0; }
.settle dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px dashed var(--border-strong); }
.settle dt { color: var(--ink-2); font-size: 15px; }
.settle dt small { margin-left: 6px; font-size: 12.5px; opacity: .85; }
.settle dd { margin: 0; font-size: 16px; font-weight: 600; }
.settle .minus { color: var(--ink-2); }
.settle .total { border-bottom: 0; padding-top: 16px; }
.settle .total dt { color: var(--ink); font-weight: 650; }
.settle .total dd { color: var(--primary-ink); font-size: 24px; font-weight: 750; }
.settle-foot { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--ink-2); font-size: 13px; }
.paid-chip { padding: 3px 10px; border-radius: 999px; background: var(--primary-subtle); color: var(--primary-ink); font-weight: 650; font-size: 12px; }

.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); font-size: 15.5px; }

.cta { padding: 24px 0 96px; }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: start; gap: 40px; padding: 48px; border-radius: 28px; background: #07130d; color: #eef5f1; position: relative; overflow: clip; border: 1px solid rgba(110, 231, 183, 0.16);
  background-image: radial-gradient(36rem 20rem at 85% 0%, rgba(52, 211, 153, 0.28), transparent 70%), radial-gradient(30rem 18rem at 0% 100%, rgba(13, 148, 136, 0.22), transparent 70%); }
.cta-box h2 { margin-top: 0; color: #ffffff; }
.cta-box p { margin-top: 12px; max-width: 34em; color: #b9cfc4; font-size: 17px; }
.cta-box .btn-primary { --primary: #34d399; --primary-hover: #5fe0b0; --on-primary: #04130c; --primary-glow: rgba(52, 211, 153, 0.45); --focus-halo: rgba(52, 211, 153, 0.3); }
.cta-box :focus-visible { outline-color: #ffffff; }
.cta-box .cta-mail { font-size: 15px; }
.mail { color: #d6e7de; font-size: 14px; text-decoration: none; }
.mail:hover { color: #ffffff; text-decoration: underline; }

/* The demo form sits on the dark box in both themes, so its colours are its own. */
.demo-form { display: flex; flex-direction: column; gap: 14px; }
.demo-form[hidden], .demo-done[hidden], .field-error[hidden], .demo-error[hidden] { display: none; }
.demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-label { color: #d6e7de; font-size: 14px; font-weight: 550; }
.field-label .optional { color: #8fb1a1; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(214, 231, 222, 0.24);
  background: rgba(255, 255, 255, 0.06); color: #ffffff; font: inherit; font-size: 15px;
}
.field select option { color: #17231d; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder { color: #7d9c8e; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: #34d399; }
.field [aria-invalid="true"] { border-color: #fca5a5; }
.field-error { color: #fecaca; font-size: 13.5px; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: #b9cfc4; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: #34d399; }
.demo-error { padding: 10px 12px; border-radius: 10px; background: rgba(248, 113, 113, 0.14); color: #fecaca; font-size: 14px; }
.demo-form .btn { align-self: flex-start; }
.demo-done { align-self: center; padding: 20px 22px; border-radius: 16px; background: rgba(52, 211, 153, 0.14); color: #ffffff; font-size: 17px; font-weight: 550; }
/* A field for robots: off the page, out of the tab order, hidden from screen readers. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.foot { padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--ink-2); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.foot-brand { color: var(--ink); font-weight: 650; }
.foot-brand span { color: var(--ink-2); font-weight: 400; }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-copy { margin-left: auto; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { max-width: 720px; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey li:last-child { grid-column: 1 / -1; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .top-nav { display: none; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 16.5px; }
  .section, .band { padding: 72px 0; }
  .journey, .features { grid-template-columns: minmax(0, 1fr); }
  .cta-box { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-form .btn { align-self: stretch; }
  .foot-copy { margin-left: 0; }
  .place { font-size: 30px; }
  .paid { font-size: 34px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .btn-sm-hide { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stage { padding: 14px 14px 0; border-radius: 20px; }
  .ticket { margin: 0 -14px; padding: 12px 14px; border-radius: 0 0 19px 19px; }
  .done { display: none; }
}
