/* Audio Ammo — site styles. Single dark look (brand is dark). Layout: centered 1120px column, sections stack, editor-timeline motifs. */
:root {
  color-scheme: dark;
  --bg: #0B0B0F;
  --surface: #17171F;
  --surface-2: #1E1E28;
  --line: #262631;
  --lime: #C6FF3D;
  --on-lime: #0B0B0F;
  --violet: #7B5CFF;
  --text: #F2F2F5;
  --muted: #8A8A99;

  --f-display: "Unbounded", "Arial Black", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 14px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 88px; }
.section + .section { border-top: 1px solid var(--line); }
@media (max-width: 640px) { .section { padding-block: 64px; } }

/* ---------- type ---------- */
.eyebrow { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.h1 { font: 900 clamp(38px, 6.4vw, 76px)/1.0 var(--f-display); letter-spacing: -0.02em; text-transform: uppercase; }
.h2 { font: 900 clamp(28px, 4vw, 44px)/1.05 var(--f-display); letter-spacing: -0.015em; text-transform: uppercase; }
.h3 { font: 700 18px/1.3 var(--f-body); }
.lime { color: var(--lime); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 58ch; margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 720px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer;
  padding: 18px 26px; border-radius: 999px; transition: transform .15s ease, background .15s ease, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 0 0 0 rgba(198,255,61,.0); }
.btn-primary:hover { box-shadow: 0 8px 30px -8px rgba(198,255,61,.55); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 12px 18px; font-size: 14px; }
.btn .strike { text-decoration: line-through; opacity: .55; font-weight: 600; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,11,15,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 900 17px/1 var(--f-display); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--text); }
@media (max-width: 820px) { .nav-links a:not(.btn):not(.keep) { display: none; } .nav-links { gap: 16px; } }
/* on phones the sticky buy bar carries the buy button */
@media (max-width: 480px) { .nav-links .btn { display: none; } .brand span { font-size: 15px; } }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 auto; } .price .now { font-size: 40px; } }

/* ---------- hero ---------- */
.hero { padding-block: 64px 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.hero-grid .timeline { margin-top: 34px; }
@media (max-width: 960px) { .hero-grid .timeline { margin-top: 0; } }
.hero-title { text-transform: none; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.hero-title .lime { display: block; white-space: nowrap; font-size: 0.86em; margin-top: 0.08em; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price .now { font: 900 48px/1 var(--f-display); color: var(--text); }
.price .was { font: 600 22px/1 var(--f-body); color: var(--muted); text-decoration: line-through; }
.price .tag { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; background: var(--violet); color: #fff; padding: 7px 10px; border-radius: 999px; align-self: center; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* timeline panel (hero visual) */
.timeline {
  min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
}
.tl-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.tl-dots { display: flex; gap: 6px; }
.tl-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.tl-body { position: relative; padding: 18px 0 22px; }
.tl-ruler { display: flex; justify-content: space-between; padding: 0 16px 12px; font: 500 10px/1 var(--f-mono); color: #5d5d6b; }
.tl-lane { position: relative; height: 62px; margin: 8px 0; overflow: hidden; }
.tl-track { display: flex; gap: 12px; width: max-content; animation: tl-scroll 22s linear infinite; }
.tl-lane:nth-child(odd) .tl-track { animation-duration: 28s; animation-delay: -6s; }
.tl-clip { height: 62px; border-radius: 999px; border: 1.5px solid rgba(198,255,61,.55); background: rgba(198,255,61,.08); padding: 0 22px; display: flex; align-items: center; gap: 10px; }
.tl-clip canvas { height: 34px; }
.tl-clip b { font: 600 10px/1 var(--f-mono); color: var(--lime); letter-spacing: .06em; white-space: nowrap; }
.tl-clip.v { border-color: rgba(123,92,255,.6); background: rgba(123,92,255,.10); }
.tl-clip.v b { color: #b3a3ff; }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--violet); box-shadow: 0 0 18px var(--violet); }
.tl-playhead::before { content: ""; position: absolute; top: 0; left: -6px; border: 7px solid transparent; border-top: 9px solid var(--violet); }
.tl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font: 500 12px/1 var(--f-mono); color: var(--muted); }
.tl-foot .live { color: var(--lime); }
@keyframes tl-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tl-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- sound players ---------- */
.sound-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sound {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  transition: border-color .15s;
}
.sound.playing { border-color: var(--lime); }
.sound .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; min-width: 0; }
.sound .meta b { font: 600 13px/1.2 var(--f-mono); letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sound .meta span { font: 500 12px/1 var(--f-mono); color: var(--muted); flex: none; }
.sound .cat { grid-column: 2; font-size: 13px; color: var(--muted); margin-top: -6px; }
.sound canvas.wave { grid-column: 1 / -1; width: 100%; height: 44px; cursor: pointer; }
.play {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--lime); color: var(--on-lime); display: grid; place-items: center; flex: none;
}
.play svg { width: 18px; height: 18px; }
.play .i-pause { display: none; }
.playing .play .i-play { display: none; }
.playing .play .i-pause { display: block; }
.hint { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cats { grid-template-columns: minmax(0, 1fr); } }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cat-card .label { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--lime); text-transform: uppercase; }
.cat-card h3 { font: 700 19px/1.25 var(--f-body); }
.cat-card p { margin: 0; color: var(--muted); font-size: 15px; }
.cat-card.feature { background: linear-gradient(140deg, rgba(198,255,61,.10), rgba(123,92,255,.08) 70%), var(--surface); border-color: rgba(198,255,61,.35); }

.editors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.editors span { font: 600 14px/1 var(--f-body); padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); }
.editors .lbl { border: 0; padding-left: 0; color: var(--muted); font-weight: 500; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 900 34px/1 var(--f-display); color: var(--lime); display: block; margin-bottom: 18px; }
.step h3 { font: 700 18px/1.3 var(--f-body); margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- free teaser / banner ---------- */
.banner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px;
  position: relative; overflow: hidden;
}
.banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(123,92,255,.35), transparent 70%); pointer-events: none; }
.banner > * { position: relative; z-index: 1; min-width: 0; }
.banner p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 720px) { .banner { grid-template-columns: minmax(0, 1fr); padding: 28px; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: 56px; align-items: start; }
.faq-layout .section-head { position: sticky; top: 100px; margin-bottom: 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .faq-layout .section-head { position: static; margin-bottom: 32px; } }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 20px/1 var(--f-mono); color: var(--lime); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); max-width: 68ch; }

/* ---------- final CTA ---------- */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .price { justify-content: center; }

/* ---------- free page list ---------- */
.free-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { font: 600 13px/1 var(--f-body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1.4fr) 64px auto; gap: 16px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.row.playing { border-color: var(--lime); }
.row .play { width: 44px; height: 44px; grid-row: auto; }
.row .name { min-width: 0; }
.row .name b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .name span { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.row canvas.wave { width: 100%; height: 36px; cursor: pointer; }
.row .dur { font: 500 13px/1 var(--f-mono); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dl { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 14px/1 var(--f-body); padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); }
.dl:hover { border-color: var(--lime); color: var(--lime); }
.dl svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .row canvas.wave, .row .dur { display: none; }
  .dl span { display: none; }
}

/* ---------- simple pages ---------- */
.page-hero { padding-block: 72px 40px; display: flex; flex-direction: column; gap: 18px; }
.prose { max-width: 720px; }
.prose h2 { font: 800 22px/1.3 var(--f-body); margin: 44px 0 10px; }
.prose p, .prose li { color: #c9c9d3; }
.prose a { color: var(--lime); }

.thanks { max-width: 680px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: 88px; }
.check { width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; }
.check svg { width: 34px; height: 34px; }
.checklist { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 44px; margin: 0; color: #c9c9d3; width: 100%; }
.checklist li + li { margin-top: 8px; }
.note { font-size: 14px; color: var(--muted); }
.status { font-size: 14px; color: var(--lime); min-height: 1.4em; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- sticky mobile buy bar ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  background: rgba(23,23,31,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .25s ease;
}
.buybar.show { transform: none; }
.buybar .p { display: flex; flex-direction: column; line-height: 1.15; }
.buybar .p b { font: 900 20px/1 var(--f-display); }
.buybar .p s { color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .buybar { display: flex; } body.has-buybar { padding-bottom: 84px; } }
