/* Walkabout — web design system (light).

   The app is dark-only: asphalt ground, steel plates, cream ink. The site runs
   the same system inverted onto paper — white ground, dark ink, the same single
   blaze accent, the same flat hairline construction. Deliberately kept:
   no box-shadows anywhere, one surface tone, 6px radius on every plate,
   Barlow Condensed Bold for everything loud and SF Pro for everything else.

   Token names are role-based rather than the app's material names (asphalt,
   kerb, steel) because those describe a dark ground and would lie here.
   Mapping, for anyone cross-referencing design/paper/tokens.md:
     asphalt → --app-bg (now only *inside* screenshots)
     kerb    → --ink        steel      → --surface
     concrete→ --ink-faint  steel-edge → --edge
     concrete-wet → --ink-muted        blaze → --blaze              */

@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.woff") format("woff"),
       url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Ground + surfaces */
  --paper: #FFFFFF;
  --surface: #F5F6F3;   /* plate fill — a warm off-white off the app's cream */
  --edge: #E4E6E0;      /* 1px hairline on plates, dividers, list rows */

  /* Ink ramp. Contrast on white: ink 17.9:1, ink-muted 6.4:1 (body-safe),
     ink-faint 3.0:1 — ink-faint is for large or decorative type only. */
  --ink: #14171A;
  --ink-muted: #5A6068;
  --ink-faint: #8A9096;
  --on-dark: #EDEFEA;   /* the app's cream, for type on dark fills */

  /* The one accent. --blaze is 3.1:1 on white: fine for graphics and large
     type, NOT for body text — so small blaze text uses --blaze-ink (4.9:1).
     Same hue, darkened only enough to be legible. */
  --blaze: #FF5A1F;
  --blaze-ink: #C7410F;

  /* The app's own background, for use *inside* screenshots (crop fades). */
  --app-bg: #14171A;

  --font-sign: "Barlow Condensed", "Helvetica Neue Condensed", "Arial Narrow", sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  --space-edge: 20px;
  --radius-plate: 6px;
  --radius-pill: 999px;

  --measure: 1120px;
  --measure-text: 62ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--blaze); }

:focus-visible { outline: 2px solid var(--blaze-ink); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type scale ---------- */

.sign {
  font-family: var(--font-sign);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0;
}

h1.sign { font-size: clamp(46px, 7.6vw, 88px); letter-spacing: -0.02em; }
h2.sign { font-size: clamp(34px, 5vw, 56px); }
h3.sign { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}
.eyebrow .blaze { color: var(--blaze-ink); }

.lede {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: var(--measure-text);
  margin: 20px 0 0;
}
.lede strong { color: var(--ink); font-weight: 600; }

p { margin: 16px 0 0; }
.muted { color: var(--ink-muted); }
.fine { font-size: 13px; line-height: 1.55; color: var(--ink-muted); }

/* The tilted road-marking block that sits beside hero numbers in the app.
   Reused here as the section marker. */
.kerb-mark {
  display: inline-block;
  width: 10px;
  height: 26px;
  background: var(--ink);
  transform: skewX(-8deg);
  flex: 0 0 auto;
}
.kerb-mark.blaze { background: var(--blaze); }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding-inline: var(--space-edge); }

section { padding-block: clamp(64px, 9vw, 112px); }
section + section { border-top: 1px solid var(--edge); }

.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.grid-2 > *, .grid-3 > *, .price-grid > *, .hero-screens > * { min-width: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2.reverse > :first-child { order: 2; }
}

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Plates ---------- */

.plate {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-plate);
  padding: 24px;
}
.plate h3 { margin-bottom: 4px; }
.plate p { color: var(--ink-muted); font-size: 16px; }

.plate-num {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-faint);
  font-feature-settings: "tnum";
  display: block;
  margin-bottom: 12px;
}
.plate-num.blaze { color: var(--blaze); }

/* ---------- Buttons ---------- */

/* Used on both <a> and <button>, so it resets the UA button chrome too. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sign);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: var(--radius-plate);
  border: 1px solid transparent;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

/* The app puts cream fills on a dark ground; on paper that inverts to a dark
   fill with cream ink. Same relationship, opposite ground. */
.btn-primary {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 27px;
  min-height: 60px;
  padding: 12px 26px;
}
.btn-primary:hover { background: #2B3238; }

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--edge);
  font-size: 25px;
  min-height: 60px;
  padding: 10px 24px;
}
.btn-secondary:hover { border-color: var(--ink-faint); }

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 44px;
  padding: 12px 20px;
}
.btn-ghost:hover { color: var(--ink); }

.btn-small { font-size: 20px; min-height: 44px; padding: 6px 18px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cta-note { font-size: 13px; color: var(--ink-muted); margin: 12px 0 0; }

/* Apple's official App Store badge. Per Apple's Identity Guidelines the badge
   IS the button: no background, border, radius, filter or hover restyle from
   us, and never nested inside another button. Height only — width stays auto
   so the artwork keeps its exact proportions. 60px tall is ~179px wide, well
   clear of the 40pt minimum, and the 12px cta-row gap exceeds the required
   10%-of-height (6px) clear space on every side. */
.badge-link { display: inline-flex; align-items: center; text-decoration: none; }
.badge-link img { height: 60px; width: auto; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--edge);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }

.wordmark {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links { display: none; gap: 28px; align-items: center; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ----------
   Centred statement, then the product itself in a row of three real screens.
   The middle one sits proud so the row reads as a set rather than a filmstrip. */

.hero { padding-block: clamp(56px, 8vw, 96px) 0; text-align: center; }
.hero h1 { margin-top: 20px; max-width: 16ch; margin-inline: auto; }
.hero .lede { margin-inline: auto; font-size: clamp(19px, 2.2vw, 22px); }
.hero .cta-row { justify-content: center; }

.hero-screens {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
  margin-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(64px, 9vw, 112px);
}
@media (min-width: 760px) {
  .hero-screens {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: clamp(16px, 2.4vw, 28px);
  }
  .hero-screens > :nth-child(2) { margin-bottom: clamp(20px, 3vw, 40px); }
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--edge);
}
.stat-strip div { display: flex; align-items: baseline; gap: 8px; }
.stat-strip b {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
}
.stat-strip span { font-size: 14px; color: var(--ink-muted); }

/* ---------- Screens ----------
   Shown as flat plates, not skeuomorphic devices: the system has one radius
   and no shadows. The artwork inside is dark, so the hairline reads as a seam
   rather than a frame. */
.screen {
  position: relative;
  border: 1px solid var(--edge);
  border-radius: var(--radius-plate);
  overflow: hidden;
  background: var(--app-bg);
  width: 100%;
}
.screen img { width: 100%; height: auto; }

/* Some renders are a whole scrolling screen cropped to one screenful, so the
   bottom edge lands mid-sentence. Fade it out so the cut reads as deliberate.
   Fades to the APP's background, not the page's — the fade belongs to the
   screenshot. */
.screen.is-crop::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(to bottom, rgba(20, 23, 26, 0), var(--app-bg));
  pointer-events: none;
}

.screen-solo { max-width: 360px; margin-inline: auto; }

/* ---------- Lists ---------- */

.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--edge);
  font-size: 16px;
}
.checks li:first-child { padding-top: 0; }
.checks li:last-child { border-bottom: 0; }
.checks li b { font-weight: 600; }
.checks li span { color: var(--ink-muted); }
.checks .tick { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--blaze); }

/* ---------- Pricing ---------- */

.price-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .price-grid { grid-template-columns: 1fr 1fr; } }

.price-plate { display: flex; flex-direction: column; }
.price-plate .amount {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  /* Explicit: `.plate p` mutes body copy, and the price is not body copy. */
  color: var(--ink);
  margin: 8px 0 0;
}
.price-plate .amount small { font-size: 20px; color: var(--ink-muted); letter-spacing: 0; }

.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--blaze);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* ---------- FAQ ---------- */

.faq { margin-top: 24px; border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blaze);
  font-size: 28px;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-muted); font-size: 16px; margin: 0 0 20px; max-width: var(--measure-text); }

/* ---------- Closing CTA ---------- */

.closer { text-align: center; }
.closer .lede { margin-inline: auto; }
.closer .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--edge); padding-block: 48px 56px; font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a { color: var(--ink-muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer .legal { color: var(--ink-faint); font-size: 13px; margin-top: 32px; max-width: var(--measure-text); }
.footer .legal a { color: var(--ink-muted); }

/* ---------- Document pages (privacy / terms / support) ---------- */

.doc { padding-block: clamp(48px, 6vw, 72px) clamp(64px, 8vw, 96px); }
.doc-body { max-width: 68ch; }
.doc-body h2 {
  font-family: var(--font-sign);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 48px 0 0;
}
.doc-body h3 { font-size: 17px; font-weight: 600; margin: 28px 0 0; }
.doc-body p, .doc-body li { color: var(--ink-muted); }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body ul { padding-left: 20px; margin: 12px 0 0; }
.doc-body li { margin-top: 10px; }
.doc-body a { color: var(--ink); }
.updated {
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  margin-top: 16px;
}
.doc-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.doc-nav a { font-size: 15px; color: var(--ink-muted); text-decoration: none; }
.doc-nav a:hover { color: var(--ink); }

.callout {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius-plate);
  padding: 20px 24px;
  margin-top: 32px;
}
.callout p { margin-top: 8px; }
.callout p:first-child { margin-top: 0; }

/* ---------- Reveal on scroll ----------
   Progressive enhancement, deliberately. `.reveal` only becomes invisible once
   the inline head script has proved it can animate it back — no JS, no
   IntersectionObserver, or reduced-motion means the class never lands and the
   content simply renders. A marketing page must never depend on script to be
   readable. */

.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
