:root {
  --bg: #0c0e13;
  --bg-2: #10131a;
  --bg-3: #171b24;
  --ink: #07080b;
  --line: rgba(244, 239, 232, 0.09);
  --line-strong: rgba(244, 239, 232, 0.16);
  --text: #f6f1e8;
  --muted: #b9b3aa;
  --faint: #8f897f;
  --accent: #ff7a1a;
  --accent-2: #ff9a4d;
  --accent-deep: #c85810;
  --on-accent: #0c0c0c;
  --chip: #f4efe8;
  --chip-ink: #14120f;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --header: 64px;
  --max: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(255, 122, 26, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(200, 88, 16, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection { background: rgba(255, 122, 26, 0.32); color: white; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Tickertape */
.ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  padding: 0 18px;
  background: #090b10;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  overflow: auto;
  white-space: nowrap;
}
.ticker a { text-decoration: none; }
.ticker a:hover { color: var(--text); }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7);
  animation: pulse 2.2s var(--ease) infinite;
}
.dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(244, 239, 232, 0.28); display: inline-block; }
.ticker .grow { margin-left: auto; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(12, 14, 19, 0.86);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(var(--max), calc(100% - 32px));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 16px;
}
.brand img { width: 32px; height: 32px; }
.brand small {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 1px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover,
.nav a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: transparent;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #ff8b38; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.05); }
.btn-tiny { height: 32px; padding: 0 12px; font-size: 12.5px; }
.header-actions .menu-btn { display: none; }
.icon { width: 15px; height: 15px; display: block; }

/* Hero */
.hero { padding: 64px 0 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: 999px;
  color: #ffc59a;
  background: rgba(255, 122, 26, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 560;
}
.lede {
  margin: 22px 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fine {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 13px;
}
.fine a { color: #ffc59a; }

.stage {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 0;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 10% -8% -8% 8%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 122, 26, 0.18), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.device {
  background: linear-gradient(180deg, #141820, #0a0c10 28%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.phone {
  position: relative;
  width: min(100%, 300px);
  height: auto;
  justify-self: start;
  border-radius: 36px;
  padding: 12px;
  z-index: 1;
}
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 18px;
  border-radius: 999px;
  background: #050608;
}
.screen, .desk-screen { height: auto; border-radius: 26px; background: #07080c; padding: 26px 16px 14px; overflow: hidden; }
.desk-screen { border-radius: 12px; padding: 0; display: flex; flex-direction: column; }
.device-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.device h2 {
  margin: 14px 0 4px;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 560;
}
.device .sub { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.signal-list { list-style: none; margin: 0; padding: 0; }
.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.signal-list span { color: var(--faint); }
.signal-list b { font-weight: 650; letter-spacing: -0.02em; }
.tag {
  color: var(--accent-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.desktop {
  position: relative;
  width: 100%;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
}
.chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  background: #12151c;
  border-bottom: 1px solid var(--line);
}
.lights { display: flex; gap: 6px; }
.lights i { width: 8px; height: 8px; border-radius: 50%; background: #2a303c; display: block; }
.lights i:first-child { background: #c85810; }
.omnibox {
  flex: 1;
  height: 26px;
  border-radius: 999px;
  background: #0b0d12;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}
.lock { color: var(--accent-2); }
.desk-body { padding: 16px 16px 14px; }
.desk-body h3 {
  margin: 8px 0 4px;
  font-size: 22px;
  letter-spacing: -0.04em;
  font-weight: 560;
}
.desk-body p { margin: 0; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 5px 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.proto {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.proto div {
  background: #10131a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 6px;
  min-height: 58px;
}
.proto strong { display: block; font-size: 11px; letter-spacing: -0.02em; }
.proto span { display: block; margin-top: 3px; color: var(--faint); font-size: 10px; line-height: 1.3; }
.diagram-note {
  margin-top: 8px;
  text-align: right;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8, 9, 12, 0.55);
  margin: 28px 0 10px;
}
.stats div { padding: 18px 18px 16px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats span {
  display: block;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stats strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.04em;
}

/* Subnav */
.subnav {
  position: sticky;
  top: var(--header);
  z-index: 30;
  background: rgba(12, 14, 19, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap {
  display: flex;
  gap: 4px;
  overflow: auto;
  padding: 8px 0;
}
.subnav a {
  text-decoration: none;
  color: var(--faint);
  font-size: 13px;
  font-weight: 650;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.subnav a:hover { color: var(--text); }
.subnav a[aria-current="true"] { background: var(--chip); color: var(--chip-ink); }

section { scroll-margin-top: 128px; }
.block { padding: 72px 0; }
.block-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 80px), #0a0c11;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: end;
}
.index {
  font-family: var(--mono);
  color: var(--accent-2);
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.042em;
  font-weight: 550;
}
.section-head p, .prose p { color: var(--muted); }
.section-head p { margin: 12px 0 0; max-width: 46rem; font-size: 17px; }

/* Ledger tools */
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.pills {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: #10131a;
  border: 1px solid var(--line);
}
.pills button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  height: 32px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}
.pills button[aria-selected="true"] { background: var(--chip); color: var(--chip-ink); }
.finder {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 9, 12, 0.7);
  color: var(--faint);
}
.finder input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  min-width: 0;
  color: var(--text);
}
.finder input::placeholder { color: var(--faint); }

.table-frame {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: auto;
  background: #090b10;
}
table { width: 100%; border-collapse: collapse; min-width: 820px; }
caption {
  caption-side: bottom;
  text-align: left;
  padding: 12px 16px 14px;
  color: var(--faint);
  font-size: 12.5px;
}
thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #0e1117;
  position: sticky;
  top: 0;
}
td, tbody th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
  text-align: left;
}
tbody th {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  background: transparent;
  position: static;
  width: 18%;
}
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover > * { background: rgba(255, 122, 26, 0.045); }
td:nth-child(2), td:nth-child(3) { color: var(--muted); width: 34%; }
.state {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.state-on { color: #ffc59a; border-color: rgba(255, 122, 26, 0.45); background: rgba(255, 122, 26, 0.08); }
.empty-row td { text-align: center; color: var(--faint); font-weight: 500; }

/* Chapters */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.sticky-col { position: sticky; top: 132px; }
.quote {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--text);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}
.quote cite { display: block; margin-top: 8px; color: var(--faint); font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

.cards { display: grid; gap: 10px; }
.card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(16, 19, 26, 0.72);
}
.card h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .n {
  font-family: var(--mono);
  color: var(--accent-2);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.record {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 148px 1fr;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #090b10;
}
.record div { display: contents; }
.record dt, .record dd {
  margin: 0;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.record div:last-child dt,
.record div:last-child dd { border-bottom: 0; }
.record dt {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #0e1117;
}
.record dd { color: var(--text); }
.record a { color: #ffc59a; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.step {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #10131a;
  min-height: 148px;
}
.step em {
  font-style: normal;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.step h3 { margin: 10px 0 6px; font-size: 18px; letter-spacing: -0.03em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.proto-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.proto-row article {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #10131a;
}
.proto-row h3 { margin: 0 0 6px; font-size: 14px; }
.proto-row p { margin: 0; color: var(--muted); font-size: 13px; }

.session {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.session article {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 122, 26, 0.06), transparent 90px),
    #10131a;
}
.session h3 { margin: 8px 0 8px; font-size: 28px; letter-spacing: -0.04em; font-weight: 550; }
.session ol { margin: 0; padding-left: 18px; color: var(--muted); }
.session li { margin: 8px 0; }
.session li strong { color: var(--text); font-weight: 650; }

.limits { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.limits article {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 16, 0.8);
}
.limits h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.02em; }
.limits p { margin: 0; color: var(--muted); font-size: 14.5px; }

.faq { display: grid; gap: 8px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #10131a;
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); max-width: 68ch; }

.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.install-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #10131a;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 280px;
}
.install-card.featured {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 122, 26, 0.2), transparent 60%),
    #14110e;
  border-color: rgba(255, 122, 26, 0.35);
}
.install-card h3 { margin: 6px 0 0; font-size: 32px; letter-spacing: -0.04em; font-weight: 550; }
.install-card p { margin: 0; color: var(--muted); }
.install-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.file {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
  word-break: break-all;
}

footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 28px;
  background: #090b10;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.foot-brand { display: flex; gap: 10px; align-items: center; font-weight: 700; letter-spacing: -0.03em; }
.foot-brand img { width: 36px; height: 36px; }
footer h2 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; font-family: var(--mono); }
footer ul { list-style: none; margin: 12px 0 0; padding: 0; }
footer li { margin: 8px 0; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--text); }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 12.5px;
}
.legal button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
}

.sheet {
  display: none;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .header-actions .menu-btn { display: inline-flex; }
  .hero { padding-top: 36px; }
  .hero-grid, .stage, .split, .session, .limits, .install-grid, .steps, .proto-row, .foot-grid, .section-head {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(odd) { border-right: 1px solid var(--line); }
  .stats div:nth-child(1),
  .stats div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .phone { width: min(100%, 380px); }
  .proto { grid-template-columns: repeat(3, 1fr); }
  .sticky-col { position: static; }
  .sheet[data-open="true"] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    inset: calc(var(--header) + 36px) 0 0 0;
    z-index: 35;
    background: rgba(9, 11, 16, 0.98);
    padding: 18px;
  }
  .ticker { position: sticky; top: 0; z-index: 41; }
  .header { top: 36px; }
  .subnav { top: calc(var(--header) + 36px); }
  .sheet a {
    text-decoration: none;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 720px) {
  .hide-sm { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: 46px; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stats div:last-child { border-bottom: 0; }
  .record { grid-template-columns: 1fr; }
  .record dt { border-bottom: 0; padding-bottom: 0; }
  .finder { min-width: 100%; }
  .proto { grid-template-columns: 1fr 1fr; }
}

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