/* Refine's website: the app's dark look (Roboto only, violet accent, rounded cards). */

@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0f0e13;
  --surface: #17161e;
  --surface-2: #1f1d28;
  --surface-3: #282535;
  --border: #2e2b3a;
  --fg: #f0ecff;
  --muted: #9b94b8;
  --accent: #c9b8ff;
  --accent-strong: #6b4fd8;
  --mint: #9ff0c9;
  --gold: #f4d48a;
  --radius-card: 28px;
  --wrap: 1312px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Roboto", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/* The glows spill past the edges; clip (unlike hidden) makes no scroll box of its own. */
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 64px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--accent-strong); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; }

.accent { color: var(--accent); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.fine { color: var(--muted); font-size: 14px; }
.center { text-align: center; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 38px; line-height: 1.2; }
h3 { font-size: 20px; line-height: 1.3; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding-inline: 28px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-lg { height: 52px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: #7b60e6; }
.btn-ghost { background: rgba(201, 184, 255, 0.06); border-color: var(--border); color: var(--accent); }
.btn-ghost:hover { border-color: rgba(201, 184, 255, 0.4); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(15, 14, 19, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
/* The app's own icon (favicon.svg), drawn inline. */
.brand-mark { width: 36px; height: 36px; display: block; flex: none; }
.brand-mark.small { width: 32px; height: 32px; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-name { font-size: 18px; font-weight: 700; }
.nav { display: flex; gap: 28px; flex: 1; }
.nav a, .link-quiet { color: var(--muted); font-size: 14px; font-weight: 700; }
.nav a:hover, .link-quiet:hover { color: var(--fg); }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700; }
.lang a { color: var(--muted); font-weight: 700; padding: 0 2px; text-decoration: none; }
.lang a[aria-current="true"] { color: var(--accent); }
/* The menu button and menu, on tablet and phone only */
.menu-button { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: transparent; color: var(--fg); cursor: pointer; }
.menu-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-button .menu-close, .menu-button[aria-expanded="true"] .menu-open { display: none; }
.menu-button[aria-expanded="true"] .menu-close { display: inline; }
.menu { border-top: 1px solid var(--border); }
.menu-inner { display: flex; flex-direction: column; padding-block: 8px 20px; }
.menu-inner a { padding: 14px 0; color: var(--fg); font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--border); }
.menu-inner .lang-pills { padding-top: 16px; }

/* Hero */
/* The photo fills the band; gradients keep the headline readable (dark on the left, fading into
   the page at the bottom) while the musicians show through on the right. */
.hero-band { position: relative; isolation: isolate; overflow: hidden; }
.hero-band .hero { min-height: min(80vh, 760px); }
.hero-band .hero-copy { flex: 0 1 700px; }
.hero-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hero-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15, 14, 19, 0.92) 0%, rgba(15, 14, 19, 0.75) 30%, rgba(15, 14, 19, 0.15) 58%, rgba(15, 14, 19, 0) 100%),
              linear-gradient(180deg, rgba(15, 14, 19, 0.35) 0%, transparent 25%, transparent 70%, var(--bg) 100%); }
.hero { display: flex; align-items: center; gap: 56px; padding-top: 112px; padding-bottom: 112px; }
.hero-copy { flex: 1.2 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: clamp(56px, 5vw, 72px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.hero h1 .accent { background: linear-gradient(90deg, #f1ecff 0%, var(--accent) 45%, #a88bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.65; max-width: 560px; margin-top: -4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-lg { height: 60px; padding-inline: 32px; font-size: 16px; }
.btn-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.btn-arrow:hover svg { transform: translateX(3px); }
.btn-primary { box-shadow: 0 12px 40px -12px rgba(107, 79, 216, 0.8); }
.btn-outline { background: transparent; border-color: rgba(201, 184, 255, 0.35); color: var(--fg); border-radius: 12px; }
.btn-outline:hover { border-color: var(--accent); }
.hero-art { position: relative; flex: 1 1 0; min-width: 0; margin-right: -24px; }
.hero-glow { position: absolute; inset: 10% 0 -10% 10%; border-radius: 40px; background: radial-gradient(ellipse at 50% 60%, rgba(107, 79, 216, 0.45), transparent 70%); filter: blur(48px); }
.browser { position: relative; border-radius: 24px; overflow: hidden; border: 1.5px solid rgba(201, 184, 255, 0.28); background: var(--bg);
  transform: perspective(1600px) rotateY(-14deg) rotateX(4deg) rotateZ(-1deg); transform-origin: left center;
  box-shadow: 0 40px 120px -30px rgba(107, 79, 216, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4); }
.url { margin: 0 auto; padding: 4px 24px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: 12px; }
.browser-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: var(--bg); }
.browser-body .mini-card { padding: 12px; min-width: 0; }
.mini-wide { grid-column: span 2; }
.mini-insight { border-color: rgba(201, 184, 255, 0.18); background: radial-gradient(ellipse at 0% 0%, rgba(107, 79, 216, 0.22), transparent 60%), var(--surface); }
.mini-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring { width: 72px; height: 72px; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 6; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.ring-num { fill: var(--fg); font-size: 13px; font-weight: 700; text-anchor: middle; }
.ring-unit { fill: var(--muted); font-size: 7px; text-anchor: middle; }
.mini-streak { color: var(--gold); font-size: 26px; font-weight: 700; }
.mini-streak::before { content: "\1F525  "; }
.mini-challenge { border-color: rgba(201, 184, 255, 0.15); }
.mini-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 6px; }
.bars span { flex: 1; border-radius: 3px; background: rgba(201, 184, 255, 0.25); }
.bars span.on { background: var(--accent); }
.mini-song { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.mini-song-icon { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-strong); font-size: 14px; }
.radar { display: block; width: 100%; height: 56px; margin-top: 4px; }
.radar-grid { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.radar-fill { fill: rgba(201, 184, 255, 0.22); stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.mini-levels { display: flex; gap: 4px; height: 8px; margin-top: 8px; }
.lvl { border-radius: 999px; }
.lvl-learning { background: #8fb8ff; } .lvl-polishing { background: var(--accent); } .lvl-mastered { background: var(--mint); }
.mini-legend { display: flex; gap: 14px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.mini-card { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 14px; }
.mini-eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 4px; }
.mini-eyebrow.muted { color: var(--muted); }
.mini-title { font-size: 14px; font-weight: 700; }
.mini-title-sm { font-size: 13px; font-weight: 700; }
.mini-sub { color: var(--muted); font-size: 12px; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-mint { background: rgba(159, 240, 201, 0.1); color: var(--mint); }
.pill-violet { background: rgba(107, 79, 216, 0.16); color: var(--accent); border: 1px solid rgba(201, 184, 255, 0.3); }

/* Instruments */
.instruments { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 48px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.instruments-label { color: var(--muted); font-size: 14px; font-weight: 700; max-width: 170px; padding-right: 32px; border-right: 1px solid var(--border); }
.instrument-list { display: flex; flex: 1; justify-content: space-around; gap: 16px; }
.instrument-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.icon-tile { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(107, 79, 216, 0.12); border: 1px solid rgba(201, 184, 255, 0.15); }
.icon-tile svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The app's own instrument icons (icons/, copied from the app's drawables), tinted like the app does */
.instrument-icon { width: 56px; height: 56px; background: var(--accent); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.instrument-electric-guitar { --icon: url("icons/electric-guitar.svg"); }
.instrument-acoustic-guitar { --icon: url("icons/acoustic-guitar.svg"); }
.instrument-bass { --icon: url("icons/bass.svg"); }
.instrument-drums { --icon: url("icons/drums.svg"); }
.instrument-keyboard { --icon: url("icons/keyboard.svg"); }

/* Sections */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-head { text-align: center; margin-bottom: 56px; }
/* An instrument photo fading out behind a section's title (--photo on the element). */
.photo-head { position: relative; isolation: isolate; }
.photo-head::before { content: ""; position: absolute; z-index: -1; inset: -96px 0; pointer-events: none;
  background: var(--photo) center / cover no-repeat; opacity: 0.32;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 25%, transparent 100%); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.step-num { font-size: 48px; font-weight: 700; color: rgba(107, 79, 216, 0.55); line-height: 1; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.features { display: flex; flex-direction: column; gap: 24px; }
.feature { display: flex; align-items: stretch; gap: 32px; padding-block: 24px; }
.feature.reverse { flex-direction: row-reverse; }
.feature > * { flex: 1; min-width: 0; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-inline: 24px; }
.feature-copy h3 { font-size: 30px; line-height: 1.25; }
.feature-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; }
/* The app's real screenshots (one per feature, 4:3; demo data, see shots/README.md). */
.shot { aspect-ratio: 4 / 3; border-radius: var(--radius-card); border: 1px solid var(--border); background:
  radial-gradient(ellipse at 0% 0%, rgba(107, 79, 216, 0.22), transparent 60%), var(--surface);
  display: grid; place-items: center; color: var(--muted); font-size: 14px; font-weight: 700; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* Every musician: setlists */
.band { position: relative; display: flex; overflow: hidden; border-radius: 32px; border: 1px solid rgba(201, 184, 255, 0.2); background:
  radial-gradient(circle at 0% 0%, rgba(107, 79, 216, 0.22), transparent 35%), var(--surface); margin-block: 40px; }
/* The band's photo sits behind its copy and fades out to the right. */
.photo-band::before { content: ""; position: absolute; inset: 0 40% 0 0; pointer-events: none;
  background: var(--photo) center / cover no-repeat; opacity: 0.18;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 30%, transparent 100%); }
.photo-band > * { position: relative; }
.band-copy { flex: 1; padding: 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.band-copy .eyebrow { margin-bottom: -12px; }
.band-copy h2 { font-size: 30px; }
.band-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.band-art { flex: 0 0 400px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.setlist { border: 1px solid var(--border); background: var(--surface-2); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.setlist-head { display: flex; align-items: center; justify-content: space-between; }
.song { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-3); }
.song-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(107, 79, 216, 0.14); color: var(--accent); }
.song-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.key { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 2px 8px; border-radius: 8px; }
.prep-row { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; }
.prep-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prep-row i { width: 8px; height: 8px; border-radius: 2px; background: var(--surface-3); }
.prep-row i.on { background: var(--accent); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin-inline: auto; margin-bottom: 24px; }
.plan { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.plan-best { background: linear-gradient(145deg, var(--surface-2), var(--surface)); border-color: rgba(201, 184, 255, 0.35); }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 6px; color: var(--muted); font-size: 14px; margin-top: -16px; }
.amount { color: var(--fg); font-size: 36px; font-weight: 700; }
.price-soon { color: var(--accent); font-size: 18px; font-weight: 700; margin-top: -16px; }
.checks { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.checks li::before { content: ""; flex: 0 0 20px; height: 20px; border-radius: 50%; background: rgba(159, 240, 201, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' fill='none' stroke='%239ff0c9' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Teachers */
.teachers { display: flex; align-items: center; gap: 48px; padding: 40px 48px; margin-bottom: 48px; }
.teachers-copy { flex: 1; }
.teachers-copy .eyebrow { margin-bottom: 8px; }
.teachers-copy h3 { font-size: 24px; }
.teachers-copy p:last-child { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 12px; }
.waitlist { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: 0 0 auto; max-width: 460px; }
.waitlist input[type="email"] { height: 44px; width: 288px; padding-inline: 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--fg); }
.waitlist input::placeholder { color: var(--muted); }
.consent { flex-basis: 100%; font-size: 12px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 24px; }
.faq details[open] { border-color: rgba(201, 184, 255, 0.25); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 15px; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9l6 6l6-6' fill='none' stroke='%239b94b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 12px; }

/* Final call to action */
.final { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; padding: 80px 64px; margin-block: 40px; border-radius: 32px; border: 1px solid rgba(201, 184, 255, 0.2); background: linear-gradient(135deg, rgba(107, 79, 216, 0.25), rgba(107, 79, 216, 0.06)); }
.final h2 { font-size: 48px; line-height: 1.15; }
.final p { color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding-top: 56px; padding-bottom: 40px; }
.footer-grid { display: flex; gap: 64px; margin-bottom: 48px; }
.footer-brand { flex: 1; max-width: 260px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 16px; }
.footer nav, .footer-lang { display: flex; flex-direction: column; gap: 12px; }
.footer-lang { margin-left: auto; }
.footer h4 { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer nav a { color: var(--muted); font-size: 14px; }
.footer nav a:hover { color: var(--fg); }
.lang-pills { display: flex; gap: 8px; }
.lang-pills a { text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.lang-pills a[aria-current="true"] { border-color: rgba(201, 184, 255, 0.4); color: var(--accent); background: rgba(201, 184, 255, 0.08); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }

/* Waitlist: the hidden field for bots, and what happened after sending */
.waitlist-final { scroll-margin-top: 280px; margin: -8px auto 0; max-width: 560px; width: 100%; justify-content: center; }
.waitlist-final input[type="email"] { flex: 1 1 240px; height: 60px; }
.waitlist-final .consent, .waitlist-final .waitlist-status { width: 100%; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.waitlist-status:empty { display: none; }
.waitlist-status { font-size: 14px; font-weight: 700; color: var(--mint); }
.waitlist-status.error { color: #ffb4c0; }
.footer nav a.footer-email { color: var(--accent); }
.faq a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent a, .fine a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Legal pages (privacy.html, terms.html) */
.legal { max-width: 760px; padding-block: 64px 96px; }
.legal h1 { font-size: 40px; line-height: 1.2; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; scroll-margin-top: 96px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.legal strong { color: var(--fg); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .draft { margin: 24px 0 8px; padding: 14px 18px; border: 1px solid rgba(255, 180, 192, 0.35); border-radius: 12px; background: rgba(255, 180, 192, 0.06); color: #ffb4c0; font-size: 14px; }
.legal .todo { color: #ffb4c0; font-weight: 700; }
.legal [data-lang-section][hidden] { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .wrap { padding-inline: 40px; }
  .nav { display: none; }
  .link-quiet, .topbar .lang { display: none; }
  .menu-button { display: grid; }
  .topbar-inner { justify-content: space-between; }
  .hero { flex-direction: column; align-items: stretch; padding-top: 64px; }
  /* Stacked: the headline sits over the top of the photo, so darken from the top instead. */
  .hero-band::before { background: linear-gradient(180deg, rgba(15, 14, 19, 0.9) 0%, rgba(15, 14, 19, 0.7) 40%, rgba(15, 14, 19, 0.45) 70%, var(--bg) 100%); }
  .hero-art { flex-basis: auto; max-width: 640px; margin-inline: auto; width: 100%; }
  .hero h1 { font-size: 60px; }
  .steps { grid-template-columns: 1fr; }
  .band { flex-direction: column; }
  .band-art { flex-basis: auto; padding-top: 0; }
  .teachers { flex-direction: column; align-items: stretch; gap: 24px; }
  .waitlist { max-width: none; }
  .footer-grid { flex-wrap: wrap; gap: 40px; }
  .footer-lang { margin-left: 0; }
}

/* Phone */
@media (max-width: 680px) {
  .wrap { padding-inline: 16px; }
  .topbar-inner { height: 64px; gap: 12px; }
  .topbar .btn { height: 40px; padding-inline: 18px; }
  .hero { gap: 40px; padding-top: 40px; padding-bottom: 56px; }
  .hero h1 { font-size: 40px; }
  .legal { padding-block: 40px 64px; }
  .legal h1 { font-size: 32px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .browser { transform: none; }
  .browser-body { grid-template-columns: 1fr 1fr; }
  .btn-lg { height: 52px; font-size: 15px; }
  h2, .final h2 { font-size: 30px; }
  .instruments { flex-direction: column; padding: 24px; }
  .instruments-label { max-width: none; border-right: 0; padding-right: 0; text-align: center; }
  .instrument-list { flex-wrap: wrap; justify-content: center; gap: 20px 24px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 32px; }
  .feature, .feature.reverse { flex-direction: column; gap: 16px; padding-block: 8px; }
  .feature-copy { padding-inline: 4px; }
  .feature-copy h3 { font-size: 24px; }
  .band-copy { padding: 32px 24px; }
  .band-art { padding: 0 16px 24px; }
  .plans { grid-template-columns: 1fr; }
  .teachers { padding: 28px 24px; }
  .waitlist input[type="email"] { width: 100%; }
  .waitlist .btn { width: 100%; }
  .final { padding: 56px 24px; }
  .footer-grid { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
