:root {
  --ink: #0b0d0b;
  --ink-2: #141814;
  --line: #243024;
  --paper: #eef3ea;
  --muted: #9aa897;
  --key: #19ff4b;
  --key-deep: #00c22e;
  --rec: #ff3b30;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.mono { font-family: var(--mono); }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
section { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px); max-width: 1240px; margin: 0 auto; }
section[id] { scroll-margin-top: 72px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.04em; }
.logo b { color: var(--key); }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.topnav { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.topnav a { text-decoration: none; color: var(--muted); }
.topnav a:hover { color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 26px; border-radius: 999px;
  background: var(--key); color: var(--ink);
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(25, 255, 75, 0.5);
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px rgba(25, 255, 75, 0.55); }
.btn s { opacity: 0.55; margin: 0 6px 0 10px; font-weight: 500; }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-xl { padding: 22px 38px; font-size: 1.25rem; }
.btn-ghost { background: transparent; color: var(--paper); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--key); box-shadow: none; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-top: clamp(48px, 7vw, 96px);
}
.eyebrow { color: var(--key); font-size: 0.85rem; margin: 0 0 18px; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); }
.key {
  color: var(--ink); background: var(--key);
  padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #cbd6c7; max-width: 38ch; margin: 26px 0 32px; }
.count { color: var(--key); font-variant-numeric: tabular-nums; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 0.8rem; color: var(--muted); }
.hero-facts li { border: 1px solid var(--line); padding: 6px 10px; border-radius: 6px; }

.stage-frame {
  position: relative; aspect-ratio: 9 / 16; max-height: 640px; margin-left: auto;
  border-radius: var(--r); overflow: hidden; background: var(--key);
  box-shadow: 0 40px 120px -30px rgba(25, 255, 75, 0.45);
}
.stage-video { width: 100%; height: 100%; object-fit: cover; }
.stage-label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 0.75rem; color: #fff; background: rgba(0, 0, 0, 0.55);
  padding: 4px 8px; border-radius: 4px;
}
.stage-corners i { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.85); }
.stage-corners i:nth-child(1) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.stage-corners i:nth-child(2) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.stage-corners i:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.stage-corners i:nth-child(4) { top: 44px; left: 10px; border-right: 0; border-bottom: 0; }

/* ---------- reel ---------- */
.reel { max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.reel-track { display: flex; gap: 14px; width: max-content; animation: scroll 60s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.clip {
  position: relative; flex: none; height: 300px; aspect-ratio: 9 / 16;
  border-radius: 10px; overflow: hidden; background: var(--key);
}
.clip.wide { aspect-ratio: 16 / 9; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip span {
  position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.6); color: #fff; padding: 2px 6px; border-radius: 4px;
}
.reel-note { text-align: center; color: var(--muted); font-size: 0.8rem; margin: 22px auto 0; padding: 0 20px; }

/* ---------- steps ---------- */
.step-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step-list li { background: var(--ink); padding: 32px 28px 36px; }
.step-n { color: var(--key); font-size: 0.85rem; }
.step-list h3 { font-size: 1.6rem; margin: 14px 0 10px; }
.step-list p { color: var(--muted); margin: 0; }

/* ---------- inside ---------- */
.inside-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.inside-head p { color: var(--muted); margin: 0; }
.bins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 44px; }
.bin {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 132px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2);
  transition: border-color 0.2s, transform 0.2s;
}
.bin:hover { border-color: var(--key-deep); transform: translateY(-3px); }
.bin-n { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.bin-t { color: var(--muted); font-size: 0.95rem; }
.bin-accent { background: var(--key); border-color: var(--key); color: var(--ink); }
.bin-accent .bin-t { color: var(--ink); }

/* ---------- specs ---------- */
.specs { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.spec-table th { color: var(--muted); font-weight: 400; width: 38%; }

/* ---------- who ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.who-grid article { padding: 26px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); }
.who-grid h3 { font-size: 1.25rem; margin-bottom: 10px; }
.who-grid p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-size: 1.2rem; font-weight: 800;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--key); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #c3cec0; margin: 0 0 24px; max-width: 70ch; }

/* ---------- final ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); margin-bottom: 40px; }
.final-sub { color: var(--muted); margin-top: 18px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px clamp(20px, 5vw, 64px); color: var(--muted); font-size: 0.88rem; text-align: center; }
.footer .fine { max-width: 80ch; margin: 10px auto 0; font-size: 0.78rem; opacity: 0.8; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .stage-frame { max-height: 460px; margin: 0 auto; }
  .step-list, .inside-head, .specs { grid-template-columns: 1fr; }
  .bins, .who-grid { grid-template-columns: repeat(2, 1fr); }
  .topnav { display: none; }
  .topbar .btn-sm { margin-left: auto; }
}
@media (max-width: 520px) {
  .clip { height: 220px; }
  .bin-n { font-size: 1.9rem; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track, .rec { animation: none; }
  html { scroll-behavior: auto; }
}
