/* Acoustic Guitar Track · marketing page
   Same palette as the app (Themes/Theme.xaml): charcoal faceplates, black-glass LCDs, blue glow. */
:root {
  --bg: #121317;
  --bg-2: #181A1F;
  --panel-hi: #505155;
  --panel-mid: #434448;
  --panel-lo: #3A3B3F;
  --edge: #0C0D0F;
  --ink: #ECEEF2;
  --ink-2: #B8BDC7;
  --muted: #8C93A1;
  --accent: #2F8FFF;
  --accent-2: #5CB2FF;
  --violet: #6A5CFF;
  --lcd-a: #020306;
  --lcd-b: #0B1120;
  --radius: 14px;
  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #9CD0FF; }
h1, h2, h3 { color: var(--ink); margin: 0; font-family: var(--display); letter-spacing: .2px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.1; margin-bottom: 18px; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 14px; }
code { font-family: var(--mono); font-size: .88em; color: var(--accent-2); background: #0B1120; border: 1px solid #1E2A44; padding: 1px 6px; border-radius: 5px; }
b { color: var(--ink); font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 24px; border-radius: 10px; font: 700 16px/1 var(--font); cursor: pointer;
  border: 1px solid var(--edge); color: var(--ink); transition: transform .12s, box-shadow .2s, filter .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-buy {
  background: linear-gradient(#3D9BFF, #1B5FD0); border-color: #0A2A66; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(47,143,255,.25), 0 8px 28px rgba(42,123,255,.45);
}
.btn-buy:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1px rgba(47,143,255,.4), 0 10px 36px rgba(42,123,255,.6); }
.btn-ghost {
  background: linear-gradient(#4A4B50, #2C2D31); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.35);
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px;
}

/* ------------------------------------------------------------ LED */
.led { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 40% 35%, #2A3570, #0E1336 70%); border: 1px solid #03040C; vertical-align: middle; }
.led.on, .fine .led { background: radial-gradient(circle at 45% 40%, #D7ECFF, #4FA3FF 40%, #1C4FD6 85%); box-shadow: 0 0 8px #2A7BFF; }

/* ------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(18,19,23,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 17px; letter-spacing: 1px; color: var(--ink); white-space: nowrap; }
.brand:hover { color: var(--ink); }
.b-light { font-weight: 300; }
.b-bold { font-weight: 800; color: var(--accent); }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.links a:hover { color: #fff; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; padding: 72px 0 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 10%, rgba(42,51,80,.95), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 30%, rgba(106,92,255,.14), transparent 70%),
    linear-gradient(#15171C, var(--bg));
}
.hero-in { display: grid; grid-template-columns: 1fr; }
.hero-copy { max-width: 760px; }
.hero-logo { width: min(560px, 100%); margin: 0 0 30px -10px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 300; line-height: 1.04; margin-bottom: 22px; }
.glow { font-weight: 700; color: var(--accent); text-shadow: 0 0 24px rgba(47,143,255,.55); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 660px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.fine { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }

.screen {
  margin: 56px auto -120px; max-width: 1060px; padding: 10px; border-radius: 18px; position: relative; z-index: 2;
  background: linear-gradient(#3A3B3F, #232428); border: 1px solid var(--edge);
  box-shadow: 0 40px 90px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04), 0 0 80px rgba(47,143,255,.18);
  transform: perspective(1800px) rotateX(6deg); transform-origin: 50% 0;
}
.screen img { border-radius: 10px; }

/* ------------------------------------------------------------ LCD stats */
.stats-band { position: relative; z-index: 1;
  padding: 170px 0 56px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px), linear-gradient(var(--panel-hi), var(--panel-mid) 35%, var(--panel-lo));
  border-top: 2px solid var(--edge); border-bottom: 2px solid var(--edge);
}
.lcd-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: linear-gradient(var(--lcd-a), #080C16 60%, var(--lcd-b)); border: 1px solid #000; border-top-width: 3px;
  border-radius: 8px; box-shadow: inset 0 2px 12px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.12);
}
.lcd-strip div { text-align: center; padding: 20px 8px; border-left: 1px solid #111827; }
.lcd-strip div:first-child { border-left: 0; }
.lcd-strip b { display: block; font: 700 38px/1.1 var(--display); color: var(--accent-2); text-shadow: 0 0 10px #2A7BFF, 0 0 2px #7CC4FF; }
.lcd-strip span { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #5E7FB8; }

/* ------------------------------------------------------------ sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.eyebrow { font: 700 13px/1 var(--font); letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sub { color: var(--muted); margin-top: -6px; margin-bottom: 30px; }
.grid { display: grid; gap: 18px; }
.two { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }

.card {
  background: linear-gradient(#26282D, #1E2024); border: 1px solid #2E3037; border-radius: var(--radius);
  padding: 24px; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 30px rgba(0,0,0,.25);
}
.card p { font-size: 15px; margin: 8px 0 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px 24px; border-radius: var(--radius);
  background: linear-gradient(#26282D, #1E2024); border: 1px solid #2E3037; }
.steps h3 { margin: 16px 0 8px; }
.steps p { font-size: 15px; margin: 0; }
.knum {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font: 700 20px var(--display); color: #fff;
  background: radial-gradient(circle at 45% 40%, #3A4BA8, #151C4E 70%);
  box-shadow: 0 0 0 4px #1A1B1F, 0 0 0 6px #4A4C52, 0 0 0 9px #16171A, 0 0 18px rgba(106,92,255,.55);
}

/* features */
.feat { grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.feat .ic { width: 38px; height: 38px; color: var(--accent-2); padding: 7px; border-radius: 10px;
  background: #0B1120; border: 1px solid #1E2A44; box-shadow: 0 0 14px rgba(47,143,255,.25); margin-bottom: 16px; }
.feat h3 { font-size: 18px; }
.genres { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.genres span { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #8FC2FF;
  background: rgba(47,143,255,.1); border: 1px solid rgba(47,143,255,.28); }

/* listen */
.listen { grid-template-columns: repeat(3, 1fr); }
.player { display: flex; flex-direction: column; }
.p-head { display: flex; align-items: center; gap: 10px; }
.p-head h3 { font-size: 18px; }
.dur { margin-left: auto; font: 500 13px var(--mono); color: var(--accent-2); background: #0B1120; border: 1px solid #1E2A44; border-radius: 6px; padding: 2px 8px; }
.player audio { width: 100%; margin-top: auto; padding-top: 16px; color-scheme: dark; }
.chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chapters button { font: 600 12px var(--font); color: var(--ink-2); background: linear-gradient(#4A4B50, #2C2D31);
  border: 1px solid var(--edge); border-radius: 6px; padding: 5px 9px; cursor: pointer; }
.chapters button:hover, .chapters button.on { color: #fff; background: linear-gradient(#3D9BFF, #1B5FD0); border-color: #0A2A66; }

/* split layouts */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--violet); padding-left: 12px; }
.models { list-style: none; margin: 0; padding: 10px; border-radius: var(--radius);
  background: linear-gradient(var(--lcd-a), #080C16 60%, var(--lcd-b)); border: 1px solid #000; border-top-width: 3px;
  box-shadow: inset 0 2px 12px rgba(0,0,0,.8), 0 20px 40px rgba(0,0,0,.35); }
.models li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid #111827; font-size: 14px; }
.models li:last-child { border-bottom: 0; }
.models b { color: var(--accent-2); font-weight: 600; text-shadow: 0 0 6px rgba(42,123,255,.7); }
.models span { color: #5E7FB8; text-align: right; }

.fan-panel { padding: 30px; border-radius: 20px; background: radial-gradient(ellipse at 50% 100%, #1A2340, #111317 70%); border: 1px solid #262A35; }
.fan-panel text { fill: #fff; font: 700 14px var(--font); }
.fan-panel .svg-cap { fill: var(--muted); font-weight: 600; font-size: 13px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #D7ECFF, #4FA3FF 40%, #1C4FD6 85%); box-shadow: 0 0 8px #2A7BFF; }
.big h3 { display: flex; align-items: center; gap: 12px; }
.tag { font: 700 12px var(--mono); letter-spacing: 1px; padding: 4px 8px; border-radius: 6px; color: var(--accent-2);
  background: #0B1120; border: 1px solid #1E2A44; }

/* pricing */
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; align-items: start; }
.price-card {
  padding: 30px; border-radius: 20px; position: relative;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px), linear-gradient(var(--panel-hi), var(--panel-mid) 35%, var(--panel-lo));
  border: 2px solid var(--edge); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(47,143,255,.15);
}
.pc-top { display: flex; gap: 16px; align-items: center; }
.pc-top h3 { font-size: 24px; }
.pc-top p { margin: 2px 0 0; color: #C9CDD5; font-size: 14px; }
.lcd-price { margin: 24px 0 8px; padding: 18px 22px; border-radius: 10px; display: flex; align-items: baseline; gap: 14px;
  background: linear-gradient(var(--lcd-a), #080C16 60%, var(--lcd-b)); border: 1px solid #000; border-top-width: 3px; box-shadow: inset 0 2px 12px rgba(0,0,0,.8); }
.lcd-price span { font: 700 56px/1 var(--display); color: var(--accent-2); text-shadow: 0 0 14px #2A7BFF, 0 0 2px #9CD0FF; }
.lcd-price small { color: #5E7FB8; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.price-card .ticks li { color: #DDE0E6; }
.price-card .btn { margin-top: 12px; font-size: 18px; padding: 17px 24px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: #C1C5CD; }
.secure svg { width: 16px; height: 16px; }
.reqs h3 { font-size: 20px; margin: 8px 0 14px; }
.reqs h3 + details { margin-top: 0; }
.reqs dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; margin: 0 0 30px; font-size: 15px; }
.reqs dt { color: var(--muted); font-weight: 600; }
.reqs dd { margin: 0; color: var(--ink); }
details { border: 1px solid #2E3037; border-radius: 10px; background: #1C1E22; margin-top: 10px; }
summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { padding: 0 16px 14px; margin: 0; font-size: 15px; }

/* manual */
.manual { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: center; }
.manual-cover { display: block; border-radius: 8px; overflow: hidden; transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); transition: transform .25s; }
.manual-cover:hover { transform: rotate(0) scale(1.02); }
.manual .btn { margin-top: 8px; }

/* contact */
.contact-alt { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; }
form.contact { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .3px; }
input, select, textarea {
  font: 15px/1.4 var(--font); color: var(--accent-2); padding: 11px 13px; border-radius: 8px; width: 100%;
  background: linear-gradient(var(--lcd-a), #080C16 60%, var(--lcd-b)); border: 1px solid #000; border-top-width: 2px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.05);
}
textarea { resize: vertical; min-height: 130px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%), linear-gradient(var(--lcd-a), var(--lcd-b));
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%, 0 0; background-size: 5px 5px, 5px 5px, 100% 100%; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 2px 8px rgba(0,0,0,.7), 0 0 0 3px rgba(47,143,255,.3); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #FF5A4E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: #5BE0A0; }
.form-status.err { color: #FF8A80; }
form.contact .btn { justify-self: start; }

/* footer */
.foot { padding: 40px 0 50px; border-top: 1px solid rgba(255,255,255,.06); background: #0E0F12; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 30px; align-items: center; }
.foot nav { display: flex; gap: 22px; justify-content: flex-end; flex-wrap: wrap; }
.foot nav a { color: var(--ink-2); font-size: 14px; }
.foot p { grid-column: 1 / -1; font-size: 12.5px; color: #6B7280; margin: 0; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .feat { grid-template-columns: repeat(2, 1fr); }
  .listen { grid-template-columns: 1fr; }
  .links { display: none; }
  .nav .btn-sm { margin-left: auto; }
}
@media (max-width: 820px) {
  .split, .split.rev, .price-wrap, .manual, .two, .steps { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split.rev .fan-panel { order: 2; }
  .manual-cover { max-width: 260px; }
  .lcd-strip { grid-template-columns: repeat(3, 1fr); }
  .lcd-strip div:nth-child(4) { border-left: 0; }
  .lcd-strip div:nth-child(n+4) { border-top: 1px solid #111827; }
  .screen { transform: none; margin-bottom: -60px; }
  .stats-band { padding-top: 100px; }
  .sec { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .feat, .row2 { grid-template-columns: 1fr; }
  .lcd-strip { grid-template-columns: repeat(2, 1fr); }
  .lcd-strip div { border-left: 0 !important; border-top: 1px solid #111827; }
  .lcd-strip div:nth-child(-n+2) { border-top: 0; }
  .lcd-strip b { font-size: 30px; }
  .brand { font-size: 14px; }
  .cta .btn { width: 100%; }
  .foot-in { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .models li { flex-direction: column; gap: 0; }
  .models span { text-align: left; }
  .hero { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .manual-cover { transition: none; }
}

/* ------------------------------------------------------------ jam & practice */
.jam { background:
  radial-gradient(ellipse 60% 70% at 85% 30%, rgba(106,92,255,.12), transparent 70%),
  radial-gradient(ellipse 50% 60% at 10% 90%, rgba(47,143,255,.08), transparent 70%), var(--bg); }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.uses span { padding: 6px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #C8BFFF;
  background: rgba(106,92,255,.12); border: 1px solid rgba(106,92,255,.35); }
.jam-grid { margin-top: 56px; }

.loop-panel {
  padding: 18px; border-radius: 16px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px), linear-gradient(var(--panel-hi), var(--panel-mid) 35%, var(--panel-lo));
  border: 2px solid var(--edge); box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 60px rgba(106,92,255,.18);
}
.loop-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.lh-lab { font: 700 12px var(--font); letter-spacing: 2px; color: #E4E6EA; }
.lh-lcd { font: 600 13px var(--font); color: var(--accent-2); text-shadow: 0 0 6px #2A7BFF; padding: 6px 12px; border-radius: 6px;
  background: linear-gradient(var(--lcd-a), #080C16 60%, var(--lcd-b)); border: 1px solid #000; border-top-width: 2px; }
.lh-lcd.bpm { margin-left: auto; font-family: var(--mono); }
.loop-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lb { position: relative; text-align: center; padding: 10px 6px 14px; border-radius: 8px; border: 1px solid var(--edge);
  background: linear-gradient(var(--lcd-a), #080C16 60%, var(--lcd-b)); box-shadow: inset 0 2px 10px rgba(0,0,0,.8); }
.lb small { display: block; font: 700 11px var(--font); color: #8FA9D6; }
.lb b { display: block; font: 600 30px/1.1 var(--font); color: var(--accent-2); text-shadow: 0 0 8px #2A7BFF; }
.lb i { display: block; font-style: normal; font-size: 10.5px; color: #3F7FD0; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 3px; height: 4px; border-radius: 3px; background: var(--accent);
  box-shadow: 0 0 10px #2A7BFF; opacity: 0; animation: bar-play 10s steps(1) infinite; }
.lb:nth-child(2)::after { animation-delay: 2.5s; }
.lb:nth-child(3)::after { animation-delay: 5s; }
.lb:nth-child(4)::after { animation-delay: 7.5s; }
@keyframes bar-play { 0% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
.loop-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12.5px; color: #C1C5CD; font-weight: 600; }

/* ------------------------------------------------------------ checkout states */
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.busy { cursor: progress; filter: saturate(.8); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 100;
  max-width: min(92vw, 520px); padding: 13px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: #22252C; border: 1px solid #353946; box-shadow: 0 16px 40px rgba(0,0,0,.5); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: #7A2B26; background: #2A1A1A; color: #FFC9C4; }

@media (max-width: 560px) {
  .loop-bars { grid-template-columns: repeat(2, 1fr); }
  .lh-lcd.bpm { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lb::after { animation: none; }
  .lb:first-child::after { opacity: 1; }
  .spin { animation-duration: 2s; }
}

/* ------------------------------------------------------------ import audio */
.import { background:
  radial-gradient(ellipse 55% 70% at 85% 40%, rgba(47,143,255,.14), transparent 70%), var(--bg-2);
  border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.import-shot { margin: 0; justify-self: center; max-width: 480px; transform: rotate(1.2deg); }
.import-shot img { border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06), 0 0 60px rgba(47,143,255,.18); }
.q { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font-weight: 800; font-size: 13px;
  color: #F2A33A; border: 1px solid #F2A33A; vertical-align: 1px; }
@media (max-width: 820px) { .import-shot { transform: none; max-width: 420px; } }
@media (max-width: 1180px) and (min-width: 1001px) {
  .nav-in { gap: 16px; }
  .links { gap: 14px; }
  .links a { font-size: 13.5px; }
}
/* the tilted screenshot is a few px wider at the bottom: never let it cause sideways scrolling */
.hero { overflow-x: clip; }

/* ------------------------------------------------------------ buy confirmation dialog */
.buy-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 26px 26px 22px; border: 1px solid #2E3037; border-radius: var(--radius);
  background: linear-gradient(#1F2126, #17181C); color: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(47,143,255,.18), 0 24px 70px rgba(0,0,0,.6);
}
.buy-dialog::backdrop { background: rgba(6,8,12,.72); backdrop-filter: blur(3px); }
.buy-dialog[open] { animation: bd-in .18s ease-out; }
@keyframes bd-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.bd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bd-head h3 { font-size: 22px; }
.buy-dialog p { font-size: 15px; }
.bd-steps { margin: 0 0 16px; padding-left: 22px; font-size: 15px; }
.bd-steps li { margin-bottom: 8px; }
.bd-steps li::marker { color: var(--accent); font-weight: 700; }
.bd-ask { color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.bd-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 520px) { .bd-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .buy-dialog[open] { animation: none; } }
