:root {
  --bg: #11171D;
  --bg-2: #0B1014;
  --card: #202930;
  --fg: #EDF0ED;
  --muted: #8EA0AB;
  --line: rgba(237, 240, 237, .12);
  --volt: #F5D928;
  --lime: #D5FA32;
  --cyan: #55C8E0;
  --red: #E5483C;
  --display: "Space Grotesk", system-ui, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --notch: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--display); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.muted { color: var(--muted); }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--volt); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.notch { clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch))); }

.btn {
  --notch: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .95rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; border: 0; cursor: pointer; color: var(--bg); background: var(--volt);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
  transition: filter .15s, transform .15s, background .15s, color .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-volt { background: var(--volt); color: var(--bg); box-shadow: 0 0 32px -6px rgba(245, 217, 40, .55); }
.btn-ghost { background: rgba(237, 240, 237, .08); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(245, 217, 40, .14); color: var(--volt); }
.btn-sm { padding: 9px 16px; font-size: .75rem; --notch: 8px; }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(17, 23, 29, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; letter-spacing: .16em; font-size: .95rem; }
.brand .mark { width: 18px; height: 18px; color: var(--lime); }
.brand-sub { color: var(--muted); }
.tag { background: var(--volt); color: var(--bg); font-size: .7rem; padding: 3px 9px; letter-spacing: .16em; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.links a:hover { color: var(--volt); }
.nav-cta { display: flex; gap: 10px; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 72px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(17, 23, 29, .55) 0%, rgba(17, 23, 29, .3) 45%, rgba(17, 23, 29, .98) 100%),
  linear-gradient(90deg, rgba(17, 23, 29, .75) 0%, rgba(17, 23, 29, 0) 62%); }
.hero-inner { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 .74rem var(--mono); letter-spacing: .2em; color: var(--volt); }
.bar { display: inline-block; width: 3px; height: 12px; background: var(--volt); }
h1 { margin: 0 0 22px; font-size: clamp(3rem, 9vw, 7rem); line-height: .93; letter-spacing: .06em; font-weight: 700; }
h1 .dot { color: var(--volt); }
.lead { max-width: 560px; margin: 0 0 32px; font-size: 1.15rem; color: rgba(237, 240, 237, .88); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.meta { margin: 22px 0 0; font-size: .74rem; color: var(--muted); }

.strip { background: var(--bg-2); border-block: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 14px 38px; padding: 15px 0; font-size: .72rem; color: var(--muted); }
.live { display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--lime); border-radius: 50%; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.section { padding: 92px 0; }
.sec { display: flex; align-items: center; gap: 12px; margin: 0 0 36px; font-weight: 400; font-size: .78rem; letter-spacing: .2em; color: var(--volt); }
.sec .rule { flex: 1; height: 1px; background: var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 30px 28px 34px; background: var(--card); border: 0; }
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 3px; background: var(--volt); }
.card .num { color: var(--volt); font-size: .72rem; }
.card h3 { margin: 14px 0 10px; font-size: 1.25rem; letter-spacing: .02em; }
.card p { margin: 0; color: var(--muted); }

.download { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.dl { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 44px; background: var(--card); --notch: 22px; position: relative; }
.dl::before { content: ""; position: absolute; left: 0; top: 0; width: 96px; height: 4px; background: var(--volt); }
.dl-logo { display: grid; place-items: center; perspective: 900px; }
.dl-logo img { width: 220px; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
@keyframes spin { to { transform: rotateY(360deg); } }
.dl h3 { margin: 0 0 16px; font-size: 1.8rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .78rem; }
.facts b { display: inline-block; min-width: 92px; color: var(--muted); font-weight: 400; }
.hash { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.hash .lbl { font-size: .7rem; color: var(--muted); }
.hash code { flex: 1; min-width: 0; padding: 8px 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font: .72rem var(--mono); color: var(--lime); overflow-wrap: anywhere; }
.note { margin: 18px 0 0; font-size: .86rem; color: var(--muted); }
.note b { color: var(--fg); font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { padding: 26px 24px; border: 1px solid var(--line); background: rgba(32, 41, 48, .45); }
.step { font-size: .7rem; color: var(--cyan); }
.steps h3 { margin: 10px 0 8px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }
.steps b { color: var(--fg); font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; border: 1px solid var(--line); transition: border-color .2s, transform .3s; }
.gallery img:hover { border-color: var(--volt); transform: translateY(-3px); }
.gallery img:nth-child(1) { grid-column: span 7; }
.gallery img:nth-child(2) { grid-column: span 5; }
.gallery img:nth-child(3) { grid-column: span 4; }
.gallery img:nth-child(4) { grid-column: span 4; }
.gallery img:nth-child(5) { grid-column: span 4; }
.gallery img:nth-child(6) { grid-column: span 12; max-height: 360px; }

.news { display: block; text-decoration: none; background: var(--card); --notch: 12px; transition: transform .2s, background .2s; }
.news:hover { transform: translateY(-4px); background: #26323a; }
.news img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news > div { padding: 18px 20px 22px; }
.news h3 { margin: 10px 0 12px; font-size: 1.05rem; }
.chip { display: inline-block; font-size: .66rem; padding: 3px 8px; letter-spacing: .14em; border: 1px solid currentColor; }
.chip.volt { color: var(--volt); } .chip.lime { color: var(--lime); } .chip.cyan { color: var(--cyan); } .chip.red { color: var(--red); }
.more { font: .74rem var(--mono); color: var(--muted); }
.news:hover .more { color: var(--volt); }

details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 4px; font-weight: 500; font-size: 1.08rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--volt); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; padding: 0 4px; color: var(--muted); max-width: 680px; }

.credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.credits h3.small { margin: 0 0 12px; font-size: .72rem; font-weight: 400; color: var(--volt); letter-spacing: .18em; }
.credits p { margin: 0 0 12px; color: var(--muted); }
.credits p.big { color: var(--fg); font-size: 1.35rem; font-weight: 500; }
.credits b { color: var(--fg); font-weight: 500; }
.credits a { color: var(--cyan); }

.footer { padding: 44px 0 56px; background: var(--bg-2); border-top: 1px solid var(--line); }
.foot-inner p { margin: 0 0 12px; font-size: .74rem; color: var(--muted); }
.foot-inner .legal { max-width: 760px; font-size: .8rem; }
.foot-inner a { color: var(--cyan); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .links { display: none; }
  .nav-cta { margin-left: auto; }
  .grid3, .steps, .credits { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; padding: 30px 22px; text-align: left; }
  .dl-logo img { width: 150px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img, .gallery img:nth-child(n) { grid-column: auto; }
  .gallery img:nth-child(1), .gallery img:nth-child(6) { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .nav-cta .btn-ghost { display: none; }
  .facts { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: url("../assets/hero-poster.jpg") center / cover; }
  .dl-logo img, .live { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
