/* Overroad landing page
   Design: a light page carried by real road photography. White and parchment tiles, big tight
   headlines, one accent colour. Photos sit behind the content, with the product UI floating on top.
   Brand: Asphalt ink, Marker amber as the only accent, the ring-over-road mark.
   Type: Mona Sans, an industrial grotesque, one family for everything. */

@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-latin.woff2") format("woff2-variations"),
       url("../fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #FFFFFF;
  --parchment: #F5F5F7;
  --ink: #151618;
  --ink-2: #6E6E73;
  --line: #E3E3E6;
  --line-strong: #C7C7CC;
  --amber: #FFB020;
  --amber-hover: #FFBC45;
  --dusk: #2B2E36;
  --error: #A3300B;

  --font: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --wrap-wide: 1380px;
  --sky: #F2EEE8;          /* the pale morning sky in the photos */
  --lift: 0 30px 70px -28px rgba(32, 24, 12, .5), 0 0 0 1px rgba(21, 22, 24, .04);
  --gutter: clamp(20px, 4vw, 48px);
  --tile-y: clamp(88px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  background: var(--canvas);
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 420;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 650; text-wrap: balance; }
p, li, dd, dt { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 650; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 650; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; }
.tabular { font-variant-numeric: tabular-nums; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font-family: var(--font); font-weight: 600; font-size: 17px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--dusk); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { background: var(--line); color: var(--ink-2); cursor: not-allowed; transform: none; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 6px; text-decoration-color: var(--line-strong);
  transition: text-decoration-color .2s ease;
}
.link:hover { text-decoration-color: var(--ink); }

.only-narrow { display: none; }
@media (max-width: 600px) {
  .only-wide { display: none; }
  .only-narrow { display: inline; }
}

/* Nav: sits on the hero photo, turns solid once the page scrolls */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(21, 22, 24, .08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 56px; }
.nav__brand { display: block; border-radius: 4px; }
.nav__brand img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 32px; list-style: none; font-size: 14px; font-weight: 500; color: #4A4B50; }
.nav__links a { text-decoration: none; transition: color .2s ease; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* Hero: a real road at sunrise, the headline in the sky */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  height: 100svh; min-height: 660px; max-height: 1120px;
  background: var(--sky);
}
.hero .wrap { max-width: var(--wrap-wide); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__photo img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 58%;
}
.hero__video { opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing { opacity: 1; }
/* A soft haze where the words sit, so they read on any crop */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(242, 238, 232, .66) 0%, rgba(242, 238, 232, .26) 24%, rgba(242, 238, 232, 0) 42%),
    radial-gradient(ellipse 62% 58% at 14% 30%, rgba(242, 238, 232, .66) 0%, rgba(242, 238, 232, .3) 52%, rgba(242, 238, 232, 0) 100%);
}
.hero__copy { position: relative; padding-top: calc(56px + clamp(48px, 10vh, 128px)); }
.hero__title {
  font-size: clamp(46px, 6.3vw, 96px);
  font-weight: 660;
  font-stretch: 104%;
  line-height: .98;
  letter-spacing: -0.045em;
}
.nowrap { white-space: nowrap; }
.hero__title .nowrap { display: block; }
.hero__sub {
  margin-top: clamp(18px, 2.2vw, 28px);
  max-width: 22em;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.42;
  color: #34353A;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(26px, 3vw, 38px); }
.hero__actions .link { text-decoration-color: rgba(21, 22, 24, .35); }
.hero__foot { margin-top: auto; padding-bottom: clamp(22px, 4vh, 44px); }
@media (max-width: 1199px) { .hero__sub { max-width: 20em; } }

/* A product moment floating on the photo */
.chip {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 13px 18px 13px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  box-shadow: var(--lift);
}
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); flex: none; animation: live 1.8s ease-out infinite; }
.chip__text { display: grid; gap: 1px; font-size: 14px; line-height: 1.3; }
.chip__text strong { font-weight: 650; }
.chip__text span { color: var(--ink-2); font-size: 13.5px; }
.chip__tag { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); }

@media (max-width: 700px) {
  .hero { height: auto; min-height: max(100svh, 820px); max-height: none; }
  .hero__photo img { object-position: 76% 50%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(242, 238, 232, .66) 0%, rgba(242, 238, 232, .3) 34%, rgba(242, 238, 232, 0) 52%); }
  .hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: calc(56px + 28px); }
  .hero__title { font-size: clamp(34px, 10.2vw, 48px); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link { align-self: center; }
  .hero__foot { display: none; }
}

/* Tiles and section heads */
.tile { padding-block: var(--tile-y); background: var(--canvas); }
.tile--parchment { background: var(--parchment); }
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.title {
  font-size: clamp(36px, 5vw, 64px);
  font-stretch: 104%;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.lede {
  margin-top: 20px; max-width: 36em;
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2);
}

/* Call demo: the cab is behind it, the call and the text float on top */
.demo { margin: 0; }
.demo__stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .66fr) minmax(0, .92fr);
  align-items: end; gap: 16px;
  min-height: clamp(600px, 52vw, 690px);
  padding: clamp(14px, 2vw, 24px);
  background: var(--parchment);
  border-radius: 32px;
}
.demo__photo { position: absolute; inset: 0; z-index: -1; }
.demo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.demo__stage .call { grid-column: 1; }
.demo__stage .phone { grid-column: 3; }
.demo__stage .call, .demo__stage .phone { box-shadow: var(--lift); }
@media (max-width: 1020px) {
  .demo__stage { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); min-height: 0; padding-top: clamp(220px, 36vw, 360px); }
  .demo__stage .phone { grid-column: 2; }
}
@media (max-width: 820px) {
  .demo__stage { grid-template-columns: 1fr; padding-top: calc(58vw - 40px); }
  .demo__stage .call, .demo__stage .phone { grid-column: auto; }
  .demo__photo { bottom: auto; height: 58vw; }
}
.demo__caption {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 14px; padding-inline: 8px; font-size: 13px; color: var(--ink-2);
}
.demo__replay {
  border: 0; background: none; padding: 6px 2px; cursor: pointer;
  font-weight: 600; font-size: 13.5px; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--line-strong);
}
.demo__replay:hover { text-decoration-color: var(--ink); }

.call, .phone { background: var(--canvas); border-radius: 22px; min-width: 0; }
.call { display: flex; flex-direction: column; overflow: hidden; }
.call__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 14px 18px; font-size: 13.5px; box-shadow: inset 0 -1px 0 var(--line);
}
.call__status {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 9px;
  border-radius: 999px; background: var(--parchment); font-weight: 600; white-space: nowrap;
}
.call__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.call.is-live .call__dot { background: var(--amber); animation: live 1.6s ease-out infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, .55); }
  100% { box-shadow: 0 0 0 9px rgba(255, 176, 32, 0); }
}
.call__who { color: var(--ink-2); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.call__timer { font-weight: 600; font-variant-numeric: tabular-nums; }

.transcript {
  list-style: none; display: flex; flex-direction: column; justify-content: flex-end;
  height: 220px; overflow: hidden; padding: 0 18px 14px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}
.line { padding-top: 12px; }
.line__who { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.line p { font-size: 15.5px; line-height: 1.45; }
.line--op p { padding-left: 11px; box-shadow: inset 3px 0 0 var(--amber); }
.transcript.is-animated .line { display: grid; grid-template-rows: 0fr; padding-top: 0; transition: grid-template-rows .42s var(--ease); }
.transcript.is-animated .line > .line__inner { min-height: 0; overflow: hidden; }
.transcript.is-animated .line > .line__inner > .line__pad { padding-top: 12px; }
.transcript.is-animated .line.is-shown { grid-template-rows: 1fr; }
.transcript.is-animated .w { opacity: 0; transition: opacity .2s ease; transition-delay: calc(var(--i, 0) * 46ms); }
.transcript.is-animated .line.is-shown .w { opacity: 1; }

.meter { padding: 14px 18px 16px; box-shadow: inset 0 1px 0 var(--line); }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.meter__label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.meter__value { font-weight: 650; font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.meter__unit { font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.meter__track { position: relative; height: 6px; margin: 34px 0 6px; border-radius: 3px; background: var(--parchment); }
.meter__track::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--x, 50%);
  border-radius: 3px; background: var(--ink); transition: width .9s var(--ease), background-color .3s ease;
}
.meter.is-below .meter__track::before { background: var(--line-strong); }
.meter__floor { position: absolute; left: 50%; top: -10px; bottom: -10px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--amber); z-index: 1; }
.meter__floor-label { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; }
.meter__ring {
  position: absolute; top: 50%; left: var(--x, 50%); z-index: 2;
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  border: 4.5px solid var(--ink); background: var(--canvas);
  transition: left .9s var(--ease), border-color .3s ease, opacity .3s ease;
}
.meter.is-below .meter__ring { border-color: var(--ink-2); }
.meter.is-empty .meter__ring { opacity: 0; }
.meter.is-empty .meter__unit { display: none; }
.meter.is-empty .meter__value { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; }
.check {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px;
  border-radius: 999px; background: var(--parchment);
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  transition: color .3s ease, background-color .3s ease;
}
.check::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--line-strong); transition: border-color .3s ease; }
.check.is-on { color: var(--ink); }
.check.is-on::before { border-color: var(--ink); }

.phone { display: flex; flex-direction: column; padding: 14px; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; box-shadow: inset 0 -1px 0 var(--line); }
.phone__avatar { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.phone__name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.phone__sub { display: block; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.phone__time { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.phone__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 240px; padding: 14px 2px 2px; }
.phone__quiet { margin: auto 12px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bubble { max-width: 88%; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.42; }
.bubble--in { align-self: flex-start; background: var(--parchment); border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; letter-spacing: .02em; }
.phone.is-animated .bubble { display: none; }
.phone.is-animated .bubble.is-shown { display: block; animation: pop .38s var(--ease) both; }
.phone.is-animated.has-messages .phone__quiet { display: none; }
.phone:not(.is-animated) .phone__quiet { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Before the demo script runs, hide what it animates in (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .demo:not(.is-ready) .line,
  .js .demo:not(.is-ready) .bubble,
  .js .demo:not(.is-ready) .check,
  .js .demo:not(.is-ready) .meter__ring { visibility: hidden; }
}

/* Bento of what the owner controls */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 32px;
  min-height: 380px; padding: clamp(28px, 3vw, 44px);
  background: var(--canvas); border-radius: 28px;
}
.card__title { font-size: clamp(24px, 2.2vw, 30px); font-stretch: 104%; line-height: 1.1; letter-spacing: -0.03em; }
.card__copy p { margin-top: 12px; color: var(--ink-2); max-width: 30em; }
.card--floor { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; min-height: 0; }
.card--paper { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; min-height: 0; overflow: hidden; }
.card__photo { position: relative; min-height: 360px; }
.card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.card__body { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: clamp(28px, 3vw, 44px); }
.card--yes > :last-child, .card--number > :last-child { margin-top: auto; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--floor, .card--paper { grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .card--floor, .card--paper { grid-column: auto; grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card--paper { gap: 0; }
  .card__photo { min-height: 0; aspect-ratio: 16 / 10; }
}

.floor__rate { font-size: clamp(56px, 6.4vw, 88px); font-weight: 660; font-stretch: 104%; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.floor__rate span { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: 6px; }
.floor__track { position: relative; height: 10px; margin: 52px 0 8px; border-radius: 5px; background: var(--parchment); }
.floor__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 69%; border-radius: 5px; background: var(--ink); }
.floor__line { position: absolute; left: 50%; top: -12px; bottom: -12px; width: 5px; margin-left: -2.5px; border-radius: 2px; background: var(--amber); }
.floor__line span { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 600; }
.floor__ring { position: absolute; left: 69%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 6px solid var(--ink); background: var(--canvas); }

.mini-thread { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--parchment); border-radius: 20px; }
.mini-thread .bubble--in { background: var(--canvas); }

.docs { list-style: none; display: grid; gap: 4px; }
.docs li {
  position: relative; display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 0 12px 30px; font-weight: 600; font-size: 15.5px;
  box-shadow: inset 0 -1px 0 var(--line);
}
.docs li:last-child { box-shadow: none; }
.docs li span { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.docs li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; border: 3.5px solid var(--line-strong);
}
.docs li.is-done::before { border-color: var(--ink); }

.forward { padding: 6px 20px; background: var(--parchment); border-radius: 20px; font-size: 15px; }
.forward__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.forward__row + .forward__row { box-shadow: inset 0 1px 0 var(--line); }
.forward__row span:first-child { color: var(--ink-2); }
.forward__row span:last-child { font-weight: 600; }
.toggle { width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; }
.toggle span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.toggle.is-on { background: var(--ink); }
.toggle.is-on span { left: 21px; }

/* How it works: three stops on one road */
.route { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; }
.route::before {
  content: ""; position: absolute; top: 14px; left: 14px; right: 14%;
  height: 6px; border-radius: 3px; background: var(--amber);
}
.route__stop { position: relative; }
.route__stop::before {
  content: ""; position: absolute; top: -64px; left: 0; width: 34px; height: 34px;
  border-radius: 50%; border: 7px solid var(--ink); background: var(--canvas);
}
.route__title { font-size: clamp(24px, 2.4vw, 32px); font-stretch: 104%; letter-spacing: -0.03em; line-height: 1.1; }
.route__stop p { margin-top: 12px; color: var(--ink-2); max-width: 22em; }
@media (max-width: 820px) {
  .route { grid-template-columns: 1fr; gap: 44px; padding-top: 0; padding-left: 64px; }
  .route::before { top: 10px; bottom: 30px; left: 14px; right: auto; width: 6px; height: auto; }
  .route__stop::before { top: -4px; left: -64px; }
}

/* Photo bands: a full-bleed photo with a light panel on top */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; min-height: clamp(600px, 56vw, 880px);
  background: var(--sky);
}
.band__photo { position: absolute; inset: 0; z-index: -1; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; }
.band__inner { display: flex; align-items: center; padding-block: clamp(36px, 5vw, 72px); }
.panel {
  width: min(100%, 500px); padding: clamp(28px, 3.2vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(170%) blur(24px);
  backdrop-filter: saturate(170%) blur(24px);
  box-shadow: var(--lift);
}
.panel__title { font-size: clamp(32px, 3.4vw, 48px); font-weight: 650; font-stretch: 104%; line-height: 1.04; letter-spacing: -0.04em; }
.panel__lede { margin-top: 16px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.45; color: var(--ink-2); }

/* Who it's for */
.band--who .band__inner { justify-content: flex-end; }
.band--who .band__photo img { object-position: 22% 50%; }
.stats { margin: 30px 0 0; display: grid; gap: 22px; }
.stats div { display: grid; }
.stats dd {
  order: -1; margin: 0;
  font-size: clamp(46px, 4.6vw, 68px); font-weight: 660; font-stretch: 104%;
  letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums;
}
.stats dt { margin-top: 6px; font-weight: 500; color: var(--ink-2); }
.source { margin-top: 22px; font-size: 13px; color: var(--ink-2); }

/* Vision: the sun over the road, the line in the sky */
.band--vision { min-height: clamp(620px, 66vw, 980px); }
.band--vision .band__photo img { object-position: 50% 0%; }
.vision__copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: clamp(56px, 6.2vw, 96px); }
.vision__line {
  font-size: clamp(28px, 3.3vw, 50px); font-stretch: 104%;
  line-height: 1.06; letter-spacing: -0.04em;
}
.vision__line span { display: block; }
.vision__sub { margin-top: 18px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; color: rgba(21, 22, 24, .74); }

/* Join: the same road, closer */
.band--join .band__inner { justify-content: flex-start; }
.band--join .band__photo img { object-position: 64% 50%; }
.panel--join { width: min(100%, 560px); }

@media (max-width: 760px) {
  .band--who, .band--join { display: block; min-height: 0; padding-bottom: var(--tile-y); background: var(--canvas); }
  .band--who { background: var(--parchment); }
  .band--who .band__photo, .band--join .band__photo { position: relative; z-index: 0; aspect-ratio: 4 / 3; }
  .band--who .band__inner, .band--join .band__inner { position: relative; z-index: 1; margin-top: -64px; padding-block: 0; }
  .band--who .band__photo img { object-position: 30% 50%; }
  .panel { width: 100%; background: var(--canvas); box-shadow: 0 24px 50px -30px rgba(32, 24, 12, .4); }
  .band--vision { flex-direction: column; min-height: 0; background: #EEC387; }
  .band--vision .vision__copy { order: -1; }
  .band--vision .band__photo { position: relative; z-index: 0; aspect-ratio: 1 / 1; }
  .band--vision .band__photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 28%; z-index: 1; background: linear-gradient(#EEC387, rgba(238, 195, 135, 0)); }
  .band--vision .band__photo img { object-position: 50% 0%; }
  .vision__copy { position: relative; padding-block: 56px 8px; }
  .vision__line span { display: inline; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 3px solid var(--ink); transition: background-color .2s ease;
}
.qa[open] summary::after { background: var(--ink); }
.qa p { padding: 0 40px 26px 0; color: var(--ink-2); max-width: 40rem; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Join: the first step of the flow, inside the panel */
.quickstart { width: 100%; margin-top: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; align-items: flex-start; }
.quickstart fieldset { border: 0; margin: 0; padding: 0; width: 100%; min-width: 0; }
.quickstart__q { padding: 0; margin: 0 0 14px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.quickstart .tile-opt { min-height: 96px; }
.quickstart__go { margin-top: 22px; }
.quickstart__note { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 560px) { .quickstart__go { width: 100%; } }

/* Option tiles (page and flow) */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 112px; padding: 18px 12px 24px;
  background: var(--parchment); border-radius: 20px; cursor: pointer; overflow: hidden;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.flow .tile-opt { background: var(--canvas); }
.tile-opt:hover { box-shadow: inset 0 0 0 2px var(--line-strong); }
.tile-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tile-opt__num { font-size: 32px; font-weight: 650; font-stretch: 104%; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tile-opt__label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tile-opt::after {
  content: ""; position: absolute; left: 50%; bottom: 13px; width: 36px; height: 5px; margin-left: -18px;
  border-radius: 2px; background: var(--amber); transform: scaleX(0); transition: transform .2s var(--ease);
}
.tile-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--canvas); }
.tile-opt:has(input:checked)::after { transform: scaleX(1); }
.tile-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-opt { min-height: 96px; }
}

/* Footer: the name returns at full width */
.footer { background: var(--parchment); padding-block: clamp(56px, 7vw, 96px) 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: baseline; gap: 24px 40px; flex-wrap: wrap; }
.footer__slogan { font-size: clamp(20px, 2vw, 26px); font-weight: 650; font-stretch: 104%; letter-spacing: -0.03em; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; font-weight: 500; }
.footer__links a { text-decoration: none; color: var(--ink-2); transition: color .2s ease; }
.footer__links a:hover { color: var(--ink); }
.footer__mark { width: 100%; height: auto; margin: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.footer__legal { display: grid; gap: 8px; font-size: 13px; line-height: 1.55; color: var(--ink-2); max-width: 56rem; }
.footer__legal strong { color: var(--ink); font-weight: 600; }

/* Hero entrance runs on first paint, no script needed */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 60ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Reveal: heading, then text, then picture (content stays visible without scripts) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }
}

/* Waitlist flow (full screen, light) */
.flow {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  background: var(--parchment); overflow-y: auto; overscroll-behavior: contain;
}
.flow.is-entering { animation: flowIn .32s var(--ease) both; }
@keyframes flowIn { from { opacity: 0; } to { opacity: 1; } }
.flow.is-entering .flow__body, .flow.is-entering .flow__done { animation: flowUp .42s var(--ease) both; }
@keyframes flowUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.flow__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.flow__bar img { height: 22px; width: auto; }
.flow__close {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--canvas); border-radius: 999px;
  padding: 9px 14px 9px 16px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.flow__close span { font-size: 18px; line-height: 1; margin-top: -1px; }
.flow__close:hover { background: var(--line); }
.flow__form { flex: 1; display: flex; }
.flow__body { width: 100%; max-width: 760px; margin: auto; padding: 24px var(--gutter) 64px; display: flex; flex-direction: column; align-items: center; }
.flow__progress-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.flow__progress { display: flex; gap: 8px; margin: 12px 0 26px; }
.flow__progress span { width: 44px; height: 5px; border-radius: 2px; background: var(--line-strong); transition: background-color .3s ease; }
.flow__progress span.is-on { background: var(--amber); }
.flow__title {
  font-size: clamp(30px, 4.2vw, 48px); font-weight: 650; font-stretch: 104%; line-height: 1.06; letter-spacing: -0.04em;
  text-align: center; margin-bottom: clamp(26px, 3.5vw, 40px); outline: none;
}
.flow__step { border: 0; padding: 0; margin: 0; width: 100%; min-width: 0; }
.flow__step:not([data-step="1"]) { max-width: 460px; margin-inline: auto; }
.flow__step.is-in { animation: stepIn .34s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.flow__step.is-in-back { animation: stepBack .34s var(--ease) both; }
@keyframes stepBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.flow__error { text-align: center; margin-top: 14px; }

.field { display: grid; gap: 7px; margin-bottom: 20px; text-align: left; }
.field label:not(.checkbox) { font-weight: 600; font-size: 14.5px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1.5px solid #8F908A; border-radius: 14px; background: var(--canvas);
  font: 500 17px/1 var(--font); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #6F7175; font-weight: 450; }
.field input:hover { border-color: var(--ink-2); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(21, 22, 24, .1); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(163, 48, 11, .14); }
.field input:disabled { background: var(--line); color: var(--ink-2); cursor: not-allowed; }
.field__hint { font-size: 13.5px; color: var(--ink-2); }
.field__error { font-size: 13.5px; font-weight: 600; color: var(--error); }
.field__error:empty { display: none; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; justify-self: start; }
.checkbox input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.flow__consent { font-size: 13px; line-height: 1.5; color: var(--ink-2); text-align: left; }
.flow__send-error { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--error); text-align: center; }
.flow__nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 32px; width: 100%; }
.flow__next { min-width: 200px; }
.flow__next.is-busy { pointer-events: none; opacity: .75; }
.flow__back {
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--line);
  cursor: pointer; font-weight: 600; font-size: 17px;
}
.flow__back:hover { background: var(--line-strong); }
.flow__done { flex: 1; width: 100%; max-width: 560px; margin: auto; padding: 24px var(--gutter) 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.done__mark { width: 96px; height: 96px; margin-bottom: 20px; overflow: visible; }
.done__ring { transform-box: fill-box; transform-origin: center; }
.done__road { transform-box: fill-box; transform-origin: left center; }
.flow__done.is-celebrating .done__ring { animation: ringDrop .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.flow__done.is-celebrating .done__road { animation: roadDraw .5s var(--ease) .15s both; }
@keyframes ringDrop { from { transform: translateY(-46px); opacity: 0; } 40% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes roadDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.done__text { margin-top: -18px; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }
.done__summary { width: 100%; margin: 28px 0; padding: 6px 20px; background: var(--canvas); border-radius: 20px; text-align: left; }
.done__summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; }
.done__summary div + div { box-shadow: inset 0 1px 0 var(--line); }
.done__summary dt { color: var(--ink-2); }
.done__summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.done__local { margin: -8px 0 24px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) {
  .flow__nav { flex-direction: column-reverse; align-items: stretch; }
  .flow__next, .flow__back { width: 100%; }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
