/* ─── GuitarScroll marketing site ──────────────────────────────────────────────
   The visual system is the one CarConcierge uses (steel navy + blue primary +
   amber accent over light surfaces, graphite in dark mode); GuitarScroll takes a
   slightly deeper blue as its own hue and keeps every relationship intact.
   Mobile first: base styles are the phone layout, queries scale UP.

   TOKENS. Every colour on the site lives in the two :root blocks below. No
   colour literal exists outside them; every component paints from a token. */
:root {
  /* ── Steel (light) ── */
  --steel: #1c2637; --steel-d: #131b27; --steel-l: #28364b;
  --bg: #f3f5f8;
  --surface: #fff;
  --surface-2: #eaeef3;
  --surface-3: #f7f9fb;
  --surface-hover: #f2f6fb;
  --text: #1b232e; --ink: #1b232e;
  --text-muted: #6b7885; --muted: #6b7885;
  --border: #e0e5ec; --line: #e0e5ec;
  --primary: #3160b0; --primary-hover: #274f94;
  --primary-soft: #e7eefa;
  --accent: #e08a1e; --accent-2: #f0a53f; --accent-soft: #fdf0dc;
  --card: var(--surface);
  --radius: 12px; --shadow: 0 4px 16px -6px rgba(27, 35, 46, 0.10);
  --radius-xs: 6px; --radius-sm: 9px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-lift: 0 10px 26px -12px rgba(27, 35, 46, 0.22);
  --focus: var(--primary);
  --selection-bg: #cbdff2;
  --scroll-thumb: #c3ccd6; --scroll-thumb-hover: #a9b6c4; --scroll-track: transparent;
  --brand: var(--primary); --brand-soft: var(--primary-soft);
  accent-color: var(--primary);
  color-scheme: light;
  --on-primary: #ffffff;
  --primary-deep: #1f437f;
  --border-strong: #cbd5e0;
  --mono: 'Cascadia Mono', 'Consolas', 'Menlo', 'SF Mono', monospace;

  /* ── Site-only (derived) ── */
  --ink-soft: #5e6b78;
  --brand-dark: var(--primary-hover);
  --brand-glow: color-mix(in srgb, var(--primary) 35%, transparent);
  --hd-bg: color-mix(in srgb, var(--surface) 94%, transparent);
  --maxw: 1120px;
  --panel-1: var(--primary); --panel-2: var(--primary-deep); --panel-3: var(--steel);
  --hero-grad: linear-gradient(140deg, var(--panel-1) 0%, var(--panel-2) 55%, var(--panel-3) 120%);
  --on-dark: var(--on-primary);
  --on-dark-soft: color-mix(in srgb, var(--on-dark) 87%, transparent);
  --on-dark-dim: color-mix(in srgb, var(--on-dark) 72%, transparent);
  --on-dark-line: color-mix(in srgb, var(--on-dark) 45%, transparent);
  --on-dark-line-soft: color-mix(in srgb, var(--on-dark) 22%, transparent);
  --on-dark-wash: color-mix(in srgb, var(--on-dark) 10%, transparent);
  --on-dark-wash-2: color-mix(in srgb, var(--on-dark) 16%, transparent);
  --hero-eyebrow: color-mix(in srgb, var(--on-dark) 88%, var(--panel-1));
  /* Sheet demo: the sung word and the heard note carry the accent */
  --sheet-current-bg: var(--accent-2);
  --sheet-current-ink: var(--steel-d);
  --sheet-done: var(--on-dark-dim);
  --sheet-chord: var(--accent-2);
  --meter-on: var(--accent-2);
  --meter-off: var(--on-dark-line-soft);
}

/* Follows the OS preference (Graphite). The hero band re-pins its stops to
   the deep/steel tokens so white copy on it stays >= 4.5:1. */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #10161f;
    --surface: #1a2230;
    --surface-2: #232e40;
    --surface-3: #1e2836;
    --surface-hover: #253145;
    --text: #dde5ee; --ink: #f0f4f9;
    --text-muted: #93a3b5; --muted: #93a3b5;
    --border: #2b3a4e; --line: #2b3a4e;
    --border-strong: #3a4d66;
    --primary: #5b93d9; --primary-hover: #78a9e3;
    --primary-soft: rgba(91, 147, 217, 0.16);
    --primary-deep: #2f5fa8;
    --accent: #eda23c; --accent-2: #f4b968; --accent-soft: rgba(237, 162, 60, 0.16);
    --steel: #121924; --steel-d: #0c1119; --steel-l: #1f2a3a;
    --shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.5);
    --shadow-lift: 0 10px 26px -12px rgba(0, 0, 0, 0.65);
    --selection-bg: #2c4a68;
    --scroll-thumb: #35455c; --scroll-thumb-hover: #465872;
    --ink-soft: var(--muted);
    --panel-1: var(--primary-deep); --panel-2: var(--steel-l); --panel-3: var(--steel-d);
  }
}

* { box-sizing: border-box; scrollbar-width: thin; }
html { scroll-behavior: smooth; scrollbar-color: var(--scroll-thumb) var(--scroll-track); -webkit-text-size-adjust: 100%; }
::selection { background: var(--selection-bg); color: var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: var(--radius-pill); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); background-clip: padding-box; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hero :focus-visible, .cta-band :focus-visible { outline-color: var(--on-dark); }
[hidden] { display: none !important; }

body { margin: 0; color: var(--ink); background: var(--card); overflow-x: hidden;
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.65; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 12px; }
p { margin: 0 0 14px; }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; height: auto; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
em { font-style: normal; color: var(--accent); }

.eyebrow { display: block; font-weight: 800; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.eyebrow.center { text-align: center; }
.hero .eyebrow { color: var(--hero-eyebrow); }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .18s ease; text-align: center;
  font-family: inherit; line-height: 1.4; white-space: nowrap; }
.btn, .btn:visited { color: var(--brand); }
.btn { background: var(--card); border-color: var(--line); }
.btn:hover { border-color: var(--brand); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-primary, .btn-primary:visited { background: var(--brand); color: var(--on-primary); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px var(--brand-glow); }
.btn-white, .btn-white:visited { background: var(--on-dark); color: var(--panel-2); border-color: var(--on-dark); }
.btn-white:hover { box-shadow: 0 8px 20px var(--brand-glow); transform: translateY(-1px); }
.btn-outline, .btn-outline:visited { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.btn-outline:hover { border-color: var(--on-dark); background: var(--on-dark-wash); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-block { display: block; width: 100%; }

/* Header: static on phones (nothing sticky or floating), sticky on desktop */
.hd { position: relative; z-index: 20; background: var(--hd-bg); border-bottom: 1px solid var(--line); }
.hd-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.hd-brand { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.hd-brand .hd-name span { color: var(--brand); }
.hd-mark { width: 30px; height: 22px; flex: none; object-fit: contain; }
.hd-nav { display: none; }
.hd-cta { display: flex; gap: 8px; margin-left: auto; align-items: center; }
.hd-desktop-only { display: none; }
@media (min-width: 860px) {
  .hd { position: sticky; top: 0; backdrop-filter: blur(8px); }
  .hd-nav { display: flex; gap: 6px; flex: 1; }
  .hd-nav a { padding: 8px 11px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease, background .15s ease; }
  .hd-nav a:hover { color: var(--ink); background: var(--bg); }
  .hd-desktop-only { display: inline-block; }
}

/* Mobile menu */
.hd-burger { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; flex: none;
  padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.hd-burger:hover { background: var(--bg); border-color: var(--brand); }
.hd-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hd-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hd-burger.open span:nth-child(2) { opacity: 0; }
.hd-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hd-mobile { display: flex; flex-direction: column; border-top: 1px solid var(--line); background: var(--card); padding: 8px 0; }
.hd-mobile a { padding: 13px 24px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--bg); }
.hd-mobile a:active { background: var(--bg); }
@media (min-width: 860px) { .hd-burger, .hd-mobile { display: none !important; } }

/* Hero */
.hero { background: var(--hero-grad); color: var(--on-dark); position: relative; overflow: hidden; text-align: center; }
.hero .wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; max-width: 880px; }
.hero h1 { font-size: clamp(30px, 6.5vw, 46px); font-weight: 800; margin: 0 0 16px; color: var(--on-dark); }
.hero h1 em { color: var(--accent-2); }
.hero-sub { font-size: 16.5px; line-height: 1.65; color: var(--on-dark-soft); margin: 0 auto 26px; max-width: 600px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-actions .btn-lg { width: 100%; }
.hero-note { margin: 16px auto 0; max-width: 560px; font-size: 15px; line-height: 1.6; color: var(--on-dark-soft); }
.hero-note strong { color: var(--on-dark); font-weight: 700; }
.hero-mark { display: block; margin: 0 auto 18px; height: 68px; width: auto; }
@media (min-width: 560px) { .hero-actions .btn-lg { width: auto; } .hero .wrap { padding-top: 76px; padding-bottom: 88px; } .hero-mark { height: 92px; margin-bottom: 22px; } }

/* Hero demo: a song sheet following the singer, in one glance */
.demo { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 34px auto 0; max-width: 820px; text-align: left; }
.demo-card { background: var(--on-dark-wash); border: 1px solid var(--on-dark-line-soft); border-radius: var(--radius-lg); padding: 16px 18px; min-width: 0; }
.demo-tag { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 10px; }
.sheet { font-family: var(--mono); font-size: 14px; line-height: 1.5; white-space: nowrap; overflow: hidden; }
.sheet .chords { white-space: pre; }
.sheet .sec-name { color: var(--on-dark-dim); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; font-family: inherit; }
.sheet .chords { color: var(--sheet-chord); font-weight: 700; }
.sheet .line { margin-bottom: 8px; }
.sheet .w { display: inline; }
.sheet .w.done { color: var(--sheet-done); }
.sheet .w.now { background: var(--sheet-current-bg); color: var(--sheet-current-ink); font-weight: 700; border-radius: 4px; padding: 0 3px; margin: 0 -3px; }
.sheet .line.next { color: var(--on-dark-soft); }
.ear { display: flex; flex-direction: column; gap: 10px; }
.ear-row { display: flex; align-items: center; gap: 10px; background: var(--on-dark-wash); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 13px; min-width: 0; }
.ear-row b { flex: none; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-dim); min-width: 52px; }
.ear-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ear-row .mono { font-family: var(--mono); }
.ear-row em { margin-left: auto; flex: none; font-weight: 800; color: var(--accent-2); font-size: 12px; }
.meter { display: flex; gap: 3px; align-items: flex-end; height: 22px; flex: none; }
.meter i { display: block; width: 4px; background: var(--meter-off); border-radius: 2px; }
.meter i.on { background: var(--meter-on); }
@media (min-width: 700px) { .demo { grid-template-columns: 1.3fr 1fr; align-items: stretch; } }

/* Sections */
.sec { padding: 56px 0; }
.sec.sec-dark { background: var(--bg); }
.sec h2 { font-size: clamp(24px, 4.4vw, 34px); font-weight: 800; }
.sec-lead { max-width: 680px; margin: 0 auto 34px; color: var(--ink-soft); }
@media (min-width: 860px) { .sec { padding: 84px 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow); transition: box-shadow .18s ease, transform .18s ease; min-width: 0; }
.step-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.step-num { width: 40px; height: 40px; border-radius: var(--radius); background: var(--hero-grad); color: var(--on-dark);
  font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step-card h3 { font-size: 17px; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps-4 { grid-template-columns: repeat(4, 1fr); } }

/* Feature cards */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
.feat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow); min-width: 0; }
.feat-ico { width: 44px; height: 44px; border-radius: var(--radius); background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat-ico svg { width: 24px; height: 24px; }
.feat-ico img { width: 24px; height: 24px; object-fit: contain; }
.feat-card h3 { font-size: 16.5px; }
.feat-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.split-copy p { color: var(--ink-soft); font-size: 15.5px; }
.split-copy strong { color: var(--ink); }
.split-copy .btn { margin-top: 4px; }
.split-media { order: -1; min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .split-media { order: 0; }
  .split-rev { grid-template-columns: 0.9fr 1.1fr; }
  .split-rev .split-copy { order: 2; }
  .split-rev .split-media { order: 1; }
}

/* Check list */
.points { list-style: none; padding: 0; margin: 0 0 20px; }
.points li { padding: 10px 0 10px 32px; position: relative; font-size: 15px; color: var(--ink-soft); }
.points li::before { content: ''; position: absolute; left: 6px; top: 15px; width: 7px; height: 13px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(45deg); }
.points strong { color: var(--ink); }
.li-appicon { width: 18px; height: 18px; object-fit: contain; vertical-align: -3px; margin-left: 6px; margin-top: 4px; border-radius: 5px; }

/* Tab practice frame: the trainer waiting for a note */
.tabframe { background: var(--steel); color: var(--on-dark); border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lift); padding: 18px 18px 14px; }
.tabframe .demo-tag { color: var(--on-dark-dim); }
.tab { font-family: var(--mono); font-size: 13.5px; line-height: 1.55; white-space: pre; overflow-x: auto; margin: 0 0 12px; color: var(--on-dark-soft); }
.tab .s { color: var(--on-dark-dim); }
.tab .hit { color: var(--sheet-done); }
.tab .now { background: var(--sheet-current-bg); color: var(--sheet-current-ink); font-weight: 700; border-radius: 3px; }
.tab-status { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--on-dark-soft); border-top: 1px solid var(--on-dark-line-soft); padding-top: 12px; }
.tab-status b { color: var(--on-dark); font-weight: 700; }
.tab-status em { color: var(--accent-2); font-weight: 800; }
.tab-status .stat { display: inline-flex; gap: 6px; align-items: baseline; }
.shot-cap { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-soft); }

/* Listening modes */
.modes { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mode { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow); min-width: 0; }
.mode .feat-ico { margin: 0; }
.mode h3 { font-size: 15.5px; margin: 6px 0 4px; }
.mode p { margin: 0; color: var(--ink-soft); font-size: 14px; }
@media (min-width: 700px) { .modes { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.price-card { max-width: 480px; margin: 0 auto; background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 30px 26px; text-align: left; }
.price-card .eyebrow { margin-bottom: 6px; }
.price-card h3 { font-size: 22px; margin: 0 0 6px; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 14px; color: var(--ink-soft); font-size: 15px; }
.price-line strong { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.price-card .points { margin-bottom: 24px; }
.price-card .points li { padding-top: 7px; padding-bottom: 7px; font-size: 14.5px; }
.price-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
@media (min-width: 860px) { .price-card { padding: 38px 40px; } }

/* Closing CTA */
.cta-band { padding: 64px 0; text-align: center; background: var(--hero-grad); color: var(--on-dark); }
.cta-band h2 { max-width: 640px; margin: 0 auto 12px; color: var(--on-dark); font-size: clamp(24px, 4.4vw, 34px); font-weight: 800; }
.cta-band p { max-width: 520px; margin: 0 auto 26px; color: var(--on-dark-soft); }
.cta-band .btn-lg { width: 100%; }
@media (min-width: 560px) { .cta-band .btn-lg { width: auto; } }

/* Footer */
.ft { border-top: 1px solid var(--line); padding: 36px 0 46px; background: var(--card); }
.ft-row { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.ft p { max-width: 560px; font-size: 13px; color: var(--ink-soft); margin: 0; }
.ft-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ft-links a { font-size: 13.5px; color: var(--ink-soft); }
.ft-links a:hover { color: var(--brand); }
