@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Arial sized to Inter, so the swap to the web font moves nothing. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}
:root {
  --bg: #0d0f12;
  --panel: #15181d;
  --line: #242830;
  --text: #e8eaed;
  --muted: #9aa1ab;
  --accent: #3fb950;
  --accent-dim: rgba(63, 185, 80, .14);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, .group { scroll-margin-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 15, 18, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.top.scrolled { border-bottom-color: var(--line); background: rgba(13, 15, 18, .92); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--text); }
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--accent); }
nav a { color: var(--muted); font-size: 14px; font-weight: 500; margin-left: 22px; transition: color .2s; }
nav a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 88px 0 40px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-dim); color: var(--accent);
  font-size: 13px; font-weight: 600;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-in-out infinite; }
h1 {
  font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em;
  margin: 22px 0 18px; font-weight: 800;
}
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.cta { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--line); color: var(--text);
  transition: transform .2s var(--ease), filter .2s, border-color .2s;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #06130a; }
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); border-color: #3a404b; }
.btn.primary:hover { border-color: var(--accent); }

figure { margin: 0; position: relative; }
.shot {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
figure:hover .shot { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
figcaption {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 500;
}
figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #5b6370; }
figcaption.live::before { background: var(--accent); }

.hero-shot { margin-top: 56px; position: relative; }
.hero-shot .inset {
  position: absolute; right: -18px; bottom: -34px; width: 34%; height: auto;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.caption { color: var(--muted); font-size: 14px; margin-top: 14px; text-align: center; }

section.feature { padding: 110px 0 0; }
.feature .grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: center; }
.feature.flip .grid { grid-template-columns: 8fr 4fr; }
.feature.flip .text { order: 2; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 16px; }
.text p { color: var(--muted); font-size: 17px; margin: 0; }
.stack { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.arrow { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 500; margin: -2px 0; }
.arrow::before, .arrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.game { padding: 110px 0 0; }
.game h2 { text-align: center; }
.game .sub { text-align: center; color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 36px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.mosaic .side { display: grid; gap: 16px; }
.pixel { image-rendering: pixelated; }

.status { padding: 110px 0 100px; }
.wrap.card { max-width: min(1120px, calc(100% - 48px)); } /* the status card is also a .wrap: keep the page gutter outside its border */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 16px; }
.card li:last-child { border-bottom: 0; }
.card li b { color: var(--text); font-weight: 600; text-align: right; }

.notice { border-top: 1px solid var(--line); padding: 22px 0; text-align: center; color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav a { margin: 0 0 0 20px; font-size: 13px; }

.prose { padding: 72px 0 96px; max-width: 720px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; }
.prose .date { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.prose h2 { font-size: 20px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul { padding-left: 20px; }

.zoom { cursor: zoom-in; }
.zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
video.shot { aspect-ratio: auto; }

.all { padding: 120px 0 0; }
.all > .wrap > h2, .all > .wrap > .sub { text-align: center; }
.all .sub { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 auto 8px; }
.group { margin-top: 56px; }
.group h3 { font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cards figure img, .cards figure video { aspect-ratio: 16 / 10; object-fit: cover; }
.cards figcaption { display: block; margin-top: 12px; }
.cards figcaption::before { display: none; }
.cards figcaption b { display: block; color: var(--text); font-size: 15px; font-weight: 600; }
.cards figcaption span { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }

.next { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.next .label { color: var(--muted); font-size: 14px; margin-right: 6px; }
.chip { border: 1px dashed #3a404b; color: var(--text); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.chip small { color: var(--muted); font-size: 12px; margin-left: 6px; }

dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(1400px, 94vw); width: 100%; color: var(--text); }
dialog.lb::backdrop { background: rgba(5, 6, 8, .88); backdrop-filter: blur(4px); }
dialog.lb[open] { animation: lb-in .25s var(--ease); }
.lb-body { display: flex; justify-content: center; }
.lb-frame { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); line-height: 0; }
dialog.lb img, dialog.lb video { display: block; max-width: 100%; max-height: 84vh; width: auto; height: auto; }
dialog.lb img { cursor: zoom-in; transition: transform .3s var(--ease); }
dialog.lb img.zoomed { transform: scale(2.5); cursor: zoom-out; transition: transform .3s var(--ease), transform-origin .08s linear; }
dialog.lb p { text-align: center; pointer-events: none; color: var(--muted); font-size: 14px; margin: 12px 0 0; }
dialog.lb button { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(13, 15, 18, .85); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
dialog.lb button:hover { border-color: #3a404b; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .all { padding-top: 84px; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* Motion: only when scripts run, and never for people who asked for less. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0s); }
.hero-shot .inset { animation: slide-in 1s var(--ease) .75s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translate(24px, 16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, .5); } 50% { box-shadow: 0 0 0 5px rgba(63, 185, 80, 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .feature .grid, .feature.flip .grid, .card, .mosaic { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .text { order: 0; }
  .hero { padding-top: 56px; }
  .hero-shot .inset { right: 8px; bottom: -24px; width: 44%; }
  section.feature, .game { padding-top: 76px; }
  .card { padding: 28px; }
  nav a { margin-left: 14px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  nav .hide-sm { display: none; }
  .wrap.card { max-width: calc(100% - 32px); padding: 24px 20px; }
  .pair { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  footer nav a { margin: 0 20px 0 0; }
}

/* Pages: features, compare, questions */
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); margin: 0; font-size: inherit; font-weight: inherit; }
nav a[aria-current="page"] { color: var(--text); }
.page-head { padding: 72px 0 0; max-width: 780px; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 16px; }
.page-head p { color: var(--muted); font-size: 18px; margin: 0 0 12px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text); }
.toc a:hover { border-color: #3a404b; text-decoration: none; }
@media (max-width: 520px) { .toc { gap: 6px; } .toc a { padding: 4px 10px; font-size: 12px; } }
.targets { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.targets li { border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--text); }
.targets li small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.more { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.prose.wide { max-width: 980px; }
.prose h3 { font-size: 17px; margin: 28px 0 6px; color: var(--text); }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.prose.wide > p, .prose.wide > ul, .prose.wide > h2, .prose.wide > h3 { max-width: 760px; }
.prose .lead { font-size: 18px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0 8px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--panel); color: var(--text); font-weight: 600; }
.compare tbody th { color: var(--text); font-weight: 600; width: 24%; }
.compare td { color: var(--muted); width: 38%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.faq h2 { font-size: 20px; margin: 40px 0 8px; }
@media (max-width: 640px) {
  table.compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th, .compare tbody td { border: 0; padding: 2px 0; width: auto; }
  .compare tbody th { margin-bottom: 4px; }
  .compare td::before { content: attr(data-label) ": "; color: var(--text); font-weight: 600; }
}
