/* Blush & apricot — the brand's tokens (design/brand/tokens.json), light ("Blush")
   and dark ("Night drive"). Shared by index.html and it/index.html so the two
   languages cannot drift. */
@font-face {
  font-family: "Urbanist";
  src: url("fonts/urbanist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --linen: #F7EFEB; --card: #FFFDF9; --card-sunk: #F0E2DB; --line: #E3D7D1;
  --ink: #1F2B3E; --ink-muted: #5E6676;
  --route: #52698F; --on-route: #FFFFFF; --route-soft: #E4E9F1;
  --sun: #F09A5A; --sun-soft: #FCEADC; --sun-ink: #8C430D;
  --clay: #A3462A; --clay-soft: #F8E4DA; --pine: #2E7462; --pine-soft: #DCEDE5;
  --focus: #52698F;
  --bezel: #1A1622;
  --shadow-card: 0 1px 2px rgba(31,43,62,.05), 0 6px 20px rgba(31,43,62,.06);
  --shadow-float: 0 8px 28px rgba(31,43,62,.14);
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-travel: cubic-bezier(.45, 0, .2, 1);
  --ease-arrive: cubic-bezier(.3, 1.35, .5, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --linen: #1A1622; --card: #262130; --card-sunk: #120F17; --line: #3A3546;
    --ink: #F2EEE7; --ink-muted: #A7AFBC;
    --route: #B2C2DC; --on-route: #1A212D; --route-soft: #2A3851;
    --sun: #F2A973; --sun-soft: #3B2616; --sun-ink: #F4AF7B;
    --clay: #EB8D70; --clay-soft: #3D2219; --pine: #7DCDB3; --pine-soft: #16332C;
    --focus: #F2A973;
    --bezel: #08060C;
    --shadow-card: none;
    --shadow-float: 0 8px 28px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--linen); color: var(--ink); overflow-x: hidden;
       font: 400 16px/23px var(--font); -webkit-font-smoothing: antialiased; }
main { max-width: 27rem; margin: 0 auto; padding: 0 20px 3rem; }
a { color: var(--route); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* The skip link sits above the page until it is focused; sr-only is for headings the design carries another way. */
.skip { position: absolute; left: 12px; top: -60px; z-index: 3; padding: 10px 16px; border-radius: 999px;
        background: var(--route); color: var(--on-route); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.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; }

/* Type: one family, Urbanist. Headlines 600 with slightly tight tracking; labels 700, uppercase. */
h1, h2, h3, .display { font-weight: 600; text-wrap: balance; }
.label { display: block; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .6px;
         text-transform: uppercase; color: var(--ink-muted); }
.meta { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }

/* The mark: the road (route) and the stop (sun). Geometry unchanged from the logo. */
.mark-svg path { fill: none; stroke: var(--route); stroke-width: 37; stroke-linecap: round; }
.mark-svg circle { fill: var(--sun); }
.mark svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* Top bar: the lockup, the anchors, the one primary button. Floats over the page. */
.top { position: sticky; top: 0; z-index: 2; padding: 10px 20px;
       background: color-mix(in srgb, var(--linen) 84%, transparent);
       -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
       border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px;
              max-width: 27rem; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
         font-weight: 600; font-size: 20px; letter-spacing: -.3px; min-height: 44px; }
.brand svg { width: 22px; height: 26px; }
.top nav { display: flex; align-items: center; gap: 2px; }
.top nav a { text-decoration: none; color: var(--ink-muted); font-size: 15px; font-weight: 600;
             padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.top nav a:hover { color: var(--ink); background: var(--card); }
.top nav .hide-narrow { display: none; }
/* Sign in beside the button leaves no room for the wordmark on a phone: the mark
   alone, the name still read out. */
@media (max-width: 439px) {
  .brand span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Buttons: pills, 44 high, 600. route is the only action colour; quiet ones are route-soft. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
       min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
       font: 600 17px/22px var(--font); text-decoration: none; cursor: pointer;
       color: var(--route); background: var(--route-soft);
       transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out); }
.btn.primary { color: var(--on-route); background: var(--route); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.top nav a.btn.primary, .top nav a.btn.primary:hover { color: var(--on-route); background: var(--route); }
.btn:active { transform: scale(.97); }

/* Hero: the sentence, the doors, and the app itself on Today. */
.hero { padding: 3rem 0 1rem; }
.hero .mark { display: block; width: 46px; height: 53px; margin: 0 0 22px; }
.hero h1 { font-size: 40px; line-height: 42px; letter-spacing: -.8px; margin: 10px 0 0; }
.lead { color: var(--ink-muted); font-size: 18px; line-height: 26px; margin: 16px 0 0; max-width: 32rem; text-wrap: pretty; }
.cta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-note { margin: 14px 0 0; }
.hero-shot { margin: 2.5rem auto 0; max-width: 300px; }

/* The phone: a screenshot of the app in a dark bezel. The arch is not used here: it belongs to pictures of places. */
.phone { position: relative; margin: 0; padding: 9px; border-radius: 52px; background: var(--bezel);
         box-shadow: var(--shadow-float); }
.phone img { display: block; width: 100%; height: auto; border-radius: 43px; background: var(--card-sunk); }

/* Sections: a label, a sentence, then the content. */
.section { margin-top: 4.5rem; scroll-margin-top: 5rem; }
.section > header h2 { font-size: 32px; line-height: 35px; letter-spacing: -.5px; margin: 8px 0 0; }
.section > header p { color: var(--ink-muted); margin: 12px 0 0; max-width: 36rem; text-wrap: pretty; }

/* The tour: the four voices of the bar, each with its screen. */
.tour { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 3.5rem; }
.voice .text { max-width: 30rem; }
.voice .tile { margin-bottom: 14px; }
.voice h3 { font-size: 28px; line-height: 31px; letter-spacing: -.4px; margin: 6px 0 0; }
.voice p { margin: 12px 0 0; color: var(--ink-muted); text-wrap: pretty; }
.voice .phone { max-width: 280px; margin: 1.75rem auto 0; }
.says { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.says li { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--route); background: var(--route-soft);
           padding: 8px 14px; border-radius: 999px; }

/* Icon tiles: 40, radius-tile, route-soft for neutral. */
.tile { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
        background: var(--route-soft); color: var(--route); flex: none; }
.tile svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cards: card on linen with shadow-card; in dark they separate by surface alone. */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 2rem; }
.card { background: var(--card); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-card); }
.card .tile { margin-bottom: 14px; }
.card h3 { font-size: 22px; line-height: 26px; letter-spacing: -.3px; margin: 0; }
.card p { margin: 8px 0 0; color: var(--ink-muted); text-wrap: pretty; }
/* Principles: a road with stops (StopRail). Progress and steps are a line with stops, never bars. */
.road { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.road li { position: relative; padding: 0 0 26px 40px; }
.road li::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: -10px; width: 4px; border-radius: 4px; background: var(--route); }
.road li:last-child::before { display: none; }
.road li::after { content: ""; position: absolute; left: 4px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
                  background: var(--card); box-shadow: inset 0 0 0 4px var(--route); }
.road b { display: block; font-size: 17px; line-height: 22px; font-weight: 600; }
.road span { display: block; margin-top: 4px; color: var(--ink-muted); text-wrap: pretty; }

/* Questions: plain text, never folded, so a reader or a crawler gets the answer without opening anything.
   The visible text is the same as the FAQPage block in the head; keep them together when either changes. */
.faq { margin-top: 2rem; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-card); padding: 0 16px; }
.faq .qa { padding: 16px 0; border-top: 1px solid var(--line); }
.faq .qa:first-child { border-top: 0; }
.faq h3 { margin: 0; font-size: 17px; line-height: 22px; }
.faq p { margin: 6px 0 0; color: var(--ink-muted); text-wrap: pretty; }

/* The closing card: the name, what it means, and the one form. */
.go .card { text-align: center; padding: 32px 20px; }
.go .mark { display: block; width: 40px; height: 46px; margin: 0 auto 18px; }
.go h2 { font-size: 40px; line-height: 42px; letter-spacing: -.8px; margin: 6px 0 10px; }
.go p { margin: 0 auto; max-width: 24rem; color: var(--ink-muted); }
.go p em { font-style: normal; font-weight: 600; color: var(--ink); }
/* The preview form: one field, one button, one line on what the address is for.
   16px in the field so iOS does not zoom into it. */
.join { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.join input { font: 500 16px/22px var(--font); min-height: 48px; width: 100%; min-width: 0; padding: 0 18px;
              border-radius: 14px; border: 1px solid var(--line); background: var(--card-sunk); color: var(--ink); }
.join input::placeholder { color: var(--ink-muted); }
.join .btn { width: 100%; }
.join .btn:disabled { opacity: .6; cursor: default; }
.join .note { font-size: 13px; line-height: 18px; font-weight: 500; margin: 4px auto 0; max-width: 26rem; }
.join .done, .join .fail { margin: 4px auto 0; max-width: 26rem; color: var(--ink); font-weight: 600; }
.join .done { color: var(--pine); }
.join .fail { color: var(--clay); }

footer { max-width: 27rem; margin: 0 auto; padding: 18px 20px 32px; border-top: 1px solid var(--line);
         color: var(--ink-muted); font-size: 13px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
footer a { color: var(--ink-muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--route); }
footer .brand { font-size: 17px; color: var(--ink); margin-right: auto; }
footer .brand svg { width: 18px; height: 21px; }

/* Arrival, the signature: the road draws, then the sun lands with one soft settle. Once, on load. */
.mark-svg.arrive path { stroke-dasharray: 360; stroke-dashoffset: 0; animation: road 900ms var(--ease-travel) both; }
.mark-svg.arrive circle { transform-box: fill-box; transform-origin: center; animation: sun 420ms var(--ease-arrive) 820ms both; }
@keyframes road { from { stroke-dashoffset: 360; } to { stroke-dashoffset: 0; } }
@keyframes sun { from { transform: scale(0); } to { transform: scale(1); } }
/* Screens enter over dur-move on ease-out. */
.phone, .card { animation: enter 320ms var(--ease-out) both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn:active { transform: none; }
}

/* Wider: the same pieces with room. The hero puts the phone beside the sentence; each voice alternates sides. */
@media (min-width: 760px) {
  main, .top .inner, footer { max-width: 64rem; }
  main { padding: 0 2rem 4rem; }
  .top { padding: 10px 2rem; }
  footer { padding-left: 2rem; padding-right: 2rem; }
  .top nav { gap: 4px; }
  .top nav .hide-narrow { display: inline-block; }
  .hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; padding: 4rem 0 1rem; }
  .hero h1 { font-size: 64px; line-height: 64px; letter-spacing: -1.6px; }
  .lead { font-size: 20px; line-height: 29px; }
  .hero-shot { margin: 0; max-width: 320px; justify-self: end; }
  .section { margin-top: 6rem; }
  .section > header h2 { font-size: 44px; line-height: 46px; letter-spacing: -1px; }
  .section > header p { font-size: 18px; line-height: 26px; }
  .tour { gap: 5rem; margin-top: 3rem; }
  .voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
  .voice .phone { margin: 0 auto; max-width: 300px; }
  .voice:nth-child(even) .text { order: 2; }
  .voice h3 { font-size: 36px; line-height: 39px; letter-spacing: -.7px; }
  .voice p { font-size: 18px; line-height: 27px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 2.5rem; }
  .card { padding: 20px; }
  .road { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .road li:nth-child(2)::before { display: none; }
  .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; padding: 4px 24px; }
  .faq .qa:nth-child(2) { border-top: 0; }
  .go .card { max-width: 40rem; margin: 0 auto; padding: 48px 32px; }
  .go h2 { font-size: 56px; line-height: 58px; letter-spacing: -1.2px; }
  .join { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .join input { flex: 1 1 14rem; width: auto; max-width: 20rem; }
  .join .btn { width: auto; }
  .join .note, .join .done, .join .fail { flex-basis: 100%; }
}
@media (min-width: 1100px) {
  main, .top .inner, footer { max-width: 72rem; }
  .road { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.5rem; }
  /* Across, the road runs left to right: a line under four stops. */
  .road li { padding: 40px 0 0; }
  .road li::before { display: block; left: 18px; right: -1.5rem; top: 11px; bottom: auto; width: auto; height: 4px; }
  .road li:nth-child(2)::before { display: block; }
  .road li:last-child::before { display: none; }
  .road li::after { left: 0; top: 4px; }
}
