/* Kemet-Tron, version B: tap-first. Palette and type from the app's design tokens. */
:root {
  --bg: #0c0d0f;
  --surface: #17191c;
  --raised: #202328;
  --text: #efe6d3;
  --muted: #aeb2b8;
  --gold: #d9a441;
  --line: #2c3036;
  --ok: #6fc49a;
  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.5 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
button { font: inherit; color: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
h2 { font-size: clamp(32px, 5vw, 52px); }
.sub { color: var(--muted); margin-top: 10px; }

.notice { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; padding: 9px 16px; }
.notice strong { color: var(--gold); font-weight: 600; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(12,13,15,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { width: 16px; height: 34px; flex: none; }
.brand span { font-family: var(--display); font-size: 20px; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: var(--raised); }
.nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .nav a { display: none; } }

/* Buttons: pill, like a ride app */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  background: var(--gold); color: var(--bg);
  font: 700 16px var(--sans); text-decoration: none;
  border: 2px solid var(--gold); border-radius: 999px;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: #e6b556; border-color: #e6b556; }
.btn:active { transform: scale(.96); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn.big { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn.ghost { background: transparent; color: var(--text); border-color: #555b64; }
.btn.ghost:hover { border-color: var(--text); background: transparent; }

/* Hero */
.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--gold); border: 1px solid #5a4a25; border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.lede { font-size: 21px; color: var(--muted); margin-top: 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.van { position: relative; margin: 0; }
.van img {
  width: 100%; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 60% at 50% 52%, #000 62%, transparent 100%);
  animation: drive-in 1.1s cubic-bezier(.2,.8,.2,1) both, bob 3.2s ease-in-out 1.1s infinite;
}
.road { height: 4px; margin: -34px 8% 0; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #6a5320 0 34px, transparent 34px 62px);
  animation: road 0.9s linear infinite; }
.van figcaption { text-align: center; font-size: 12.5px; color: #7d828a; margin-top: 22px; }
@keyframes drive-in { from { transform: translateX(-70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes road { to { background-position: -62px 0; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 44px; gap: 0; text-align: center; }
  .van { order: -1; max-width: 420px; margin: 0 auto 20px; }
  .cta { justify-content: center; }
  .cta .btn { flex: 1 1 100%; }
}

section { padding: 80px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* How it works: animated stage */
.stage { position: relative; height: 190px; max-width: 760px; margin: 44px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.stage .track { position: absolute; left: 14%; right: 14%; top: 128px; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #4a4f57 0 14px, transparent 14px 26px); }
.place { position: absolute; top: 62px; width: 60px; margin-left: -30px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; }
.place svg { width: 30px; height: 38px; display: block; margin: 0 auto 44px; color: #6b717a; transition: color .4s, transform .4s; }
.place.home { left: 14%; }
.place.work { left: 86%; }
.tap { position: absolute; left: 50%; top: 2px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; border: 3px solid var(--gold); opacity: 0; }
.stage .car { position: absolute; top: 96px; width: 78px; height: 42px; left: -16%; margin-left: -39px; transition: left 2.2s cubic-bezier(.45,.05,.3,1); }
.chip { position: absolute; top: 20px; transform: translateX(-50%) scale(.6); opacity: 0; background: var(--gold); color: var(--bg); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; transition: opacity .4s, transform .4s cubic-bezier(.2,1.6,.4,1); white-space: nowrap; }
.c-home { left: 18%; } .c-work { left: 82%; }

.stage[data-step="0"] .work svg { color: var(--gold); transform: translateY(-4px) scale(1.12); }
.stage[data-step="0"] .tap { animation: tap 1.3s ease-out infinite; }
.stage[data-step="1"] .car { left: 14%; }
.stage[data-step="1"] .home svg { color: var(--gold); }
.stage[data-step="2"] .car { left: 86%; }
.stage[data-step="2"] .place svg { color: var(--gold); }
.stage[data-step="2"] .chip { opacity: 1; transform: translateX(-50%) scale(1); transition-delay: 1.4s; }
@keyframes tap { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 760px; margin: 16px auto 0; }
.step { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 14px 16px; min-height: 72px; transition: border-color .25s, background .25s, transform .12s; }
.step:active { transform: scale(.97); }
.step b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); color: var(--muted); font-size: 16px; transition: background .25s, color .25s; }
.step span { font-weight: 600; font-size: 16px; line-height: 1.25; color: var(--muted); transition: color .25s; }
.step.on { border-color: var(--gold); background: #1d1a12; }
.step.on b { background: var(--gold); color: var(--bg); }
.step.on span { color: var(--text); }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } .stage { height: 170px; margin-top: 32px; } .stage .track { top: 112px; } .place { top: 46px; } .stage .car { top: 80px; } .chip { top: 10px; } }

/* Rider / driver switch */
.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(360px, 100%); margin: 28px auto 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.switch button { position: relative; z-index: 1; background: none; border: 0; min-height: 50px; border-radius: 999px; font-weight: 700; font-size: 17px; color: var(--muted); transition: color .25s; }
.switch button.on { color: var(--bg); }
.switch .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--gold); border-radius: 999px; transition: transform .3s cubic-bezier(.3,1.3,.5,1); }
.switch.right .thumb { transform: translateX(100%); }
.switch.small { margin: 0 0 22px; width: 100%; }
.switch.small button { min-height: 44px; font-size: 16px; }

.panel { animation: panel .35s ease both; }
@keyframes panel { from { opacity: 0; transform: translateY(12px); } }

.save { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; max-width: 760px; margin: 0 auto 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; }
.save-num { font-family: var(--display); font-size: clamp(64px, 12vw, 104px); line-height: .9; color: var(--gold); }
.save-num small { display: block; font: 700 18px var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-top: 8px; color: var(--text); }
.save-bars .row { display: grid; grid-template-columns: 8.5em 1fr; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.save-bars .row + .row { margin-top: 12px; }
.bar { height: 18px; border-radius: 9px; background: #101114; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: #4a4f57; transition: width 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.bar i.gold { background: var(--gold); transition-delay: .5s; }
.save.in .bar i { width: var(--w); }
.save-bars p { margin-top: 16px; font-weight: 600; }
@media (max-width: 640px) { .save { grid-template-columns: 1fr; gap: 18px; text-align: center; padding: 24px 20px; } .save-bars .row { text-align: left; } }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 980px; margin: 0 auto; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; text-align: center; }
.tile svg { width: 44px; height: 44px; padding: 9px; border-radius: 14px; background: #241d0e; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 14px; display: block; }
.tile h3 { font-family: var(--sans); font-weight: 700; font-size: 18px; line-height: 1.25; }
.tile p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
.aside { text-align: center; color: var(--muted); font-size: 15.5px; max-width: 34em; margin: 26px auto 26px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.tiles .reveal:nth-child(2) { transition-delay: .08s; } .tiles .reveal:nth-child(3) { transition-delay: .16s; } .tiles .reveal:nth-child(4) { transition-delay: .24s; }

/* App peek */
.peek { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.phone { position: relative; border: 1px solid #3a3f46; border-radius: 30px; padding: 8px; background: #000; }
.phone img { border-radius: 23px; }
.ping { position: absolute; left: 62%; top: 21%; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--gold); animation: tap 1.6s ease-out infinite; }
.peek h2 { font-size: clamp(30px, 4vw, 44px); }
.peek p { color: var(--muted); margin: 14px 0 24px; font-size: 18px; }
.tag { display: inline-block; border: 1px solid #3a3f46; color: var(--muted); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
@media (max-width: 760px) { .peek { grid-template-columns: 1fr; gap: 28px; text-align: center; } .phone { max-width: 260px; margin: 0 auto; } }

/* Rollout */
.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 64px auto 0; }
.route .line { position: absolute; left: 16.66%; right: 16.66%; top: 26px; height: 4px; border-radius: 2px; background: #33373e; }
.route .line i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 2px; transition: width .9s cubic-bezier(.45,.05,.3,1); }
.route[data-stop="1"] .line i { width: 50%; } .route[data-stop="2"] .line i { width: 100%; }
.route .car { position: absolute; top: -34px; left: 16.66%; width: 64px; height: 34px; margin-left: -32px; transition: left .9s cubic-bezier(.45,.05,.3,1); }
.route[data-stop="1"] .car { left: 50%; } .route[data-stop="2"] .car { left: 83.33%; }
.stop { position: relative; background: none; border: 0; padding: 0 4px; display: grid; justify-items: center; gap: 10px; }
.stop b { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 3px solid #4a4f57; color: var(--muted); font-size: 20px; transition: all .25s; }
.stop span { font-weight: 700; font-size: 15px; color: var(--muted); }
.stop.on b { background: var(--gold); border-color: var(--gold); color: var(--bg); transform: scale(1.1); }
.stop.on span { color: var(--text); }
.stop:active b { transform: scale(.94); }
.stop-card { max-width: 520px; margin: 28px auto 0; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.stop-card h3 { font-size: 28px; }
.stop-card p { color: var(--muted); margin-top: 8px; }
.stop-card.swap { animation: panel .3s ease both; }
.later { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15.5px; }
.later strong { color: var(--text); }

/* Final pick */
.pick-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 36px auto 0; }
.pick-card { display: grid; justify-items: center; gap: 6px; background: var(--surface); border: 2px solid var(--line); border-radius: 26px; padding: 34px 20px; transition: border-color .2s, transform .15s; }
.pick-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pick-card:active { transform: scale(.97); }
.pick-card strong { font-family: var(--display); font-weight: 400; font-size: 32px; }
.pick-card span { color: var(--muted); font-size: 15.5px; }
.pc-van { width: 96px; height: 52px; margin-bottom: 8px; }
.pc-ico { width: 52px; height: 52px; margin-bottom: 8px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 560px) { .pick-cards { grid-template-columns: 1fr; } }

/* Footer */
footer { padding: 44px 0 56px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { font: 700 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--muted); } footer a:hover { color: var(--text); }
.legal { margin-top: 14px; font-size: 13px; color: #8a8f97; max-width: 36em; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } footer { padding-bottom: 120px; } }

/* Phone bottom bar */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(12,13,15,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s ease; }
  .dock.show { transform: none; }
  .dock .btn { padding: 0 10px; }
}

/* Sign-up sheet */
dialog { border: 1px solid var(--line); border-radius: 26px; background: var(--surface); color: var(--text); padding: 26px; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; }
dialog::backdrop { background: rgba(0,0,0,.7); }
dialog[open] { animation: sheet .3s cubic-bezier(.2,.9,.3,1) both; }
@keyframes sheet { from { opacity: 0; transform: translateY(40px); } }
dialog .x { position: absolute; right: 14px; top: 10px; width: 44px; height: 44px; background: none; border: 0; font-size: 28px; color: var(--muted); border-radius: 50%; }
dialog .switch.small { margin-top: 30px; }
dialog h3 { font-size: 28px; }
.sheet-sub { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
form { display: grid; gap: 14px; margin-top: 20px; }
form[hidden] { display: none; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
input:not([type=radio]) { min-height: 52px; padding: 0 16px; background: var(--bg); color: var(--text); border: 1px solid #3a3f46; border-radius: 14px; font: 17px var(--sans); width: 100%; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.chips legend { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; padding: 0; }
fieldset.chips label { display: block; }
fieldset.chips input { position: absolute; opacity: 0; }
fieldset.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid #3a3f46; border-radius: 999px; font-size: 15px; color: var(--text); cursor: pointer; }
fieldset.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--bg); }
fieldset.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.fine { font-size: 12.5px; color: #8a8f97; line-height: 1.5; }
.form-msg { display: none; border: 1px solid #2f5c48; color: var(--ok); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.form-msg.show { display: block; }

/* Plain pages (privacy, terms) */
.doc { padding: 64px 0 84px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc .draft { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px 16px; font-size: 14px; margin: 18px 0 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .save .bar i { width: var(--w); }
}
.save-bars em { font-style: normal; color: var(--gold); }
.save-bars .fp { display: block; margin-top: 8px; color: #8a8f97; font-size: 13px; line-height: 1.45; }

/* Simple / Advanced toggle switch */
@view-transition { navigation: auto; }
.notice { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.mode { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px; text-decoration: none; font-size: 13.5px; font-weight: 700; color: #7d828a; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mode .track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #33373e; border: 1px solid #4a4f57; transition: background .22s, border-color .22s; flex: none; }
.mode .track i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: transform .22s cubic-bezier(.3,1.4,.5,1), background .22s; }
.mode .l-s { color: var(--text); }
.mode.adv .l-s { color: #7d828a; } .mode.adv .l-a { color: var(--gold); }
.mode.adv .track { background: var(--gold); border-color: var(--gold); }
.mode.adv .track i { transform: translateX(22px); background: var(--bg); }
.mode.flip:not(.adv) .track { background: var(--gold); border-color: var(--gold); }
.mode.flip:not(.adv) .track i { transform: translateX(22px); background: var(--bg); }
.mode.flip.adv .track { background: #33373e; border-color: #4a4f57; }
.mode.flip.adv .track i { transform: none; background: var(--text); }
.more { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15.5px; }
.more a { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .mode .track, .mode .track i { transition: none; } }

/* Dark / Light toggle. Light = white page, black accents. */
.toggles { display: inline-flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; justify-content: center; }
button.mode { background: none; border: 0; font-family: inherit; }
:root[data-theme="light"] { --bg: #ffffff; --surface: #f4f2ec; --raised: #e7e3da; --text: #0c0d0f; --muted: #54585e; --gold: #0c0d0f; --gold-deep: #0c0d0f; --line: #dcd8cf; --ok: #1d7a4f; }
[data-theme="light"] .top, [data-theme="light"] .dock { background: rgba(255,255,255,.93); }
[data-theme="light"] .btn:hover { background: #2a2c30; border-color: #2a2c30; }
[data-theme="light"] .btn.ghost { border-color: #0c0d0f; color: #0c0d0f; }
[data-theme="light"] .btn.ghost:hover { background: transparent; }
[data-theme="light"] .eyebrow { border-color: #0c0d0f; }
[data-theme="light"] .van { background: #0c0d0f; border-radius: 28px; padding: 6px 6px 14px; }
[data-theme="light"] .van figcaption { color: #9a9ea5; }
[data-theme="light"] input:not([type=radio]), [data-theme="light"] select { border-color: #b9b5ab; }
[data-theme="light"] fieldset.chips span { border-color: #b9b5ab; }
[data-theme="light"] fieldset.chips input:checked + span { border-color: #0c0d0f; }
[data-theme="light"] .tile svg { background: #e7e3da; }
[data-theme="light"] .step.on { background: #e7e3da; }
[data-theme="light"] .bar { background: #e3dfd6; }
[data-theme="light"] .bar i { background: #9a968c; }
[data-theme="light"] .bar.kt, [data-theme="light"] .bar i.gold { background: #0c0d0f; }
[data-theme="light"] .stage .track { background: repeating-linear-gradient(90deg, #b9b5ab 0 14px, transparent 14px 26px); }
[data-theme="light"] .route .line { background: #dcd8cf; }
[data-theme="light"] .stop b, [data-theme="light"] .route li::before { border-color: #b9b5ab; }
[data-theme="light"] .stop.on b, [data-theme="light"] .route li.first::before { border-color: #0c0d0f; }
[data-theme="light"] .route::before { background: linear-gradient(90deg, #0c0d0f 0 33%, #dcd8cf 33% 100%); }
[data-theme="light"] .tag, [data-theme="light"] .phone { border-color: #b9b5ab; }
[data-theme="light"] .mode { color: #8a8d92; }
[data-theme="light"] .mode .track { background: #cfcabf; border-color: #b9b5ab; }
[data-theme="light"] .mode.adv .track { background: #0c0d0f; border-color: #0c0d0f; }
[data-theme="light"] .mode.adv .l-s { color: #8a8d92; }
[data-theme="light"] .fine, [data-theme="light"] .legal, [data-theme="light"] .compare small, [data-theme="light"] .save-bars .fp { color: #6b6f75; }
[data-theme="light"] dialog::backdrop { background: rgba(12,13,15,.55); }
@media (max-width: 420px) { .mode { font-size: 12.5px; gap: 7px; padding: 0 2px; } .toggles { gap: 2px 10px; } }

/* Light mode, second pass: black boxes carry gold writing; outlined things get gold trim. */
[data-theme="light"] .btn, [data-theme="light"] .nav a.btn { color: #d9a441; }
[data-theme="light"] .btn:hover { color: #e6b556; }
[data-theme="light"] .btn.ghost, [data-theme="light"] .nav a.btn.ghost { color: #0c0d0f; border-color: #d9a441; border-width: 2px; }
[data-theme="light"] .btn.ghost:hover { color: #0c0d0f; border-color: #b98524; }
[data-theme="light"] .eyebrow { border: 2px solid #d9a441; color: #0c0d0f; }
[data-theme="light"] .switch button.on { color: #d9a441; }
[data-theme="light"] .step.on { border-color: #d9a441; background: #fff; }
[data-theme="light"] .step.on b, [data-theme="light"] .stop.on b, [data-theme="light"] .route li.first::before { color: #d9a441; }
[data-theme="light"] .chip { color: #d9a441; }
[data-theme="light"] fieldset.chips input:checked + span { color: #d9a441; }
[data-theme="light"] .tile svg { background: #0c0d0f; stroke: #d9a441; }
[data-theme="light"] .pick-card:hover { border-color: #d9a441; }
[data-theme="light"] .tag { border: 2px solid #d9a441; color: #0c0d0f; }
[data-theme="light"] .van { border: 2px solid #d9a441; }
[data-theme="light"] .mode.adv .track i { background: #d9a441; }
[data-theme="light"] .tap, [data-theme="light"] .ping { border-color: #d9a441; }
[data-theme="light"] dialog { border: 2px solid #d9a441; }
[data-theme="light"] a:focus-visible, [data-theme="light"] button:focus-visible, [data-theme="light"] input:focus-visible { outline-color: #d9a441; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
