:root {
  color-scheme: light;
  --bg: #f3f1ec;
  --ink: #0b0c0e;
  --steel: #3d4a57;
  --muted: #5c6670;
  --cyan: #3aa8bd;
  --line: rgba(11, 12, 14, 0.12);
  --elevated: #fffdf8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--muted);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.18em;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand span {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.92rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0 1rem;
}

.eye {
  width: 148px;
  height: 148px;
  object-fit: contain;
  margin: 0 0 1.25rem;
}

.tagline {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}

.hero h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.55rem 0 1rem;
}

.lede {
  font-size: 1.12rem;
  line-height: 1.5;
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: var(--steel);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  text-decoration: none;
  opacity: 0.88;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  text-decoration: none;
  background: var(--elevated);
}

.film {
  margin: 0;
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: #121417;
}

.film img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) contrast(1.05);
}

.claims {
  display: grid;
  gap: 1.75rem;
  padding-top: 2.4rem;
}

@media (min-width: 720px) {
  .claims {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

.claims h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}

.claims p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--steel);
}

.doc h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 2.4rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.5rem;
}

.doc h2 {
  color: var(--ink);
  font-size: 1.12rem;
  margin: 1.7rem 0 0.45rem;
}

.doc p {
  margin: 0 0 0.85rem;
}

.meta {
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.foot {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--steel);
}

.kicker {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 800;
  margin: 0;
}

.tour-title {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.8rem;
}

.tour {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
  align-items: center;
}

@media (min-width: 720px) {
  .tour {
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }
}

.phone {
  width: 250px;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 8px solid var(--ink);
  background: #0b0c0e;
  box-shadow: 0 18px 40px rgba(11, 12, 14, 0.18);
  position: relative;
}

.screen {
  display: none;
  flex-direction: column;
  height: 460px;
  padding: 14px 10px 0;
  color: #f3f1ec;
  font-size: 11px;
  position: relative;
  background: #0b0c0e;
}

.screen.on {
  display: flex;
}

.wm {
  width: 72px;
  height: auto;
  margin-bottom: 8px;
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.top-row .wm {
  margin-bottom: 0;
}

.section-label {
  margin: 0 0 4px;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #7ad4e6;
  font-weight: 700;
}

.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 8px;
}

.cal span {
  text-align: center;
  font-size: 8px;
  color: #9aa3ab;
  padding: 4px 0;
  border-radius: 6px;
  background: rgba(243, 241, 236, 0.06);
}

.cal span.on {
  color: #0b0c0e;
  background: #7ad4e6;
  font-weight: 700;
}

.searchbar {
  border: 1px solid rgba(243, 241, 236, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 8px;
  color: #6b7684;
  font-size: 9px;
}

.run-tools {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 10px;
  top: 12px;
}

.map-chip {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(11, 12, 14, 0.72);
  border: 1px solid rgba(122, 212, 230, 0.45);
  color: #7ad4e6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lede-sm {
  color: #9aa3ab;
  font-size: 9px;
  margin: 0 0 8px;
  line-height: 1.35;
}

.share-row {
  display: flex;
  gap: 4px;
  margin: 4px 0 8px;
}

.pill.tiny {
  margin-top: 0;
  padding: 4px 10px;
  font-size: 9px;
}

.screen-title {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: #f3f1ec;
}

.post,
.row {
  background: rgba(243, 241, 236, 0.06);
  border: 1px solid rgba(243, 241, 236, 0.14);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 8px;
}

.who {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.who b,
.row b,
.name-lg {
  display: block;
  color: #f3f1ec;
  font-size: 11px;
}

.who small,
.row small,
.handle,
.meta,
.acts {
  color: #9aa3ab;
  font-size: 9px;
}

.av {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #1a1e24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.map,
.run-map {
  position: relative;
  background: #1a1f26;
  border-radius: 8px;
  overflow: hidden;
}

.map {
  height: 88px;
  margin-bottom: 6px;
}

.map.short {
  height: 56px;
}

.run-map {
  flex: 1;
  margin: -14px -10px 0;
  border-radius: 0;
  min-height: 168px;
}

.basemap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
}

.gps-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  z-index: 1;
}

.gps-layer .track {
  fill: none;
  stroke: #7ad4e6;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 2.5px rgba(122, 212, 230, 0.9));
}

.gps-layer .track.alt {
  stroke: #e8c56b;
  filter: drop-shadow(0 0 2px rgba(232, 197, 107, 0.7));
}

.cover {
  height: 48px;
  margin: -14px -10px 8px;
  border-radius: 0;
  background: linear-gradient(120deg, #1a3a40, #0b0c0e 70%);
}

.route-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.route-svg.tall {
  height: 100%;
}

.street {
  fill: none;
  stroke: rgba(243, 241, 236, 0.12);
  stroke-width: 3;
}

.track {
  fill: none;
  stroke: #7ad4e6;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.track.alt {
  stroke: #f3f1ec;
}

.dot {
  fill: #7ad4e6;
}

.dot.end {
  fill: #f3f1ec;
}

.mi.sm {
  font-size: 1.05rem;
}

.post.tight {
  padding: 6px;
}

.mi {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0;
  color: #f3f1ec;
}

.sheet {
  background: #1a1e24;
  margin: 0 -10px;
  padding: 12px 12px 48px;
  border-radius: 16px 16px 0 0;
}

.go,
.pill {
  display: inline-flex;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3f1ec;
  color: #0b0c0e;
  font-weight: 700;
  font-size: 11px;
}

.pill.ghost {
  background: transparent;
  color: #f3f1ec;
  border: 1px solid rgba(243, 241, 236, 0.28);
  margin-left: 4px;
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.crown {
  font-size: 16px;
}

.crown.dim {
  opacity: 0.35;
}

.pins {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
}

.pin {
  background: rgba(243, 241, 236, 0.06);
  border: 1px solid rgba(243, 241, 236, 0.14);
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 7px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.pin span {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.chips em {
  font-style: normal;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(243, 241, 236, 0.08);
  border: 1px solid rgba(243, 241, 236, 0.14);
}

.tabbar {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 0 10px;
  border-top: 1px solid rgba(243, 241, 236, 0.12);
  color: #3d4a57;
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.tabbar b {
  color: #7ad4e6;
  font-weight: 700;
}

.hit {
  box-shadow: 0 0 0 1px #7ad4e6;
}

.callout {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}

#tour-body {
  white-space: pre-line;
  max-width: 36rem;
  line-height: 1.5;
  color: var(--steel);
}

.tour-copy h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.6rem;
}

.tour-copy .actions {
  margin-bottom: 0;
}

.dots {
  display: flex;
  gap: 6px;
  margin: 8px 0 4px;
}

.step-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 12, 14, 0.18);
  cursor: pointer;
}

.step-dot.on {
  background: var(--ink);
}

button.btn[hidden] {
  display: none;
}

button.btn {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.tour-note {
  font-size: 0.9rem;
  color: var(--steel);
  margin: 2rem 0 0;
}
