/* OpenSmash-Ultimate site. Original design: black, white diagonal cuts, one red accent. */
:root {
  --bg: #050505;
  --bg-2: #0d0d0e;
  --bg-3: #151517;
  --fg: #f4f4f2;
  --fg-dim: #b4b4b0;
  --fg-mute: #8a8a86;
  --line: rgba(255, 255, 255, .14);
  --red: #ff3b30;
  --amber: #ffc21a;
  --cyan: #3be0ff;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --angle: -14deg;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
code, kbd { font-family: var(--mono); font-size: .86em; background: rgba(255,255,255,.08); padding: .1em .4em; border-radius: 3px; }
kbd { border: 1px solid rgba(255,255,255,.25); border-bottom-width: 2px; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.red { color: var(--red); }
.outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px var(--gutter); transition: background .3s, backdrop-filter .3s, padding .3s;
}
.nav.scrolled { background: rgba(5,5,5,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand-mark { width: 34px; height: 34px; color: var(--fg); transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-word { font-family: var(--display); font-size: 21px; letter-spacing: .04em; line-height: 1; }
.brand-word span { color: var(--fg-mute); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; position: relative; color: var(--fg-dim); transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0) skewX(-30deg); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1) skewX(-30deg); }
.nav-links .nav-cta { color: var(--bg); background: var(--fg); margin-left: 8px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); padding: 10px 20px; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--red); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 3px; background: var(--fg); margin: 6px 0; transition: transform .3s; }
.nav-toggle span:first-child { transform: skewX(-30deg); }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; transform: skewX(-30deg); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { width: 100%; transform: translateY(-4.5px) rotate(45deg); }

/* ---------- buttons ---------- */
.btn {
  --cut: 12px; position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px;
  font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), color .25s, background .25s; border: 0; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%) skewX(-20deg); transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary::before { background: var(--red); }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--fg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover { color: var(--bg); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; color: var(--fg); }
.btn[aria-disabled="true"]::before { display: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link { display: inline-block; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--red); }
.link[aria-disabled="true"] { border-color: var(--fg-mute); color: var(--fg-mute); pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 120px; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(255,59,48,.16), transparent 70%), radial-gradient(ellipse 80% 60% at 10% 100%, rgba(255,255,255,.06), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.hero-slashes { position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; transform: rotate(var(--angle)); }
.slash { position: absolute; left: -10%; width: 130%; display: block; background: var(--fg); transform-origin: left center; transform: scaleX(0);
  animation: slashIn .9s var(--ease) forwards; box-shadow: 0 0 40px rgba(255,255,255,.35); }
.slash::after { content: ""; position: absolute; inset: -10px 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9) 50%, transparent); width: 25%; filter: blur(10px);
  animation: sweep 4.5s 1.6s linear infinite; opacity: .0; }
.s1 { top: 30%; height: 3px; animation-delay: .15s; }
.s2 { top: 34%; height: 18px; animation-delay: .3s; opacity: .95; }
.s3 { top: 66%; height: 6px; animation-delay: .45s; background: var(--red); box-shadow: 0 0 40px rgba(255,59,48,.6); }
.s4 { top: 71%; height: 1px; animation-delay: .6s; opacity: .7; }
.s5 { top: 12%; height: 1px; animation-delay: .75s; opacity: .4; }
@keyframes slashIn { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
@keyframes sweep { 0% { transform: translateX(-30%); opacity: 0; } 10% { opacity: 1; } 60% { opacity: 1; } 70%,100% { transform: translateX(420%); opacity: 0; } }
.hero-vert { position: absolute; left: calc(var(--gutter) * .5); top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 12px; letter-spacing: .5em; color: var(--fg-mute); white-space: nowrap; }
.hero-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) 0 calc(var(--gutter) + 22px); will-change: transform; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-dim);
  margin: 0 0 18px; opacity: 0; animation: up .8s .2s var(--ease) forwards; }
.kicker .dot { width: 8px; height: 8px; background: var(--red); transform: skewX(-20deg); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0; line-height: .86; letter-spacing: .005em; font-size: clamp(64px, 15.5vw, 230px); text-transform: uppercase; }
.hero-title .line { display: block; overflow: hidden; padding: .02em 0 .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%) skewY(6deg); animation: titleIn 1s var(--ease) forwards; }
.hero-title .l1 > span:nth-child(1) { animation-delay: .35s; }
.hero-title .l1 > span:nth-child(2) { animation-delay: .47s; }
.hero-title .l2 > span { animation-delay: .6s; -webkit-text-stroke-width: clamp(1.5px, .35vw, 3px); }
.hero-title .l2 { margin-left: clamp(24px, 9vw, 150px); }
@keyframes titleIn { to { transform: translateY(0) skewY(0); } }
.tagline { max-width: 620px; font-size: clamp(17px, 1.6vw, 21px); color: var(--fg-dim); margin: 26px 0 32px; opacity: 0; animation: up .8s .9s var(--ease) forwards; }
.tagline strong { color: var(--fg); }
.hero .cta-row { opacity: 0; animation: up .8s 1.05s var(--ease) forwards; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 30px 0 0; opacity: 0; animation: up .8s 1.2s var(--ease) forwards; }
.chips li { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--line); color: var(--fg-dim);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); background: rgba(255,255,255,.03); }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 96px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--fg); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero-cut { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: var(--fg); clip-path: polygon(0 100%, 100% 10%, 100% 100%); }

/* ---------- marquee band ---------- */
.band { position: relative; z-index: 2; background: var(--fg); color: var(--bg); overflow: hidden; margin-top: -1px; padding: 14px 0 16px; border-bottom: 6px solid var(--red); }
.band-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 32s linear infinite; font-family: var(--display); font-size: clamp(28px, 4vw, 52px); line-height: 1; white-space: nowrap; }
.band-track b { color: var(--red); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 170px) 0; overflow: hidden; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); transform: skewX(-30deg); }
.big { font-family: var(--display); font-weight: 400; font-size: clamp(54px, 10vw, 150px); line-height: .9; margin: 0 0 48px; text-transform: uppercase; letter-spacing: .005em; }
.big .outline { -webkit-text-stroke-width: clamp(1.5px, .25vw, 2.5px); }
.lead { font-size: clamp(18px, 1.7vw, 22px); color: var(--fg-dim); max-width: 640px; margin: 0 0 28px; }
.lead strong, .lead em { color: var(--fg); }
.note { color: var(--fg-mute); font-size: 15px; max-width: 600px; border-left: 3px solid var(--amber); padding-left: 14px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.big { position: relative; width: fit-content; max-width: 100%; }
.js .big.reveal { transform: translateX(-40px) skewX(-10deg); transition: opacity .4s .35s, transform .9s .2s var(--ease); }
.js .big.reveal.in { transform: none; }
.js .big.reveal::after { content: ""; position: absolute; left: -2%; top: 4%; bottom: 4%; width: 104%; background: var(--fg); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.js .big.reveal.in::after { animation: wipe .85s var(--ease) forwards; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 45% { transform: scaleX(1); transform-origin: left; } 46% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- what ---------- */
.what::before { content: ""; position: absolute; right: -10%; top: 0; width: 60%; height: 100%; background: linear-gradient(115deg, transparent 48%, rgba(255,255,255,.035) 48% 62%, transparent 62%); pointer-events: none; }
.what-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: p; }
.pipeline li { position: relative; display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 18px; padding: 20px 22px; background: var(--bg-2);
  border: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); transition: background .3s, transform .3s var(--ease); }
.pipeline li:hover { background: var(--bg-3); transform: translateX(8px); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; left: 50px; bottom: -15px; width: 2px; height: 15px; background: var(--red); }
.pnum { grid-row: span 2; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--bg); background: var(--fg); display: grid; place-items: center; height: 58px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.pipeline li:last-child .pnum { background: var(--red); color: #fff; }
.ptitle { font-weight: 800; font-size: 19px; }
.ptext { color: var(--fg-dim); font-size: 15px; }

/* ---------- screenshots ---------- */
.shots { padding-bottom: clamp(60px, 9vw, 120px); }
.shots .big { margin-bottom: 40px; }
.shots-rail { display: flex; gap: 22px; overflow-x: auto; padding: 10px var(--gutter) 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.shot { flex: 0 0 min(78vw, 640px); margin: 0; scroll-snap-align: center; }
.shot-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.shot-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover .shot-frame img { transform: scale(1.04); }
.shot-fallback { position: absolute; inset: 0; background:
  radial-gradient(circle at calc(20% + var(--h) * 15%) 30%, rgba(255,59,48,.35), transparent 45%),
  repeating-linear-gradient(calc(-60deg + var(--h) * 8deg), rgba(255,255,255,.05) 0 2px, transparent 2px 22px),
  linear-gradient(135deg, #18181a, #070707); }
.shot-fallback i { position: absolute; left: -20%; width: 140%; background: var(--fg); transform: rotate(calc(-18deg + var(--h) * 3deg)); box-shadow: 0 0 30px rgba(255,255,255,.4); }
.shot-fallback i:nth-child(1) { top: 40%; height: 10px; }
.shot-fallback i:nth-child(2) { top: 47%; height: 2px; opacity: .7; }
.shot-fallback i:nth-child(3) { top: 62%; height: 4px; background: var(--red); box-shadow: 0 0 30px rgba(255,59,48,.6); }
.shot-fallback span { position: absolute; right: 22px; bottom: 6px; font-family: var(--display); font-size: clamp(70px, 10vw, 130px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35); }
.shot figcaption { margin-top: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); }
.shot figcaption::before { content: "/ "; color: var(--red); }

/* ---------- numbers ---------- */
.numbers { background: var(--fg); color: var(--bg); padding: clamp(50px, 7vw, 90px) 0; clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.num b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(46px, 6vw, 84px); line-height: 1; letter-spacing: .01em; }
.num span { display: block; margin-top: 10px; font-size: 15px; color: #333; max-width: 240px; }
.num:nth-child(2n) b { color: #d42a20; }

/* ---------- features ---------- */
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.head-row .big { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); background: transparent; border: 1px solid var(--line);
  padding: 10px 14px; min-height: 40px; cursor: pointer; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: all .2s; }
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { position: relative; padding: 28px 24px 26px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.card::before { content: ""; position: absolute; z-index: -1; top: -50%; left: -60%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
  transform: rotate(20deg) translateX(-100%); transition: transform .8s var(--ease); }
.card::after { content: ""; position: absolute; right: 0; top: 0; width: 31px; height: 2px; background: var(--fg-mute); transform-origin: left; transform: translate(-22px, 0) rotate(45deg); }
.card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.4); background: var(--bg-3); }
.card:hover::before { transform: rotate(20deg) translateX(520%); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 16px 0 10px; text-transform: uppercase; letter-spacing: .01em; }
.card p { margin: 0; color: var(--fg-dim); font-size: 15.5px; }
.card.is-hidden { display: none; }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); vertical-align: middle; line-height: 1.5; }
.badge.done { background: var(--fg); color: var(--bg); }
.badge.exp { background: var(--amber); color: #111; }
.badge.wip { background: var(--cyan); color: #04161b; }
.badge.plan { background: transparent; color: var(--fg-dim); box-shadow: inset 0 0 0 1px var(--fg-mute); }
.legend { margin-top: 28px; color: var(--fg-mute); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

/* ---------- install ---------- */
.install { background: var(--bg-2); }
.slash-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.slash-bg::before, .slash-bg::after { content: ""; position: absolute; left: -20%; width: 140%; background: var(--fg); transform: rotate(var(--angle)); }
.slash-bg::before { top: 18%; height: 2px; opacity: .25; }
.slash-bg::after { bottom: 22%; height: 120px; opacity: .03; }
.steps { list-style: none; margin: 0 0 60px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 26px 30px; background: var(--bg); border-top: 4px solid var(--fg); }
.step:nth-child(3) { border-top-color: var(--red); }
.step-n { display: block; font-family: var(--display); font-size: clamp(80px, 9vw, 130px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--fg); margin-bottom: 18px; transition: color .4s, transform .4s var(--ease); }
.step:hover .step-n { color: var(--fg); transform: skewX(-8deg); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 36px; margin: 0 0 8px; text-transform: uppercase; }
.step p { color: var(--fg-dim); margin: 0 0 14px; font-size: 16px; }
.install-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; align-items: flex-end; padding-top: 34px; border-top: 1px solid var(--line); }
.req h3 { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.req ul { margin: 0; padding: 0; list-style: none; color: var(--fg-dim); }
.req li { padding-left: 22px; position: relative; }
.req li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--fg); transform: skewX(-30deg); }
.install-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- online + status ---------- */
.online-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.modes { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.modes li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modes b { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.modes span { color: var(--fg-dim); font-size: 15.5px; }
.online .link { margin-top: 18px; }
.status { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: 30px 28px 26px; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); }
.status::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--fg-mute); transition: background .4s; }
.status[data-state="up"]::before { background: #3dff8a; }
.status[data-state="down"]::before { background: var(--red); }
.status[data-state="off"]::before { background: var(--fg-mute); }
.status-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.status-head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; background: rgba(255,255,255,.07); }
.status-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-mute); }
.status[data-state="up"] .status-pill i { background: #3dff8a; box-shadow: 0 0 0 0 rgba(61,255,138,.6); animation: pulse 2s infinite; }
.status[data-state="down"] .status-pill i { background: var(--red); }
.status[data-state="loading"] .status-pill i { background: var(--amber); animation: blink 1s steps(2) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,255,138,.6); } 70% { box-shadow: 0 0 0 10px rgba(61,255,138,0); } 100% { box-shadow: 0 0 0 0 rgba(61,255,138,0); } }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin: 0 0 18px; border: 1px solid var(--line); }
.status-grid div { background: var(--bg-2); padding: 16px 18px; }
.status-grid dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.status-grid dd { margin: 4px 0 0; font-family: var(--display); font-size: clamp(34px, 4vw, 48px); line-height: 1.05; }
.status-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 12px; color: var(--fg-mute); }
.status-foot b { color: var(--fg-dim); font-weight: 500; }
.status-msg { margin: 14px 0 0; font-size: 14px; color: var(--fg-mute); min-height: 1.5em; }
.status-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%); transform: translateX(-100%); }
.status.flash .status-scan { animation: scan .9s var(--ease); }
@keyframes scan { to { transform: translateX(100%); } }

/* ---------- roadmap ---------- */
.roadmap { background: linear-gradient(180deg, var(--bg) 0%, #0b0b0c 100%); }
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.road-item { position: relative; display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 28px 10px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s var(--ease); }
.road-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(255,59,48,.14), transparent); transition: width .5s var(--ease); }
.road-item:hover::before { width: 100%; }
.road-item:hover { padding-left: 24px; }
.road-n { font-family: var(--display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--fg-mute); position: relative; }
.road-item:hover .road-n { -webkit-text-stroke-color: var(--red); }
.road-item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); margin: 0 0 4px; text-transform: uppercase; line-height: 1.05; }
.road-item p { margin: 0; color: var(--fg-dim); max-width: 680px; font-size: 16px; position: relative; }
.road-item > * { position: relative; }
.bar { margin-top: 14px; height: 6px; background: rgba(255,255,255,.1); max-width: 420px; clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.bar i { display: block; height: 100%; width: 0; background: var(--fg); transition: width 1.6s .3s var(--ease); }
.in .bar i { width: calc(var(--p) * 1%); }

/* ---------- tools ---------- */
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.tool { position: relative; padding: 26px 22px; border: 1px dashed rgba(255,255,255,.28); transition: border-color .3s, transform .35s var(--ease); display: flex; flex-direction: column; }
.tool:hover { border-color: var(--fg); border-style: solid; transform: translateY(-4px); }
.tool h3 { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; margin: 0 0 8px; }
.tool p { color: var(--fg-dim); font-size: 15px; margin: 0 0 18px; flex: 1; }
.tool .link { align-self: flex-start; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 22px 50px 22px 0; position: relative; font-weight: 800; font-size: clamp(18px, 1.6vw, 21px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 3px; background: var(--fg); transition: transform .3s var(--ease), background .3s; }
.qa summary::after { transform: rotate(90deg); }
.qa details[open] summary::after { transform: rotate(0); }
.qa details[open] summary::before { background: var(--red); }
.qa summary:hover { color: var(--fg); }
.qa details p { margin: 0 0 24px; color: var(--fg-dim); max-width: 640px; }
.community { margin-top: clamp(70px, 9vw, 120px); }
.comm { position: relative; padding: clamp(30px, 5vw, 60px); background: var(--fg); color: var(--bg); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%); overflow: hidden; }
.comm::after { content: ""; position: absolute; right: -60px; top: -40%; width: 140px; height: 200%; background: var(--red); transform: rotate(18deg); }
.comm h3 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: .95; margin: 0 0 12px; text-transform: uppercase; position: relative; z-index: 1; max-width: 80%; }
.comm p { max-width: 560px; margin: 0 0 26px; font-size: 17px; color: #2a2a2a; position: relative; z-index: 1; }
.comm .cta-row { position: relative; z-index: 1; }
.comm .btn-primary { background: var(--bg); color: var(--fg); }
.comm .btn-ghost { color: var(--bg); box-shadow: inset 0 0 0 2px var(--bg); background: transparent; }
.comm .btn-ghost::before { background: var(--bg); }
.comm .btn-ghost:hover { color: var(--fg); }
.comm .btn[aria-disabled="true"]:hover { color: var(--fg); }

/* ---------- footer ---------- */
.footer { position: relative; padding: 110px 0 50px; background: #000; overflow: hidden; }
.footer-cut { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 0 100%); }
.footer-cut::after { content: ""; }
.footer::before { content: ""; position: absolute; left: -5%; right: -5%; top: 58px; height: 3px; background: var(--fg); transform: rotate(-2.2deg); transform-origin: left; opacity: .8; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.big-mark { width: 64px; height: 64px; margin-bottom: 14px; }
.footer-name { font-family: var(--display); font-size: 32px; margin: 0 0 6px; letter-spacing: .02em; }
.small { color: var(--fg-mute); font-size: 14px; margin: 0; max-width: 420px; }
.small a { color: var(--fg-dim); }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a { text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--fg-dim); }
.footer-links a:hover { color: var(--red); }
.footer-links a[aria-disabled="true"] { color: var(--fg-mute); pointer-events: none; }
.legal { grid-column: 1 / -1; font-size: 13px; color: var(--fg-mute); border-top: 1px solid var(--line); padding-top: 24px; margin: 10px 0 0; max-width: 980px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .what-grid, .online-grid, .faq-grid { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; background: rgba(5,5,5,.97); flex-direction: column; justify-content: center; gap: 6px;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path .5s var(--ease); visibility: hidden; }
  .nav-links.open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
  .nav-links a { font-family: var(--display); font-size: 40px; letter-spacing: .03em; color: var(--fg); padding: 6px 16px; }
  .nav-links a::after { bottom: 4px; }
  .nav-links .nav-cta { margin: 16px 0 0; font-size: 28px; padding: 10px 32px; }
  .road-item { grid-template-columns: 64px 1fr; gap: 6px 16px; }
  .road-item .badge { grid-column: 2; justify-self: start; }
  .road-n { font-size: 44px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-word span { display: none; }
  .hero { padding-top: 96px; align-items: flex-end; }
  .hero-vert { display: none; }
  .hero-inner { padding-left: var(--gutter); }
  .hero-title .l2 { margin-left: 0; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .hero .cta-row .btn-ghost { flex: 1 1 calc(50% - 7px); padding: 0 14px; justify-content: center; white-space: nowrap; font-size: 13px; letter-spacing: .06em; }
  .scroll-cue { display: none; }
  .nums { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  .num span { font-size: 13px; }
  .modes li { grid-template-columns: 1fr; gap: 2px; }
  .status { padding: 24px 18px 20px; }
  .status-grid div { padding: 12px 14px; }
  .road-item { padding: 22px 0; }
  .road-item:hover { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .comm h3 { max-width: 100%; }
  .comm::after { width: 80px; right: -50px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .slash::after, .band-track, .scroll-cue span { animation: none !important; }
  .js .reveal, .js .big.reveal { opacity: 1; transform: none; }
  .js .big.reveal::after { display: none; }
  .hero-inner { transform: none !important; }
}
