/* Haboob Run site: the road-sign system from the game. Sign green panels, mint = you,
   dust brown = the storm. Overpass (SIL OFL 1.1) is self-hosted; no third-party requests.
   WOFF2 first (less than half the TTF size), TTF kept as the fallback. */
@font-face { font-family: "Overpass"; src: url("fonts/overpass_700.woff2") format("woff2"), url("fonts/overpass_700.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Overpass"; src: url("fonts/overpass_900.woff2") format("woff2"), url("fonts/overpass_900.ttf") format("truetype"); font-weight: 800 900; font-display: swap; }

:root {
  --page: #F1EADC; --sign: #1E5A40; --sign-dark: #15412E; --sign-white: #FAF7EE;
  --mint: #89E2C7; --mint-dark: #449880; --dust: #432D1F; --dust-haze: #806248;
  --ink: #1D1713; --ink2: #3B322B; --line: #D6CBB6; --brake: #E23532;
  --text: var(--ink); --muted: var(--ink2); --link: var(--sign);
  /* Focus ring, >= 3:1 on its background: ink on the cream page (14.8:1), mint on the dark page (12:1),
     sign white on a sign panel (7.6:1). Danger plate: dust brown; dust haze in dark mode so it does not vanish. */
  --focus: var(--ink); --danger: var(--dust);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #1A1410; --text: #F1EADC; --muted: #CDBFA9; --line: #3E3128; --link: var(--mint); --focus: var(--mint); --danger: var(--dust-haze); }
}
:root[data-theme="dark"] { --page: #1A1410; --text: #F1EADC; --muted: #CDBFA9; --line: #3E3128; --link: var(--mint); --focus: var(--mint); --danger: var(--dust-haze); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 600 17px/1.6 "Overpass", system-ui, -apple-system, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--sign-white); color: var(--ink); padding: 8px 12px; z-index: 10; }

/* Sign panel: white rule inset in a green plate, like a direction sign. */
.sign { --focus: var(--sign-white); background: var(--sign); color: var(--sign-white); border-radius: 14px; padding: 6px; box-shadow: 10px 12px 0 rgba(37, 23, 15, .22); }
.sign > .in { border: 3px solid var(--sign-white); border-radius: 10px; padding: 28px 24px; }
.sign a { color: var(--mint); }

header.top { padding: 20px 0 0; }
header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 900; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
/* Text links get a 44 px tall tap area (Apple's minimum) without changing how they look. */
nav.top { margin-right: -6px; }
nav.top a { display: inline-block; padding: 12px 6px; margin-left: 8px; font-size: 15px; }

.hero { padding: 32px 0 24px; }
.hero .grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero .kicker { margin: 0 0 10px; font-size: 17px; font-weight: 900; color: var(--mint); }
.hero h1 { font-weight: 900; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p.lede { font-size: 19px; margin: 0 0 24px; color: var(--sign-white); opacity: .92; }
.hero .shot { justify-self: center; max-width: 300px; border-radius: 26px; border: 6px solid var(--ink); box-shadow: 10px 12px 0 rgba(37, 23, 15, .22); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 10px; border: 3px solid var(--ink); background: var(--mint); color: var(--ink); font-weight: 900; font-size: 18px; text-decoration: none; }
.btn.ghost { background: var(--sign-white); }
.sign a.btn { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
/* "Coming soon" is a status, not a button: no fill, no border, no shadow, smaller type, a dot in front.
   At launch, replace it with the App Store badge link. */
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; color: var(--sign-white); }
.status::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.hero p.price-line { margin: 16px 0 0; font-size: 16px; color: var(--sign-white); }
.trust { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.trust li::before { content: "✓ "; color: var(--mint); }

section { padding: 48px 0; }
h2 { font-weight: 900; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 0 0 12px; }
h3 { font-weight: 900; font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
p.sub { color: var(--muted); margin: 0 0 28px; max-width: 640px; }

.hooks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 3px solid var(--line); border-radius: 12px; padding: 20px; }
.card .tag { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: var(--mint); color: var(--ink); margin-bottom: 10px; }
.card .tag.danger { background: var(--danger); color: var(--sign-white); }
/* Darker than the brake-light red so the 13 px label reads at 5.25:1. */
.card .tag.warn { background: #C62828; color: var(--sign-white); }
.card p { margin: 0; color: var(--muted); }

ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
ol.steps li { counter-increment: s; background: var(--sign-white); color: var(--ink); border: 3px solid var(--ink); border-radius: 12px; padding: 16px; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sign); color: var(--sign-white); font-weight: 900; margin-bottom: 10px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 18px; border: 4px solid var(--ink); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }

.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

table.price { width: 100%; border-collapse: collapse; }
table.price th, table.price td { text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--line); vertical-align: top; }
table.price th { font-weight: 900; }
table.price td.amt { white-space: nowrap; font-weight: 900; }
table.price tr.pick td { background: color-mix(in srgb, var(--mint) 22%, transparent); }

details { border-bottom: 2px solid var(--line); padding: 6px 0; }
details summary { cursor: pointer; font-weight: 900; font-size: 18px; padding: 8px 0; min-height: 44px; }
details p { margin: 0 0 8px; color: var(--muted); }

.final { text-align: center; }
.final .in { padding: 40px 24px; }
.final .cta-row { justify-content: center; }

footer { padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; justify-content: space-between; }
footer a { display: inline-block; padding: 12px 6px; }
footer .wrap > span:last-child { margin: 0 -6px; }

/* Text pages (privacy, support). */
main.doc { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
main.doc h1 { font-weight: 900; font-size: 36px; line-height: 1.15; margin: 0 0 6px; }
main.doc h2 { font-size: 22px; margin: 32px 0 8px; }
main.doc .muted { color: var(--muted); }
hr { border: 0; border-top: 2px solid var(--line); margin: 32px 0; }

@media (max-width: 820px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero .shot { max-width: 240px; }
  .hooks, .routes { grid-template-columns: 1fr; }
  ol.steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  nav.top a { margin-left: 4px; }
}
@media (max-width: 420px) {
  .sign > .in { padding: 22px 16px; }
  nav.top .opt { display: none; }
  /* Phones: the nav gets its own row under the wordmark, its first word lined up with the icon. */
  nav.top { flex-basis: 100%; margin-left: -10px; }
}
@media (max-width: 360px) {
  .brand { font-size: 18px; }
  .hero .kicker { font-size: 15px; }
  .btn { font-size: 16px; padding: 12px 14px; }
}
