/* =====================================================================
   BandSync marketing site
   Palette and type mirror the app (syncset lib/utils/theme/app_theme.dart):
   graphite surfaces, 1px hairlines, one safety-amber accent.
   ===================================================================== */

/* ---------- Fonts (self-hosted, Latin subset of the app's own TTFs) --- */
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("/fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------------------------------------------------- */
:root {
  --amber: #ffb020;
  --amber-deep: #f2711c;
  --on-amber: #1a1205;
  --bg: #0f1215;
  --bg-deep: #0b0e10;
  --card: #171b1f;
  --card-2: #1f252b;
  --card-3: #262d34;
  --line: #272e35;
  --fg: #e9ecef;
  --fg-2: #c3cad1;
  --muted: #97a1aa;
  --live: #46a758;
  --danger: #e5484d;
  --section: #d3e2f2;
  --on-section: #10141a;

  --font-ui: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 6px;
  --radius-lg: 12px;
  --wrap: 1160px;
  --gutter: 20px;
  --header-h: 64px;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("/img/texture.webp");
  background-size: 1024px auto;
  color: var(--fg);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video { display: block; max-width: 100%; height: auto; }

a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffc24d; }

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-variant-ligatures: none;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  background: var(--card-3);
  color: var(--fg);
}

::selection { background: var(--amber); color: var(--on-amber); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-amber); }

/* ---------- Shared bits ----------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--amber);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.2vw, 3.5rem);
  letter-spacing: 0.005em;
  margin-top: 12px;
}
.h2 em { font-style: normal; color: var(--amber); }

.lead {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 1.125rem;
  color: var(--fg-2);
}

.section { padding-block: 72px; position: relative; }
@media (min-width: 960px) { .section { padding-block: 112px; } }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--amber);
}
.section-head--center .lead { margin-inline: auto; }

.hairline-top { border-top: 1px solid var(--line); }

/* Hazard stripe, the app's "safety plate" edge. */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 10px,
    #14171a 10px 20px
  );
  opacity: 0.85;
}

/* Chord-sheet pills (as in ChordSheetView) */
.chord {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85em;
  line-height: 1.35;
  padding: 0 0.3em;
  border-radius: 3px;
  background: var(--amber);
  color: var(--on-amber);
}
.sec-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.1em 0.55em;
  border-radius: 4px;
  background: var(--section);
  color: var(--on-section);
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 5px 8px 4px;
  border-radius: 4px;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}
.tag--pro {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: var(--on-amber);
}
.tag--free {
  background: transparent;
  color: var(--fg-2);
  box-shadow: inset 0 0 0 1px #3a444e;
}

/* Store badges: the stores' own artwork, unmodified. */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.badges a {
  display: block;
  border-radius: 9px;
  line-height: 0;
  transition: transform 0.15s ease;
}
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }

/* Textured plate button (TexturedButton in the app). */
.plate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 28px 10px 64px;
  border-radius: var(--radius);
  background: #c98a2b url("/img/plate-play.webp") left center / cover no-repeat;
  color: var(--on-amber);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  box-shadow: 0 10px 30px -12px rgba(255, 176, 32, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.plate-btn:hover { color: var(--on-amber); transform: translateY(-2px); filter: brightness(1.06); }

/* Device frames around real screenshots */
.device {
  position: relative;
  padding: 5px;
  border-radius: 30px;
  background: #050608;
  border: 1px solid #2d353d;
  box-shadow:
    0 40px 70px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.device img { border-radius: 25px; width: 100%; }
.device--tablet { border-radius: 24px; padding: 7px; }
.device--tablet img { border-radius: 17px; }

/* ---------- Header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 18, 21, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--fg); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }

.nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}
.nav-list a {
  color: var(--fg-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.975rem;
}
.nav-list a:hover { color: var(--fg); }

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { color: var(--on-amber); background: #ffc24d; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--fg);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 899px) {
  /* Collapsed behind the menu button (main.js reveals the button; without JS
     the page is one scroll and the footer repeats the links). */
  .header-cta { margin-left: auto; }
  .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 16px;
  }
  .nav-list a {
    display: block;
    padding: 12px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Hero ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 48px 72px;
}
.hero::before {
  /* Warm stage glow, the app's proGlow. */
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(255, 176, 32, 0.22), rgba(242, 113, 28, 0.08) 55%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 12.5vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero h1 span { display: block; color: var(--amber); }
.hero .lead { font-size: 1.1875rem; margin-top: 22px; }
.hero .badges { margin-top: 30px; }

.hero-points {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 8px;
  color: var(--fg-2);
  font-weight: 600;
}
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--amber); }
.hero-fine {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
  padding: 0 0 8% 14%;
}
.hero-visual .device--tablet { width: 100%; }
.hero-visual .device--phone {
  position: absolute;
  left: 0; bottom: 0;
  width: 40%;
  border-radius: 24px;
}
.hero-visual .device--phone img { border-radius: 20px; }
.hero-visual::after {
  content: "";
  position: absolute;
  left: 10%; right: 0; bottom: -4%;
  height: 22%;
  background: radial-gradient(closest-side, rgba(255, 176, 32, 0.35), transparent);
  filter: blur(18px);
  z-index: -1;
}
.device-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 14, 16, 0.92);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.device-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(70, 167, 88, 0.2); }
.device-tag--a { top: -14px; right: 10%; color: var(--amber); }

@media (min-width: 960px) {
  .hero { padding-block: 72px 112px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
  .hero h1 { font-size: clamp(4.25rem, 6.4vw, 6rem); }
}

/* ---------- Sound familiar -------------------------------------------- */
.familiar {
  padding-block: 56px;
  background: rgba(11, 14, 16, 0.7);
  border-block: 1px solid var(--line);
}
.familiar-grid { display: grid; gap: 28px; align-items: center; }
.quotes {
  list-style: none;
  display: grid;
  gap: 10px;
}
.quotes li {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  color: var(--fg);
  padding: 12px 16px;
  border-left: 3px solid var(--amber);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.familiar-copy p { color: var(--fg-2); font-size: 1.125rem; }
.familiar-copy p + p { margin-top: 14px; }
.familiar-copy strong { color: var(--fg); }
.for-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.for-list li {
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #343d46;
  color: var(--fg-2);
}
@media (min-width: 900px) {
  .familiar-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
}

/* ---------- How it works ---------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin-top: 40px;
}
.step {
  position: relative;
  padding: 22px 22px 22px 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px; top: 20px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--on-amber);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.step p { margin-top: 6px; color: var(--fg-2); font-size: 1rem; }
@media (min-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 74px 22px 24px; }
}

.how-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .how-media { grid-template-columns: 1.45fr 1fr; gap: 32px; }
}

.how-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; min-width: 0; }
.video-figure { margin: 0; }
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-figure figcaption {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}
.video-figure figcaption a { color: var(--fg-2); }

.callout {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.callout h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.callout p { margin-top: 8px; color: var(--fg-2); font-size: 1rem; }

/* Browser-join mock */
.browser {
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid #323b44;
  background: var(--bg-deep);
  overflow: hidden;
  font-size: 0.8125rem;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--card-2);
  border-bottom: 1px solid var(--line);
}
.browser-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #3a444e;
}
.browser-url {
  flex: 1;
  min-width: 0;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-deep);
  color: var(--fg-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-body { padding: 14px; display: grid; gap: 10px; }
.browser-title { font-weight: 700; font-size: 0.95rem; }
.fake-field {
  position: relative;
  padding: 12px 10px 8px;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  color: var(--fg);
}
.fake-field span {
  position: absolute;
  top: -8px; left: 8px;
  padding: 0 4px;
  background: var(--bg-deep);
  font-size: 0.6875rem;
  color: var(--muted);
}
.fake-plate {
  padding: 10px;
  border-radius: var(--radius);
  background: #d69a38 url("/img/plate-band.webp") center / cover no-repeat;
  color: var(--on-amber);
  font-weight: 700;
  text-align: center;
}

/* ---------- Your view: sync demo -------------------------------------- */
.view-grid { display: grid; gap: 40px; margin-top: 44px; align-items: center; }
@media (min-width: 960px) {
  .view-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.sync-demo { margin: 0; }
.sync-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 2.4vw, 18px);
  align-items: end;
}
.sp-label {
  min-height: 3.2em;
  margin-bottom: 8px;
  font-size: clamp(0.6875rem, 2.4vw, 0.8125rem);
  line-height: 1.3;
  color: var(--fg-2);
}
.sp-label b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}
.sp--leader .sp-label b { color: var(--amber); }
.sp-screen {
  border-radius: 18px;
  padding: 4px;
  background: #050608;
  border: 1px solid #2d353d;
}
.sp--leader .sp-screen {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.35), 0 18px 50px -18px rgba(255, 176, 32, 0.45);
}
.sp-inner {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}
.sp-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 8px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  font-size: clamp(7px, 1.9vw, 10px);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.sp-bar .live { color: var(--live); font-family: var(--font-display); letter-spacing: 0.08em; }
.sp-bar .live::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 3px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--live);
}
.sp-bar .t { overflow: hidden; text-overflow: ellipsis; }
.sp-view {
  position: relative;
  height: clamp(200px, 58vw, 440px);
  overflow: hidden;
}
.sp-view::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(transparent, var(--bg));
}
.sp-sheet {
  --fs: clamp(6.5px, 1.85vw, 10.5px);
  font-size: var(--fs);
  padding: 1em 1.1em;
  animation: sheet-scroll 16s ease-in-out infinite;
  will-change: transform;
}
.sp--vocals .sp-sheet { font-size: calc(var(--fs) * 1.3); }
.sp-sheet .sec { margin: 0.4em 0 0.7em; height: 1.9em; }
.sp-sheet .sec .sec-pill { font-size: 1em; }
.sp-sheet .row { height: 1.7em; display: flex; gap: 0.5em; align-items: center; }
.sp-sheet .row .chord { font-size: 1em; line-height: 1.4; }
.sp-sheet .lyr {
  height: 1.7em;
  display: flex;
  align-items: center;
}
.sp-sheet .lyr i {
  display: block;
  height: 0.62em;
  border-radius: 1em;
  background: #59636d;
}
.sp-sheet .row .chord:nth-child(2) { margin-left: 34%; }
.sp-sheet .row--intro .chord:nth-child(2) { margin-left: 0; }
.lyr i.w1 { width: 92%; }
.lyr i.w2 { width: 78%; }
.lyr i.w3 { width: 86%; }
.lyr i.w4 { width: 64%; }
.lyr i.w5 { width: 72%; }
.sp--vocals .sp-sheet .row { visibility: hidden; }
.sp--vocals .sp-sheet .lyr i { background: #8a949e; }

@keyframes sheet-scroll {
  0%, 14% { transform: translateY(0); }
  28%, 42% { transform: translateY(-22.1em); }
  56%, 74% { transform: translateY(-31.9em); }
  86%, 100% { transform: translateY(0); }
}

.sync-demo figcaption {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.own-list { list-style: none; display: grid; gap: 4px; }
.own-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.own-list li:last-child { border-bottom: 0; }
.own-list .own-h { margin: 0; font-family: var(--font-ui); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.own-list p { color: var(--fg-2); font-size: 1rem; margin-top: 2px; }
.ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--amber);
}
.ico svg { width: 22px; height: 22px; }
.own-sub {
  margin-top: 28px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.own-sub:first-child { margin-top: 0; }

/* ---------- Songs ----------------------------------------------------- */
.songs-grid { display: grid; gap: 44px; align-items: center; }
.songs-copy { order: -1; }
@media (min-width: 960px) {
  .songs-grid { grid-template-columns: 0.95fr 1.05fr; gap: 64px; }
  .songs-copy { order: 0; }
}
.screens-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
.screens-pair .device:last-child { transform: translateY(36px); }
.screens-pair figcaption {
  grid-column: 1 / -1;
  margin-top: 44px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.check-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg-2); }
.check-list svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--amber); }
.check-list strong { color: var(--fg); }


.tiles {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 64px;
}
@media (min-width: 640px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.tile-head { display: flex; align-items: center; gap: 12px; }
.tile-head .tag { margin-left: auto; }
.tile h3 { font-family: var(--font-ui); font-size: 1.125rem; line-height: 1.25; }
.tile p { margin-top: 10px; color: var(--fg-2); font-size: 1rem; }

.note-line {
  margin-top: 28px;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Rehearsals ------------------------------------------------ */
.rehearsals { background: linear-gradient(180deg, rgba(11, 14, 16, 0.75), rgba(11, 14, 16, 0.2)); }
.reh-grid { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 980px) { .reh-grid { grid-template-columns: repeat(3, 1fr); } }
.reh-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.reh-mock {
  position: relative;
  padding: 18px;
  min-height: 350px;
  background: var(--bg) url("/img/texture.webp") center / 1024px auto;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reh-body { padding: 22px; }
.reh-body h3 { font-family: var(--font-display); font-size: 1.625rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reh-body p { margin-top: 10px; color: var(--fg-2); font-size: 1rem; }
.reh-body p + p { margin-top: 8px; }

/* mock: recording */
.m-session { display: grid; gap: 7px; opacity: 0.55; }
.m-session .row { display: flex; gap: 22px; }
.m-session .lyr i { display: block; height: 7px; border-radius: 6px; background: #59636d; }
.m-session .chord { font-size: 0.75rem; }
.m-menu {
  position: absolute;
  right: 18px; bottom: 64px;
  width: min(230px, 78%);
  padding: 10px;
  border-radius: 12px;
  background: var(--card-2);
  border: 1px solid #333c45;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  display: grid;
  gap: 6px;
}
.m-menu-head { display: flex; justify-content: space-between; font-weight: 700; padding: 2px 4px 4px; }
.m-menu-head span { font-family: var(--font-mono); color: var(--muted); font-weight: 500; }
.m-menu div.opt { padding: 8px 10px; border-radius: 8px; background: var(--card-3); }
.m-menu div.opt--danger { background: var(--danger); color: #fff; font-weight: 600; }
.rec-pill {
  position: absolute;
  right: 18px; bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.2);
}
.rec-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: rec-blink 1.4s steps(1) infinite;
}
@keyframes rec-blink { 50% { opacity: 0.25; } }

/* mock: rehearsal detail */
.m-reh { display: grid; gap: 10px; }
.m-reh-date { font-weight: 700; font-size: 1rem; }
.m-reh-meta { color: var(--muted); margin-top: -8px; }
.m-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.6875rem;
  color: var(--muted);
  text-transform: uppercase;
}
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chips span { padding: 3px 9px; border-radius: 6px; background: var(--card-3); }
.m-track { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; }
.m-track b { grid-column: 1 / -1; font-weight: 600; }
.m-play {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--on-amber);
}
.m-play svg { width: 10px; height: 10px; }
.m-line { position: relative; height: 3px; border-radius: 3px; background: #3a444e; }
.m-line::before {
  content: "";
  position: absolute;
  left: var(--p, 0%); top: 50%;
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--amber);
}
.m-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--p, 0%);
  border-radius: 3px;
  background: var(--amber);
}
.m-line--a { --p: 33%; }
.m-time { grid-column: 2; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.6875rem; }
.m-upload {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--card-2);
  border: 1px solid #333c45;
}
.m-upload b { display: block; }
.m-upload small { color: var(--muted); font-size: 0.75rem; }
.m-bar { margin-top: 8px; height: 5px; border-radius: 5px; background: #3a444e; overflow: hidden; }
.m-bar i { display: block; width: 60%; height: 100%; background: var(--amber); }

/* mock: metronome */
.m-metro {
  align-self: center;
  width: min(280px, 100%);
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card-2);
  border: 1px solid #333c45;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.8);
}
.m-beats { display: flex; gap: 8px; }
.m-beats i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #4a545e;
  animation: beat 2s steps(1) infinite;
}
.m-beats i:nth-child(1) { animation-delay: 0s; }
.m-beats i:nth-child(2) { animation-delay: 0.5s; }
.m-beats i:nth-child(3) { animation-delay: 1s; }
.m-beats i:nth-child(4) { animation-delay: 1.5s; }
@keyframes beat {
  0% { background: var(--amber); box-shadow: 0 0 10px rgba(255, 176, 32, 0.8); }
  25%, 100% { background: #4a545e; box-shadow: none; }
}
.m-metro-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; gap: 12px; }
.m-bpm { font-family: var(--font-mono); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; line-height: 1; }
.m-btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
}
.m-metro small { display: block; margin-top: 10px; color: var(--muted); font-size: 0.75rem; }
.m-tap {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.75rem;
}
.m-tap span {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #3a444e;
  color: var(--fg);
  font-weight: 600;
}

/* ---------- Hands-free / stage ---------------------------------------- */
.stage-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .stage-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.pedal-figure { margin: 0 auto; width: 100%; max-width: 240px; position: relative; }
@media (min-width: 960px) { .pedal-figure { max-width: 360px; } }
.pedal-figure::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 176, 32, 0.28), transparent);
  filter: blur(20px);
}
.pedal-figure img { position: relative; width: 100%; }
.stage-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
@media (min-width: 640px) { .stage-list { grid-template-columns: 1fr 1fr; } }
.stage-list li {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.stage-list h3 { font-family: var(--font-ui); font-size: 1.0625rem; display: flex; gap: 10px; align-items: center; }
.stage-list h3 svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.stage-list p { margin-top: 8px; color: var(--fg-2); font-size: 0.975rem; }

/* ---------- Pricing --------------------------------------------------- */
.plans {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.plan--pro {
  border-color: rgba(255, 176, 32, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.12), rgba(242, 113, 28, 0.03)),
    var(--card);
}
.plan--pro .stripe { position: absolute; top: 0; left: 0; right: 0; }
.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}
.plan--pro .plan-name {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plan-for { color: var(--muted); font-size: 0.975rem; margin-top: 2px; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b {
  font-family: var(--font-display);
  font-size: 3.25rem;
  line-height: 1;
}
.price span { color: var(--fg-2); }
.price-alt { margin-top: 6px; color: var(--fg-2); font-size: 0.975rem; }
.price-alt strong { color: var(--fg); }
.offer {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 176, 32, 0.1);
  border: 1px dashed rgba(255, 176, 32, 0.5);
  font-size: 0.975rem;
  color: var(--fg);
}
.offer strong { color: var(--amber); }
.usd { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; }
.plan-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); font-size: 1rem; }
.plan-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--amber); }
.plan-list li.minus svg { color: var(--muted); }
.plan-list strong { color: var(--fg); }
.plan-foot { margin-top: auto; padding-top: 22px; font-size: 0.9375rem; color: var(--muted); }
.price-notes {
  max-width: 760px;
  margin: 28px auto 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}
.price-notes p + p { margin-top: 6px; }

/* ---------- FAQ ------------------------------------------------------- */
.faq-list { max-width: 820px; margin: 40px auto 0; }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 2px;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-list summary:hover { color: #fff; }
.faq-a { padding: 0 2px 22px; color: var(--fg-2); max-width: 70ch; }
.faq-a p + p { margin-top: 10px; }

/* ---------- Download / final CTA -------------------------------------- */
.download { padding-block: 72px; }
.download-card {
  position: relative;
  display: grid;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  overflow: hidden;
}
.download-copy { padding: 32px 24px; position: relative; z-index: 1; }
.download-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  text-transform: uppercase;
  line-height: 0.95;
}
.download-copy h2 span { color: var(--amber); display: block; }
.download-copy p { margin-top: 16px; color: var(--fg-2); font-size: 1.125rem; max-width: 46ch; }
.download-copy .badges { margin-top: 26px; }
.download-photo { position: relative; min-height: 300px; }
.download-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
}
.download-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-deep), transparent 30%);
}
@media (min-width: 900px) {
  .download { padding-block: 112px; }
  .download-card { grid-template-columns: 1.15fr 0.85fr; min-height: 460px; }
  .download-copy { padding: 56px; align-self: center; }
  .download-photo::after { background: linear-gradient(90deg, var(--bg-deep), transparent 40%); }
}

/* ---------- Footer ---------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-block: 48px 36px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h2 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--fg-2); text-decoration: none; }
.footer-grid a:hover { color: var(--amber); text-decoration: underline; }
.footer-brand p { margin-top: 12px; max-width: 40ch; }
.footer-legal:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  display: grid;
  gap: 6px;
}

/* ---------- Simple pages (privacy, 404) -------------------------------- */
.doc {
  max-width: 760px;
  margin-inline: auto;
  padding-block: 56px 88px;
}
.doc-kicker { color: var(--muted); font-size: 0.9375rem; }
.doc h1 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.75rem);
  text-transform: uppercase;
}
.doc-intro { margin-top: 14px; color: var(--fg-2); }
.doc h2 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}
.doc h2 + p { margin-top: 10px; }
.doc p { color: var(--fg-2); max-width: 68ch; }
.doc-card {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}

.notfound { text-align: center; padding-block: 96px 120px; }
.notfound .code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.notfound h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  text-transform: uppercase;
}
.notfound p { margin: 16px auto 0; max-width: 46ch; color: var(--fg-2); }
.notfound .plate-btn { margin-top: 30px; }

/* ---------- Motion ---------------------------------------------------- */
/* main.js pauses loops that are scrolled out of view. */
.is-offscreen,
.is-offscreen * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  /* Park the sync demo on the chorus so the three views still compare. */
  .sp-sheet { transform: translateY(-31.9em); }
  .m-beats i:first-child { background: var(--amber); }
}
