/* Transcribe+ marketing site
   One dark look, matching the app's tutorial and App Store slides: navy gradient,
   indigo glow, and the cyan of the logo's plus. System SF font, no external deps. */

:root {
  color-scheme: dark;

  --bg:        #0b0d18;
  --bg-2:      #121528;
  --navy:      #212438;
  --slate:     #424661;           /* the player's own background */
  --surface:   rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.16);

  --text:      #f3f4fa;
  --text-dim:  #a6abc6;
  --text-dimmer: #737894;

  --indigo:    #525cf2;           /* TutorialStyle.glow */
  --indigo-2:  #4b5bea;           /* the icon's lower half */
  --indigo-lo: #8a92ff;
  --cyan:      #3ddee8;           /* TutorialStyle.accent */
  --cyan-dim:  rgba(61, 222, 232, 0.14);

  --glow-indigo: rgba(82, 92, 242, 0.55);
  --glow-cyan:   rgba(61, 222, 232, 0.22);

  --maxw: 1160px;
  --radius: 22px;
  --radius-lg: 30px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue",
          system-ui, "Segoe UI", Roboto, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue",
          system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, var(--navy) 0, var(--bg) 900px, var(--bg) 100%);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The tutorial's glow: an indigo wash up top with a cyan edge, fixed behind the page. */
body::before {
  content: "";
  position: fixed;
  inset: -25% -20% auto -20%;
  height: 120vh;
  background:
    radial-gradient(60% 55% at 72% 18%, var(--glow-indigo) 0%, rgba(82, 92, 242, 0.16) 45%, transparent 75%),
    radial-gradient(40% 40% at 20% 8%, rgba(61, 222, 232, 0.12) 0%, transparent 70%);
  filter: blur(40px) saturate(1.2);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(140% 100% at 50% 0%, transparent 62%, rgba(0, 0, 0, 0.45) 100%);
  z-index: -1;
  pointer-events: none;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 650; color: var(--text); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.hl { color: var(--cyan); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #6a73ff, var(--indigo));
  color: #fff;
  box-shadow: 0 4px 16px rgba(82, 92, 242, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(82, 92, 242, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-sm { font-size: 14.5px; padding: 9px 18px; }
.btn-text { color: var(--text-dim); padding-left: 4px; padding-right: 4px; }
.btn-text:hover { color: var(--text); }
.btn-text .chev { transition: transform .2s ease; }
.btn-text:hover .chev { transform: translateY(2px); }
.btn:focus-visible, .store-badge:focus-visible, .nav-links a:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 4px;
}

/* Apple's black badge, never recoloured; a soft glow so it doesn't vanish on navy. */
.store-badge {
  display: inline-block; line-height: 0; border-radius: 8px;
  filter: drop-shadow(0 0 14px rgba(82, 92, 242, 0.55)) drop-shadow(0 10px 28px rgba(82, 92, 242, 0.35));
  transition: transform .15s ease, filter .2s ease;
}
.store-badge:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 20px rgba(82, 92, 242, 0.8)) drop-shadow(0 12px 32px rgba(82, 92, 242, 0.5));
}
.store-badge img { height: 52px; width: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  background: rgba(14, 16, 30, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 2px 10px rgba(82, 92, 242, 0.45); }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--text-dim); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links .to-tech { color: var(--cyan); }

/* ---------- Type ---------- */
.eyebrow, .kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
}
h1, h2, h3 { font-family: var(--display); }
.two-line { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.two-line span { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { font-size: clamp(44px, 7vw, 82px); margin: 0 0 22px; }
.hero .lede { font-size: clamp(17px, 2vw, 20.5px); color: var(--text-dim); max-width: 36ch; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.cta-row.center { justify-content: center; }

.proof {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  font-size: 14px; color: var(--text-dimmer);
}
.proof .stars { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dim); }
.proof .stars b { color: var(--text); font-size: 15px; }
.stars-row { display: inline-flex; gap: 2px; }
.stars-row svg { width: 16px; height: 16px; }
.hero-note { margin: 14px 0 0; font-size: 14px; color: var(--text-dimmer); }
.hero-note b { color: var(--text-dim); font-weight: 600; }
.proof .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dimmer); opacity: .6; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 40px; }
.hero-visual .phone { --pw: 330px; }
.speed-card {
  /* Sits over the phone's own transport row (77.75% down the screenshot), enlarged. */
  position: absolute; left: 50%; top: calc(var(--pw) * 1.608);
  transform: translate(-50%, -50%);
  width: calc(var(--pw) * 1.16);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: calc(var(--pw) * 0.03);
  padding: calc(var(--pw) * 0.045) calc(var(--pw) * 0.06);
  border-radius: calc(var(--pw) * 0.07);
  background: rgba(66, 70, 97, 0.9);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(82, 92, 242, 0.5);
  z-index: 6;
}
.speed-card .col { text-align: center; line-height: 1.22; }
.speed-card .lbl { font-size: calc(var(--pw) * 0.054); color: rgba(255, 255, 255, 0.62); font-weight: 500; }
.speed-card .val { font-size: calc(var(--pw) * 0.06); font-weight: 650; font-variant-numeric: tabular-nums; }
.speed-card .sub { font-size: calc(var(--pw) * 0.042); font-variant-numeric: tabular-nums; }
.speed-card .speed .val, .speed-card .speed .sub { color: #7d86ff; }
.speed-card .pitch .val { color: var(--cyan); }
.speed-card .play {
  width: calc(var(--pw) * 0.2); height: calc(var(--pw) * 0.2); border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.speed-card .play svg { width: 40%; height: 40%; margin-left: 6%; }

/* ---------- Phones ----------
   A CSS frame around a raw 1320 x 2868 screenshot (or a 720 x 1566 film), so every
   phone on the page is the same object. Width comes from --pw. Three stacked
   indigo/cyan glows, as on the App Store slides. */
.phone {
  --pw: 300px;
  position: relative;
  width: var(--pw);
  max-width: 100%;
  padding: calc(var(--pw) * 0.034);
  border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(150deg, #3a3e52 0%, #15161d 38%, #0c0d12 70%, #2b2e3c 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    inset 0 0 0 calc(var(--pw) * 0.012) #07080c,
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 70px -12px rgba(82, 92, 242, 0.6),
    0 0 110px rgba(82, 92, 242, 0.35),
    0 0 180px rgba(61, 222, 232, 0.12),
    0 50px 90px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.phone .screen {
  position: relative;
  border-radius: calc(var(--pw) * 0.135);
  overflow: hidden;
  aspect-ratio: 1320 / 2868;
  background: var(--slate);
  isolation: isolate;
}
.phone .screen > img, .phone .screen > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Simulator screenshots have no Dynamic Island; the films do. */
.phone:not(.film) .screen::after {
  content: "";
  position: absolute; z-index: 5;
  top: calc(var(--pw) * 0.025); left: 50%; transform: translateX(-50%);
  width: calc(var(--pw) * 0.29); height: calc(var(--pw) * 0.083);
  border-radius: 999px; background: #000;
}
.phone .stack > img { transition: opacity .7s ease; }

.film-toggle {
  position: absolute; right: calc(var(--pw) * 0.07); bottom: calc(var(--pw) * 0.07); z-index: 6;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(14, 16, 30, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity .2s ease;
}
.phone:hover .film-toggle, .film-toggle:focus-visible, .phone.paused .film-toggle { opacity: 1; }
.film-toggle svg { width: 14px; height: 14px; }
.film-toggle .i-play { display: none; }
.phone.paused .film-toggle .i-play { display: block; }
.phone.paused .film-toggle .i-pause { display: none; }

/* ---------- Cut-outs ---------- */
.cut {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(82, 92, 242, 0.35);
  background: var(--slate);
}
.cut.light { background: #fff; }
.cut img { width: 100%; height: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: rgba(20, 22, 40, 0.78);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.bob { animation: bob 6s ease-in-out infinite; }
.bob.slow { animation-duration: 8s; animation-delay: -2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Sections ---------- */
section { position: relative; }
section[id], #top { scroll-margin-top: 76px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 16px; }
.section-head p { color: var(--text-dim); font-size: 18px; margin: 0; }

/* ---------- Feature rows ---------- */
.features { padding: 40px 0 10px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 70px 0;
}
.feature + .feature { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.feature.flip .feature-text { order: 2; }
.feature-text .kicker { margin-bottom: 14px; }
.feature-text h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 0 0 20px; }
.feature-text > p { color: var(--text-dim); font-size: 18px; margin: 0 0 28px; max-width: 46ch; }
.feature-text > p b { font-weight: 600; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 48ch; }
.points li { position: relative; padding-left: 30px; color: var(--text-dim); font-size: 15.5px; line-height: 1.5; }
.points li::before {
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 12px; height: 12px; border-radius: 4px;
  background: var(--cyan-dim); border: 1.5px solid var(--cyan);
}
.points li b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.feature-text > p.fine { margin: 22px 0 0; font-size: 13px; color: var(--text-dimmer); max-width: 52ch; }

.feature-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.feature-visual .phone { --pw: 290px; }

/* slow-downer: the speed-pad ranges beside the film */
.range-cards { position: absolute; left: 0; top: 18%; display: grid; gap: 14px; z-index: 3; }
.range-card {
  padding: 14px 18px; border-radius: 18px; min-width: 168px;
  background: rgba(20, 22, 40, 0.8); border: 1px solid var(--border-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(82, 92, 242, 0.25);
}
.range-card .t { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dimmer); }
.range-card .v { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.range-card.speed .v { color: #7d86ff; }
.range-card.pitch .v { color: var(--cyan); }
.range-card.cents .v { color: #fff; }

/* livescrub: finger ring + labels */
.scrub-tags { position: absolute; right: -16px; top: 34%; display: grid; gap: 12px; z-index: 3; justify-items: start; }

/* stems: tabs hanging off the phone's right edge, as on slide 3 */
.stems-visual .phone { --pw: 300px; }
.stem-tabs { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.stem-tab {
  position: absolute; left: calc(100% - 6px);
  transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 14px;
  border-radius: 0 999px 999px 0;
  background: var(--cyan); color: #0b1a2a;
  font-size: 15px; font-weight: 750; letter-spacing: -0.01em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 22px rgba(61, 222, 232, 0.45);
  transition: background .5s ease, color .5s ease, box-shadow .5s ease, opacity .5s ease;
}
.stem-tab svg { width: 16px; height: 16px; }
.stem-tab .off { display: none; }
.stem-tab.muted { background: #2a2d45; color: rgba(255, 255, 255, 0.6); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.stem-tab.muted .on { display: none; }
.stem-tab.muted .off { display: block; }
.stem-names {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none;
}
.stem-names li {
  padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(61, 222, 232, 0.3);
}

/* beat + chords */
.chords-visual .chart-card { position: absolute; left: -10px; bottom: 6%; width: 270px; z-index: 3; }
.chords-visual .lane-card { position: absolute; right: -30px; top: 9%; width: 300px; z-index: 3; }
.chords-visual .bpm-chip { position: absolute; left: 0; top: 30%; z-index: 3; }

/* smart loops: the pass ladder */
.ladder {
  position: absolute; right: -14px; bottom: 8%; z-index: 3;
  width: 250px; padding: 16px 16px 12px; border-radius: 20px;
  background: rgba(20, 22, 40, 0.84); border: 1px solid var(--border-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(82, 92, 242, 0.3);
}
.ladder h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dimmer); font-weight: 700; }
.ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ladder li {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 12px; font-size: 14px;
  color: var(--text-dim); background: rgba(255, 255, 255, 0.03);
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}
.ladder li .p { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--text-dimmer); }
.ladder li .s { font-weight: 650; font-variant-numeric: tabular-nums; }
.ladder li .k { font-weight: 700; min-width: 2.2em; text-align: right; }
.ladder li.on { background: rgba(82, 92, 242, 0.28); color: #fff; box-shadow: inset 0 0 0 1px rgba(125, 134, 255, 0.6); }
.ladder li.on .k { color: var(--cyan); }
.ladder .count { display: flex; gap: 6px; margin-top: 10px; padding: 0 2px; align-items: center; font-size: 12px; color: var(--text-dimmer); }
.ladder .count i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); transition: background .15s ease; }
.ladder .count i.lit { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- More (mosaic + tiles) ---------- */
.more { padding: 90px 0 40px; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.mosaic figure {
  margin: 0; padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.mosaic .frame { border-radius: 12px; overflow: hidden; background: var(--slate); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.mosaic .frame.light { background: #fff; }
.mosaic .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mosaic .frame.contain img { object-fit: contain; }
.mosaic figcaption { font-size: 14.5px; color: var(--text-dim); line-height: 1.45; padding: 0 4px 4px; }
.mosaic figcaption b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 2px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  padding: 20px 20px 18px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border);
}
.tile svg { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 12px; }
.tile h3 { margin: 0 0 4px; font-size: 16px; font-family: var(--font); font-weight: 650; }
.tile p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.45; }

/* ---------- Quote + closer ---------- */
.closer { padding: 80px 0 60px; }
.closer-card {
  position: relative; overflow: hidden;
  text-align: center; padding: 64px 32px 56px; border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(82, 92, 242, 0.42), transparent 70%),
    linear-gradient(180deg, rgba(33, 36, 56, 0.9), rgba(14, 16, 30, 0.9));
  border: 1px solid var(--border-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.closer-card img.icon { width: 84px; height: 84px; border-radius: 19px; margin: 0 auto 26px; box-shadow: 0 10px 40px rgba(82, 92, 242, 0.6); }
.closer-card blockquote { margin: 0 auto 18px; max-width: 30ch; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); font-weight: 650; line-height: 1.3; letter-spacing: -0.015em; }
.closer-card cite { display: block; font-style: normal; color: var(--text-dim); font-size: 15px; margin-bottom: 34px; }
.closer-card cite .stars-row { vertical-align: -2px; margin-right: 6px; }
.closer-card .note { margin: 18px 0 0; font-size: 14px; color: var(--text-dimmer); }

/* ---------- About ---------- */
.about { padding: 30px 0 70px; }
.about-inner {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  max-width: 900px; margin: 0 auto;
}
.about-photo img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 1px solid var(--border-2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 50px rgba(82, 92, 242, 0.3); }
.about h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 12px 0 14px; letter-spacing: -0.02em; }
.about p { color: var(--text-dim); font-size: 17px; margin: 0 0 14px; }
.about .byline { font-size: 14.5px; color: var(--text-dimmer); }
.about .byline a { color: var(--cyan); }

/* ---------- Under the hood ---------- */
.tech {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, transparent, rgba(18, 21, 40, 0.9) 120px, rgba(18, 21, 40, 0.9));
  border-top: 1px solid var(--border);
}
.tech-tiles .tile { padding: 22px 22px 20px; }
.tech-tiles .fw {
  display: block; margin-bottom: 8px;
  font-family: var(--display); font-size: 19px; font-weight: 750; letter-spacing: -0.015em;
  color: var(--cyan);
}
.tech-note { margin: 34px auto 0; text-align: center; font-size: 15px; color: var(--text-dimmer); }

/* ---------- Footer ---------- */
.footer { padding: 46px 0 50px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-dim); }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dimmer); }
.footer .fcol a { display: block; margin-bottom: 8px; transition: color .15s ease; }
.footer .fcol a:hover { color: var(--text); }
.footer .fine-print { font-size: 12.5px; color: var(--text-dimmer); line-height: 1.6; max-width: 90ch; }
.footer .fcol a.brand { display: flex; margin-bottom: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .range-cards { left: -8px; }
  .chords-visual .lane-card { right: -10px; width: 260px; }
  .ladder { right: -4px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links .opt { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .cta-row, .proof { justify-content: center; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .feature.flip .feature-text { order: 0; }
  .feature-visual { min-height: 0; padding: 10px 0 20px; }
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .about-photo img { margin: 0 auto; width: 170px; height: 170px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 14px; }
  .nav-links .opt2 { display: none; }
  .hero-visual .phone { --pw: 262px; }
  .feature-visual .phone, .stems-visual .phone { --pw: 236px; }
  .range-cards { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; order: 2; margin-top: 30px; }
  .feature-visual.speed-visual { flex-direction: column; }
  .range-card { min-width: 0; padding: 10px 14px; }
  .range-card .v { font-size: 20px; }
  .scrub-tags { position: static; display: flex; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
  .feature-visual.scrub-visual { flex-direction: column; }
  .stem-tab { font-size: 13px; padding: 7px 12px 7px 10px; }
  .stems-visual { justify-content: flex-start; padding-left: 8px; }
  .chords-visual .lane-card { width: 200px; right: -4px; top: 4%; }
  .chords-visual .chart-card { width: 200px; left: -4px; }
  .chords-visual .bpm-chip { top: 34%; left: -4px; }
  .ladder { width: 210px; right: -4px; }
  .proof .sep { display: none; }
  .proof { flex-direction: column; gap: 6px; }
  .hero .eyebrow { font-size: 11.5px; letter-spacing: 0.12em; }
  .mosaic, .tiles { grid-template-columns: 1fr; }
  .tech-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tech-tiles .tile { padding: 16px 14px; }
  .tech-tiles .fw { font-size: 16px; }
  .tech-tiles .tile p { font-size: 13.5px; }
  .closer-card { padding: 48px 20px 40px; }
  .footer .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone .stack > img, .stem-tab, .ladder li { transition: none; }
}
