/* SamenGo: Crew Lineup */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  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 {
  --mint: #00D4AA;
  --ink: #052E2B;
  --ink-2: #0A4A41;
  --ink-3: #0E3D37;
  --paper: #FBFBFE;
  --paper-2: #F1F5F9;
  --deep: #0A8F76;
  --deep-text: #08735F;
  --text: #1C1B1F;
  --muted: #55606F;
  --line: #D1D5DB;
  --on-ink-2: #A9C9C2;

  --r-field: 16px;
  --r-card: 20px;
  --r-sheet: 28px;

  --gutter: clamp(20px, 4vw, 64px);
  --pad-x: max(var(--gutter), calc((100vw - 1240px) / 2));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-color: var(--ink) var(--paper-2); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: .08em; }
button, input { font: inherit; color: inherit; }
input { caret-color: var(--deep); }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.old-way :focus-visible, .act-nav :focus-visible, .act-summary :focus-visible, .foot :focus-visible { outline-color: var(--mint); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--mint); padding: 12px 16px; border-radius: 12px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--r-field);
  font-weight: 800; font-stretch: 105%; letter-spacing: .01em; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .25s, box-shadow .5s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--mint); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .4); }
.btn-ink:active { transform: translateY(0); }

/* Header */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding: 0 var(--pad-x);
  color: var(--ink);
  transition: background-color .3s, box-shadow .3s, height .4s var(--ease);
}
.bar.is-solid { background: rgba(251, 251, 254, .95); box-shadow: 0 1px 0 rgba(5, 46, 43, .1); height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: 100%; font-size: 1.25rem; letter-spacing: -.01em; }
.wordmark img { width: 32px; height: 32px; border-radius: 9px; }
.bar-nav { display: flex; gap: 28px; margin-left: auto; font-weight: 700; font-stretch: 105%; }
.bar-nav a { text-decoration: none; padding: 10px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.bar-nav a:hover { background-size: 100% 2px; }
.bar-nav-cta { display: none; }
.bar-cta { min-height: 44px; padding: 0 18px; }
.bar-menu { display: none; }

/* Phone frame, platform-neutral */
.phone {
  position: relative;
  width: clamp(236px, 24vw, 330px);
  aspect-ratio: 720 / 1438;
  padding: 9px;
  border-radius: 46px;
  background: #0B1A18;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .08),
    0 2px 4px rgba(0, 0, 0, .18),
    0 30px 60px -24px rgba(0, 0, 0, .45);
  flex: none;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #E9EEEC; }
.phone-screen > img, .phone-screen > video { width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--mint);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: 104px var(--pad-x) 56px;
  overflow: hidden;
}
.hero-copy { display: grid; gap: 26px; max-width: 760px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 900; font-stretch: 72%;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  line-height: .9; letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero h1 span { display: inline-block; }
.hero-lede { font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.45; color: var(--ink-2); max-width: 38ch; font-weight: 500; }

/* The bill: the crew, ranked by live ETA */
.bill-wrap { display: grid; gap: 10px; }
.bill { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.bill-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 2px solid var(--ink);
  padding: 6px 0 4px;
  transition: opacity .5s;
}
.bill-name {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: .92; letter-spacing: -.015em;
  font-size: clamp(1.8rem, 2.9vw, 2.9rem); font-stretch: 108%;
  transition: font-size .9s var(--ease), font-stretch .9s var(--ease);
}
.bill-row[data-rank="1"] .bill-name { font-size: clamp(2.9rem, 5vw, 5rem); font-stretch: 70%; }
.bill-row[data-rank="2"] .bill-name { font-size: clamp(2.3rem, 3.7vw, 3.7rem); font-stretch: 86%; }
.bill-meta {
  display: inline-flex; align-items: baseline; gap: 14px;
  font-weight: 800; font-stretch: 112%; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bill-mode { color: var(--ink-2); }
.bill-eta { min-width: 9ch; text-align: right; }
.bill-row.is-waiting .bill-name { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.bill-row.is-waiting .bill-meta { color: var(--ink-2); }
.bill-row.is-arrived .bill-eta { background: var(--ink); color: var(--mint); padding: 3px 8px; border-radius: 6px; }
.bill-row.is-joining { animation: billIn .9s var(--ease); }
@keyframes billIn { from { transform: translateX(-14px); } to { transform: none; } }
.bill-note { font-size: .85rem; color: var(--ink-2); font-weight: 600; }

/* Ticket stubs */
.stub {
  position: relative;
  background: var(--paper);
  color: var(--text);
  border-radius: var(--r-card);
  padding: 16px 24px 16px 26px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, .1), 0 18px 36px -20px rgba(0, 0, 0, .32);
}
.stub::before, .stub::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--mint); }
.stub::before { left: -11px; }
.stub::after { right: -11px; }
.stub-label { display: block; font-weight: 800; font-stretch: 112%; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--deep-text); margin-bottom: 10px; }
.stub-row { display: flex; gap: 10px; }
.stub input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-field); background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.stub input::placeholder { color: #6B7280; }
.stub input:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px rgba(0, 212, 170, .3); }
.stub input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179, 38, 30, .14); }
.form-msg { font-size: .92rem; margin-top: 10px; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #B3261E; font-weight: 600; }
.form-msg.is-ok { color: var(--ink); font-weight: 600; }
.form-msg a { font-weight: 700; }
.stub-join { max-width: 560px; }
.hero-more {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 108%;
  border-bottom: 2px solid var(--ink); padding-bottom: 2px;
}
.hero-more svg { transition: transform .5s var(--ease); }
.hero-more:hover svg { transform: translateY(3px); }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; }
.hero-links .hero-more:last-child:hover svg { transform: translateX(3px); }

/* Hero stage: live demo */
.hero-stage { display: grid; justify-items: center; gap: 22px; perspective: 1400px; }
/* The phone leans toward the cursor; the bill drifts the other way, so the hero has depth without a scene. */
.phone-hero { width: clamp(270px, 25vw, 340px); transform: rotate(2deg) rotateY(calc(var(--tx, 0) * 9deg)) rotateX(calc(var(--ty, 0) * -7deg)); transition: transform 1.1s var(--ease); will-change: transform; }
.bill-wrap { transform: translate(calc(var(--tx, 0) * -6px), calc(var(--ty, 0) * -4px)); transition: transform 1.1s var(--ease); }
.bill-live { font-variant-numeric: tabular-nums; color: var(--ink); margin-right: 6px; }
.bill-live b { font-weight: 800; }
/* Before the crew is let in, you breathe on the map so the first screen is never still. */
.mk-you i { position: relative; }
.phone-hero:not(.demo-started) .mk-you i::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--mint); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
.demo-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-map { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.demo-on .demo-map { opacity: 1; }
/* With JS the phone waits in the map's own grey; the real screenshot only shows if the map can't load. */
.demo-fallback { transition: opacity .6s; }
.js .demo-fallback { opacity: 0; }
.js .demo-failed .demo-fallback { opacity: 1; }
.demo-loading { display: none; }
.js .demo-loading {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  color: #55606F; font-size: 13px; font-weight: 700;
  transition: opacity .4s;
}
.demo-loading span { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(10, 143, 118, .2); border-top-color: var(--deep); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-on .demo-loading, .demo-failed .demo-loading { opacity: 0; pointer-events: none; }
.demo-on .demo-loading span, .demo-failed .demo-loading span { animation: none; }
.demo-map .maplibregl-ctrl-attrib { font-size: 10px; background: rgba(255, 255, 255, .75); }
.demo-map .maplibregl-ctrl-attrib:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-inner { display: none; }
.demo-map .maplibregl-ctrl-bottom-right { bottom: 66px; }

.demo-top {
  position: absolute; left: 10px; right: 10px; top: 12px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -8px rgba(0,0,0,.25);
  color: #1C1B1F; font-size: 12px; line-height: 1.2;
  opacity: 0; transition: opacity .6s;
}
.demo-on .demo-top { opacity: 1; }
.demo-top svg { flex: none; color: var(--deep); }
.demo-top-text { display: grid; flex: 1; min-width: 0; }
.demo-top-text b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-top-text span { color: #55606F; font-size: 11px; }
.chip { font-size: 11px; font-weight: 700; padding: 4px 7px; border-radius: 999px; background: var(--paper-2); color: #334155; white-space: nowrap; }
.chip-live { background: #D5F5FA; color: #0B6676; }

.demo-react {
  position: absolute; left: 10px; right: 10px; bottom: calc(var(--nb, 0px) + 12px); z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease);
}
.demo-react { pointer-events: none; }
.demo-live.react-open .demo-react { opacity: 1; transform: none; pointer-events: auto; }
.demo-react-btn {
  position: absolute; right: 12px; bottom: calc(var(--nb, 0px) + 68px); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--deep);
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 6px 14px -6px rgba(0,0,0,.3);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease), bottom .5s var(--ease), background-color .2s;
}
.demo-live .demo-react-btn { opacity: 1; transform: none; }
.demo-react-btn:hover { background: #EFFCF8; }
.react-open .demo-react-btn { background: var(--mint); color: var(--ink); }
.react-open .demo-react-btn { bottom: calc(var(--nb, 0px) + 80px); }
.react-open .demo-lb-btn { bottom: calc(var(--nb, 0px) + 132px); }
.demo-call-btn {
  position: absolute; right: 12px; bottom: calc(var(--nb, 0px) + 172px); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--deep);
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 6px 14px -6px rgba(0,0,0,.3);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease), bottom .5s var(--ease), background-color .2s;
}
.demo-live .demo-call-btn { opacity: 1; transform: none; }
.demo-call-btn:hover { background: #EFFCF8; }
.react-open .demo-call-btn { bottom: calc(var(--nb, 0px) + 184px); }
.in-call .demo-call-btn { background: var(--mint); color: var(--ink); animation: callPulse 2s ease-out infinite; }
@keyframes callPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 212, 170, .55); } 100% { box-shadow: 0 0 0 14px rgba(0, 212, 170, 0); } }
.call-text { font-size: 12px; color: #1C1B1F; margin: -4px 0 12px; }
.call-people { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: space-around; }
.call-people li { display: grid; justify-items: center; gap: 4px; font-size: 11px; font-weight: 700; }
.call-people i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 14px/1 var(--body); font-style: normal; transition: box-shadow .2s; }
.call-people li.is-talking i { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--mint); }
.call-join { width: 100%; min-height: 44px; border: 0; border-radius: 14px; background: var(--mint); color: var(--ink); font-weight: 800; font-size: 13px; cursor: pointer; }
.call-join:hover { background: #22DDB8; }
.in-call .call-join { background: #B3261E; color: #fff; }
.call-note { margin-top: 8px; text-align: center; font-size: 11px; color: #55606F; }
.ticket .btn[disabled] { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.demo-react button {
  display: grid; justify-items: center; gap: 3px;
  min-height: 52px; padding: 6px 2px; border: 0; border-radius: 14px;
  background: #fff; color: #1C1B1F; font-size: 11px; font-weight: 700; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 14px -8px rgba(0,0,0,.3);
  transition: transform .4s var(--ease), background-color .2s;
}
.demo-react button span { font-size: 18px; line-height: 1; }
.demo-react button:hover { background: #EFFCF8; transform: translateY(-2px); }
.demo-react button:active { transform: scale(.94); }
.demo-react button[disabled] { cursor: default; }

.demo-pending {
  position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px; background: #fff; color: #1C1B1F;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -8px rgba(0,0,0,.25);
  font-size: 11px; line-height: 1.3; transition: opacity .5s, transform .6s var(--ease);
}
.demo-pending b { display: block; font-size: 12px; font-weight: 800; }
.demo-pending span:last-child { color: #55606F; }
.demo-pending-dots { display: flex; flex: none; }
.demo-pending-dots i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 11px/1 var(--body); font-style: normal; border: 2px solid #fff; }
.demo-pending-dots i + i { margin-left: -8px; }
.demo-started .demo-pending { opacity: 0; transform: translateY(12px); pointer-events: none; }
.demo-hint { max-width: 34ch; text-align: center; font-weight: 600; color: var(--ink-2); font-size: .98rem; line-height: 1.4; margin-bottom: -6px; }
.demo-lb-btn {
  position: absolute; right: 12px; bottom: calc(var(--nb, 0px) + 120px); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: var(--deep);
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 6px 14px -6px rgba(0,0,0,.3);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--ease), bottom .5s var(--ease);
}
.demo-live .demo-lb-btn, .demo-done .demo-lb-btn { opacity: 1; transform: none; }
.demo-lb-btn:hover { background: #EFFCF8; }
.demo-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  max-height: 78%; overflow: auto; overscroll-behavior: contain;
  padding: 16px 16px 18px; border-radius: 24px 24px 0 0; background: #fff; color: #1C1B1F;
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35);
  animation: sheetUp .55s var(--ease) both;
}
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { font-size: 15px; font-weight: 800; }
.sheet-close { width: 36px; height: 36px; margin: -6px -6px -6px 0; border: 0; border-radius: 50%; background: transparent; color: var(--deep); cursor: pointer; display: grid; place-items: center; }
.sheet-close:hover { background: var(--paper-2); }
.sheet-sub { font-size: 11.5px; color: #55606F; margin: 2px 0 12px; }
.sheet-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 12px; }
.sheet-stats div { background: var(--paper-2); border-radius: 12px; padding: 8px 10px; }
.sheet-stats dt { font-size: 11px; color: #55606F; }
.sheet-stats dd { margin: 2px 0 0; font-size: 17px; font-weight: 800; color: var(--deep-text); font-variant-numeric: tabular-nums; }
.sheet-lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sheet-lb li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #E5E7EB; border-radius: 14px; font-size: 11.5px; }
.sheet-lb .place { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 11px; background: #E5E7EB; color: #1C1B1F; }
.sheet-lb li:first-child .place { background: #FACC15; }
.sheet-lb .who { flex: 1; min-width: 0; display: grid; }
.sheet-lb .who b { font-size: 12.5px; font-weight: 800; }
.sheet-lb .who span { color: #55606F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-lb .val { font-weight: 800; color: var(--deep-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo-toasts { position: absolute; left: 12px; right: 12px; top: var(--nt, 74px); z-index: 4; display: grid; gap: 6px; pointer-events: none; }
.toast {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(5, 46, 43, .93); color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.4);
  animation: toastIn .55s var(--ease) both;
}
.toast { pointer-events: auto; cursor: pointer; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.toast.is-out { animation: toastOut .4s ease-in both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

.demo-floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.float { position: absolute; bottom: 74px; font-size: 30px; line-height: 1; animation: floatUp 2.6s var(--ease) forwards; }
@keyframes floatUp {
  0% { transform: translate(0, 0) scale(.4); opacity: 0; }
  12% { transform: translate(0, -30px) scale(1.15); opacity: 1; }
  100% { transform: translate(var(--dx, 0px), -380px) scale(1); opacity: 0; }
}

/* Map markers, matching the app: colour dot, white ring, dark name chip */
.mk { display: grid; justify-items: center; gap: 3px; pointer-events: none; }
.mk-dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font: 800 11px/1 var(--body);
  border: 2.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.mk-name { font: 700 11px/1 var(--body); color: #fff; background: rgba(0,0,0,.7); padding: 3px 5px; border-radius: 4px; }
.mk.is-new .mk-dot { animation: pinPop .8s var(--ease); }
.mk.is-new::before {
  content: ""; position: absolute; top: -9px; left: 50%; margin-left: -22px; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--c, var(--mint)); animation: ring 1.4s ease-out 2; opacity: 0;
}
@keyframes pinPop { 0% { transform: scale(0); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.mk-you { width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 212, 170, .3); display: grid; place-items: center; }
.mk-you i { width: 16px; height: 16px; border-radius: 50%; background: var(--mint); border: 2.5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.mk-pin { width: 28px; height: 38px; pointer-events: none; }
.mk-pin svg { display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

/* Ticket under the demo phone */
.ticket {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); color: var(--ink);
  padding: 12px 12px 12px 22px; border-radius: var(--r-card);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .1), 0 18px 36px -20px rgba(0, 0, 0, .32);
}
.ticket-code { display: grid; line-height: 1; padding-right: 16px; border-right: 2px dashed rgba(5, 46, 43, .28); }
.ticket-label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-text); margin-bottom: 4px; font-stretch: 112%; }
.ticket-code b { font-size: 1.5rem; font-weight: 900; font-stretch: 125%; letter-spacing: .06em; }
.ticket .btn { min-height: 48px; }
.ticket .btn.is-pulse { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-3px); } 90% { transform: none; } }

/* Old way: before and after */
.old-way {
  background: var(--ink); color: var(--paper);
  padding: clamp(96px, 12vw, 168px) var(--pad-x);
  display: grid; gap: clamp(48px, 6vw, 88px);
}
.old-copy { display: grid; gap: 22px; max-width: 900px; }
.old-copy h2 {
  text-wrap: balance;
  font-family: var(--display); font-weight: 900; font-stretch: 72%; text-transform: uppercase;
  font-size: clamp(2.8rem, 6vw, 6rem); line-height: .9; letter-spacing: -.015em;
}
.old-copy p { color: var(--on-ink-2); font-size: clamp(1.1rem, 1.4vw, 1.3rem); max-width: 46ch; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; max-width: 1100px; }
.vs-side { margin: 0; display: grid; gap: 20px; justify-items: center; }
.vs-side figcaption { max-width: 34ch; text-align: center; color: var(--on-ink-2); font-size: 1.02rem; }
.vs-side figcaption b { display: block; color: var(--paper); font-weight: 900; font-stretch: 78%; text-transform: uppercase; font-size: 1.6rem; line-height: 1; margin-bottom: 6px; letter-spacing: -.005em; }
.vs-after figcaption b { color: var(--mint); }
.chat-card {
  width: min(100%, 380px); border-radius: var(--r-sheet); background: var(--ink-3);
  padding: 0 16px 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.chat-head { display: grid; justify-items: center; padding: 14px 0 12px; margin: 0 -16px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-head b { font-size: .98rem; }
.chat-head span { font-size: .8rem; color: var(--on-ink-2); }
.chat { display: grid; gap: 8px; justify-items: start; }
.msg {
  max-width: 84%; padding: 8px 14px 9px; border-radius: 18px 18px 18px 6px;
  background: #16524A; color: var(--paper); font-size: 1rem; font-weight: 500; line-height: 1.35;
}
.msg i { display: block; font-style: normal; font-size: .74rem; font-weight: 800; color: var(--mint); letter-spacing: .02em; }
.msg-out { justify-self: end; background: var(--mint); color: var(--ink); border-radius: 18px 18px 6px 18px; font-weight: 700; }
.js .chat .msg { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .45s, transform .7s var(--ease), filter 1s; }
.js .chat.in .msg { opacity: 1; transform: none; }
.js .chat.in.is-struck .msg { opacity: .35; filter: blur(1.2px); transition: opacity 1.2s, filter 1.2s; }
.vs-after .phone { width: clamp(240px, 22vw, 300px); }

/* The walk: one pinned phone, seven steps scroll past it. The band's field follows the active step. */
.walk {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(40px, 6vw, 110px);
  padding: 0 var(--pad-x);
  background: var(--paper); color: var(--ink);
  transition: background-color .7s var(--ease), color .7s var(--ease);
  overflow-x: clip; scroll-margin-top: 0;
}
.walk[data-field="mint"] { background: var(--mint); color: var(--ink); }
.walk[data-field="ink"] { background: var(--ink); color: var(--paper); }
/* The phone sits at 43svh, level with each step's centred copy (86svh steps). */
.walk-stage {
  grid-column: 2; grid-row: 1;
  position: sticky; top: 0; height: 100svh; padding: 88px 0 12svh; box-sizing: border-box;
  display: flex; align-items: center; gap: clamp(28px, 3vw, 56px);
}
.walk-phone, .walk-back { width: min(clamp(250px, 25vw, 350px), calc((88svh - 112px) * 720 / 1438)); }
.walk .emoji-rise { opacity: 0; transition: opacity .4s; }
.walk[data-step="call"] .emoji-rise { opacity: 1; }
.walk-index { list-style: none; margin: 0; padding: 0; display: grid; }
.walk-index a {
  display: block; min-height: 36px; padding: 8px 0; box-sizing: border-box; text-decoration: none; color: inherit;
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.01em;
  font-size: 1.25rem; font-stretch: 92%; opacity: .78;
  transition: font-stretch .6s var(--ease), opacity .4s;
}
.walk-index a:hover { opacity: 1; }
.walk-index a[aria-current="step"] { font-stretch: 66%; opacity: 1; }
.walk-phones { position: relative; }
.walk-phone { position: relative; z-index: 2; }
.walk-back { position: absolute; top: 50%; right: -24%; z-index: 1; opacity: 0; transform: translateY(-50%) translateX(-24px) rotate(0deg) scale(.84); transition: opacity .6s, transform 1.2s var(--ease); }
.walk[data-step="race"] .walk-back, .walk[data-step="call"] .walk-back, .walk[data-step="summary"] .walk-back { opacity: 1; transform: translateY(-50%) rotate(6deg) scale(.84); }
.walk-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s var(--ease); }
.walk-screen.is-on { opacity: 1; }
.walk-steps { grid-column: 1; grid-row: 1; }
.step {
  min-height: 86svh; display: grid; align-content: center; gap: 24px;
  max-width: 640px; padding: 12vh 0; scroll-margin-top: 0;
}
.step:last-child { min-height: 0; padding: 12vh 0 18vh; }
.step h2 {
  font-family: var(--display); font-weight: 900; font-stretch: 74%; text-transform: uppercase;
  font-size: clamp(2.8rem, 6vw, 6.2rem); line-height: .9; letter-spacing: -.015em;
  text-wrap: balance;
}
.step h2 span { display: inline-block; }
.step p { font-size: clamp(1.1rem, 1.35vw, 1.28rem); max-width: 40ch; color: var(--muted); }
.walk[data-field="mint"] .step p { color: var(--ink-2); font-weight: 500; }
.walk[data-field="ink"] .step p { color: var(--on-ink-2); }
.modes { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.modes button {
  min-height: 48px; padding: 0 22px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
  font-weight: 800; font-stretch: 108%;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease);
}
.modes button:hover { border-color: var(--deep); transform: translateY(-1px); }
.modes button[aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.modes-screen img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.modes-screen img.is-on { opacity: 1; }

.code-ticket {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  background: var(--paper); border-radius: var(--r-sheet);
  padding: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 56px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 30px 60px -30px rgba(0, 0, 0, .35);
}
.code-ticket::before, .code-ticket::after { content: ""; position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--mint); }
.code-ticket::before { left: -18px; }
.code-ticket::after { right: -18px; }
.code-ticket-label { font-weight: 800; font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: var(--deep-text); font-size: .95rem; }
.code-ticket-code {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.4rem, 5.2vw, 5.6rem); line-height: 1; letter-spacing: .08em; color: var(--ink);
}
.code-ticket-code .ch { display: inline-block; }
.js .code-ticket-code .ch { opacity: 0; transform: translateY(.3em); transition: opacity .3s, transform .6s var(--ease); }
.js .code-ticket.in .code-ticket-code .ch { opacity: 1; transform: none; }

.emoji-rise { position: absolute; inset: -10% -20% 0; pointer-events: none; z-index: 3; }
.emoji-rise span { position: absolute; bottom: 0; font-size: 2.2rem; opacity: 0; }
.emoji-rise span:nth-child(1) { left: 6%;  --dx: 10px; }
.emoji-rise span:nth-child(2) { left: 30%; --dx: -14px; animation-delay: .9s; }
.emoji-rise span:nth-child(3) { left: 52%; --dx: 18px; animation-delay: 1.8s; }
.emoji-rise span:nth-child(4) { left: 72%; --dx: -8px; animation-delay: 2.6s; }
.emoji-rise span:nth-child(5) { left: 88%; --dx: 12px; animation-delay: 3.5s; }
.emoji-rise span:nth-child(6) { left: 40%; --dx: -20px; animation-delay: 4.3s; }
.emoji-rise span { animation: rise 5.2s var(--ease) infinite paused; }
.walk[data-step="call"] .emoji-rise span { animation-play-state: running; }
@keyframes rise {
  0% { transform: translate(0, 0) scale(.5); opacity: 0; }
  10% { opacity: 1; transform: translate(0, -40px) scale(1.1); }
  60% { opacity: .9; }
  100% { transform: translate(var(--dx), -520px) scale(1); opacity: 0; }
}

/* Motion: lines cut in */
.js .cut { clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .cut.in { clip-path: inset(-0.2em -0.2em -0.3em -0.2em); transform: none; }

/* Crews */
.crews {
  background: var(--paper); color: var(--ink);
  padding: clamp(96px, 12vw, 168px) var(--pad-x);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px clamp(40px, 6vw, 110px); align-items: start;
}
.crews-copy { display: grid; gap: 22px; max-width: 560px; }
.crews-copy h2 {
  font-family: var(--display); font-weight: 900; font-stretch: 72%; text-transform: uppercase;
  font-size: clamp(2.8rem, 6vw, 6.2rem); line-height: .9; letter-spacing: -.015em;
}
.crews-copy h2 span { display: block; }
.crews-copy > p { font-size: clamp(1.1rem, 1.35vw, 1.28rem); color: var(--muted); max-width: 40ch; }
.crews-copy > p + p { color: var(--ink); font-weight: 600; }
.crew-bill { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.crew-row {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px 28px; align-items: baseline;
  border-bottom: 2px solid var(--ink); padding: clamp(14px, 1.6vw, 22px) 0 clamp(12px, 1.4vw, 18px);
}
.crew-row b {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.015em;
  font-size: clamp(2.1rem, 3.6vw, 3.8rem); font-stretch: 82%;
  transition: font-stretch .7s var(--ease), color .3s;
}
.crew-row b span { display: block; }
.crew-row:hover b { font-stretch: 66%; color: var(--deep-text); }
.crew-row > span { color: var(--muted); font-size: 1.02rem; line-height: 1.45; }

/* Join */
.join {
  background: var(--mint); color: var(--ink);
  padding: clamp(96px, 12vw, 168px) var(--pad-x);
  display: grid; gap: clamp(32px, 4vw, 56px);
}
.join-title { font-family: var(--display); font-weight: 900; font-stretch: 68%; text-transform: uppercase; font-size: clamp(3.4rem, 11vw, 11.5rem); line-height: .85; letter-spacing: -.015em; }
.join-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: start; }
.join-body > p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--ink-2); font-weight: 500; max-width: 38ch; }
.status { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; grid-column: 1; }
.status li { border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-stretch: 110%; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.join .stub { grid-column: 2; grid-row: 1 / span 2; max-width: none; padding: 26px 32px 22px 32px; }


/* FAQ */
.faq { background: var(--paper); padding: clamp(96px, 11vw, 150px) var(--pad-x); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px clamp(40px, 6vw, 110px); }
.faq h2 { font-family: var(--display); font-weight: 900; font-stretch: 74%; text-transform: uppercase; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .9; color: var(--ink); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 68px; padding: 14px 0; font-weight: 800; font-stretch: 104%; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--ink);
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 100% no-repeat;
  transition: transform .5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--deep-text); }
.faq details p { padding: 0 0 22px; max-width: 62ch; color: var(--muted); }
.faq details a { color: var(--ink); font-weight: 700; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 120px) var(--pad-x) 40px; display: grid; gap: 40px; }
.foot-mark { font-family: var(--display); font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: clamp(3rem, 10vw, 10rem); line-height: .86; letter-spacing: -.015em; }
.foot-mark span { color: var(--mint); }
.foot-links { display: flex; gap: 12px 32px; flex-wrap: wrap; font-weight: 700; }
.foot-links a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; transition: border-color .3s; }
.foot-links a:hover { border-color: var(--mint); }
.foot-legal { color: var(--on-ink-2); font-size: .9rem; }

/* Responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 100px; gap: 48px; }
  .hero-copy { max-width: none; }
  .faq, .join-body { grid-template-columns: minmax(0, 1fr); }
  .crews { grid-template-columns: minmax(0, 1fr); }
  .crews-copy { max-width: none; }
  .join .stub { grid-column: 1; grid-row: auto; }
  /* Walk on narrow screens: phone pinned under the bar, steps scroll beneath it */
  .walk { grid-template-columns: minmax(0, 1fr); }
  .walk-stage { grid-column: 1; grid-row: 1; top: 64px; height: 46svh; z-index: 2; justify-content: center; gap: 20px; align-items: center; background: inherit; margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x); }
  .walk-index { order: 2; }
  .walk-index a { font-size: 1.1rem; min-height: 44px; padding: 13px 0; }
  .walk-phone, .walk-back { width: calc(40svh * 720 / 1438); }
  .walk-back { display: none; }
  .walk-steps { grid-column: 1; grid-row: 2; }
  .step, .step:last-child { min-height: 0; padding: 3vh 0 14vh; max-width: none; scroll-margin-top: calc(46svh + 64px); }
  .step:first-child { padding-top: 2vh; }
  .step h2 { font-size: clamp(2.4rem, 8vw, 4rem); }
}
@media (max-width: 720px) {
  .crew-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .crew-row b span { display: inline; }
  body { font-size: 1rem; }
  .bar { gap: 12px; }
  .bar-nav {
    position: absolute; top: 100%; left: 12px; right: 12px; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px; border-radius: var(--r-card);
    background: var(--paper); box-shadow: 0 20px 40px -20px rgba(0,0,0,.32);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .4s var(--ease), visibility .25s;
  }
  .bar-nav a { padding: 14px 0; border-bottom: 1px solid var(--paper-2); background: none; }
  .bar-nav .bar-nav-cta { display: block; border: 0; color: var(--deep-text); }
  .bar.is-open .bar-nav { opacity: 1; visibility: visible; transform: none; }
  .bar.is-open { background: var(--paper); }
  .bar-cta { display: none; }
  .bar-menu { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(5, 46, 43, .08); color: var(--ink); cursor: pointer; }
  .hero { padding-top: 88px; gap: 28px; }
  .hero-copy { gap: 20px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .bill-meta { gap: 2px; font-size: .78rem; flex-direction: column; align-items: flex-end; }
  .stub-row { flex-direction: column; }
  .stub .btn { width: 100%; }
  .phone-hero { transform: none; width: min(74vw, 300px); }
  .hero-stage { justify-self: stretch; }
  .ticket { width: 100%; max-width: min(100%, 360px); justify-self: center; padding-left: 18px; }
  .ticket { gap: 10px; padding: 10px 10px 10px 16px; }
  .ticket-code { padding-right: 10px; }
  .ticket-code b { font-size: 1.2rem; }
  .ticket .btn { flex: 1; min-width: 0; padding: 0 12px; font-size: .95rem; }
  .vs { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .vs-after .phone { width: min(82vw, 340px); }
  .code-ticket { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .cut { clip-path: none; transform: none; }
  .js .chat .msg, .js .code-ticket-code .ch { opacity: 1; transform: none; }
  .emoji-rise, .float { display: none; }
}

/* Demo: switch from the group map to your own turn-by-turn view, as in the app */
.demo-nav-btn {
  position: absolute; left: 12px; bottom: calc(var(--nb, 0px) + 68px); z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--mint); color: var(--ink); font-size: 12.5px; font-weight: 800;
  box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 6px 14px -6px rgba(0,0,0,.35);
  opacity: 0; transform: scale(.9); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease), bottom .5s var(--ease);
}
.demo-live .demo-nav-btn { opacity: 1; transform: none; pointer-events: auto; }
.react-open .demo-nav-btn { bottom: calc(var(--nb, 0px) + 80px); }
.nav-on .demo-nav-btn { opacity: 0; pointer-events: none; }
.demo-nav-btn:hover { background: #22DDB8; }

.nav-on { --nb: 112px; --nt: 96px; }
.nav-on .demo-top { opacity: 0; }
.nav-top {
  position: absolute; left: 10px; right: 10px; top: 12px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 16px; background: #fff; color: #1C1B1F;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -8px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.nav-arrow { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--deep); color: #fff; }
.nav-arrow svg { transition: transform .4s var(--ease); }
.nav-top-text { display: grid; line-height: 1.2; }
.nav-top-text b { font-size: 15px; font-weight: 800; }
.nav-top-text span { font-size: 12px; color: #55606F; font-variant-numeric: tabular-nums; }
.nav-bottom {
  position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 3;
  padding: 10px 12px 12px; border-radius: 16px; background: #fff; color: #1C1B1F;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -8px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.nav-on .nav-top, .nav-on .nav-bottom { opacity: 1; transform: none; pointer-events: auto; }
.nav-dest { font-size: 12px; font-weight: 800; margin-bottom: 6px; }
.nav-dest span { color: #55606F; font-weight: 600; margin-right: 6px; }
.nav-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 10px; }
.nav-stats dt { font-size: 11px; color: #55606F; }
.nav-stats dd { margin: 0; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nav-group-btn {
  width: 100%; min-height: 40px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--deep-text); font-size: 12.5px; font-weight: 800;
}
.nav-group-btn:hover { border-color: var(--deep); background: #EFFCF8; }
.mk-you-nav { width: 34px; height: 34px; display: grid; place-items: center; }
.mk-you-nav svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.nav-top { display: block; padding: 10px 12px 8px; }
.nav-turn { display: flex; align-items: center; gap: 10px; }
.nav-arrow { width: 38px; height: 38px; border-radius: 10px; background: var(--deep); }
.nav-top-text { flex: 1; min-width: 0; }
.nav-top-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-dist { font-size: 12px; font-weight: 800; color: #1C1B1F; background: var(--paper-2); padding: 3px 7px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.nav-voice { flex: none; color: var(--deep); }
.nav-then { margin: 6px 0 0; font-size: 11px; color: #55606F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-then:empty { display: none; }
.nav-speed {
  position: absolute; left: 12px; top: 104px; z-index: 3; margin: 0;
  display: inline-flex; gap: 6px; align-items: center;
  padding: 5px 9px; border-radius: 999px; background: #1C1B1F; color: #fff; font-size: 11px; font-weight: 600;
  opacity: 0; transition: opacity .4s;
}
.nav-speed b { font-weight: 800; font-variant-numeric: tabular-nums; }
.nav-on .nav-speed { opacity: 1; }
.nav-on { --nt: 140px; }
.nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nav-stop-btn { min-height: 40px; border: 0; border-radius: 12px; background: var(--mint); color: var(--ink); font-size: 12.5px; font-weight: 800; cursor: pointer; }
.nav-stop-btn:hover { background: #22DDB8; }
.mk-chevron { display: none; }
.mk-you.is-nav { background: transparent; }
.mk-you.is-nav i { display: none; }
.mk-you.is-nav .mk-chevron { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.demo-nav-btn.is-pulse { animation: navNudge 1.8s ease-out infinite; }
@keyframes navNudge { 0% { box-shadow: 0 0 0 0 rgba(5, 46, 43, .45), 0 6px 14px -6px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 12px rgba(5, 46, 43, 0), 0 6px 14px -6px rgba(0,0,0,.35); } }
/* A quieter first impression, with the map as the product proof. */
.hero { min-height: min(900px, 100svh); gap: clamp(48px, 7vw, 110px); }
.hero-copy { gap: 24px; max-width: 610px; }
.hero h1 { font-stretch: 80%; font-size: clamp(3.5rem, 6.3vw, 6.2rem); line-height: .95; }
.hero-lede { max-width: 34ch; line-height: 1.55; }
.hero-stage { gap: 16px; }
.phone-hero { transform: none; will-change: auto; }
.bill-wrap { transform: none; }
.demo-crew { width: min(100%, 340px); color: var(--ink); }
.demo-crew summary { cursor: pointer; font-weight: 700; text-align: center; padding: 8px; }
.demo-crew .bill-wrap { margin-top: 12px; }
.demo-crew .bill-name, .demo-crew .bill-row[data-rank] .bill-name { font-size: 1.4rem; font-stretch: 100%; }
.demo-crew .bill-meta { font-size: .8rem; }
.demo-crew .bill-note { font-size: .8rem; }
.stub { border: 1px solid rgba(5, 46, 43, .1); box-shadow: 0 14px 40px -24px rgba(5, 46, 43, .3); }
.stub::before, .stub::after { display: none; }
.stub-label { font-size: .875rem; letter-spacing: .04em; }
.form-help { margin-top: 10px; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.hero-more svg { display: none; }
.hero-more { border-bottom-width: 1px; }
.demo-hint { font-size: .9rem; }
.js .demo-fallback { opacity: 1; }
.js .demo-on .demo-fallback { opacity: 0; }
.js .demo-loading { display: none; }
.phone-hero:not(.demo-started) .mk-you i::after, .ticket .btn.is-pulse, .demo-nav-btn.is-pulse { animation: none; }
.step h2 { font-size: clamp(2.5rem, 4.8vw, 5rem); line-height: 1; }
.walk-index a { font-size: 1rem; font-stretch: 100%; letter-spacing: .01em; }
.walk-index a[aria-current="step"] { font-stretch: 100%; text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .walk-stage { height: 32svh; gap: 24px; }
  .walk-phone, .walk-back { width: calc(27svh * 720 / 1438); }
  .step, .step:last-child { scroll-margin-top: calc(32svh + 64px); }
}
@media (max-width: 720px) {
  .hero { padding-top: 100px; gap: 36px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: clamp(3.1rem, 13vw, 4.6rem); }
  .hero-lede { font-size: 1.1rem; }
  .hero-stage { gap: 14px; }
  .phone-hero { width: min(68vw, 290px); }
  .stub { padding: 18px; }
  .walk-stage { height: 30svh; }
  .walk-phone { width: calc(25svh * 720 / 1438); }
  .step, .step:last-child { scroll-margin-top: calc(30svh + 64px); padding: 5vh 0 10vh; }
  .step h2 { font-size: clamp(2.3rem, 8vw, 3.5rem); }
}
@media (max-height: 520px) and (max-width: 1080px) {
  .walk-stage { position: relative; top: auto; height: 250px; }
  .walk-phone { width: 100px; }
  .step, .step:last-child { scroll-margin-top: 80px; }
}
/* Keep the real screenshot unobstructed until the live demo is ready. */
.js .phone-hero:not(.demo-on) .demo-pending { opacity: 0; pointer-events: none; }

/* Classic page: translucent surfaces over soft, brand-coloured light. */
.classic-page .hero {
  background: radial-gradient(ellipse at 80% 12%, rgba(255,255,255,.48), transparent 35%),
              radial-gradient(ellipse at 14% 90%, rgba(6,182,212,.16), transparent 42%),
              linear-gradient(135deg, #69e8c9 0%, #00d4aa 58%, #8cebd7 100%);
}
.classic-page .bar {
  background: rgba(233, 255, 248, .48);
  border-bottom: 1px solid rgba(255, 255, 255, .42);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.classic-page .bar.is-solid, .classic-page .bar.is-open {
  background: rgba(251, 251, 254, .82);
  box-shadow: 0 8px 30px rgba(5, 46, 43, .06);
}
.classic-page .stub, .classic-page .ticket, .classic-page .code-ticket {
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 18px 45px -25px rgba(5, 46, 43, .32), inset 0 1px 0 rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
.classic-page .stub input { background: rgba(255, 255, 255, .86); border-color: rgba(5, 46, 43, .2); }
.classic-page .code-ticket::before, .classic-page .code-ticket::after { display: none; }
.classic-page .ticket-code { border-right: 1px solid rgba(5, 46, 43, .2); }
.classic-page .demo-crew {
  background: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 2px 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.classic-page .demo-crew summary { min-height: 44px; display: flex; align-items: center; justify-content: center; }
.classic-page .demo-crew summary::before { content: '+'; margin-right: 9px; font-size: 1.2rem; }
.classic-page .demo-crew[open] summary::before { content: '−'; }
.classic-page .demo-crew .bill-wrap { padding-bottom: 12px; }
.classic-page .join {
  background: radial-gradient(ellipse at 85% 10%, rgba(255,255,255,.4), transparent 40%),
              linear-gradient(135deg, #4ae2be, #00d4aa 65%, #75e8d1);
}
.classic-page .faq { background: linear-gradient(135deg, #f5fbfa, #fbfbfe 60%, #e8f8f4); }
.classic-page .faq-list { border: 0; display: grid; gap: 10px; align-content: start; }
.classic-page .faq details {
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 32px -24px rgba(5, 46, 43, .3);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0 20px;
}
.classic-page .faq details p { padding-bottom: 20px; }
.classic-page .btn-ink { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px -14px rgba(5,46,43,.5); }
.classic-page .modes button { background: rgba(255,255,255,.8); border-color: rgba(5,46,43,.2); }
.classic-page .modes button[aria-selected="true"] { background: var(--mint); border-color: var(--mint); }
@media (max-width: 720px) {
  .classic-page .bar-nav { background: rgba(251,251,254,.94); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .classic-page .faq details { padding: 0 16px; }
}
/* Keep turquoise as an accent against quieter, neutral surfaces. */
.classic-page .hero {
  background: radial-gradient(ellipse at 85% 16%, rgba(0, 212, 170, .15), transparent 38%),
              radial-gradient(ellipse at 10% 90%, rgba(6, 182, 212, .07), transparent 40%),
              linear-gradient(135deg, #fbfcfc, #edf7f4);
}
.classic-page .join {
  background: radial-gradient(ellipse at 85% 15%, rgba(0, 212, 170, .15), transparent 40%),
              linear-gradient(135deg, #f8fbfa, #e9f5f1);
}
.classic-page .walk[data-field="mint"] { background: #e5f5f0; }
.classic-page .bar { background: rgba(251, 253, 252, .72); }
.classic-page .demo-crew { background: rgba(255, 255, 255, .65); border-color: rgba(5, 46, 43, .1); }
.classic-page .modes button[aria-selected="true"] { background: #c8eee3; border-color: #a7ded0; }
.classic-page .foot-mark span { color: #a8ddd0; }

/* A calmer type scale keeps the content and product screens in balance. */
.classic-page { line-height: 1.6; }
.classic-page .hero h1,
.classic-page .old-copy h2,
.classic-page .step h2,
.classic-page .crews-copy h2,
.classic-page .join-title,
.classic-page .faq h2 {
  font-weight: 700;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.classic-page .hero h1 { font-size: clamp(2.8rem, 5.3vw, 5.1rem); }
.classic-page .old-copy h2,
.classic-page .step h2,
.classic-page .crews-copy h2,
.classic-page .faq h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); }
.classic-page .join-title { font-size: clamp(2.8rem, 6.5vw, 6rem); }
.classic-page .hero-lede,
.classic-page .old-copy p,
.classic-page .step p,
.classic-page .crews-copy > p,
.classic-page .join-body > p { font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.6; }
.classic-page .crew-row b,
.classic-page .crew-row:hover b,
.classic-page .vs-side figcaption b {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700; font-stretch: 100%; text-transform: none; line-height: 1.2;
}
.classic-page .foot-mark { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700; font-stretch: 100%; line-height: 1; }
.classic-page .bar-nav, .classic-page .btn, .classic-page .hero-more,
.classic-page .faq summary, .classic-page .modes button,
.classic-page .walk-index a, .classic-page .status li { font-weight: 650; font-stretch: 100%; }
.classic-page .walk-index a, .classic-page .status li { text-transform: none; letter-spacing: 0; }
.classic-page .faq summary { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.4; }
.classic-page .stub-label, .classic-page .ticket-label { font-weight: 700; font-stretch: 100%; }
.classic-page .ticket-code b, .classic-page .code-ticket-code { font-weight: 700; font-stretch: 100%; }
.classic-page .code-ticket-code { font-size: clamp(2rem, 4vw, 4rem); }
@media (max-width: 720px) {
  .classic-page .hero h1 { font-size: clamp(2.65rem, 11vw, 3.7rem); }
  .classic-page .old-copy h2, .classic-page .step h2,
  .classic-page .crews-copy h2, .classic-page .faq h2 { font-size: clamp(2.05rem, 8vw, 3rem); }
  .classic-page .join-title { font-size: clamp(2.7rem, 10vw, 4rem); }
}

/* Give both sides of the comparison the same footprint and visual weight. */
.classic-page .vs { align-items: start; }
.classic-page .vs-side { grid-template-rows: auto auto; align-content: start; }
.classic-page .chat-card,
.classic-page .vs-after .phone { width: min(100%, 300px); aspect-ratio: 720 / 1438; }
.classic-page .chat-card {
  display: flex; flex-direction: column; justify-content: center;
  padding: 20px 16px; border: 9px solid #0b1a18; border-radius: 46px;
  background: #0e3d37;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -24px rgba(0,0,0,.35);
}
.classic-page .chat-head { margin: 0 0 16px; }
.classic-page .chat { gap: 8px; }
.classic-page .msg { background: #235b52; }
.classic-page .msg-out { background: #b9e6da; color: var(--ink); }
.classic-page .msg i { color: #b9e6da; }
.js .classic-page .chat.in.is-struck .msg { opacity: 1; filter: none; }
.classic-page .vs-side figcaption { width: min(100%, 34ch); min-height: 5.5em; }
.classic-page .vs-side figcaption b, .classic-page .vs-after figcaption b { color: var(--paper); }
@media (max-width: 720px) {
  .classic-page .chat-card, .classic-page .vs-after .phone { width: min(76vw, 300px); }
}

/* A quieter editorial scale and more compact closing sections. */
.classic-page .hero h1 { font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: 1.1; }
.classic-page .old-copy h2, .classic-page .step h2,
.classic-page .crews-copy h2, .classic-page .faq h2,
.classic-page .join-title { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.12; }
.classic-page .hero-lede, .classic-page .old-copy p, .classic-page .step p,
.classic-page .crews-copy > p, .classic-page .join-body > p { font-size: 1.0625rem; line-height: 1.65; }
.classic-page .crews, .classic-page .join, .classic-page .faq { padding-top: clamp(72px, 8vw, 112px); padding-bottom: clamp(72px, 8vw, 112px); }
.classic-page .crews { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px clamp(48px, 7vw, 100px); }
.classic-page .crews-copy { gap: 16px; }
.classic-page .crews-copy h2 span { display: inline; }
.classic-page .crews-copy > p + p { font-weight: 400; color: var(--muted); }
.classic-page .crew-bill { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; }
.classic-page .crew-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 22px; border: 1px solid #dce9e5; border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}
.classic-page .crew-row b, .classic-page .crew-row:hover b {
  font-size: 1.125rem; line-height: 1.35; font-weight: 650; font-stretch: 100%; color: var(--ink);
}
.classic-page .crew-row b span { display: inline; }
.classic-page .crew-row > span { font-size: .975rem; line-height: 1.55; }
.classic-page .join { gap: 24px; }
.classic-page .join-body { gap: 20px clamp(32px, 5vw, 72px); }
.classic-page .join .stub { padding: 24px; }
.classic-page .status li { padding: 7px 12px; border: 1px solid #b9d9d0; background: rgba(255,255,255,.6); color: var(--ink-2); font-size: .875rem; }
.classic-page .faq { gap: 32px clamp(48px, 7vw, 100px); }
.classic-page .faq summary { font-size: 1rem; font-weight: 650; min-height: 60px; }
.classic-page .faq details p { font-size: 1rem; line-height: 1.6; }
.classic-page .foot { padding-top: 56px; padding-bottom: 36px; gap: 20px; }
.classic-page .foot-mark { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -.02em; text-transform: none; }
.classic-page .foot-links { font-size: .95rem; font-weight: 500; }
@media (max-width: 1080px) {
  .classic-page .crews { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .classic-page .hero h1 { font-size: clamp(2.4rem, 9.5vw, 3.2rem); }
  .classic-page .old-copy h2, .classic-page .step h2, .classic-page .crews-copy h2,
  .classic-page .faq h2, .classic-page .join-title { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .classic-page .crew-bill { grid-template-columns: 1fr; }
  .classic-page .crew-row { padding: 18px; }
  .classic-page .join .stub { padding: 20px; }
}

/* Fit the hero demo and its controls within a typical desktop viewport. */
@media (min-width: 1081px) {
  .classic-page .hero { padding-top: 88px; padding-bottom: 28px; }
  .classic-page .hero-stage { gap: 10px; }
  .classic-page .phone-hero {
    width: min(300px, max(180px, calc((100svh - 290px) * 720 / 1438)));
  }
}

/* Place the sample trip beside the larger product screen. */
.classic-page .hero-copy .demo-crew { width: min(100%, 420px); }
.classic-page .hero-copy .demo-crew summary { justify-content: flex-start; }
.classic-page .hero-copy .demo-hint { max-width: 42ch; text-align: left; margin: 0; }
.classic-page .hero-copy .ticket { width: min(100%, 420px); justify-content: space-between; }
@media (min-width: 1081px) {
  .classic-page .phone-hero { width: min(384px, max(276px, calc(60.0834svh - 90.125px))); }
}
@media (max-width: 720px) {
  .classic-page .hero-copy .ticket { justify-self: start; }
  .classic-page .phone-hero { width: min(91.2vw, 384px); }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .classic-page .phone-hero { width: min(90vw, 324px); }
}

/* A tighter comparison, keeping both phone visuals side by side. */
.classic-page .old-way {
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-top: clamp(72px, 8vw, 110px); padding-bottom: clamp(72px, 8vw, 110px);
}
.classic-page .old-copy { gap: 16px; max-width: 34ch; }
.classic-page .vs { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); align-items: start; }
.classic-page .vs-side { gap: 16px; align-content: start; }
.classic-page .vs-side .chat-card, .classic-page .vs-after .phone { width: min(100%, 220px); aspect-ratio: 720 / 1438; }
.classic-page .vs-side .chat-card { padding: 12px 10px; border-width: 7px; border-radius: 36px; }
.classic-page .vs-side .phone { padding: 7px; border-radius: 36px; }
.classic-page .vs-side .phone-screen { border-radius: 29px; }
.classic-page .chat-head { padding: 8px 0; margin-bottom: 8px; }
.classic-page .chat-head b { font-size: .85rem; }
.classic-page .chat-head span { font-size: .72rem; }
.classic-page .chat { gap: 5px; }
.classic-page .msg { padding: 5px 9px; font-size: .8rem; line-height: 1.25; }
.classic-page .msg i { font-size: .68rem; }
.classic-page .vs-side figcaption { max-width: 25ch; font-size: .9rem; line-height: 1.5; min-height: 0; }
.classic-page .vs-side figcaption b { font-size: 1.05rem; margin-bottom: 6px; }
@media (max-width: 900px) {
  .classic-page .old-way { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .classic-page .old-copy { max-width: 50ch; }
  .classic-page .vs { max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 420px) {
  .classic-page .vs { gap: 12px; }
  .classic-page .vs-side .chat-card { padding: 8px 7px; border-width: 5px; border-radius: 28px; }
  .classic-page .vs-side .phone { padding: 5px; border-radius: 28px; }
  .classic-page .vs-side .phone-screen { border-radius: 23px; }
  .classic-page .chat-head b { font-size: .72rem; }
  .classic-page .chat-head span, .classic-page .msg i { font-size: .62rem; }
  .classic-page .chat { gap: 3px; }
  .classic-page .msg { font-size: .69rem; padding: 4px 6px; }
  .classic-page .vs-side figcaption { font-size: .85rem; }
}

/* Compact FAQ: two independent columns on wider screens. */
.classic-page .faq {
  grid-template-columns: minmax(0, 1fr); gap: 24px;
  padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px);
}
.classic-page .faq h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.classic-page .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; align-items: start; }
.classic-page .faq details { padding: 0 16px; border-radius: 15px; }
.classic-page .faq summary { min-height: 54px; padding: 11px 0; }
.classic-page .faq summary::after { width: 14px; height: 14px; }
.classic-page .faq details p { padding: 0 0 16px; font-size: .95rem; line-height: 1.55; }
@media (max-width: 720px) {
  .classic-page .faq-list { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}

/* Compact footer with a single row of links. */
.classic-page .foot {
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 16px 32px; padding-top: 24px; padding-bottom: 24px;
}
.classic-page .foot-mark { font-size: 1.25rem; white-space: nowrap; }
.classic-page .foot-links { justify-content: center; align-items: center; gap: 8px 24px; }
.classic-page .foot-links a { padding: 10px 0; }
.classic-page .foot-legal { white-space: nowrap; }
@media (max-width: 900px) {
  .classic-page .foot { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .classic-page .foot-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .classic-page .foot-legal { grid-column: 2; grid-row: 1; }
}
@media (max-width: 460px) {
  .classic-page .foot-links { gap: 2px 16px; font-size: .875rem; }
  .classic-page .foot-mark { font-size: 1.1rem; }
  .classic-page .foot-legal { font-size: .8rem; }
}

/* Theme control, matching the 3D trip switch. */
.classic-page .view-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  width: 70px; height: 44px; min-height: 44px; padding: 0 10px; flex: none;
  border: 1px solid rgba(5,46,43,.2); border-radius: 999px;
  background: rgba(255,255,255,.75); color: #345f55; cursor: pointer;
}
.classic-page .theme-sun, .classic-page .theme-moon { position: relative; z-index: 1; display: grid; place-items: center; width: 18px; height: 18px; }
.classic-page .view-toggle svg { width: 18px; height: 18px; display: block; }
.classic-page .theme-thumb { position: absolute; left: 5px; top: 5px; width: 32px; height: 32px; border-radius: 50%; background: #c9eee4; box-shadow: 0 2px 8px rgba(5,46,43,.16); transition: transform .25s ease; }
.classic-page .view-toggle[aria-pressed="true"] .theme-thumb { transform: translateX(26px); }
@media (max-width: 720px) { .classic-page .bar-menu { margin-left: 0; } .classic-page .view-toggle { margin-left: auto; } }
@media (prefers-reduced-motion: reduce) { .classic-page .theme-thumb { transition: none; } }

/* Dark page surfaces leave the app's own demo colors untouched. */
.theme-night .classic-page { background: #0a1918; color: #edf8f4; color-scheme: dark; }
.theme-night .classic-page .bar, .theme-night .classic-page .bar.is-solid, .theme-night .classic-page .bar.is-open { background: rgba(8,27,25,.94); color: #edf8f4; border-color: rgba(255,255,255,.12); }
.theme-night .classic-page .bar-menu { color: #edf8f4; background: rgba(255,255,255,.1); }
.theme-night .classic-page .view-toggle { background: rgba(7,33,30,.7); color: #eaf8f4; border-color: rgba(255,255,255,.3); }
.theme-night .classic-page .theme-thumb { background: #245b50; }
.theme-night .classic-page .hero { background: radial-gradient(ellipse at 85% 16%, rgba(0,212,170,.12), transparent 42%), linear-gradient(135deg,#0b211e,#102e29); color: #edf8f4; }
.theme-night .classic-page .hero-lede, .theme-night .classic-page .demo-hint { color: #c2ddd5; }
.theme-night .classic-page .demo-crew { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #edf8f4; }
.theme-night .classic-page .bill { border-color: #93b8ad; }
.theme-night .classic-page .bill-row { border-color: #93b8ad; }
.theme-night .classic-page .bill-mode, .theme-night .classic-page .bill-note, .theme-night .classic-page .bill-live, .theme-night .classic-page .bill-row.is-waiting .bill-meta { color: #c2ddd5; }
.theme-night .classic-page .bill-row.is-waiting .bill-name { -webkit-text-stroke-color: #c2ddd5; }
.theme-night .classic-page .ticket, .theme-night .classic-page .stub, .theme-night .classic-page .code-ticket { background: #eaf7f2; border-color: #c7e5da; color: #052e2b; }
.theme-night .classic-page .walk, .theme-night .classic-page .walk[data-field="mint"], .theme-night .classic-page .walk[data-field="ink"] { background: #102824; color: #edf8f4; }
.theme-night .classic-page .walk[data-field="mint"] { background: #14332d; }
.theme-night .classic-page .walk[data-field="ink"] { background: #091c1a; }
.theme-night .classic-page .step p, .theme-night .classic-page .walk[data-field="mint"] .step p, .theme-night .classic-page .walk[data-field="ink"] .step p { color: #c2ddd5; }
.theme-night .classic-page .modes button { background: #193a33; border-color: #57786f; color: #edf8f4; }
.theme-night .classic-page .modes button[aria-selected="true"] { background: #b5e6d9; border-color: #b5e6d9; color: #052e2b; }
.theme-night .classic-page .crews { background: #0c211e; color: #edf8f4; }
.theme-night .classic-page .crews-copy > p, .theme-night .classic-page .crews-copy > p + p, .theme-night .classic-page .crew-row > span { color: #c2ddd5; }
.theme-night .classic-page .crew-row { background: #15342e; border-color: #31564d; }
.theme-night .classic-page .crew-row b, .theme-night .classic-page .crew-row:hover b { color: #edf8f4; }
.theme-night .classic-page .join { background: linear-gradient(135deg,#102c27,#183c33); color: #edf8f4; }
.theme-night .classic-page .join-body > p { color: #c2ddd5; }
.theme-night .classic-page .status li { color: #e0f3ec; background: #20453b; border-color: #5b8a7c; }
.theme-night .classic-page .faq { background: #0b211e; }
.theme-night .classic-page .faq h2, .theme-night .classic-page .faq summary { color: #edf8f4; }
.theme-night .classic-page .faq details { background: #15342e; border-color: #31564d; }
.theme-night .classic-page .faq details p { color: #c2ddd5; }
.theme-night .classic-page .faq details a { color: #b6ebdc; }
.theme-night .classic-page .faq summary::after { background: linear-gradient(#edf8f4,#edf8f4) center / 100% 2px no-repeat, linear-gradient(#edf8f4,#edf8f4) center / 2px 100% no-repeat; }
.theme-night .classic-page :focus-visible { outline-color: #a5e5d3; }
.theme-night .classic-page .ticket :focus-visible, .theme-night .classic-page .stub :focus-visible, .theme-night .classic-page .code-ticket :focus-visible, .theme-night .classic-page .phone :focus-visible { outline-color: #052e2b; }
@media (max-width: 720px) {
  .theme-night .classic-page .bar-nav { background: rgba(8,27,25,.97); border-color: rgba(255,255,255,.15); }
  .theme-night .classic-page .bar-nav a { border-color: rgba(255,255,255,.12); }
  .theme-night .classic-page .bar-nav .bar-nav-cta { color: #b6ebdc; }
}
