/* SCSKiller site. System fonts only, no external requests. Animations always run. */
:root {
  --bg: #05070a;
  --panel: rgba(10, 14, 21, 0.78);
  --panel-solid: #0b1017;
  --line: rgba(160, 190, 220, 0.12);
  --line-strong: rgba(160, 190, 220, 0.22);
  --text: #e8eef5;
  --muted: #9eabb9;
  --soft: #c3cdd8;
  --cyan: #4cc2ff;
  --cyan-hi: #8fdcff;
  --amber: #ffb454;
  --red: #ff5a4e;
  --radius: 14px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 85% 110vh, rgba(76, 194, 255, 0.07), transparent 70%),
    radial-gradient(900px 600px at 5% 190vh, rgba(255, 122, 89, 0.05), transparent 70%),
    radial-gradient(1000px 700px at 90% 300vh, rgba(76, 194, 255, 0.06), transparent 70%),
    var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--cyan-hi); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: #001018; padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.5s var(--ease), box-shadow 0.4s;
}
/* spotlight that follows the pointer (site.js sets --mx/--my) */
.panel::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(76, 194, 255, 0.10), transparent 45%);
}
.panel:hover::after { opacity: 1; }
.panel:hover { border-color: rgba(76, 194, 255, 0.28); box-shadow: 0 18px 50px -28px rgba(76, 194, 255, 0.45); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 0.78rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero-copy .eyebrow::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }

/* ---------- header: over the hero, solid once you scroll ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: rgba(5, 7, 10, 0.35);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}
.site-header.solid { background: rgba(5, 7, 10, 0.82); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
body { padding-top: 0; }
main { display: block; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 1.1rem; }
.brand:hover { color: var(--text); }
.brand svg { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 0 6px rgba(76, 194, 255, 0.7)); transition: transform 0.4s var(--ease); }
.brand:hover svg { transform: rotate(-12deg) scale(1.12); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; position: relative; transition: color 0.2s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan); transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #00131d; }
@media (max-width: 860px) { .nav a:not(.btn):not(.keep) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line-strong);
  font: 600 0.98rem/1.2 var(--sans); text-decoration: none; color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.3s;
}
.btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); border-color: rgba(160, 190, 220, 0.4); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--cyan); border-color: var(--cyan); color: #00131d; box-shadow: 0 0 0 0 rgba(76, 194, 255, 0.5), 0 8px 30px -8px rgba(76, 194, 255, 0.7); }
.btn-primary:hover { background: #7fd4ff; border-color: #7fd4ff; color: #00131d; box-shadow: 0 0 0 4px rgba(76, 194, 255, 0.18), 0 10px 40px -6px rgba(76, 194, 255, 0.9); }
.btn small { font: 600 0.68rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; padding: 4px 6px; border-radius: 5px; background: rgba(0, 19, 29, 0.14); }
/* a light sweep that crosses the primary buttons every few seconds, and on hover */
.btn-primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-shine::before { animation: shine 4.5s var(--ease) infinite 1.5s; }
.btn-primary:hover::before { animation: shine 0.8s var(--ease); }
@keyframes shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
.nav .btn { padding: 8px 14px; font-size: 0.92rem; }
.btn[aria-disabled="true"] { cursor: default; opacity: 0.8; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* ---------- hero: the scene owns the first screen ---------- */
.hero { height: 100vh; height: 100svh; min-height: 640px; padding: 0; display: flex; align-items: center; overflow: hidden; isolation: isolate; position: relative; }
.hero:not(.sub)::after {   /* the scene sinks on scroll (parallax); keep the melt into the page at the hero's edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 0; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.stage { position: absolute; inset: 0; z-index: -1; }
.stage canvas { width: 100%; height: 100%; display: block; }
.stage::after {   /* melt the bottom of the scene into the page */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}
.hero::before {   /* keeps the copy readable over the graph */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 70% at 24% 46%, rgba(5, 7, 10, 0.88) 0%, rgba(5, 7, 10, 0.6) 48%, transparent 78%);
}
.hero-copy { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 17vh; }
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 5.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; max-width: 12.5ch;
  text-shadow: 0 0 24px #05070a, 0 0 8px #05070a;
}
.hero h1 .hl {
  background: linear-gradient(92deg, #ffb454 0%, #ff7a59 22%, #4cc2ff 55%, #b8ecff 70%, #4cc2ff 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(76, 194, 255, 0.28));
  animation: hl-flow 7s ease-in-out infinite alternate;
}
@keyframes hl-flow { from { background-position: 0% 0; } to { background-position: 100% 0; } }
/* "stutter" jolts with an RGB split whenever the graph hitches */
.jolt { position: relative; display: inline-block; }
.jolt.hit { animation: jolt 0.24s steps(3) 1; }
.jolt.hit::before, .jolt.hit::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; pointer-events: none; text-shadow: none;
}
.jolt.hit::before { color: rgba(255, 90, 78, 0.85); transform: translate(-4px, 1px); mix-blend-mode: screen; clip-path: inset(0 0 55% 0); }
.jolt.hit::after { color: rgba(76, 194, 255, 0.85); transform: translate(4px, -1px); mix-blend-mode: screen; clip-path: inset(45% 0 0 0); }
@keyframes jolt { 0% { transform: translate(0, 0); } 33% { transform: translate(-3px, 2px) skewX(-6deg); } 66% { transform: translate(3px, -1px); } 100% { transform: none; } }
.hero .lede { margin: 26px 0 34px; font-size: clamp(1.08rem, 1.5vw, 1.24rem); max-width: 50ch; color: #bfcad6; text-shadow: 0 0 16px #05070a, 0 0 4px #05070a; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { padding: 14px 24px; font-size: 1.02rem; }
.chips { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font: 500 0.82rem/1 var(--mono); color: var(--muted); padding: 8px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 7, 10, 0.72);
}
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.18s; }
.hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.hero-copy > :nth-child(5) { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } }

.ms-label {   /* the dashed 20 ms line in the scene: a frame above it is a hitch */
  position: absolute; left: var(--gutter); bottom: calc(17% + 0.2 * 50%); z-index: 1;
  font: 500 11px/1 var(--mono); letter-spacing: 0.06em; color: rgba(170, 195, 220, 0.55);
  transform: translateY(50%); background: rgba(5, 7, 10, 0.8); padding: 2px 6px; border-radius: 4px;
}
@media (max-width: 760px) { .ms-label { display: none; } }

/* the in-game overlay card, right of the copy; under it on narrow screens. bg.js fills it. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); gap: clamp(24px, 5vw, 72px); align-items: start; }
.hero-grid > * { animation: none; }
.hero-text > * { animation: rise 0.9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.18s; }
.hero-text > :nth-child(4) { animation-delay: 0.28s; }
.hero-text > :nth-child(5) { animation-delay: 0.38s; }
.overlay {
  --st: var(--amber);
  margin-top: 6px; padding: 14px 16px 12px; border-radius: 10px;
  font-family: var(--mono); color: #d9e6f2;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.78), rgba(6, 10, 16, 0.6));
  border: 1px solid rgba(255, 180, 84, 0.28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 40px -12px color-mix(in srgb, var(--st) 60%, transparent), inset 0 0 30px -18px var(--st);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  transition: border-color 0.6s, box-shadow 0.6s;
  animation: ov-in 0.9s var(--ease) 0.2s both;
  position: relative; overflow: hidden;
}
.overlay::before {   /* faint CRT scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
}
@keyframes ov-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.overlay.on { --st: var(--cyan); border-color: rgba(76, 194, 255, 0.4); }
.ov-top { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ov-top b { color: var(--st); font-weight: 700; text-shadow: 0 0 10px var(--st); transition: color 0.4s; }
.ov-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--st); box-shadow: 0 0 10px var(--st); animation: blink 1s steps(2, jump-none) infinite; }
.overlay.on .ov-dot { animation: none; }
.ov-api { margin-left: auto; color: rgba(190, 210, 230, 0.55); padding: 2px 6px; border: 1px solid rgba(190, 210, 230, 0.2); border-radius: 4px; }
.ov-fps { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 8px; }
.ov-fps span {
  font: 800 clamp(2.8rem, 4.6vw, 3.6rem)/0.95 var(--mono); letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  color: #a6ff7a; text-shadow: 0 0 18px rgba(140, 255, 110, 0.55); transition: color 0.15s, text-shadow 0.15s;
}
.ov-fps small { font-size: 0.82rem; font-weight: 700; color: rgba(190, 210, 230, 0.7); letter-spacing: 0.1em; }
.overlay[data-grade="warn"] .ov-fps span { color: var(--amber); text-shadow: 0 0 18px rgba(255, 180, 84, 0.6); }
.overlay[data-grade="bad"] .ov-fps span { color: var(--red); text-shadow: 0 0 22px rgba(255, 90, 78, 0.8); }
.ov-rows { margin: 0; display: grid; gap: 3px; font-size: 0.8rem; }
.ov-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-top: 1px solid rgba(190, 210, 230, 0.07); }
.ov-rows dt { color: rgba(190, 210, 230, 0.62); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; align-self: center; }
.ov-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.overlay[data-low="bad"] .ov-low dd { color: var(--red); }
.overlay[data-low="warn"] .ov-low dd { color: var(--amber); }
.overlay[data-low="good"] .ov-low dd { color: #a6ff7a; }
.ov-hitch dd { color: var(--amber); }
.overlay.on .ov-hitch dd { color: var(--cyan); }
.ov-cache dd { color: var(--st); text-transform: uppercase; letter-spacing: 0.1em; }
.ov-graph { display: block; width: 100%; height: 54px; margin: 10px 0 6px; border-radius: 4px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(190, 210, 230, 0.08); }
.ov-note { margin: 4px 0 0; font-size: 0.66rem; letter-spacing: 0.04em; color: rgba(190, 210, 230, 0.45); }
/* narrower: the card goes under the copy, so the headline stays at the top */
@media (max-width: 899px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 12vh; }
  .overlay { max-width: 360px; margin-top: 0; }
}
@media (max-width: 560px) {
  .overlay { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "top top" "fps rows" "graph graph" "note note"; column-gap: 16px; padding: 12px 14px 10px; max-width: none; }
  .ov-top { grid-area: top; } .ov-fps { grid-area: fps; flex-direction: column; gap: 2px; margin: 8px 0 0; }
  .ov-rows { grid-area: rows; margin-top: 8px; } .ov-graph { grid-area: graph; height: 40px; } .ov-note { grid-area: note; }
  .ov-rows > div:nth-child(3), .ov-rows > .ov-cache { display: none; }
  .ov-fps span { font-size: 2.6rem; }
}

.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(160, 190, 220, 0.35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@media (max-width: 1080px) { .scroll-cue { display: none; } }

/* ---------- below the hero: built around the app itself ---------- */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { max-width: 15ch; }
.sec-head .lead:last-child { margin-bottom: 0; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 600 0.74rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--amber), var(--cyan)); box-shadow: 0 0 10px rgba(76, 194, 255, 0.6); }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--soft); max-width: 52ch; margin: 0 0 0.9em; }
.lead.strong { color: var(--text); font-weight: 600; }
.fine { font-size: 0.88rem; color: var(--muted); margin: 22px 0 0; }
.fine.center { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* shared chart language: legend swatches and a plot surface */
.lg-amber, .lg-cyan, .lg-thr { display: inline-flex; align-items: center; gap: 8px; font: 500 0.8rem/1 var(--mono); color: var(--soft); }
.lg-amber::before, .lg-cyan::before { content: ""; width: 10px; height: 10px; border-radius: 2px; }
.lg-amber::before { background: var(--amber); box-shadow: 0 0 10px rgba(255, 180, 84, 0.6); }
.lg-cyan::before { background: var(--cyan); box-shadow: 0 0 10px rgba(76, 194, 255, 0.6); }
.lg-thr { color: var(--muted); }
.lg-thr::before { content: ""; width: 18px; border-top: 1px dashed rgba(255, 138, 122, 0.8); }
.ftchart, .rchart {
  margin: 0; position: relative; border-radius: 16px; padding: clamp(20px, 3vw, 36px);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(76, 194, 255, 0.07), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 180, 84, 0.05), transparent 60%),
    linear-gradient(180deg, #0b1119, #080c12);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.ftchart figcaption, .rchart figcaption { margin-top: 22px; font-size: 0.86rem; color: var(--muted); }

/* why: two lanes of frame-time bars sharing one time axis (the hero overlay's idiom) */
.ft-legend { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-bottom: 26px; }
.lanes { display: grid; gap: 26px; }
.lane { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; align-items: end; }
.lane-name { font: 600 0.78rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 6px; }
.cold .lane-name { color: var(--amber); }
.warm .lane-name { color: var(--cyan); }
.plot { position: relative; display: flex; height: 132px; border-bottom: 1px solid var(--line-strong);
  background: repeating-linear-gradient(0deg, transparent 0 32px, rgba(160, 190, 220, 0.05) 32px 33px); }
.pre { flex: 0 0 20%; position: relative; border-right: 1px dashed rgba(160, 190, 220, 0.45); }
.warm .pre {
  background: repeating-linear-gradient(135deg, rgba(76, 194, 255, 0.22) 0 2px, transparent 2px 8px), linear-gradient(180deg, transparent 30%, rgba(76, 194, 255, 0.14));
  border-left: 1px solid rgba(76, 194, 255, 0.5); border-top: 1px solid rgba(76, 194, 255, 0.5);
}
.pre span { position: absolute; left: 10px; bottom: 10px; padding: 3px 6px; border-radius: 4px; background: rgba(5, 7, 10, 0.85); font: 600 0.74rem/1.3 var(--mono); color: var(--cyan-hi); text-shadow: 0 0 10px #05070a, 0 0 4px #05070a; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 2px; padding-left: 6px; }
.bars i { flex: 1; position: relative; height: var(--h); min-height: 2px; border-radius: 1px 1px 0 0; }
.cold .bars i { background: rgba(255, 180, 84, 0.42); }
.warm .bars i { background: rgba(76, 194, 255, 0.55); }
.cold .bars i.hi { background: linear-gradient(180deg, #ffd08a, var(--amber) 40%, #ff7a59); box-shadow: 0 0 14px rgba(255, 150, 80, 0.75); }
.bars b { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); font: 600 0.74rem/1 var(--mono); color: var(--amber); white-space: nowrap; }
.thr { position: absolute; left: 0; right: 0; bottom: calc(20 / 70 * 100%); border-top: 1px dashed rgba(255, 138, 122, 0.7); pointer-events: none; }
.thr b { position: absolute; right: 0; bottom: 4px; font: 500 0.7rem/1 var(--mono); color: rgba(255, 170, 150, 0.9); background: #0a0f16; padding: 2px 5px; border-radius: 3px; }
.t-axis { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 20px; margin-top: -14px; font: 500 0.74rem/1 var(--mono); color: var(--muted); }
.t-axis::before { content: ""; }
.t-launch { grid-column: 2; grid-row: 1; position: relative; padding-left: calc(20% - 4.2em); }
.t-time { grid-column: 2; grid-row: 1; justify-self: end; }
.t-time::after { content: " →"; }
/* scene-style entrance: bars grow from the axis */
.js .ftchart .bars i { transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.js .ftchart.in .bars i { transform: none; }
.js .ftchart.in .bars i:nth-child(3n) { transition-delay: 0.05s; }
.js .ftchart.in .bars i:nth-child(3n + 1) { transition-delay: 0.12s; }
.js .ftchart.in .bars i.hi { transition-delay: 0.35s; }
@media (max-width: 700px) {
  .lane, .t-axis { grid-template-columns: 1fr; gap: 10px; }
  .t-axis { margin-top: 2px; }
  .t-axis::before { display: none; }
  .t-launch, .t-time { grid-column: 1; }
  .t-launch { padding-left: calc(20% - 3.4em); }
  .plot { height: 110px; }
  .bars { gap: 1px; padding-left: 3px; }
  .pre span { left: 6px; bottom: 8px; font-size: 0.66rem; }
}

/* how: the real app, framed as Windows 11 windows, alternating with the text */
.showcase { overflow-x: hidden; overflow-x: clip; background:
  radial-gradient(900px 520px at 72% 22%, rgba(76, 194, 255, 0.10), transparent 70%),
  radial-gradient(800px 520px at 22% 55%, rgba(76, 194, 255, 0.08), transparent 70%),
  radial-gradient(800px 520px at 72% 86%, rgba(76, 194, 255, 0.09), transparent 70%),
  linear-gradient(180deg, transparent, rgba(12, 18, 27, 0.7) 12%, rgba(12, 18, 27, 0.7) 88%, transparent); }
.showcase .wrap { max-width: 1360px; }
.showcase .sec-head { grid-template-columns: 1fr; }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8.5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 128px); }
.feature.flip { grid-template-columns: minmax(0, 8.5fr) minmax(0, 4fr); }
.feature.flip .feature-text { order: 2; }
.step { display: block; font: 700 0.9rem/1 var(--mono); letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 14px; }
.step::after { content: " / 03"; color: rgba(160, 190, 220, 0.4); }
.feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.feature .lead { margin-bottom: 22px; }
.spec { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.spec li { position: relative; padding-left: 22px; color: var(--muted); font-size: 0.97rem; line-height: 1.5; }
.spec li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.spec em { font-style: normal; color: var(--soft); }
.feature .aside { margin: 22px 0 0; padding: 14px 16px; border-left: 2px solid var(--amber); background: linear-gradient(90deg, rgba(255, 180, 84, 0.08), transparent); color: var(--soft); font-size: 0.94rem; border-radius: 0 8px 8px 0; }

.window { position: relative; margin: 0; border-radius: 9px; isolation: isolate; }
.window img { width: 100%; border-radius: 9px; }
.window::before {   /* glow the window sits in */
  content: ""; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(76, 194, 255, 0.22), rgba(76, 194, 255, 0.06) 55%, transparent);
  filter: blur(8px);
}
.window::after {   /* hairline edge + the lit top edge of a Windows 11 window */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.feature .window, .dl-stack .window {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.4), 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 30px 120px -50px rgba(76, 194, 255, 0.55);
}
.caps { position: absolute; top: 0; right: 0; width: 10.9%; height: auto; fill: none; stroke: rgba(235, 240, 245, 0.85); stroke-width: 1.1; }
.feature .window { transform: perspective(2200px) rotateY(-7deg) rotateX(2deg); transition: transform 0.8s var(--ease); }
.feature.flip .window { transform: perspective(2200px) rotateY(7deg) rotateX(2deg); }
.feature:hover .window { transform: perspective(2200px) rotateY(0) rotateX(0); }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .feature .window, .feature.flip .window { transform: none; }
}

/* results: one comparison table per game */
.rt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); align-items: start; }
.rt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.rt-head h3 { font-size: 1.2rem; }
.rt-tag { font: 600 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); padding: 6px 9px; border-radius: 999px; background: rgba(76, 194, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.35); }
.rt-note { margin: 0 0 10px; font-size: 0.9rem; color: var(--muted); }
.rt-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.rt table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.rt th, .rt td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.rt tbody tr:last-child > * { border-bottom: 0; }
.rt thead th { padding-top: 12px; font: 600 0.72rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; border-bottom-color: var(--line-strong); }
.rt thead .a { color: var(--amber); box-shadow: inset 0 2px 0 var(--amber); }
.rt thead .c { color: var(--cyan); box-shadow: inset 0 2px 0 var(--cyan); }
.rt td, .rt thead th:not(:first-child) { width: 30%; text-align: right; }
.rt tr > :last-child { background: rgba(76, 194, 255, 0.05); }
.rt tbody th { font-weight: 400; color: var(--muted); }
.rt td { font: 600 0.9rem/1.3 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--soft); }
.rt small { display: block; font: 400 0.76rem/1.3 var(--sans); color: var(--muted); }
.rt .grp th { padding: 14px 14px 6px; font: 600 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: none; }
.rt .key th { color: var(--text); font-weight: 600; }
.rt .key td { font-size: 1.12rem; font-weight: 700; }
.rt .key td:nth-child(2) { color: var(--amber); }
.rt .key td:nth-child(3) { color: var(--cyan); }
@media (max-width: 860px) { .rt-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rt th, .rt td { padding: 8px 10px; } .rt td, .rt thead th:not(:first-child) { width: 1%; } }

/* limits: fixes / can't fix, side by side */
.limits { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.lim { position: relative; padding: 30px clamp(22px, 4vw, 44px) 36px; }
.lim::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.lim.yes { background: linear-gradient(180deg, rgba(76, 194, 255, 0.08), transparent 85%); }
.lim.no { background: linear-gradient(180deg, rgba(255, 110, 90, 0.07), transparent 85%); border-left: 1px solid var(--line); }
.lim.yes::before { background: linear-gradient(90deg, var(--cyan), rgba(76, 194, 255, 0.2)); box-shadow: 0 0 14px rgba(76, 194, 255, 0.7); }
.lim.no::before { background: linear-gradient(90deg, #ff8a7a, rgba(255, 138, 122, 0.2)); box-shadow: 0 0 14px rgba(255, 110, 90, 0.5); }
.lim h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 14px; }
.lim p { margin: 0; font-size: 1.2rem; line-height: 1.5; color: var(--text); max-width: 30ch; }
.lim .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.lim .ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lim.yes .ic { color: var(--cyan); background: rgba(76, 194, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.45); }
.lim.no .ic { color: #ff8a7a; background: rgba(255, 110, 90, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 138, 122, 0.4); }
.lim-note { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 18px clamp(22px, 4vw, 44px); border-top: 1px solid var(--line); color: var(--soft); }
.lim-note .ic { font: 700 1.1rem/1 var(--mono); color: var(--amber); width: 30px; text-align: center; }
.lim-note strong { font: 600 0.76rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
@media (max-width: 700px) {
  .limits { grid-template-columns: 1fr; }
  .lim.no { border-left: 0; }
}

/* FAQ: a disclosure list */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid h2 { max-width: 10ch; }
.qa { border-top: 1px solid var(--line-strong); }
.qa details { position: relative; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.qa details::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scaleY(0); transition: transform 0.35s var(--ease); }
.qa details[open] { background: linear-gradient(90deg, rgba(76, 194, 255, 0.06), transparent 70%); }
.qa details[open]::before { transform: none; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 20px; font-weight: 600; font-size: 1.08rem; transition: color 0.2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {   /* a plus that turns into a minus */
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(var(--cyan), var(--cyan)) center / 11px 2px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 2px 11px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow 0.25s, transform 0.35s var(--ease), background-size 0.35s var(--ease);
}
.qa summary:hover { color: var(--cyan-hi); }
.qa summary:hover::after { box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.6); }
.qa details[open] summary::after { transform: rotate(180deg); background-size: 11px 2px, 2px 0; box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.6); }
.qa details p { margin: -6px 0 0; padding: 0 64px 24px 20px; color: var(--muted); max-width: 64ch; }
.qa code { color: var(--soft); background: rgba(255, 255, 255, 0.06); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qa summary { padding: 18px 12px; font-size: 1rem; } .qa details p { padding: 0 12px 20px; } }

/* download: a lit stage with the app on it */
.dl { overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line);
  background: radial-gradient(60% 70% at 75% 55%, rgba(76, 194, 255, 0.16), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(255, 150, 80, 0.07), transparent 70%), linear-gradient(180deg, #070b11, #05070a); }
.dl::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(76, 194, 255, 0.7), transparent); }
.dl-floor {   /* the hero's grid floor, quieter */
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(76, 194, 255, 0.16) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(76, 194, 255, 0.12) 0 1px, transparent 1px 48px);
  transform: perspective(600px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%); opacity: 0.55;
}
.dl-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.dl-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 26px;
  background: linear-gradient(145deg, #12314a, #0a1622); box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.45), 0 0 40px -6px rgba(76, 194, 255, 0.6); }
.dl-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--cyan); stroke-width: 2.2; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(76, 194, 255, 0.9)); }
.dl h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; max-width: none; }
.dl .lead { margin: 18px 0 32px; }
.btn-xl { padding: 18px 30px; font-size: 1.12rem; border-radius: 12px; gap: 12px; }
.btn-xl .win { width: 18px; height: 18px; fill: currentColor; }
.dl-meta { margin: 14px 0 0; font: 500 0.8rem/1.4 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.dl-links { list-style: none; margin: 30px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.93rem; color: var(--muted); }
.dl-links a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.dl-links a:hover { text-decoration: underline; }
.dl-stack { position: relative; aspect-ratio: 1264 / 871; margin-right: calc(-1 * clamp(40px, 10vw, 180px)); perspective: 2400px; }
.dl-stack .window { position: absolute; width: 82%; }
.dl-stack .w1 { left: 0; top: 18%; z-index: 3; transform: rotateY(-14deg) rotateX(3deg); }
.dl-stack .w2 { left: 14%; top: 6%; z-index: 2; transform: rotateY(-14deg) rotateX(3deg) translateZ(-120px); filter: brightness(0.62); }
.dl-stack .w3 { left: 28%; top: -6%; z-index: 1; transform: rotateY(-14deg) rotateX(3deg) translateZ(-240px); filter: brightness(0.38); }
.dl-stack .w2::before, .dl-stack .w3::before { display: none; }
@media (max-width: 900px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-stack { margin: 12px -8% 0 4%; }
}

/* ---------- support: tiers as a comparison, same language ---------- */
.hero.sub + section { padding-top: 28px; }
.support-body { padding: 0 0 clamp(48px, 7vw, 88px); }
.tiers-table { width: 100%; max-width: 880px; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #0b1119, #080c12); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.tiers-table th, .tiers-table td { padding: 17px 24px; border-bottom: 1px solid var(--line); text-align: left; }
.tiers-table tbody tr:last-child > * { border-bottom: 0; }
.tiers-table thead th { font-size: 1.15rem; font-weight: 700; vertical-align: bottom; padding-top: 26px; padding-bottom: 18px; border-bottom-color: var(--line-strong); }
.tiers-table thead th small { display: block; margin-bottom: 6px; font: 600 0.72rem/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.tiers-table tbody th { font-weight: 400; color: var(--soft); }
.tiers-table td, .tiers-table thead th:not(:first-child) { width: 24%; text-align: center; }
.tiers-table tr > :last-child { background: rgba(76, 194, 255, 0.05); }
.tiers-table thead th:last-child { box-shadow: inset 0 2px 0 var(--cyan); }
.tiers-table .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 0.85rem; font-weight: 700; color: var(--cyan); background: rgba(76, 194, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.45); }
.support-cta { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.support-cta p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.notes { margin: 0; max-width: 880px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.notes > div { padding-top: 18px; border-top: 2px solid rgba(76, 194, 255, 0.35); }
.notes > div:first-child { border-top-color: var(--cyan); }
.notes dt { font-weight: 650; font-size: 1.05rem; margin-bottom: 8px; }
.notes dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .tiers-table th, .tiers-table td { padding: 14px 12px; } .tiers-table thead th { font-size: 0.98rem; } }


/* ---------- sub pages: a live band of the scene behind the title ---------- */
.band { position: absolute; left: 0; right: 0; top: 0; height: min(460px, 70vh); z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.band canvas { width: 100%; height: 100%; display: block; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 10, 0.85) 0%, rgba(5, 7, 10, 0.45) 45%, transparent 75%); }
.hero.sub { height: auto; min-height: 0; display: block; padding: clamp(120px, 18vh, 180px) 0 40px; overflow: visible; }
.hero.sub::before { display: none; }
.hero.sub h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); max-width: 18ch; }
.hero.sub .lede { margin-top: 20px; }

/* ---------- document pages ---------- */
.doc { padding: clamp(110px, 16vh, 150px) 0 clamp(40px, 7vw, 80px); }
.doc .panel { padding: clamp(24px, 5vw, 56px); max-width: 860px; }
.doc .panel::after { display: none; }
.doc .panel:hover { box-shadow: none; border-color: var(--line); }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.doc h2 { font-size: 1.4rem; margin: 2.2em 0 0.7em; }
.doc h3 { font-size: 1.05rem; margin: 1.6em 0 0.5em; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 0.35em; }
.doc table { width: 100%; border-collapse: collapse; margin: 0.6em 0 1.2em; font-size: 0.96rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.doc th { color: var(--text); font-weight: 600; width: 38%; }
.doc td { color: var(--soft); }
.table-scroll { overflow-x: auto; }
.draft {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; margin: 18px 0 8px;
  border: 1px solid rgba(255, 180, 84, 0.5); background: rgba(255, 180, 84, 0.08); color: #ffd9a6; font-size: 0.95rem;
}
.draft strong { color: var(--amber); white-space: nowrap; }
.ph { font-family: var(--mono); font-size: 0.9em; color: var(--amber); background: rgba(255, 180, 84, 0.1); padding: 1px 5px; border-radius: 4px; }
.updated { color: var(--muted); font-size: 0.92rem; }
pre.licence {
  white-space: pre-wrap; font: 0.86rem/1.55 var(--mono); color: var(--soft); background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin: 0.6em 0 1.2em;
}
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; text-decoration: none; color: var(--muted); transition: color 0.2s, border-color 0.2s, box-shadow 0.2s; }
.toc a:hover { color: var(--text); border-color: rgba(76, 194, 255, 0.45); box-shadow: 0 0 14px -4px rgba(76, 194, 255, 0.6); }
.doc .toc { padding-left: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(5, 7, 10, 0.92); padding: 40px 0 48px; margin-top: 40px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(76, 194, 255, 0.6), transparent); }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: start; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .note { color: var(--muted); font-size: 0.86rem; margin: 10px 0 0; max-width: 58ch; }
.site-footer .note a { color: var(--cyan); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* large screens: scale the type and the column together */
@media (min-width: 2400px) { html { font-size: 125%; } :root { --wrap: 1400px; } }
@media (min-width: 3200px) { html { font-size: 150%; } :root { --wrap: 1680px; } }

@media (max-width: 760px) {
  .hero-copy { padding-top: 84px; }
  .hero .lede { margin: 18px 0 24px; }
  .chips { margin-top: 20px; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 7, 10, 0.75) 0%, rgba(5, 7, 10, 0.55) 55%, transparent 80%); }
}

/* ---------- download: released/coming-soon switch and the unsigned-build notice ---------- */
html.soon [data-live], html:not(.soon) [data-soon] { display: none; }
.notice {
  width: min(780px, calc(100% - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; overflow: auto;
  color: var(--text); border: 1px solid var(--line-strong); border-radius: 16px;
  background: radial-gradient(90% 50% at 50% 0%, rgba(76, 194, 255, 0.10), transparent 70%), #0a0f16;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 100px -20px rgba(0, 0, 0, 0.95), 0 0 80px -30px rgba(76, 194, 255, 0.4);
}
.notice::backdrop { background: rgba(3, 5, 8, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.notice[open] { animation: notice-in 0.3s var(--ease) both; }
@keyframes notice-in { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
.notice-body { padding: clamp(22px, 4vw, 36px); }
.notice-head { display: flex; gap: 18px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.notice-head .dl-icon { margin: 0; flex: none; }
.dl-icon.sm { width: 52px; height: 52px; border-radius: 13px; }
.dl-icon.sm svg { width: 28px; height: 28px; }
.notice h2 { font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; }
.notice p { color: var(--soft); margin: 0; }
.notice h3 { font: 600 0.76rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 26px 0 14px; }
.notice code { color: var(--text); }

/* two steps, each with a faithful Microsoft Defender SmartScreen dialog */
.ss-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ss {
  position: relative; display: flex; flex-direction: column; min-height: 214px; padding: 18px 18px 14px;
  background: #0067b8; color: #fff; font: 400 0.72rem/1.45 "Segoe UI", system-ui, sans-serif; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 18px 40px -16px rgba(0, 0, 0, 0.9);
}
.ss-x { position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; fill: none; stroke: #fff; stroke-width: 1.2; }
.ss b { font: 300 1.32rem/1.15 "Segoe UI Light", "Segoe UI", system-ui, sans-serif; margin: 6px 0 12px; }
.ss p { color: #fff; margin: 0 0 10px; font-size: inherit; }
.ss u { align-self: flex-start; text-underline-offset: 2px; }
.ss-app { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; margin: 0; }
.ss-app dd { margin: 0; }
.ss-btns { margin-top: auto; padding-top: 14px; display: flex; justify-content: flex-end; gap: 8px; }
.ss-btns em { font-style: normal; font-size: 0.72rem; padding: 4px 16px; min-width: 76px; text-align: center; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.85); }
.ss .hit { position: relative; outline: 2px solid var(--amber); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(255, 180, 84, 0.25); }
.cursor { position: absolute; width: 13px; height: 19px; fill: #fff; stroke: #000; stroke-width: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5)); }
.cursor.c1 { left: 52px; top: 140px; }
.cursor.c2 { right: 108px; bottom: 4px; }
.ss-cap { margin-top: 14px !important; font-size: 0.98rem; }
.ss-cap .n { display: inline-grid; place-items: center; margin-right: 10px; vertical-align: 1px; width: 24px; height: 24px; border-radius: 50%; font: 700 0.75rem/1 var(--mono); color: #00131d; background: var(--cyan); box-shadow: 0 0 12px rgba(76, 194, 255, 0.6); }

.verify { display: flex; gap: 16px; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: rgba(76, 194, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(76, 194, 255, 0.18); }
.verify > div { min-width: 0; }
.verify .shield { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; margin-top: 2px; }
.verify h3 { margin: 0 0 6px; color: var(--text); font: 600 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.verify p { font-size: 0.93rem; }
.cmd { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px 8px 8px 14px; border-radius: 8px; background: #05080c; box-shadow: inset 0 0 0 1px var(--line); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 0.86rem; color: var(--cyan-hi); }
.cmd code::before { content: "PS> "; color: var(--muted); }
.copy { flex: none; font: 600 0.78rem/1 var(--sans); color: var(--soft); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); border-radius: 6px; padding: 7px 11px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.copy:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.notice-actions .btn { padding: 13px 22px; }
.notice-actions .policy { margin-left: auto; font-size: 0.9rem; color: var(--muted); }
.notice-actions .policy:hover { color: var(--text); }
@media (max-width: 600px) {
  .ss-steps { grid-template-columns: 1fr; }
  .notice-head { align-items: flex-start; }
  .ss { min-height: 0; }
  .cmd { flex-wrap: wrap; }
  .cmd code { white-space: normal; flex-basis: 100%; }
  .verify { padding: 16px 14px; gap: 12px; }
  .notice-actions { flex-direction: column; align-items: stretch; }
  .notice-actions .policy { margin: 6px auto 0; }
}
