/* ==========================================================================
   swervle.online
   Low-poly arcade racing, cream paper UI, ink borders and one loud orange.
   The visual system is built to sit next to the game at swervle.com: cream
   briefing cards, condensed race signage, hard offset shadows and a little
   checkered tape.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/anton-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/roboto-condensed-latin-var.woff2") format("woff2");
}

/* ---------- tokens ---------- */
:root {
  --paper: #fff8e9;
  --paper-2: #f5ead4;
  --paper-3: #eadfc8;
  --ink: #10222a;
  --ink-2: #344a52;
  --ink-3: #52656b;
  --teal: #0e7c78;
  --teal-deep: #0a5f5b;
  --teal-dark: #083f3d;
  --orange: #ff5a36;
  --orange-deep: #c53212;
  --orange-soft: #ffe2d8;
  --yellow: #ffc84a;
  --green: #39aa4b;
  --line: rgba(16, 34, 42, 0.14);
  --line-strong: rgba(16, 34, 42, 0.5);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ui: "Roboto Condensed", "Arial Narrow", sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 5px 5px 0 var(--ink);
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.015em;
}

strong {
  font-weight: 650;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--teal :focus-visible,
.section--ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--yellow);
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

main [id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0 0 8px 8px;
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.15s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* top checkered tape */
.checker {
  height: 8px;
  background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 16px 16px;
  border-bottom: 2px solid var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn--primary {
  background: var(--orange);
}

.btn--primary:hover {
  background: #ff6b48;
}

.btn--ghost {
  background: transparent;
}

.btn--ghost:hover {
  background: var(--paper-2);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 rgba(255, 248, 233, 0.85);
}

.btn--ink:hover {
  background: #1b333c;
  box-shadow: 7px 7px 0 rgba(255, 248, 233, 0.85);
}

.btn--lg {
  padding: 16px 26px;
  font-size: 16px;
  border-radius: 12px;
}

.btn--sm {
  padding: 10px 15px;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn--sm:hover {
  box-shadow: 5px 5px 0 var(--ink);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__suffix {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange-deep);
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 7px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  flex: 0 0 auto;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(640px, 86vh, 850px);
  overflow: hidden;
  background: var(--teal-dark);
  border-bottom: 2px solid var(--ink);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__art picture,
.hero__art img {
  width: 100%;
  height: 100%;
}

.hero__art img {
  object-fit: cover;
  object-position: 62% center;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 34, 42, 0.55) 0%, rgba(16, 34, 42, 0.28) 38%, rgba(16, 34, 42, 0) 66%),
    linear-gradient(0deg, rgba(16, 34, 42, 0.22) 0%, rgba(16, 34, 42, 0) 30%);
}

.hero__sticker {
  position: absolute;
  top: 34px;
  right: max(28px, 4vw);
  z-index: 2;
  padding: 9px 17px 11px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px;
  box-shadow: 5px 5px 0 rgba(16, 34, 42, 0.75);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(3.5deg);
  animation: sticker-in 0.7s 0.25s var(--ease) both;
}

.hero__sticker strong {
  display: block;
  margin-top: 3px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
}

.hero__credit {
  position: absolute;
  right: max(20px, 3vw);
  bottom: 16px;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(16, 34, 42, 0.55);
  border-radius: 4px;
  color: rgba(255, 248, 233, 0.72);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  padding-block: clamp(30px, 5vw, 60px);
}

.briefing {
  position: relative;
  width: min(558px, 100%);
  padding: clamp(24px, 2.7vw, 34px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 8px 8px 0 rgba(16, 34, 42, 0.9);
  animation: briefing-in 0.75s 0.05s var(--ease) both;
}

.briefing::after {
  content: "";
  position: absolute;
  inset: auto 14px 10px auto;
  width: 58px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 7px, transparent 7px 14px);
  opacity: 0.2;
}

.briefing__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.lights {
  display: inline-flex;
  gap: 5px;
  flex: 0 0 auto;
}

.lights i {
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
}

.lights i:nth-child(2) {
  background: var(--yellow);
}

.lights i:nth-child(3) {
  background: var(--orange);
  animation: light-pulse 2.1s ease-in-out infinite;
}

.tag {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tag--plain {
  color: var(--ink-3);
}

.rule {
  flex: 1;
  height: 2px;
  background: var(--ink);
  opacity: 0.14;
}

.hero__title {
  display: block;
}

.hero__word {
  display: block;
  font-family: var(--display);
  font-size: clamp(4.4rem, 7.4vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.hero__tagline {
  display: block;
  max-width: 25ch;
  margin-top: 14px;
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -0.015em;
  text-transform: none;
  text-wrap: balance;
}

.hero__lead {
  max-width: 48ch;
  margin-top: 15px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.hero__fine {
  margin-top: 11px;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero__disclaimer {
  margin-top: 5px;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.briefing__meta {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 2px dashed rgba(16, 34, 42, 0.22);
}

.meta-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.label {
  display: block;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.meta-cell strong {
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.meta-clock {
  color: var(--orange-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.briefing__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.briefing__keys span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 3px 5px;
  border: 1.5px solid var(--ink);
  border-bottom-width: 3px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 2px solid var(--ink);
  color: var(--paper);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 11px 0;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__group span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline: 22px;
}

.ticker__group span::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  transform: rotate(45deg);
}

/* ---------- section scaffolding ---------- */
.section {
  position: relative;
  padding-block: clamp(64px, 8.5vw, 108px);
}

.section--cream {
  background: var(--paper);
}

.section--sand {
  background: var(--paper-2);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background-image: url("/img/topo.svg");
  background-repeat: no-repeat;
  background-position: right -120px top -80px;
  background-size: 900px auto;
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--teal {
  background: var(--teal-deep);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}

.section-head p:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 15px;
  color: var(--ink-2);
  font-size: 16.5px;
}

.section--ink .section-head p,
.section--ink .section-head .eyebrow {
  color: var(--paper);
}

.section--teal .section-head p,
.section--teal .section-head .eyebrow {
  color: var(--paper);
}

.section--ink .section-head p {
  opacity: 0.82;
}

.section--teal .section-head p {
  opacity: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: var(--orange-deep);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 3px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--orange);
}

.section--teal .eyebrow--dark {
  color: var(--yellow);
}

.section--ink .section-head .eyebrow,
.section--teal .section-head .eyebrow {
  color: var(--yellow);
}

.section-head--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  max-width: none;
}

.section-head--split p {
  margin-top: 0;
  padding-bottom: 6px;
}

/* ---------- how to play ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 23px 21px 24px;
  background: #fffcf4;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 21px;
  width: 44px;
  height: 5px;
  background: var(--orange);
}

.step:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.step__num {
  display: block;
  font-family: var(--display);
  font-size: 42px;
  line-height: 0.9;
  color: var(--orange-deep);
}

.step__icon {
  position: absolute;
  top: 21px;
  right: 18px;
  width: 26px;
  height: 26px;
  color: var(--ink);
  opacity: 0.2;
}

.step h3 {
  margin-top: 13px;
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 0.98;
}

.step p {
  margin-top: 9px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.58;
}

.note-launcher {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 900px;
  margin-top: 30px;
  padding: 15px 18px;
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 0 9px 9px 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}

.note-launcher .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--orange-deep);
}

.note-launcher strong {
  color: var(--ink);
}

/* ---------- daily map ---------- */
.daily {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.daily__copy h2 {
  font-size: clamp(2.7rem, 4.8vw, 4.4rem);
}

.daily__copy > p {
  max-width: 54ch;
  margin-top: 18px;
  color: rgba(255, 248, 233, 0.8);
  font-size: 16px;
}

.fact-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.fact-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 248, 233, 0.16);
}

.fact-list li:last-child {
  border-bottom: 1px solid rgba(255, 248, 233, 0.16);
}

.fact-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--orange);
}

.fact-list strong {
  display: block;
  color: var(--paper);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-list span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 248, 233, 0.66);
  font-size: 13.5px;
  line-height: 1.5;
}

.daily__copy .btn {
  margin-top: 26px;
}

.daily__clock {
  position: relative;
}

.clock-card {
  position: relative;
  overflow: hidden;
  padding: 30px 26px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--orange);
  color: var(--ink);
}

.clock-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 12px;
  background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 14px 14px;
  border-bottom: 2px solid var(--ink);
}

.clock-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.clock-card__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
}

.clock-card__flag .icon {
  width: 18px;
  height: 18px;
}

.clock-card__time {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(3.6rem, 6.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.clock-card__date {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

.clock-card__date strong {
  color: var(--ink);
}

.clock-card__bar {
  height: 10px;
  margin-top: 18px;
  overflow: hidden;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.clock-card__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  transition: width 1s linear;
}

.clock-card__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed rgba(16, 34, 42, 0.22);
}

.clock-card__row > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.clock-card__row strong {
  font-family: var(--ui);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.clock-card__note {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.5;
}

.daily__caption {
  margin-top: 18px;
  color: rgba(255, 248, 233, 0.56);
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: right;
}

/* ---------- tracks ---------- */
.tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.track-card {
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.track-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.track-card__img {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--teal);
}

.track-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.track-card:hover .track-card__img img {
  transform: scale(1.035);
}

.track-card__badge {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.track-card__body {
  padding: 19px 20px 22px;
}

.track-card__body h3 {
  font-size: 28px;
}

.track-card__body p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.caption {
  max-width: 78ch;
  margin-top: 16px;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 2px solid var(--ink);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.feature > .icon {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: var(--teal);
}

.feature strong {
  display: block;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.feature span {
  display: block;
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- split / ghost HUD ---------- */
.split {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.hud-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 40px 30px 54px;
  overflow: hidden;
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 7px 7px 0 var(--ink);
}

.hud-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/img/topo.svg");
  background-position: center;
  background-size: 760px auto;
  opacity: 0.55;
  pointer-events: none;
}

.hud-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 13px;
  background: repeating-conic-gradient(var(--ink) 0 25%, var(--paper) 0 50%) 0 0 / 15px 15px;
  border-top: 2px solid var(--ink);
}

.hud {
  position: relative;
  z-index: 1;
  width: min(370px, 100%);
  padding: 21px 22px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 8px 8px 0 rgba(16, 34, 42, 0.85);
  transform: rotate(-2deg);
}

.hud__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hud__ghost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hud__ghost .icon {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.hud__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--orange-deep);
}

.hud__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: light-pulse 1.8s ease-in-out infinite;
}

.hud__time {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 62px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.hud__time span {
  font-size: 30px;
  color: var(--orange-deep);
}

.hud__rows {
  margin-top: 12px;
  border-top: 2px dashed rgba(16, 34, 42, 0.2);
}

.hud__rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.hud__rows dt {
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hud__rows dd {
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hud__on {
  color: var(--teal);
}

.hud__bar {
  position: relative;
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

.hud__bar span {
  display: block;
  width: 58%;
  height: 100%;
  background: var(--orange);
}

.hud__bar i {
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 1.5px;
  background: var(--ink);
  opacity: 0.35;
}

.hud__bar i:nth-child(2) {
  left: 25%;
}

.hud__bar i:nth-child(3) {
  left: 50%;
}

.hud__bar i:nth-child(4) {
  left: 75%;
}

.hud__hint {
  margin-top: 10px;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hud__hint kbd {
  font-size: 9px;
  min-width: 18px;
  padding: 2px 4px;
}

.hud-wrap__note {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 1;
  padding: 3px 7px;
  background: rgba(16, 34, 42, 0.72);
  border-radius: 4px;
  color: var(--paper);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split__copy h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.split__copy > p {
  max-width: 55ch;
  margin-top: 17px;
  color: var(--ink-2);
  font-size: 16px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.45;
}

.checklist .icon {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  padding: 3px;
  background: var(--orange);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  stroke-width: 3;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--orange);
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.link-arrow:hover {
  color: var(--orange-deep);
  border-color: var(--ink);
}

.link-arrow .icon {
  width: 15px;
  height: 15px;
}

/* ---------- controls ---------- */
.controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.control {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 122px;
  padding: 15px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(16, 34, 42, 0.85);
}

.control__keys {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 31px;
}

.control__or {
  margin-inline: 3px;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control kbd {
  min-width: 27px;
  padding: 6px 7px;
  font-size: 11px;
  border-width: 2px;
  border-bottom-width: 4px;
  background: var(--paper-2);
}

.control__touch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 2px dashed var(--ink-3);
  border-radius: 6px;
}

.control__touch .icon {
  width: 18px;
  height: 18px;
}

.control__action {
  margin-top: auto;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.control__sub {
  color: var(--ink-3);
  font-size: 11.5px;
  line-height: 1.35;
}

.controls__note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: rgba(255, 248, 233, 0.9);
  font-size: 13px;
}

.controls__note .icon {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

/* ---------- tips ---------- */
.tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.tip {
  padding: 22px 21px 24px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
}

.tip__num {
  display: block;
  font-family: var(--display);
  font-size: 38px;
  line-height: 0.9;
  color: var(--orange-deep);
}

.tip h3 {
  margin-top: 9px;
  font-size: 21px;
  line-height: 1;
}

.tip p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.58;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: clamp(30px, 4.5vw, 58px);
  align-items: start;
}

.faq__head {
  position: sticky;
  top: 104px;
}

.faq__head p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.faq__list {
  display: grid;
  gap: 9px;
}

.faq-item {
  background: #fffcf4;
  border: 2px solid var(--ink);
  border-radius: 11px;
  transition: box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}

.faq-item[open] {
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 17px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--orange-deep);
}

.faq-plus {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
}

.faq-plus::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.faq-plus::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] .faq-plus::after {
  transform: rotate(90deg);
}

.faq-item p {
  padding: 0 17px 17px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: clamp(32px, 5.5vw, 70px);
  align-items: start;
}

.about__copy h2 {
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
}

.about__copy p {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.about__copy p:first-of-type {
  margin-top: 20px;
}

.about__updated {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-3) !important;
  font-family: var(--ui);
  font-size: 12px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about__side {
  position: sticky;
  top: 104px;
}

.about__facts {
  padding: 5px 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
}

.about__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.about__facts > div:last-child {
  border-bottom: 0;
}

.about__facts dt {
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about__facts dd {
  font-family: var(--ui);
  font-size: 13.5px;
  font-weight: 700;
  text-align: right;
}

.about__links {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.about__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s var(--ease);
}

.about__links a:hover {
  color: var(--orange-deep);
}

.about__links span {
  flex: 0 0 92px;
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about__links .icon {
  margin-left: auto;
  width: 14px;
  height: 14px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 10vw, 120px);
  background: var(--orange);
  color: var(--ink);
  text-align: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 12px;
  background: repeating-conic-gradient(var(--ink) 0 25%, var(--orange) 0 50%) 0 0 / 18px 18px;
  border-block: 2px solid var(--ink);
}

.cta::before {
  top: 0;
}

.cta::after {
  bottom: 0;
}

.cta .eyebrow {
  color: var(--ink);
}

.cta .eyebrow::before {
  background: var(--ink);
}

.cta h2 {
  font-size: clamp(3.1rem, 8.5vw, 7rem);
  line-height: 0.86;
}

.cta > .wrap > p:not(.eyebrow):not(.cta__fine) {
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
}

.cta .btn {
  margin-top: 26px;
}

.cta__fine {
  margin-top: 15px;
  font-family: var(--ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  padding: 54px 0 26px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: repeating-conic-gradient(var(--paper) 0 25%, var(--ink) 0 50%) 0 0 / 16px 16px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 248, 233, 0.18);
}

.brand--footer {
  color: var(--paper);
}

.brand--footer .brand__suffix {
  color: var(--yellow);
}

.footer__tagline {
  max-width: 48ch;
  margin-top: 12px;
  color: rgba(255, 248, 233, 0.62);
  font-size: 13.5px;
  line-height: 1.55;
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  align-content: start;
}

.footer__links a {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 248, 233, 0.12);
  color: rgba(255, 248, 233, 0.78);
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s var(--ease);
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__analytics {
  margin-top: 18px;
  color: rgba(255, 248, 233, 0.58);
  font-size: 11px;
  line-height: 1.5;
}

.footer__legal {
  max-width: 96ch;
  margin-top: 24px;
  color: rgba(255, 248, 233, 0.58);
  font-size: 11.5px;
  line-height: 1.6;
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 233, 0.12);
  color: rgba(255, 248, 233, 0.58);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- motion ---------- */
@keyframes briefing-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sticker-in {
  from {
    opacity: 0;
    transform: rotate(3.5deg) translateY(-10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: rotate(3.5deg) translateY(0) scale(1);
  }
}

@keyframes light-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero__word {
    font-size: clamp(4.2rem, 7.6vw, 6.2rem);
  }

  .briefing {
    width: min(520px, 100%);
  }

  .nav {
    gap: 16px;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 26px;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-card:last-child {
    grid-column: 1 / -1;
  }

  .track-card:last-child .track-card__img {
    aspect-ratio: 2.4 / 1;
  }

  .daily,
  .split,
  .faq,
  .about {
    grid-template-columns: 1fr;
  }

  .faq__head,
  .about__side {
    position: static;
  }

  .faq__head {
    max-width: 620px;
  }

  .hud-wrap {
    min-height: 400px;
  }

  .about__side {
    max-width: 560px;
  }

  .section-head--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-head--split p {
    padding-bottom: 0;
  }

  .tips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 18px;
  }

  .site-header__inner {
    min-height: 66px;
    gap: 14px;
  }

  .brand {
    font-size: 27px;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-bottom: 24px;
  }

  .hero__art {
    position: relative;
    height: clamp(300px, 78vw, 380px);
  }

  .hero__art img {
    object-position: 58% center;
  }

  .hero__wash {
    background:
      linear-gradient(180deg, rgba(16, 34, 42, 0.03) 0%, rgba(16, 34, 42, 0.02) 58%, rgba(16, 34, 42, 0.35) 100%);
  }

  .hero__sticker {
    top: 16px;
    right: 16px;
    padding: 6px 11px 8px;
    border-width: 2px;
    box-shadow: 3px 3px 0 rgba(16, 34, 42, 0.7);
  }

  .hero__sticker strong {
    font-size: 19px;
  }

  .hero__credit {
    right: 14px;
    bottom: 10px;
    font-size: 8.5px;
  }

  .hero__inner {
    display: block;
    width: 100%;
    margin-top: -26px;
    padding: 0 12px 0;
  }

  .briefing {
    width: 100%;
    padding: 20px 19px 19px;
    border-radius: 16px;
    box-shadow: 5px 5px 0 rgba(16, 34, 42, 0.9);
  }

  .briefing__top {
    margin-bottom: 15px;
  }

  .tag {
    font-size: 10.5px;
    letter-spacing: 0.13em;
  }

  .tag--plain {
    display: none;
  }

  .hero__word {
    font-size: clamp(3.9rem, 16vw, 5rem);
  }

  .hero__tagline {
    max-width: 27ch;
    margin-top: 10px;
    font-size: 18px;
  }

  .hero__lead {
    margin-top: 12px;
    font-size: 14.5px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__fine {
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }

  .briefing__meta {
    gap: 8px;
    margin-top: 17px;
    padding-top: 13px;
  }

  .meta-cell strong {
    font-size: 13px;
  }

  .meta-clock {
    font-size: 14px;
  }

  .label {
    font-size: 9.5px;
  }

  .briefing__keys {
    display: none;
  }

  .briefing::after {
    display: none;
  }

  .ticker__group {
    font-size: 12px;
    padding-block: 9px;
  }

  .ticker__group span {
    gap: 16px;
    padding-inline: 16px;
  }

  .section {
    padding-block: 62px;
  }

  h2 {
    font-size: clamp(2.15rem, 8.5vw, 3rem);
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head p:not(.eyebrow) {
    font-size: 15px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .step {
    padding: 19px 18px;
  }

  .step__num {
    font-size: 36px;
  }

  .step h3 {
    margin-top: 8px;
  }

  .step__icon {
    top: 18px;
    right: 16px;
  }

  .note-launcher {
    margin-top: 22px;
    padding: 13px 14px;
    font-size: 12.5px;
  }

  .daily {
    gap: 28px;
  }

  .daily__copy h2 {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }

  .daily__copy > p {
    font-size: 14.5px;
  }

  .fact-list li {
    padding: 12px 0;
  }

  .clock-card {
    padding: 26px 18px 20px;
    box-shadow: 6px 6px 0 var(--orange);
  }

  .clock-card__time {
    font-size: clamp(3.4rem, 13vw, 4.4rem);
  }

  .daily__caption {
    text-align: left;
  }

  .tracks {
    grid-template-columns: 1fr;
  }

  .track-card:last-child .track-card__img {
    aspect-ratio: 3 / 2;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 26px;
    padding-top: 20px;
  }

  .hud-wrap {
    min-height: 380px;
    padding: 30px 18px 48px;
  }

  .hud {
    transform: rotate(-1.4deg);
  }

  .split__copy h2 {
    font-size: clamp(2.3rem, 9vw, 3.1rem);
  }

  .controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .control {
    min-height: 116px;
    padding: 13px 13px;
  }

  .control kbd {
    min-width: 24px;
    padding: 5px 5px;
    font-size: 10px;
  }

  .tips {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .tip {
    padding: 18px;
  }

  .tip h3 {
    font-size: 20px;
  }

  .faq__list {
    gap: 8px;
  }

  .faq-item summary {
    padding: 14px 14px;
    font-size: 14.5px;
  }

  .faq-item p {
    padding: 0 14px 15px;
    font-size: 13.5px;
  }

  .about__copy h2 {
    font-size: clamp(2.3rem, 9vw, 3.1rem);
  }

  .about__facts {
    padding: 3px 16px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .cta {
    padding-block: 64px;
  }

  .cta h2 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__links {
    gap: 0 18px;
  }

  .footer__meta {
    gap: 8px 18px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 25px;
  }

  .brand__suffix {
    font-size: 10px;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .header-cta .icon {
    width: 13px;
    height: 13px;
  }

  .hero__art {
    height: clamp(285px, 82vw, 350px);
  }

  .hero__sticker {
    display: none;
  }

  .briefing {
    padding: 18px 16px 17px;
  }

  .briefing__top {
    gap: 8px;
  }

  .lights i {
    width: 12px;
    height: 12px;
  }

  .tag {
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .rule {
    display: none;
  }

  .hero__word {
    font-size: clamp(3.6rem, 17.5vw, 4.6rem);
  }

  .hero__tagline {
    font-size: 16.5px;
  }

  .hero__lead {
    font-size: 14px;
    line-height: 1.55;
  }

  .btn {
    font-size: 13px;
    padding: 12px 16px;
  }

  .btn--lg {
    font-size: 14px;
    padding: 15px 18px;
  }

  .briefing__meta {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
  }

  .briefing__meta .meta-cell:last-child {
    display: none;
  }

  .section {
    padding-block: 54px;
  }

  .section--sand {
    background-size: 680px auto;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
  }

  .control__keys {
    min-height: 28px;
  }

  .clock-card__date {
    font-size: 12.5px;
  }

  .clock-card__row strong {
    font-size: 13.5px;
  }

  .hud {
    padding: 18px 16px 15px;
  }

  .hud__time {
    font-size: 52px;
  }

  .hud__time span {
    font-size: 25px;
  }

  .hud-wrap__note {
    right: 12px;
    bottom: 22px;
    font-size: 8.5px;
  }

  .cta h2 {
    font-size: clamp(2.55rem, 14vw, 3.6rem);
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .footer__meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker__track {
    animation: none;
  }

  .hero__sticker,
  .briefing {
    animation: none;
  }
}

/* ==========================================================================
   Launch / handoff page
   ========================================================================== */
.launch-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--ink);
  color: var(--paper);
}

.launch-page .checker {
  border-bottom-color: var(--ink);
}

.launch-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: 22px;
}

.launch-header .brand {
  color: var(--paper);
}

.launch-header .brand__suffix {
  color: var(--yellow);
}

.launch-header__tag {
  color: rgba(255, 248, 233, 0.58);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: clamp(26px, 5vw, 64px) var(--gutter) 32px;
  background:
    linear-gradient(180deg, rgba(16, 34, 42, 0.88) 0%, rgba(16, 34, 42, 0.78) 55%, rgba(16, 34, 42, 0.92) 100%),
    url("/img/swervle-hero-1920.webp") center 58% / cover no-repeat;
  border-top: 2px solid var(--ink);
}

.launch-card {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  padding: clamp(22px, 3.5vw, 36px);
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 20px;
  box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.45);
}

.launch-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.launch__title {
  font-family: var(--display);
  font-size: clamp(3.3rem, 7vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.launch__title span {
  color: var(--orange-deep);
}

.launch__lead {
  max-width: 54ch;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.58;
}

.launch-road {
  position: relative;
  height: 58px;
  margin-top: 24px;
  overflow: hidden;
  background: #24343b;
  border: 2px solid var(--ink);
  border-radius: 9px;
}

.launch-road__fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 7px;
  background: var(--orange);
  border-top: 1.5px solid var(--ink);
  transition: width 0.12s linear;
}

.launch-road__line {
  position: absolute;
  top: 27px;
  right: 0;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 248, 233, 0.72) 0 17px, transparent 17px 35px);
}

.launch-car {
  position: absolute;
  bottom: 8px;
  left: 3%;
  width: 72px;
  height: 40px;
  transform: translateX(-50%);
  transition: left 0.12s linear;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.28));
}

.launch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch-meta__status {
  color: var(--ink-2);
}

.launch-meta__pct {
  color: var(--orange-deep);
  font-variant-numeric: tabular-nums;
}

.launch__tip {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(16, 34, 42, 0.24);
  color: var(--ink-3);
  font-family: var(--ui);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.launch__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.launch__note {
  margin-top: 15px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}

.launch__note strong {
  color: var(--ink);
}

.launch__legal {
  position: relative;
  z-index: 1;
  max-width: 70ch;
  color: rgba(255, 248, 233, 0.68);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .launch-header {
    padding-block: 15px;
  }

  .launch-header__tag {
    display: none;
  }

  .launch {
    justify-content: flex-start;
    padding-top: 24px;
  }

  .launch-card {
    padding: 20px 17px;
    border-radius: 16px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
  }

  .launch-card__top {
    gap: 8px;
    margin-bottom: 15px;
  }

  .launch-card__top .tag--plain {
    display: none;
  }

  .launch__title {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .launch__lead {
    font-size: 14px;
  }

  .launch__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .launch__actions .btn {
    width: 100%;
  }

  .launch-car {
    transform: translateX(-50%) scale(0.9);
    transform-origin: center bottom;
  }
}

/* ==========================================================================
   Error page
   ========================================================================== */
.error-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.error {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(16, 34, 42, 0.9), rgba(16, 34, 42, 0.82)),
    url("/img/swervle-hero-1920.webp") center / cover no-repeat;
  color: var(--paper);
}

.error__inner {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: clamp(64px, 10vw, 120px);
}

.error .eyebrow {
  color: var(--yellow);
}

.error h1 {
  font-size: clamp(4.4rem, 12vw, 9rem);
  line-height: 0.84;
}

.error__inner > p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: 18px;
  color: rgba(255, 248, 233, 0.8);
  font-size: 16px;
}

.error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error .btn--ghost {
  background: rgba(255, 248, 233, 0.04);
  border-color: var(--paper);
  color: var(--paper);
  box-shadow: 4px 4px 0 rgba(255, 248, 233, 0.7);
}

.error .btn--ghost:hover {
  background: rgba(255, 248, 233, 0.12);
  box-shadow: 6px 6px 0 rgba(255, 248, 233, 0.7);
}

.error-page .site-footer {
  padding-block: 20px;
}

.error-page .footer__meta {
  margin: 0;
  padding: 0;
  border: 0;
}
