/* OpenKumite Engine: openkumiteengine.dev. Plain CSS3, no build step. Palette from the project's icon. */

:root {
  --bg: #0b0b10;
  --bg-2: #111118;
  --panel: #16161f;
  --panel-2: #1c1c27;
  --line: #2a2a38;
  --line-2: #3a3a4c;
  --text: #f5f0e6;
  --muted: #a6a3b3;
  --dim: #6f6c7e;
  --red: #e2321f;
  --orange: #ff6a3d;
  --gold: #ffd166;
  --blue: #5cc8ff;
  --radius: 14px;
  --wrap: 1180px;
  --display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { font: .88em var(--mono); background: rgba(255,255,255,.06); padding: .1em .35em; border-radius: 5px; color: #ffd9c9; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 16, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11, 11, 16, .88); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 21px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand b { color: var(--orange); font-weight: 800; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-gh { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); color: var(--text) !important; margin-left: 8px; }
.nav-gh svg { width: 17px; height: 17px; fill: currentColor; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero-grid {
  position: absolute; inset: auto -20% -10% -20%; height: 60%;
  background:
    linear-gradient(to top, transparent 0 0) ,
    repeating-linear-gradient(90deg, rgba(255,106,61,.16) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,106,61,.16) 0 1px, transparent 1px 64px);
  transform: perspective(520px) rotateX(62deg);
  transform-origin: top center;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  animation: grid-run 3s linear infinite;
  z-index: -2;
}
@keyframes grid-run { to { background-position: 0 0, 0 0, 0 64px; } }
.hero-sun {
  position: absolute; z-index: -3;
  width: 760px; height: 760px; right: -180px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,106,61,.45), rgba(226,50,31,.18) 45%, transparent 70%);
  filter: blur(10px);
}
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,61,.2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,106,61,0); } }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: .005em; line-height: .98; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 80px); font-weight: 800; }
h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold), var(--orange) 45%, var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 37em; margin: 24px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 12px;
  font-weight: 700; font-size: 16px; letter-spacing: .01em;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: linear-gradient(180deg, var(--orange), var(--red)); color: #fff; box-shadow: 0 10px 30px -10px rgba(226,50,31,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(226,50,31,.95), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--muted); transform: translateY(-2px); }
.ver { font: 600 12px var(--mono); color: var(--gold); background: rgba(255,209,102,.1); padding: 3px 7px; border-radius: 6px; }
.fine { color: var(--dim); font-size: 13.5px; margin-top: 18px; }

/* The illustrated HUD */
.hud {
  margin: 0; position: relative;
  border: 1px solid var(--line-2); border-radius: 20px;
  background: linear-gradient(180deg, #17171f, #0e0e14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  padding: 18px; overflow: hidden;
}
.hud::after { /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
}
.hud-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.bar { position: relative; height: 18px; border-radius: 4px; background: #2a1414; overflow: hidden; border: 1px solid #3b2a2a; }
.bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), #ffb347); transform-origin: right; transform: scaleX(var(--hp)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.bar.p2 i { transform-origin: left; }
.bar span { position: absolute; top: 22px; font: 700 11px var(--mono); color: var(--muted); }
.bar.p1 span { left: 0; } .bar.p2 span { right: 0; }
.bar { overflow: visible; }
.bar i { border-radius: 3px; }
.timer { font: 800 30px/1 var(--display); color: var(--text); min-width: 46px; text-align: center; }
.hud-stage { position: relative; height: 230px; margin-top: 26px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,106,61,.22), transparent 60%), linear-gradient(180deg, #1a1220, #0d0d13); }
.floor { position: absolute; left: -30%; right: -30%; bottom: -40%; height: 85%;
  background: repeating-linear-gradient(90deg, rgba(92,200,255,.18) 0 1px, transparent 1px 34px), repeating-linear-gradient(0deg, rgba(92,200,255,.18) 0 1px, transparent 1px 34px);
  transform: perspective(300px) rotateX(64deg); transform-origin: top; }
.fighter { position: absolute; bottom: 34px; width: 54px; height: 128px; }
.fighter span, .fighter::before, .fighter::after { position: absolute; content: ""; }
/* abstract figures: a head, a body and a limb, built from shapes */
.fighter::before { width: 26px; height: 26px; border-radius: 50%; top: 0; left: 14px; background: currentColor; }
.fighter span { width: 30px; height: 64px; top: 30px; left: 12px; border-radius: 10px 10px 6px 6px; background: currentColor; }
.fighter::after { width: 12px; height: 46px; bottom: -8px; left: 14px; border-radius: 6px; background: currentColor; box-shadow: 16px 0 0 currentColor; }
.f1 { left: 24%; color: #f5f0e6; animation: f1 1.6s cubic-bezier(.5,0,.3,1) infinite; }
.f2 { right: 24%; color: #ff6a3d; animation: f2 1.6s cubic-bezier(.5,0,.3,1) infinite; }
.f1 span { box-shadow: 34px 8px 0 -4px currentColor; } /* the punching arm */
@keyframes f1 { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(18px); } 55% { transform: translateX(10px); } }
@keyframes f2 { 0%, 38% { transform: translateX(0) rotate(0); } 50% { transform: translateX(14px) rotate(6deg); } 100% { transform: translateX(0) rotate(0); } }
.spark { position: absolute; left: 50%; top: 92px; width: 46px; height: 46px; margin-left: -10px; opacity: 0;
  background: conic-gradient(from 0deg, var(--gold) 0 10%, transparent 10% 25%, var(--gold) 25% 35%, transparent 35% 50%, var(--gold) 50% 60%, transparent 60% 75%, var(--gold) 75% 85%, transparent 85%);
  border-radius: 50%; filter: drop-shadow(0 0 12px var(--orange)); animation: spark 1.6s infinite; }
@keyframes spark { 0%, 38% { opacity: 0; transform: scale(.2) rotate(0); } 44% { opacity: 1; transform: scale(1.1) rotate(25deg); } 60%, 100% { opacity: 0; transform: scale(1.5) rotate(45deg); } }
.hud-frames { margin-top: 16px; }
.frames-label, .frames-legend { display: flex; justify-content: space-between; font: 600 11px var(--mono); color: var(--dim); letter-spacing: .06em; }
.frames-label b { color: var(--gold); font-weight: 600; }
.frames { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin: 8px 0; }
.frames i { height: 18px; border-radius: 2px; background: #262633; transition: background .15s; }
.frames i.k-confirmed, .frames-legend .k-confirmed { background: var(--blue); }
.frames i.k-predicted, .frames-legend .k-predicted { background: #3b6e8a; }
.frames i.k-rollback, .frames-legend .k-rollback { background: var(--orange); }
.frames-legend { justify-content: flex-start; gap: 16px; }
.frames-legend span { display: inline-flex; align-items: center; gap: 6px; }
.frames-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats-in div { padding: 28px 16px; border-left: 1px solid var(--line); }
.stats-in div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 800 clamp(28px, 3.2vw, 40px)/1 var(--display); text-transform: uppercase; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 600 13px var(--mono); color: var(--orange); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.sec-head > p:not(.kicker) { color: var(--muted); font-size: 18px; margin: 20px 0 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
  overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--red), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::before { transform: scaleX(1); }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,106,61,.1); border: 1px solid rgba(255,106,61,.25); margin-bottom: 20px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }

.modes { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.modes-label { font: 600 13px var(--mono); color: var(--dim); letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.modes ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.modes li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--text); }
.modes li.own { border-color: rgba(255,209,102,.45); color: var(--gold); background: rgba(255,209,102,.06); }
.modes-note { margin: 0; color: var(--dim); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.modes-note i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps li { padding: 32px 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -18px; width: 18px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--orange)); }
.num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font: 800 22px var(--display); color: #fff; background: linear-gradient(180deg, var(--orange), var(--red)); box-shadow: 0 8px 24px -8px rgba(226,50,31,.8); margin-bottom: 22px; }
.steps h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.formats span { font: 600 13px var(--mono); padding: 8px 14px; border-radius: 8px; background: rgba(92,200,255,.07); border: 1px solid rgba(92,200,255,.25); color: #bfe8ff; }

/* Architecture */
.arch { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.arch .sec-head { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px; background: rgba(255,106,61,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.stack { display: grid; gap: 12px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background:
  radial-gradient(80% 60% at 70% 0%, rgba(255,106,61,.10), transparent 70%), var(--bg-2); }
.stack .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.layer { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); transition: transform .2s, border-color .2s; }
.layer:hover { transform: translateY(-2px); border-color: var(--orange); }
.layer b { display: block; font: 600 15px var(--mono); color: var(--text); }
.layer span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.l-app { background: linear-gradient(90deg, rgba(226,50,31,.25), rgba(255,106,61,.10)); border-color: rgba(255,106,61,.5); }
.l-sim { border-color: rgba(255,209,102,.5); }
.l-sim b { color: var(--gold); }
.l-conv { border-style: dashed; background: transparent; }
.l-conv b { color: #bfe8ff; }

/* Download */
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plat { display: flex; flex-direction: column; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); transition: transform .2s, border-color .2s, background .2s; }
.plat:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--panel-2); }
.plat svg { width: 34px; height: 34px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 18px; }
.plat h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.plat p { color: var(--muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.go { font-weight: 700; font-size: 14px; color: var(--orange); }
.plat.featured { background: linear-gradient(160deg, rgba(255,106,61,.22), rgba(226,50,31,.06) 60%), var(--panel); border-color: rgba(255,106,61,.5); }
.plat.featured svg { stroke: var(--gold); }

.term { margin: 40px auto 0; max-width: 720px; border-radius: 14px; border: 1px solid var(--line-2); background: #08080c; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #101016; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #34343f; }
.term-bar span { margin-left: 8px; font: 12px var(--mono); color: var(--dim); }
.copy { margin-left: auto; font: 600 12px var(--mono); color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--muted); }
.term pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 14px/1.7 var(--mono); }
.term code { background: none; padding: 0; color: var(--text); font-size: 1em; }
.term .c { color: var(--dim); }
.term .p { color: var(--orange); user-select: none; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg); transition: transform .25s, margin .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.foot-brand p { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-links h4 { margin: 0 0 14px; font: 600 12px var(--mono); color: var(--dim); letter-spacing: .12em; text-transform: uppercase; }
.foot-links a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; word-break: break-word; }
.foot-links a:hover { color: var(--text); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.legal p { margin: 0 0 10px; max-width: 920px; }

/* Reveal on scroll (only with JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .stats-in { grid-template-columns: repeat(3, 1fr); }
  .stats-in div:nth-child(4) { border-left: 0; padding-left: 0; }
  .stats-in div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 920px) {
  .hero-in, .arch { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: rgba(11,11,16,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .nav-gh { margin: 8px 0 0; justify-content: center; }
  .cards, .platforms { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stats-in div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .stats-in div:nth-child(-n+2) { border-top: 0; }
  .stack .row { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .hud-stage { height: 190px; }
  .frames { grid-template-columns: repeat(20, 1fr); }
  .frames i:nth-child(n+21) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.bar.p1 i { --hp: .78; }
.bar.p2 i { --hp: .46; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf-text { color: var(--muted); margin: 20px 0 32px; }
.sums { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sums:hover { text-decoration-color: var(--orange); }
