/* The Texodus Trail - website. Colours come from the game's palette. */
:root {
  --ink: #1b1424;
  --ink-2: #241a30;
  --ink-3: #2f2340;
  --line: #44345a;
  --paper: #f6f1e7;
  --paper-2: #cfc8bb;
  --muted: #a99fb8;
  --orange: #ff7a1a;
  --orange-d: #c24e0c;
  --yellow: #ffe36e;
  --pink: #ff2a6d;
  --rose: #f9bfd0;
  --green: #8fcf5a;
  --blue: #4a7bd6;
  --sky-1: #24123a;
  --sky-2: #5a2463;
  --sky-3: #c2457a;
  --sky-4: #ff8a3d;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --crt: "VT323", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 16px/1.65 var(--mono);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
code, kbd { font-family: var(--mono); font-size: .9em; background: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; }
kbd { border-bottom-width: 2px; }
em { color: var(--rose); font-style: italic; }
strong, b { color: var(--yellow); font-weight: 600; }
q { color: var(--rose); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); font-size: .92em; }

/* ---------------------------------------------------------------- nav -- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
  background: rgba(27, 20, 36, .88);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink-3);
}
.brand img { width: 132px; height: auto; image-rendering: pixelated; }
.nav nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a {
  font: 10px/1 var(--pixel); color: var(--paper-2); text-decoration: none;
  padding: 9px 10px; border-radius: 4px; text-transform: uppercase;
}
.nav nav a:hover { color: var(--yellow); background: var(--ink-3); }
.nav nav a.nav-cta { background: var(--orange); color: var(--ink); }
.nav nav a.nav-cta:hover { background: var(--yellow); }

/* --------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: start;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 34%, var(--sky-3) 56%, var(--sky-4) 70%, #ffb347 74%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.stars {
  position: absolute; inset: 0 0 50% 0;
  background-image:
    radial-gradient(2px 2px at 8% 12%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 22% 30%, #fff9 50%, transparent 51%),
    radial-gradient(2px 2px at 37% 8%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 61% 22%, #fffa 50%, transparent 51%),
    radial-gradient(2px 2px at 78% 10%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 28%, #fff9 50%, transparent 51%),
    radial-gradient(2px 2px at 50% 36%, #fff7 50%, transparent 51%);
  animation: twinkle 4s steps(2) infinite;
}
@keyframes twinkle { 50% { opacity: .6; } }
.sun {
  position: absolute; left: 50%; bottom: 23%;
  width: min(46vw, 520px); aspect-ratio: 1; transform: translate(-50%, 50%);
  border-radius: 50%;
  background:
    repeating-linear-gradient(180deg, transparent 0 58%, var(--sky-3) 58% 61%, transparent 61% 66%, var(--sky-3) 66% 70%, transparent 70% 75%, var(--sky-3) 75% 80%, transparent 80% 86%, var(--sky-3) 86% 93%, transparent 93%),
    linear-gradient(180deg, #fff3a0, var(--yellow) 40%, var(--orange) 75%, var(--pink));
  box-shadow: 0 0 90px rgba(255, 138, 61, .55);
}
.mtn { position: absolute; left: 0; width: 100%; }
.mtn.far { bottom: 20%; height: 22%; fill: #6b2d6e; opacity: .9; }
.mtn.near { bottom: 18%; height: 16%; fill: #3a1d4a; }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(180deg, #c98a4c, #a96a36); }
.props { position: absolute; inset: auto 0 100% 0; height: 0; }
.prop { position: absolute; bottom: -6px; image-rendering: pixelated; animation: scroll-prop 22s linear infinite; }
.p1 { height: 150px; animation-delay: -2s; }
.p2 { height: 120px; animation-delay: -8s; }
.p3 { height: 110px; animation-delay: -12s; }
.p4 { height: 90px; animation-delay: -16s; }
.p5 { height: 50px; bottom: -40px; animation-delay: -19.5s; }
@keyframes scroll-prop { from { left: 105%; } to { left: -20%; } }
.road { position: absolute; left: 0; right: 0; top: 26%; height: 38%; background: #3a3647; border-top: 4px solid #22202c; border-bottom: 4px solid #22202c; overflow: hidden; }
.dashes {
  position: absolute; left: 0; top: 50%; width: 200%; height: 6px; margin-top: -3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 48px, transparent 48px 104px);
  animation: dash 1.1s linear infinite;
}
@keyframes dash { to { transform: translateX(-104px); } }
.truck-wrap { position: absolute; left: 50%; bottom: 52%; transform: translateX(-50%); width: min(38vw, 300px); }
.truck { width: 100%; image-rendering: pixelated; animation: bob .36s steps(1) infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.exhaust { position: absolute; left: -12px; bottom: 18%; width: 14px; height: 14px; background: #cfc8bb; opacity: .7; animation: puff 1.2s linear infinite; }
@keyframes puff { from { transform: translate(0, 0) scale(.6); opacity: .7; } to { transform: translate(-60px, -26px) scale(1.6); opacity: 0; } }

.hero-copy { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; padding: 56px 24px 0; text-align: center; }
.kicker { font: 11px/1.6 var(--pixel); letter-spacing: .08em; color: var(--paper); opacity: .85; margin: 0 0 18px; text-transform: uppercase; }
.hero h1 { margin: 0; }
.logo { width: 100%; max-width: 860px; height: auto; margin: 0 auto; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(27, 20, 36, .4)); }
.tagline { font: clamp(11px, 1.6vw, 15px)/1.6 var(--pixel); color: var(--paper); margin: 22px 0 14px; text-shadow: 2px 2px 0 var(--ink); }
.lede { max-width: 680px; margin: 0 auto; font-size: 17px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.lede em { color: var(--yellow); }
.hero .fine { font-size: 13px; color: #fff; opacity: .85; margin: 14px auto 0; max-width: 600px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .ctas { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 11px/1.3 var(--pixel); text-transform: uppercase; text-decoration: none;
  color: var(--paper); background: var(--ink); border: 3px solid var(--paper);
  padding: 14px 18px; cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { color: var(--yellow); border-color: var(--yellow); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-hot { background: var(--orange); color: var(--ink); border-color: var(--ink); }
.btn-hot:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* ------------------------------------------------------------- ticker -- */
.ticker { background: var(--yellow); color: var(--ink); border-block: 4px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: 6px 0; font: 26px/1 var(--crt); animation: tick 70s linear infinite; }
.ticker-track span { padding: 0 22px; }
.ticker-track span::after { content: "\2605"; margin-left: 44px; color: var(--orange-d); }
.ticker-track .up { color: #b3001b; }
.ticker-track .down { color: #1e6b16; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ----------------------------------------------------------- sections -- */
.section { padding: 96px 0; }
.section + .section { border-top: 2px dashed var(--ink-3); }
.h { font: clamp(17px, 2.4vw, 26px)/1.5 var(--pixel); margin: 0 0 18px; color: var(--paper); }
.h span { display: block; font-size: 11px; color: var(--orange); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
h3 { font: 13px/1.6 var(--pixel); color: var(--yellow); margin: 32px 0 14px; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 40px; }
.sub.center { margin-left: auto; margin-right: auto; }

/* trailer */
.tv { max-width: 980px; margin: 0 auto; background: #3a2b1e; border: 4px solid var(--ink); padding: 22px 22px 0; box-shadow: 10px 10px 0 #000, inset 0 0 0 4px #5a3a20; border-radius: 18px; }
.tv-screen { background: #000; border: 4px solid var(--ink); border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.tv-screen video { width: 100%; height: 100%; display: block; background: #000; }
.tv-chin { display: flex; align-items: center; gap: 14px; padding: 12px 6px 14px; }
.tv-brand { font: 10px/1 var(--pixel); color: #e8c78f; letter-spacing: .15em; margin-right: auto; }
.tv-knob { width: 22px; height: 22px; border-radius: 50%; background: #c79a55; border: 3px solid var(--ink); }
.rating-badge { max-width: 980px; margin: 28px auto 0; border: 3px solid var(--green); color: #d9f2c4; padding: 12px 16px; font-size: 14px; background: #0d3a1e; }
.rating-badge strong { color: #fff; font-family: var(--pixel); font-size: 11px; margin-right: 6px; }

/* pitch */
.pitch p { font-size: 17px; }
.shot { margin: 0; background: var(--ink-2); border: 3px solid var(--ink-3); padding: 10px; box-shadow: 8px 8px 0 #0d0912; }
.shot img { width: 100%; height: auto; image-rendering: pixelated; border: 2px solid #000; }
.shot figcaption { font-size: 14px; color: var(--paper-2); padding: 12px 4px 4px; line-height: 1.55; }
.tilt { transform: rotate(1.5deg); }
.stats { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.stats li { background: var(--ink-2); border: 2px solid var(--line); padding: 18px 14px; }
.stats b { display: block; font: clamp(16px, 2vw, 22px)/1.2 var(--pixel); color: var(--yellow); margin-bottom: 10px; }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }

/* quotes */
.quotes { columns: 3 280px; column-gap: 20px; }
.quotes blockquote { break-inside: avoid; margin: 0 0 20px; padding: 20px 22px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--orange); position: relative; }
.quotes blockquote:nth-child(3n+2) { box-shadow: 6px 6px 0 var(--pink); }
.quotes blockquote:nth-child(3n) { box-shadow: 6px 6px 0 var(--blue); }
.quotes p { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.quotes p::before { content: "\201C"; font: 22px/0 var(--pixel); color: var(--orange-d); vertical-align: -10px; margin-right: 6px; }
.quotes cite { font-style: normal; font-size: 13px; color: #5a4a66; }
.quotes cite::before { content: "\2014 "; }
.quotes .lizard p { font: 28px/1 var(--pixel); }
.quotes .lizard p::before { content: none; }

/* fighters */
.fighters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fighter { background: var(--ink-2); border: 3px solid var(--line); padding: 20px; display: flex; flex-direction: column; cursor: pointer; text-align: left; color: inherit; font: inherit; transition: transform .1s, border-color .1s; }
.fighter:hover, .fighter[aria-pressed="true"] { border-color: var(--yellow); transform: translateY(-4px); }
.fighter[aria-pressed="true"] { background: #33244a; box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--yellow); }
.fighter .num { font: 10px/1 var(--pixel); color: var(--orange); }
.fighter h3 { margin: 12px 0 10px; font-size: 12px; color: var(--paper); line-height: 1.6; }
.fighter p { font-size: 14px; color: var(--paper-2); margin: 0 0 16px; flex: 1; }
.fighter dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 13px; border-top: 2px dashed var(--line); padding-top: 12px; }
.fighter dt { color: var(--muted); }
.fighter dd { margin: 0; color: var(--yellow); text-align: right; }
.fighter .pick { margin-top: 14px; font: 9px/1.4 var(--pixel); color: var(--green); min-height: 1.4em; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-grid .shot:nth-child(odd) { transform: rotate(-.6deg); }
.feature-grid .shot:nth-child(even) { transform: rotate(.6deg); }
.native { margin-top: 64px; background: var(--ink-2); border: 3px solid var(--line); padding: 8px 28px 24px; }
.native ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.native li { font-size: 15px; padding-left: 22px; position: relative; }
.native li::before { content: "\25B6"; position: absolute; left: 0; color: var(--orange); font-size: 11px; top: 4px; }

/* route */
.gas { display: grid; gap: 10px; margin: 0 0 56px; max-width: 760px; }
.gas-row { display: grid; grid-template-columns: 120px 1fr 190px; align-items: center; gap: 14px; font-size: 14px; }
.gas-row .st { font: 10px/1 var(--pixel); color: var(--paper-2); }
.gas-row .bar { height: 22px; width: calc(var(--v) / 6.89 * 100%); background: var(--c); border: 2px solid var(--ink); box-shadow: 4px 4px 0 #0d0912; }
.gas-row .px { color: var(--yellow); font-weight: 600; }
.gas-row small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.ca { --c: #ff8a3d; } .az { --c: #e0a92c; } .nm { --c: #c7a066; } .tx { --c: #4a7bd6; }
.route { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.route::before { content: ""; position: absolute; left: 74px; top: 8px; bottom: 8px; width: 4px; background: repeating-linear-gradient(180deg, var(--yellow) 0 14px, transparent 14px 26px); }
.stop { display: grid; grid-template-columns: 60px 30px 1fr; gap: 0 16px; align-items: start; padding: 12px 0; }
.stop .mile { font: 10px/1.6 var(--pixel); color: var(--muted); text-align: right; padding-top: 4px; }
.stop .dot { width: 20px; height: 20px; margin: 2px 0 0 3px; background: var(--c); border: 3px solid var(--ink); box-shadow: 0 0 0 3px var(--c); position: relative; z-index: 1; }
.stop.river .dot { border-radius: 50%; }
.stop h3 { margin: 0 0 4px; font-size: 11px; color: var(--paper); line-height: 1.7; }
.stop h3 .tag { font: 9px/1 var(--pixel); color: var(--ink); background: var(--c); padding: 3px 6px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.stop p { margin: 0; color: var(--paper-2); font-size: 14px; max-width: 760px; }
.route-sec .shot { margin-top: 40px; }

/* obituaries */
.grave-yard { position: relative; padding: 30px 0 0; display: grid; justify-items: center; }
.grave {
  width: min(100%, 400px); text-align: center; color: #3a3647;
  background: linear-gradient(180deg, #d9d3c6, #b7b0a4);
  border: 4px solid var(--ink);
  border-radius: 160px 160px 0 0;
  padding: 54px 28px 30px;
  box-shadow: inset -10px -10px 0 rgba(0, 0, 0, .12), 10px 10px 0 #0d0912;
  transition: transform .25s;
}
.grave.thud { animation: thud .45s; }
@keyframes thud { 0% { transform: translateY(-40px); opacity: 0; } 60% { transform: translateY(6px); opacity: 1; } 100% { transform: none; } }
.g-here { font: 11px/1 var(--pixel); margin: 0 0 14px; letter-spacing: .1em; text-transform: uppercase; }
.g-name { font: clamp(20px, 3.4vw, 30px)/1.2 var(--pixel); color: var(--ink); margin: 0 0 16px; word-break: break-word; }
.g-cause { font-style: italic; margin: 0 0 14px; font-size: 15px; }
.g-epitaph { margin: 0 0 18px; font-weight: 600; font-size: 15px; color: #2b2533; }
.g-mile { font: 9px/1.5 var(--pixel); margin: 0; color: #5a5466; text-transform: uppercase; }
.grass { width: min(110%, 480px); height: 22px; margin-top: -6px; background: repeating-linear-gradient(90deg, #4f9b3a 0 10px, #2f6b25 10px 14px); border: 4px solid var(--ink); }

/* calculator */
.calc { display: grid; gap: 18px; margin-top: 24px; }
.calc label { display: grid; gap: 8px; font-size: 14px; color: var(--paper-2); }
.calc .lbl { display: flex; justify-content: space-between; gap: 12px; }
.calc .out { color: var(--yellow); font-weight: 600; }
.calc label.check { grid-template-columns: auto 1fr; align-items: center; gap: 10px; cursor: pointer; }
.calc input[type=range] { width: 100%; accent-color: var(--orange); }
.calc input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--orange); }
.receipt {
  background: #fbf8f1; color: #2b2533; font: 14px/1.6 var(--mono);
  padding: 26px 26px 32px; max-width: 440px; justify-self: center; width: 100%;
  box-shadow: 10px 10px 0 #0d0912;
  -webkit-mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 50% / 20px 100% repeat-x;
          mask: radial-gradient(10px at 50% 100%, #0000 98%, #000) 50% / 20px 100% repeat-x;
}
.receipt h4 { font: 12px/1.5 var(--pixel); text-align: center; margin: 0 0 4px; }
.receipt .rsub { text-align: center; font-size: 12px; color: #6b6275; margin: 0 0 16px; }
.receipt .row { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dotted #c9c1d1; padding: 4px 0; }
.receipt .row span:last-child { white-space: nowrap; font-weight: 600; }
.receipt .neg { color: #b3001b; }
.receipt .pos { color: #1e6b16; }
.receipt .total { border-top: 2px solid #2b2533; border-bottom: none; margin-top: 8px; padding-top: 10px; font-weight: 600; }
.receipt .verdict { margin: 18px 0 0; padding: 12px; background: #2b2533; color: var(--yellow); font: 10px/1.8 var(--pixel); text-align: center; }

/* top ten */
.topten { width: 100%; border-collapse: collapse; font-size: 15px; background: #000; border: 4px solid var(--paper); box-shadow: 10px 10px 0 var(--pink); }
.topten th { font: 10px/1 var(--pixel); text-align: left; color: var(--orange); padding: 16px 14px; border-bottom: 2px solid var(--line); }
.topten td { padding: 10px 14px; border-bottom: 1px solid #1f1828; }
.topten td:first-child { font: 11px/1 var(--pixel); color: var(--muted); width: 40px; }
.topten td:nth-child(3) { color: var(--yellow); font-variant-numeric: tabular-nums; text-align: right; }
.topten th:nth-child(3) { text-align: right; }
.topten td:last-child { color: var(--paper-2); font-size: 13px; }
.topten tr.you td { background: #2a1a12; color: var(--yellow); }
.topten tr.you td:first-child { color: var(--orange); }

/* faq */
details { border: 2px solid var(--line); background: var(--ink-2); margin: 0 0 12px; }
details[open] { border-color: var(--orange); }
summary { cursor: pointer; padding: 16px 20px; font: 11px/1.7 var(--pixel); color: var(--paper); list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--orange); font-size: 14px; }
details[open] summary::after { content: "\2212"; }
details p { margin: 0; padding: 0 20px 18px; color: var(--paper-2); }

/* install */
.code { position: relative; margin: 22px 0 14px; }
.code pre { margin: 0; background: #0d0912; border: 3px solid var(--line); padding: 20px; overflow-x: auto; font-size: 14px; line-height: 1.7; }
.code pre code { background: none; border: 0; padding: 0; color: var(--paper); }
.code .c { color: #7d7290; }
.copy { position: absolute; top: 10px; right: 10px; font: 9px/1 var(--pixel); padding: 8px 10px; background: var(--ink-3); color: var(--paper); border: 2px solid var(--line); cursor: pointer; }
.copy:hover { border-color: var(--yellow); color: var(--yellow); }
.install-sec .two { align-items: start; }
.reqs-wrap { overflow-x: auto; margin: 6px 0 14px; }
.reqs { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; }
.reqs th, .reqs td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.reqs thead th { font: 9px/1.4 var(--pixel); color: var(--orange); }
.reqs tbody th { font-weight: 600; color: var(--paper); }
.reqs small { color: var(--muted); font-weight: 400; display: block; }
.reqs code { font-size: 12px; white-space: nowrap; }
.tips { padding-left: 20px; color: var(--paper-2); font-size: 14px; }
.tips li { margin-bottom: 6px; }

/* final */
.final { padding: 96px 24px 110px; text-align: center; background: linear-gradient(180deg, var(--ink) 0%, #1d3f86 55%, #4a7bd6 100%); border-top: 2px dashed var(--ink-3); overflow: hidden; }
.final-truck { width: 220px; margin: 0 auto 34px; image-rendering: pixelated; animation: drive-off 7s linear infinite; }
@keyframes drive-off { 0% { transform: translateX(-60vw); } 100% { transform: translateX(60vw); } }
.final-line { font: clamp(13px, 2vw, 18px)/1.8 var(--pixel); max-width: 760px; margin: 0 auto; text-shadow: 3px 3px 0 var(--ink); }
.final .ctas { justify-content: center; }

/* footer */
.foot { background: #0d0912; padding: 40px 0; font-size: 13px; color: var(--muted); }
.foot p { margin: 0 0 10px; max-width: 860px; }
.foot b { color: var(--paper); }
.secret { opacity: .55; }

/* toast */
.toast {
  visibility: hidden;
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translate(-50%, 160%);
  background: var(--ink); color: var(--paper); border: 3px solid var(--yellow);
  padding: 14px 18px; font: 11px/1.7 var(--pixel); max-width: min(92vw, 520px); text-align: center;
  box-shadow: 6px 6px 0 #000; transition: transform .25s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.hat-rain { position: fixed; top: -60px; z-index: 150; width: 56px; image-rendering: pixelated; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(115vh) rotate(540deg); } }

/* -------------------------------------------------------- responsive -- */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .fighters { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav { padding: 10px 16px; }
  .nav nav a:not(.nav-cta) { display: none; }
  .wrap { padding: 0 16px; }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 64px 0; }
  .hero { min-height: 940px; }
  .hero-copy { padding-top: 36px; }
  .lede { font-size: 15px; }
  .sun { width: 80vw; bottom: 21%; }
  .truck-wrap { width: 200px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fighters, .feature-grid, .native ul { grid-template-columns: 1fr; }
  .feature-grid .shot, .tilt { transform: none !important; }
  .tv { padding: 10px 10px 0; border-radius: 12px; }
  .gas-row { grid-template-columns: 90px 1fr; }
  .gas-row .px { grid-column: 2; font-size: 13px; }
  .route::before { left: 54px; }
  .stop { grid-template-columns: 40px 30px 1fr; gap: 0 10px; }
  .topten { font-size: 13px; }
  .topten td:last-child, .topten th:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .prop { display: none; }
  .final-truck { transform: none; }
}
