/* FANTASY TERMINAL waitlist page. Tokens from the FANTASY TERMINAL design system. */

@font-face {
  font-family: "Kanit";
  src: url("/fonts/kanit-900-italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Dark is the default theme. */
:root {
  --canvas: #171717;
  --surface: #212121;
  --surface-muted: #2b2b2b;
  --ink: #fafafa;
  --ink-2: #cdcdcd;
  --ink-muted: #acacac;
  --border: #81818133;
  --control-edge: #818181;
  --green: #2fd16b;
  --red: #ff5c5c;
  --blue: #4c8dff;
  --on-blue: #171717;
  --on-green: #171717;
  --yellow-text: #facc15;
  --neutral-4: #3b3b3b;
  --neutral-5: #555555;
  --blue-tint: rgba(76, 141, 255, 0.16);
  --edge: inset 0 0 0 0.89px var(--border);
  --term-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);

  --display: "Kanit", "Barlow Semi Condensed", sans-serif;
  --ui: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

/* Light: pure black on pure white, deeper colour values. Follows the device unless
   the visitor picks a mode with the top-bar button (theme.js sets data-theme). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --canvas: #ffffff;
    --surface: #fafafa;
    --surface-muted: #f2f2f2;
    --ink: #000000;
    --ink-2: #505050;
    --ink-muted: #6e6e6e;
    --border: #94949433;
    --control-edge: #949494;
    --green: #0f7a37;
    --red: #c81e1e;
    --blue: #1f5fe0;
    --on-blue: #ffffff;
    --on-green: #ffffff;
    --yellow-text: #a16207;
    --neutral-4: #e2e2e2;
    --neutral-5: #c5c5c5;
    --blue-tint: rgba(31, 95, 224, 0.10);
    --edge: 0 0 0 0.89px var(--border);
    --term-shadow: 0 30px 90px rgba(0, 0, 0, 0.14);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --canvas: #ffffff;
  --surface: #fafafa;
  --surface-muted: #f2f2f2;
  --ink: #000000;
  --ink-2: #505050;
  --ink-muted: #6e6e6e;
  --border: #94949433;
  --control-edge: #949494;
  --green: #0f7a37;
  --red: #c81e1e;
  --blue: #1f5fe0;
  --on-blue: #ffffff;
  --on-green: #ffffff;
  --yellow-text: #a16207;
  --neutral-4: #e2e2e2;
  --neutral-5: #c5c5c5;
  --blue-tint: rgba(31, 95, 224, 0.10);
  --edge: 0 0 0 0.89px var(--border);
  --term-shadow: 0 30px 90px rgba(0, 0, 0, 0.14);
  color-scheme: light;
}

/* Show the right logo and icon for the current mode */
:root .only-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .only-dark { display: none; }
  :root:not([data-theme="dark"]) .only-light { display: block; }
}
:root[data-theme="light"] .only-dark { display: none; }
:root[data-theme="light"] .only-light { display: block; }

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .row button {
    --cta-glow: rgba(31, 95, 224, 0.4);
    --ring-1: #8db8ff; --ring-2: #6fa4ff; --ring-3: #bcd6ff; --ring-4: #ffffff;
  }
}
:root[data-theme="light"] .row button {
  --cta-glow: rgba(31, 95, 224, 0.4);
  --ring-1: #8db8ff; --ring-2: #6fa4ff; --ring-3: #bcd6ff; --ring-4: #ffffff;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 31px;
  padding-left: max(31px, env(safe-area-inset-left));
  padding-right: max(31px, env(safe-area-inset-right));
}

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

/* Top bar */
.topbar {
  flex: none;
  height: 56px;
  padding-top: 12px;
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.lockup { display: inline-flex; border-radius: 4px; }
.theme-toggle {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lockup img { display: block; height: 22px; width: auto; }

/* Main */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 72px 0 80px;
}

.hero {
  margin: 0 0 23px;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(40px, 10.2vw, 104px);
  line-height: 0.94;
  /* Kanit's italic overhangs its box on the right */
  padding-right: 0.08em;
}

/* A little air between the last letter and its period; nothing else moves */
.hero .stop { margin-left: 0.08em; }

.lede {
  max-width: 560px;
  margin: 0 0 42px;
  font-size: 18px;
  line-height: 26px;
  color: var(--ink-2);
}

/* Signup */
.signup { max-width: 560px; }

.label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.row { display: flex; gap: 8px; }

input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: 500 16px/24px var(--ui); /* 16px keeps iOS from zooming */
  box-shadow: inset 0 0 0 1px var(--control-edge);
  -webkit-appearance: none;
  appearance: none;
}
input[type="email"]::placeholder { color: var(--ink-muted); opacity: 1; }
input[type="email"][aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--red); }

/* The CTA: a lit blue gradient, a soft glow, a tracing outline and a shine on hover.
   White text in both themes. */
.row button {
  --cta-glow: rgba(37, 99, 235, 0.55);
  /* outline colours: deep navy ring with a brighter blue streak (dark mode) */
  --ring-1: #0c1f5c;
  --ring-2: #102a7a;
  --ring-3: #1d4ed8;
  --ring-4: #3b82f6;
  position: relative;
  isolation: isolate;
  flex: none;
  height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #6aa3ff 0%, #3c7bf7 48%, #1f5fe0 100%);
  color: #ffffff;
  font: 600 16px/24px var(--ui);
  letter-spacing: 0.005em;
  text-shadow: 0 1px 1px rgba(8, 30, 90, 0.35);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 8px 22px -6px var(--cta-glow);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
/* shine that sweeps across on hover (moves its background, so nothing needs clipping) */
.row button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: 100% 0;
}
/* tracing outline. It straddles the button's edge (1px outside, 1px inside) so the
   fill can't bleed past it and nothing light shows along either side of the ring. */
@property --trace {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.row button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 2px;
  border-radius: 11px;
  pointer-events: none;
  background: conic-gradient(from var(--trace),
    var(--ring-1) 0deg,
    var(--ring-2) 200deg,
    var(--ring-3) 268deg,
    var(--ring-4) 318deg,
    var(--ring-3) 342deg,
    var(--ring-1) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@media (prefers-reduced-motion: no-preference) {
  .row button::before { animation: trace 3.2s linear infinite; }
}
@keyframes trace { to { --trace: 360deg; } }
.row button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06) saturate(1.05);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.25),
    0 12px 30px -6px var(--cta-glow);
}
.row button:active {
  transform: translateY(1px);
  filter: brightness(0.97);
  box-shadow:
    inset 0 2px 4px rgba(8, 30, 90, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.2);
}
@media (prefers-reduced-motion: no-preference) {
  .row button:hover::after { background-position: 0 0; transition: background-position 700ms ease; }
}
.row button:disabled { opacity: 0.7; cursor: progress; filter: none; transform: none; }

.status {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.status:empty { margin: 0; }
.status.error { color: var(--red); }

.note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}

/* Honeypot: off-screen for people, still filled in by bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.done {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 11px;
  row-gap: 2px;
  padding: 15px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--edge);
}
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.check { grid-row: span 2; margin-top: 2px; color: var(--green); }
.done-title { margin: 0; font-weight: 600; color: var(--green); }
.done-sub { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.done-sub strong { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* Launch stats */
.stats {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
  max-width: 560px;
  margin: 42px 0 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--edge);
}
.stat { min-width: 0; padding: 11px 15px 13px; }
.stat + .stat { box-shadow: inset 1px 0 0 var(--border); }
.stat-launch { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 11px; }
.stat-launch > :not(.sb) { grid-column: 1; }
.stat-launch .sb { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.stat-launch .num { font-variant-numeric: proportional-nums; }
.sb img { display: block; height: 52px; width: auto; }
.stats dt {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.stats dd { margin: 0; }
.num {
  margin-top: 4px !important;
  display: flex;
  align-items: center;
  height: 31px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.sub {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--green);
  color: var(--on-green);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.platforms { margin: 31px 0 0; }
.platforms .label { margin-bottom: 11px; }
.plat-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 23px; }
/* Full colour. In dark mode the near-black wordmarks are swapped for white ones. */
.plat {
  display: block;
  height: var(--h);
  width: auto;
  aspect-ratio: var(--ar);
}
.p-sleeper  { --ar: 4.646; --h: 22px; }
.p-underdog { --ar: 4.458; --h: 24px; }
.p-espn     { --ar: 1.052; --h: 31px; }
.p-yahoo    { --ar: 2.479; --h: 28px; }
.plat-more { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* ── Frosted terminal behind the hero ─────────────────────────────────────── */

/* The backdrop covers the whole page, behind the top bar and footer too */
body { position: relative; isolation: isolate; }
.topbar, main, .foot { position: relative; z-index: 1; }

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* The tilt sits on its own layer so the blurred terminal is drawn once */
.term {
  position: absolute;
  top: 112px;
  /* starts just inside the text column's right edge (column: 31px gutter + 560px) */
  left: calc(max(0px, (100% - 1120px) / 2) + 431px);
  width: 1180px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: inset 0 0 0 1px var(--border), var(--term-shadow);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transform-origin: 0 0;
  transform: perspective(1600px) rotateY(-28deg) rotateX(10deg) rotateZ(-1.5deg);
  filter: blur(2px);
}

.frost {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, var(--canvas) 96%),
    /* heavy frost under the text column, thinning out to the right of it */
    linear-gradient(90deg,
      color-mix(in srgb, var(--canvas) 95%, transparent) 0%,
      color-mix(in srgb, var(--canvas) 92%, transparent) calc(max(0px, (100% - 1120px) / 2) + 611px),
      color-mix(in srgb, var(--canvas) 45%, transparent) calc(max(0px, (100% - 1120px) / 2) + 811px),
      color-mix(in srgb, var(--canvas) 15%, transparent) 100%);
}
/* Grain, so the frost reads as glass rather than fog */
.frost::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.term .good { color: var(--green); }
.term .bad { color: var(--red); }
.term .mid { color: var(--yellow-text); }
.term em { font-style: normal; color: var(--ink-muted); }

.t-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 0 15px;
  box-shadow: inset 0 -1px 0 var(--border);
}
.t-logo { display: block; height: 22px; width: auto; }
.t-nav { display: flex; gap: 15px; align-self: stretch; }
.t-nav span { display: flex; align-items: center; color: var(--ink-muted); }
.t-nav .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue); }
.t-search {
  flex: 0 1 300px;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--edge);
  color: var(--ink-muted);
}
.t-search span { flex: 1; white-space: nowrap; }
.t-search kbd { font: 600 12px/16px var(--ui); padding: 0 5px; border-radius: 5px; box-shadow: var(--edge); }
.t-right { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.t-livepill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 16px;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--green);
  color: var(--on-green);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.t-livepill i { width: 5px; height: 5px; border-radius: 9999px; background: var(--on-green); }
.t-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--surface-muted);
}

.t-body { padding: 23px; display: flex; flex-direction: column; gap: 15px; }
.t-title { display: flex; align-items: baseline; gap: 15px; }
.t-title b {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.t-title span { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.t-title.sm { padding: 11px 15px 0; gap: 11px; }
.t-title.sm b { font-size: 16px; line-height: 24px; }

.t-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.t-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--edge);
}
.t-k { font-size: 12px; line-height: 16px; font-weight: 600; text-transform: uppercase; color: var(--ink-muted); }
.t-v { font-size: 24px; line-height: 31px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.t-note { font-size: 12px; line-height: 16px; color: var(--ink-muted); }

.t-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 15px; align-items: start; }
.t-side { display: flex; flex-direction: column; gap: 15px; }
.t-panel { overflow: hidden; border-radius: 14px; background: var(--surface); box-shadow: var(--edge); }

.t-filters { display: flex; align-items: center; gap: 8px; padding: 11px 15px; }
.t-seg { display: flex; gap: 4px; padding: 2px; border-radius: 10px; background: var(--canvas); box-shadow: var(--edge); }
.t-seg > span {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 11px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink-muted);
}
.t-seg > .on { background: var(--surface-muted); color: var(--ink); }
.t-chip, .t-link {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 10px;
  font-weight: 600;
}
.t-chip { background: var(--blue-tint); }
.t-link { color: var(--blue); box-shadow: var(--edge); }

.t-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.t-table th {
  padding: 8px 11px 4px;
  text-align: left;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.t-table td {
  height: 28px;
  padding: 0 11px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 var(--border);
}
.t-table th:first-child, .t-table td:first-child { padding-left: 15px; }
.t-table th:last-child, .t-table td:last-child { padding-right: 15px; }
.t-table .r { text-align: right; }
.t-table .b { font-weight: 600; }
.t-table th.sorted { color: var(--ink); }
.t-table th.sorted svg { vertical-align: -1px; }
.t-leagues tr.sel td { background: var(--blue-tint); }
.t-leagues tr.sel td:first-child { box-shadow: inset 0 1px 0 var(--border), inset 2px 0 0 var(--blue); }

.t-meta { margin-left: 8px; font-size: 12px; color: var(--ink-muted); }
.t-own { display: inline-flex; align-items: center; gap: 8px; }
.t-n { width: 20px; text-align: right; }
.t-meter { display: block; }
.t-meter .track { fill: var(--surface-muted); }
.t-meter .fill { fill: var(--blue); }
.t-pct { width: 30px; font-size: 12px; color: var(--ink-muted); }
.t-spark { display: block; }
.t-spark rect { fill: var(--ink-muted); }
.t-spark rect.bye { fill: var(--neutral-5); }

.t-match { display: flex; flex-direction: column; gap: 11px; padding: 15px; }
.t-matchhead { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.t-matchname { font-weight: 600; }
.t-score {
  height: 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  box-shadow: inset 0 -1px 0 var(--border);
}
.t-score b { font-size: 24px; line-height: 31px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.t-score.opp { padding-top: 4px; box-shadow: none; color: var(--ink-muted); }

/* Live: the pill breathes and the cursor walks the leagues table (app.js) */
@media (prefers-reduced-motion: no-preference) {
  .t-livepill i { animation: live 1.6s ease-in-out infinite; }
}
@keyframes live { 50% { opacity: 0.25; } }

.back { color: var(--blue); font-weight: 600; text-decoration: none; border-radius: 2px; }
.back:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.foot {
  flex: none;
  padding: 15px 0;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}
.foot .wrap { display: flex; justify-content: space-between; gap: 15px; }
.credit { display: inline-flex; align-items: center; gap: 5px; }
.x-link {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 2px 7px 2px 6px;
  line-height: 14px;
  border-radius: 9999px;
  background: var(--surface-muted);
  box-shadow: var(--edge);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease;
}
.x-link:hover { background: var(--neutral-4); }
.x-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.x-logo { display: block; width: 9px; height: 9px; fill: currentColor; }

/* Phone */
@media (max-width: 600px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  main { align-items: flex-start; padding: 48px 0 56px; }
  /* Widest line is about 7.1em: fill the screen width, up to 50px */
  .hero { font-size: min(50px, calc((100vw - 40px) / 7.4)); }
  /* The terminal peeks out above the headline, frosted heavier under the text */
  .term {
    left: 8%;
    top: 46px;
    transform: perspective(1400px) rotateY(-24deg) rotateX(12deg) rotateZ(-2deg) scale(0.5);
    filter: blur(1.6px);
  }
  .frost {
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--canvas) 45%, transparent) 0%,
      color-mix(in srgb, var(--canvas) 78%, transparent) 26%,
      color-mix(in srgb, var(--canvas) 90%, transparent) 50%,
      var(--canvas) 72%);
  }
  .lede { font-size: 17px; line-height: 24px; margin-bottom: 31px; }
  .row { flex-direction: column; }
  input[type="email"] { flex: none; width: 100%; }
  .row button { width: 100%; }
  .stats { margin-top: 31px; }
  .stat { padding: 11px 11px 13px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-launch { grid-column: 1 / -1; box-shadow: inset 0 -1px 0 var(--border); padding-right: 15px; }
  .stat-launch + .stat { box-shadow: none; }
  .sb img { height: 46px; }
  .plat-row { gap: 12px 18px; }
  .plat { height: calc(var(--h) * 0.88); }
  .num { font-size: 20px; }
}
