:root {
  --bg: #0b0d12;
  --bg-2: #11151d;
  --panel: #151a24;
  --panel-2: #1b2130;
  --line: #262e3f;
  --text: #e7ecf3;
  --muted: #98a3b8;
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --accent-ink: #062a26;
  --radius: 16px;
  --wrap: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.fine { color: var(--muted); font-size: .9rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #34d3c0);
  color: var(--accent-ink);
  box-shadow: 0 8px 30px -8px rgba(94, 234, 212, .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(94, 234, 212, .7); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
.btn-big { font-size: 1.1rem; padding: 1em 1.8em; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 13, 18, .75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(38, 46, 63, .6);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: .6em; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .lang { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .lang:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 18px; }

/* hero */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 50% at 75% 30%, rgba(96, 165, 250, .18), transparent 70%),
    radial-gradient(35% 45% at 20% 10%, rgba(94, 234, 212, .14), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero h1 { background: linear-gradient(180deg, #fff, #c9d4e5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* demo window */
.window {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2b3346; }
.window-bar em { margin-left: 10px; font-style: normal; color: var(--muted); font-size: .8rem; font-family: "JetBrains Mono", monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-body { padding: 18px; }
.demo-row { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.demo-wave canvas { width: 100%; height: 70px; display: block; }
.demo-tab svg { width: 100%; height: 150px; display: block; }
.demo-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: .8rem; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .3em .8em; font-family: "JetBrains Mono", monospace; }
.pill b { color: var(--text); }
.pill-accent { color: var(--accent); border-color: rgba(94, 234, 212, .35); }

/* tab svg */
.staff line { stroke: #3a4459; stroke-width: 1; }
.barline { stroke: #4a5570; stroke-width: 1.2; }
.note { fill: none; stroke: #8c97ad; stroke-width: 2; transition: stroke .08s, fill .08s; }
.note.head { fill: #8c97ad; stroke: none; }
.note.on { stroke: var(--accent); }
.note.head.on { fill: var(--accent); }
.note.hit { filter: drop-shadow(0 0 6px rgba(94, 234, 212, .9)); }
.cursor { fill: rgba(94, 234, 212, .12); stroke: var(--accent); stroke-width: 1.5; }

/* strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-inner { padding: 40px 24px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.strip p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.strip .strip-answer { color: var(--text); font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }

/* sections */
.section { padding: 96px 0; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li, .card, .plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps p, .card p { color: var(--muted); margin: 0; }
.step-n {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 18px;
  font-weight: 800; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.shot-section { padding-top: 0; }
.shot { margin: 0; }
.shot img, .shot-placeholder { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.shot-placeholder {
  aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--muted);
  background: repeating-linear-gradient(135deg, var(--panel) 0 14px, var(--bg-2) 14px 28px);
}
.shot figcaption { text-align: center; color: var(--muted); margin-top: 16px; font-size: .95rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(94, 234, 212, .4); transform: translateY(-2px); }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  font-size: 1.3rem; color: var(--accent); background: rgba(94, 234, 212, .08); border: 1px solid rgba(94, 234, 212, .25);
}

/* reaper */
.reaper { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-block: 1px solid var(--line); }
.reaper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.tracks { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; gap: 8px; }
.track { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.track span { font-size: .8rem; color: var(--muted); font-family: "JetBrains Mono", monospace; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: .55em .7em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane { display: block; height: 38px; border-radius: 8px; background-color: var(--bg-2); border: 1px solid var(--line); }
.lane-tempo { background-image: linear-gradient(180deg, transparent 45%, rgba(96, 165, 250, .7) 45% 52%, transparent 52%); background-size: 100% 100%; }
.lane-midi { background-image: repeating-linear-gradient(90deg, rgba(94, 234, 212, .85) 0 6px, transparent 6px 22px), repeating-linear-gradient(90deg, rgba(96, 165, 250, .8) 0 6px, transparent 6px 44px); background-size: 100% 30%, 100% 30%; background-position: 0 20%, 11px 75%; background-repeat: no-repeat; }
.lane-wave { background-image: repeating-linear-gradient(90deg, rgba(94, 234, 212, .55) 0 2px, transparent 2px 5px); -webkit-mask: repeating-linear-gradient(90deg, #000 0 22px, rgba(0,0,0,.35) 22px 44px); mask: repeating-linear-gradient(90deg, #000 0 22px, rgba(0,0,0,.35) 22px 44px); }
.lane-b { -webkit-mask: repeating-linear-gradient(90deg, rgba(0,0,0,.3) 0 22px, #000 22px 30px, rgba(0,0,0,.3) 30px 44px); mask: repeating-linear-gradient(90deg, rgba(0,0,0,.3) 0 22px, #000 22px 30px, rgba(0,0,0,.3) 30px 44px); }
.lane-c { background-image: repeating-linear-gradient(90deg, rgba(96, 165, 250, .55) 0 2px, transparent 2px 5px); }
.lane-d { background-image: repeating-linear-gradient(90deg, rgba(152, 163, 184, .45) 0 2px, transparent 2px 4px); -webkit-mask: none; mask: none; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 44px 0 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { color: var(--muted); font-weight: 600; font-size: 1rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.1; }
.plan-sub { color: var(--muted); font-size: .92rem; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); padding-top: 16px; font-size: .92rem; }
.plan li { padding-left: 24px; position: relative; margin-bottom: 8px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan-hot { border-color: rgba(94, 234, 212, .6); background: linear-gradient(180deg, rgba(94, 234, 212, .08), var(--panel) 45%); }
.badge { position: absolute; top: -12px; left: 28px; margin: 0; font-size: .75rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: .2em .8em; }

/* download */
.download { text-align: center; background: radial-gradient(50% 70% at 50% 0%, rgba(94, 234, 212, .12), transparent 70%); }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download-inner img { border-radius: 18px; margin-bottom: 24px; box-shadow: 0 20px 50px -15px rgba(94, 234, 212, .35); }
.download .section-lead { margin-inline: auto; }
.download .fine { margin-top: 22px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .reaper-grid, .strip-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .steps, .cards, .plans { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .track { grid-template-columns: 84px 1fr; }
  .nav-cta { gap: 12px; }
  .plans { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* REAPER mock: the user's own take being recorded */
.track-rec span { color: #f87171; border-color: rgba(248, 113, 113, .4); }
.lane-rec {
  border-color: rgba(248, 113, 113, .45);
  background-image: repeating-linear-gradient(90deg, rgba(248, 113, 113, .6) 0 2px, transparent 2px 5px);
  background-size: 62% 100%; background-repeat: no-repeat;
}
.fret { fill: #c3cbd9; stroke: none; font: 700 15px "JetBrains Mono", monospace; text-anchor: middle; }
.fret.on { fill: var(--accent); }
.fret-bg { fill: var(--bg-2); }
.tab-clef { fill: #6b7690; font: 700 13px "JetBrains Mono", monospace; letter-spacing: .5px; writing-mode: tb; }
.strip-inner { padding-block: 64px; grid-template-columns: 1.2fr 1fr; }
.strip-question { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--text); }
.strip .strip-answer { margin-top: 14px; color: var(--accent); }
.soon { margin-top: 20px; }
.soon::before { content: "→ "; color: var(--accent); }

/* Paid plans before payments exist (2026-11-12) */
.badge-soon { background: var(--panel); color: var(--muted); border: 1px solid var(--line); }
.download-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.download .download-version { margin-top: 14px; }
.download .smartscreen { max-width: 560px; margin: 10px auto 0; font-size: .85rem; }
