: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-block; text-align: center; line-height: 1.25;
  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; }
.faq details a { color: var(--key); }

/* ---------- 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; }

/* ---------- shared: category / clip / guide pages ---------- */
.no-scroll { overflow: hidden; }
.center { text-align: center; margin-top: 32px; }
.page-hero { padding-bottom: 24px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lede { max-width: 62ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.78rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--key); }

.grid-wrap { padding-top: 24px; }
.grid-wrap > h2 { margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.2s; }
.card:hover { border-color: var(--key-deep); }
.card-wide { grid-column: span 2; }
.card-media { position: relative; display: block; aspect-ratio: 9 / 16; background: var(--key); overflow: hidden; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media video { opacity: 0; transition: opacity 0.2s; }
.card-media.playing video { opacity: 1; }
.card-body { flex: 1 0 auto; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-body h3 { font-size: 1.02rem; line-height: 1.2; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--key); }
.card-body p { margin: 0; font-size: 0.72rem; color: var(--muted); }
.card-body .btn-dl { margin-top: auto; width: 100%; }
.card-body h3 + p { margin-bottom: 8px; }
.card-wide .card-media { aspect-ratio: auto; flex: 1; min-height: 180px; }

.upsell {
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
  margin: 40px auto; padding: clamp(24px, 4vw, 44px); max-width: 1240px;
  border-radius: calc(var(--r) + 6px); background: radial-gradient(120% 140% at 100% 0%, rgba(25,255,75,0.22), transparent 60%), var(--ink-2);
  border: 1px solid var(--key-deep);
}
main > .upsell { margin-left: clamp(20px, 5vw, 64px); margin-right: clamp(20px, 5vw, 64px); }
@media (min-width: 1368px) { main > .upsell { margin-left: auto; margin-right: auto; } }
.upsell h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.upsell p { color: #c3cec0; margin: 12px 0 0; }
.upsell .eyebrow { margin: 0 0 10px; }

.prose { max-width: 820px; padding-top: 40px; padding-bottom: 40px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose p, .prose li { color: #c3cec0; }
.prose a { color: var(--key); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; font-size: 0.8rem; }
.toc a { color: var(--paper); text-decoration: none; border: 1px solid var(--line); padding: 6px 10px; border-radius: 6px; }
.toc a:hover { border-color: var(--key); }
.guide h2[id] { scroll-margin-top: 80px; }

.more-cats { padding-top: 40px; }
.more-cats h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cat-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.cat-links a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--ink-2); }
.cat-links a:hover { border-color: var(--key); color: var(--key); }

.clip-page { padding-bottom: 24px; }
.clip-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.clip-player { border-radius: var(--r); overflow: hidden; background: var(--key); max-height: 78vh; display: flex; justify-content: center; }
.clip-player video { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.clip-layout:has(.is-wide) { grid-template-columns: 1fr; }
.clip-info h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.clip-info .lede { margin: 18px 0 24px; }
.clip-info .spec-table { margin-top: 28px; }
.spec-table a { color: var(--key); }

/* bins on the home page become category links */
a.bin { color: inherit; text-decoration: none; }
a.bin .bin-t::after { content: " 92"; color: var(--key); }
.bin-accent .bin-t::after { content: none; }

/* ---------- download popup ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--ink-2); border: 1px solid var(--key-deep); border-radius: calc(var(--r) + 6px);
  padding: clamp(24px, 4vw, 36px); text-align: center; box-shadow: 0 40px 120px -20px rgba(25, 255, 75, 0.35);
}
.modal-card h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.modal-card .eyebrow { margin-bottom: 12px; }
.modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.modal-x:hover { color: var(--paper); }
.modal-body { display: flex; gap: 16px; align-items: center; text-align: left; margin: 20px 0 24px; }
.modal-thumb { width: 84px; height: 112px; object-fit: cover; border-radius: 10px; background: var(--key); flex: none; }
.modal-body p { margin: 0; color: #c3cec0; font-size: 0.98rem; }
.modal-buy { width: 100%; }
.modal-free { display: inline-block; margin-top: 16px; color: var(--muted); font-size: 0.9rem; }
.modal-free:hover { color: var(--paper); }

/* ---------- footer links ---------- */
.footer-links { max-width: 1240px; margin: 0 auto 28px; text-align: left; }
.footer-links p { color: var(--key); font-size: 0.8rem; margin: 0 0 12px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; columns: 3 220px; gap: 24px; }
.footer-links li { margin: 0 0 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--key); }

/* ---------- 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; }
  .clip-layout, .upsell { grid-template-columns: 1fr; }
  .clip-player, .clip-player video { max-height: 58vh; }
}
@media (max-width: 520px) {
  .clip { height: 220px; }
  .bin-n { font-size: 1.9rem; }
  .cta-row .btn { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-wide { grid-column: span 2; }
  .card-body { padding: 10px 10px 12px; }
  .card-body h3 { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-track, .rec { animation: none; }
  html { scroll-behavior: auto; }
}
