/* StrollTour — strolltour.ai
   Brand: navy + gold (dark-first). Tokens carry both themes. */

:root {
  --bg: #0b1f3a;
  --bg-deep: #071527;
  --bg-raise: #122a4d;
  --line: #24406e;
  --ink: #fbf7ee;
  --ink-soft: #c9d0de;
  --muted: #8fa0bb;
  --accent: #d4a853;
  --accent-ink: #071527;
  --accent-soft: #f3e3b8;
  --ok: #7cc98f;
  --max: 1120px;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fbf7ee;
  --bg-deep: #f2ecdd;
  --bg-raise: #ffffff;
  --line: #e2d9c4;
  --ink: #10213a;
  --ink-soft: #33455f;
  --muted: #5b6b85;
  --accent: #a67c2e;
  --accent-ink: #fbf7ee;
  --accent-soft: #6b4f14;
  --ok: #2e7d4f;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #fbf7ee;
    --bg-deep: #f2ecdd;
    --bg-raise: #ffffff;
    --line: #e2d9c4;
    --ink: #10213a;
    --ink-soft: #33455f;
    --muted: #5b6b85;
    --accent: #a67c2e;
    --accent-ink: #fbf7ee;
    --accent-soft: #6b4f14;
    --ok: #2e7d4f;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  padding-inline: 20px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--accent-ink); font-weight: 800; font-size: 15px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }

/* Type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 34ch; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-block: 40px 72px;
}
.hero-copy { display: grid; gap: 22px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }

/* Waitlist form */
.form { display: grid; gap: 10px; max-width: 460px; }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.form input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-raise); color: var(--ink);
}
.form input::placeholder { color: var(--muted); }
.btn {
  font: inherit; font-weight: 700; padding: 14px 20px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; display: inline-block;
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.form-note { font-size: 14px; color: var(--muted); }
.form-msg { font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #f0a49c; }
.hp { position: absolute; left: -9999px; }

/* Player card (the hero's thesis: you're mid-tour) */
.player {
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(0,0,0,.6);
}
.player-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; flex: none; }
.player-head .who { font-weight: 700; }
.player-head .where { font-size: 14px; color: var(--muted); }
.live { margin-left: auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.transcript { font-family: var(--display); font-size: clamp(19px, 2.1vw, 23px); line-height: 1.35; font-weight: 500; }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.wave i { display: block; width: 4px; border-radius: 2px; background: var(--accent); height: 30%; animation: bar 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
.player-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
@keyframes bar { 0%, 100% { height: 18%; } 50% { height: calc(30% + var(--h) * 1%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .wave i, .live::before { animation: none; }
  .wave i { height: calc(20% + var(--h) * 0.6%); }
}

/* Sections */
section { padding-block: 56px; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; max-width: 60ch; margin-bottom: 32px; }

/* Route */
.route { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.route-meta { display: grid; gap: 14px; position: sticky; top: 24px; }
.stats { display: flex; gap: 26px; flex-wrap: wrap; }
.stat { display: grid; gap: 2px; }
.stat b { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }
.stops { list-style: none; margin: 0; padding: 0; display: grid; }
.stop { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.stop::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.stop:last-child::before { display: none; }
.pin { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--bg); font-variant-numeric: tabular-nums; }
.stop-name { font-weight: 700; }
.stop-sub { font-size: 14px; color: var(--muted); }
.leg { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }
.leg::before { content: "↓ "; color: var(--accent); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { display: grid; gap: 8px; }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step .k { font-family: var(--display); color: var(--accent); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

/* Principles */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.principle { border-left: 2px solid var(--accent); padding-left: 16px; display: grid; gap: 4px; }
.principle p { color: var(--ink-soft); font-size: 16px; }

/* Cities */
.cities { display: flex; flex-wrap: wrap; gap: 8px; }
.city { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.city.now { border-color: var(--accent); color: var(--accent); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 32px 40px; font-size: 14px; color: var(--muted); display: grid; gap: 10px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Docs (privacy, support) */
.doc { max-width: 68ch; padding-block: 24px 72px; display: grid; gap: 18px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); }
.doc h2 { font-size: 24px; margin-top: 18px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 20px; margin: 0; display: grid; gap: 6px; }
.doc .date { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 24px 56px; }
  .route { grid-template-columns: 1fr; }
  .route-meta { position: static; }
  .steps { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .top nav { display: none; }
}
