* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

@keyframes pvmarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#landing-root {
  --bg: #08080d;
  --bg2: #0c0c12;
  --panel: #0f0e16;
  --ink: #ece8e0;
  --ink2: rgba(236, 232, 224, 0.62);
  --ink3: rgba(236, 232, 224, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.06);
  --btn: #ece8e0;
  --btnInk: #0a0a0f;
  --orbOp: 0.55;
  --bandBg: #0c1a2c;
  --bandInk: #a9cdea;
  --studiosTitle: #e8eef5;
  --studiosMuted: #8ea7bd;
  --studiosSubtle: #5f7c94;
  --studiosBorder: rgba(169, 205, 234, 0.14);
  --studiosBorderSoft: rgba(169, 205, 234, 0.1);
  --studiosChipActive: rgba(255, 255, 255, 0.06);
  --studiosCtaSecondaryBg: rgba(255, 255, 255, 0.08);
  --studiosCtaSecondaryBorder: rgba(169, 205, 234, 0.3);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --navInk: rgba(236, 232, 224, 0.84);
  --navInkHover: #f6f3ec;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  transition: background 0.5s ease, color 0.5s ease;
  overflow-x: hidden;
}

/* Nav — fixed bar aligned to page grid */
.pv-nav-sentinel {
  height: 0;
  width: 100%;
  pointer-events: none;
}

.pv-nav-spacer {
  height: 0;
  pointer-events: none;
}

.pv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.pv-nav:not(.is-at-top) {
  border-bottom-color: color-mix(in srgb, var(--line) 40%, transparent);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.35);
}

#landing-root[data-theme="light"] .pv-nav:not(.is-at-top) {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom-color: color-mix(in srgb, var(--line) 32%, transparent);
  box-shadow: 0 10px 36px -18px rgba(36, 28, 46, 0.08);
}

.pv-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pv-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 32px);
}

.pv-nav-links a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--navInk);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.pv-nav-links a:hover {
  color: var(--navInkHover);
}

.pv-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pv-nav-app-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--btnInk);
  background: var(--btn);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.pv-nav-app-link:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

#theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  background: color-mix(in srgb, var(--bg2) 55%, transparent);
  color: var(--navInk);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#theme-toggle:hover {
  color: var(--navInkHover);
  border-color: color-mix(in srgb, var(--line) 100%, transparent);
}

@media (max-width: 720px) {
  .pv-nav {
    padding: 12px 14px;
  }

  .pv-nav-inner {
    gap: 10px;
  }

  .pv-nav-links {
    gap: clamp(6px, 2vw, 12px);
    min-width: 0;
    flex: 1 1 auto;
  }

  .pv-nav-links a {
    font-size: clamp(11.5px, 3.1vw, 13px);
    white-space: nowrap;
    letter-spacing: 0;
  }

  #theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .pv-nav-app-link {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* Hero */
header.pv-hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px) clamp(48px, 8vw, 96px);
}

.pv-hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pv-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);
  opacity: var(--orbOp);
  will-change: transform;
}

#landing-root[data-theme="light"] .pv-orb {
  filter: blur(54px) saturate(1.35);
}

#landing-root[data-theme="light"] {
  --navInk: rgba(20, 14, 28, 0.88);
  --navInkHover: #0c0812;
  --studiosTitle: #1a2e42;
  --studiosMuted: rgba(26, 46, 66, 0.78);
  --studiosSubtle: rgba(26, 46, 66, 0.58);
  --studiosBorder: rgba(26, 46, 66, 0.14);
  --studiosBorderSoft: rgba(26, 46, 66, 0.1);
  --studiosChipActive: rgba(26, 46, 66, 0.07);
  --studiosCtaSecondaryBg: rgba(26, 46, 66, 0.06);
  --studiosCtaSecondaryBorder: rgba(26, 46, 66, 0.2);
}

#landing-root[data-theme="light"] .pv-studios-orb--blue {
  background: radial-gradient(circle, rgba(74, 158, 222, 0.18), transparent 62%);
}

#landing-root[data-theme="light"] .pv-studios-orb--green {
  background: radial-gradient(circle, rgba(94, 184, 84, 0.14), transparent 62%);
}

#landing-root[data-theme="light"] .pv-studios-orb--gold {
  background: radial-gradient(circle, rgba(232, 176, 80, 0.12), transparent 62%);
}

#landing-root[data-theme="light"] .pv-studios-eyebrow,
#landing-root[data-theme="light"] .pv-studios-timeline-eyebrow {
  color: #b88420;
}

#landing-root[data-theme="light"] .pv-studios-lead--secondary {
  opacity: 0.85;
}

.pv-hero-layout {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}

.pv-hero-copy {
  text-align: center;
}

.pv-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 6.8vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  padding-bottom: 0.04em;
}

.pv-hero-gradient {
  display: inline;
  line-height: 1.12;
  padding-bottom: 0.1em;
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
}

@keyframes pvHeroLetter {
  from {
    opacity: 0;
    transform: translateY(0.12em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pv-hero-letter {
  display: inline;
  opacity: 0;
  font-style: italic;
  font-weight: 600;
  animation: pvHeroLetter 0.38s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .pv-hero-letter {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

.pv-hero-lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: var(--ink2);
  max-width: 32em;
  margin: 28px auto 0;
}

.pv-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.pv-hero-cta {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.pv-hero-cta-primary {
  color: var(--btnInk);
  background: var(--btn);
  padding: 14px 28px;
}

.pv-hero-cta-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.pv-hero-cta-secondary {
  color: var(--ink);
  padding: 13px 26px;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  background: color-mix(in srgb, var(--bg2) 40%, transparent);
}

.pv-hero-cta-secondary:hover {
  border-color: color-mix(in srgb, var(--ink) 25%, transparent);
  transform: translateY(-1px);
}

/* Section CTAs */
.pv-section-cta-wrap {
  text-align: center;
  margin-top: clamp(32px, 4.5vw, 48px);
  padding: 0 clamp(20px, 5vw, 56px);
}

.pv-section-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--btnInk);
  background: var(--btn);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pv-section-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* Hero demo widget */
.pv-hero-demo-wrap {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.pv-demo {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: #0f0e0c;
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.75);
}

.pv-demo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid #211e18;
  background: #13110d;
}

.pv-demo-btn {
  font: 600 11px 'JetBrains Mono', monospace;
  padding: 7px 11px;
  border-radius: 7px;
  border: 1px solid #3a342a;
  background: transparent;
  color: #a89880;
  cursor: pointer;
}

.pv-demo-btn.is-active {
  border-color: #e8b050;
  background: rgba(232, 176, 80, 0.1);
  color: #e8b050;
}

.pv-demo-body {
  overflow: hidden;
}

.pv-demo-content {
  padding: 20px 18px 22px;
  will-change: transform, opacity;
}

.pv-demo-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pv-demo-chord {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: #e8e0d0;
}

.pv-demo-role {
  font: 600 10px 'JetBrains Mono', monospace;
  color: #e8b050;
  background: rgba(200, 149, 58, 0.12);
  padding: 3px 8px;
  border-radius: 10px;
}

.pv-demo-notes {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-left: auto;
}

.pv-demo-kb-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}

.pv-demo-kb {
  position: relative;
  width: 278px;
  height: 86px;
  overflow: hidden;
  transform: scale(0.88);
  transform-origin: center top;
}

.pv-demo-tip {
  margin: 14px 0 0;
  font: italic 400 12px/1.5 'Source Serif 4', serif;
  color: #a89880;
  text-align: center;
  min-height: 36px;
}

/* Desktop: nav + hero fill the first screen */
@media (min-width: 900px) {
  header.pv-hero {
    min-height: calc(100svh - 4.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: clamp(56px, 10vh, 100px);
  }

  .pv-hero-layout {
    grid-template-columns: 2fr 1fr;
    gap: clamp(32px, 4vw, 56px);
  }

  .pv-hero-copy {
    text-align: left;
  }

  .pv-hero-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .pv-hero-ctas {
    justify-content: flex-start;
  }

  .pv-hero-demo-wrap {
    max-width: none;
    margin: 0;
  }
}

/* Anchor scroll offset for sticky nav */
#guide,
#features,
#studios {
  scroll-margin-top: 5rem;
}

#gallery {
  scroll-margin-top: 0;
}

/* Gallery — fills viewport when scrolled into view */
.pv-gallery {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 72px) 0;
  box-sizing: border-box;
}

.pv-gallery [data-track] {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  overflow: hidden;
  padding: 6px 0;
  animation: none !important;
  transform: none !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.pv-gallery [data-track-inner] {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: flex-start;
  animation: pvmarquee 36s linear infinite;
  will-change: transform;
}

.pv-gallery [data-track]:nth-child(1) [data-track-inner] {
  animation-duration: 36s !important;
}

.pv-gallery [data-track]:nth-child(2) [data-track-inner] {
  animation-duration: 52s !important;
}

@media (max-width: 640px) {
  .pv-gallery {
    min-height: auto;
    padding: clamp(36px, 8vw, 52px) 0;
    overflow: hidden;
  }

  .pv-gallery [data-marquee-wrap] {
    overflow: visible;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
    gap: 10px !important;
  }

  .pv-gallery [data-track] {
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    min-width: 0;
  }

  .pv-gallery [data-track]::-webkit-scrollbar {
    display: none;
  }

  .pv-gallery [data-track-inner] {
    gap: 12px;
    padding: 0 16px;
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }

  .pv-gallery [data-gallery-card] {
    width: 158px !important;
    padding: 10px !important;
    border-radius: 8px !important;
    flex: none;
  }

  .pv-gallery [data-gallery-card][style*="margin-top:26px"] {
    margin-top: 12px !important;
  }

  .pv-gallery [data-gallery-card] > div:first-child {
    font-size: 7px !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 6px !important;
  }

  .pv-gallery [data-gallery-card] > div:nth-child(2) {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  .pv-gallery [data-gallery-card] p {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .pv-gallery [data-gallery-kb] {
    margin: 0 auto !important;
    overflow: hidden;
  }

  .pv-gallery [data-gallery-legend] {
    gap: 4px !important;
    margin-top: 6px !important;
    font-size: 7px !important;
  }

  .pv-gallery [data-gallery-card] span[style*="font-size:18px"],
  .pv-gallery [data-gallery-card] span[style*="font-size:16px"] {
    font-size: 13px !important;
  }

  .pv-gallery [data-gallery-card] span[style*="font-size:10px"],
  .pv-gallery [data-gallery-card] span[style*="font-size:10.5px"] {
    font-size: 8.5px !important;
    padding: 2px 5px !important;
  }

  .pv-gallery [data-gallery-card] div[style*="font-size:21px"] {
    font-size: 16px !important;
  }

  .pv-gallery [data-gallery-card] div[style*="height:20px"] {
    height: 14px !important;
    font-size: 6px !important;
  }

  .pv-gallery [data-gallery-card] div[style*="font-size:13px"] {
    font-size: 10px !important;
    padding: 5px 0 !important;
  }
}

@media (max-width: 400px) {
  .pv-gallery [data-gallery-card] {
    width: 142px !important;
    padding: 9px !important;
  }
}

/* Features — tabbed spotlight */
.pv-spotlight {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line2);
  background: linear-gradient(180deg, transparent 0%, rgba(46, 32, 72, 0.08) 50%, transparent 100%);
}

.pv-spotlight-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pv-spotlight-orb--purple {
  top: 20%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #9b7ed4, transparent 70%);
  filter: blur(80px);
  opacity: calc(var(--orbOp) * 0.55);
}

.pv-spotlight-orb--mint {
  bottom: 10%;
  right: 5%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #30a880, transparent 70%);
  filter: blur(70px);
  opacity: calc(var(--orbOp) * 0.5);
}

.pv-spotlight-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 100px) clamp(20px, 5vw, 56px);
}

.pv-spotlight-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .pv-spotlight-layout {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: clamp(32px, 5vw, 64px);
  }
}

.pv-spotlight-eyebrow {
  font: 600 11px 'JetBrains Mono', monospace;
  letter-spacing: 0.28em;
  color: #e09030;
  margin-bottom: 14px;
}

.pv-spotlight-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}

.pv-spotlight-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pv-spotlight-tab {
  font: 600 11px 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid #3a342a;
  background: transparent;
  color: #a89880;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pv-spotlight-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e8e0d0;
}

.pv-spotlight-tab.is-active {
  background: #1a1814;
  color: #e8e0d0;
}

.pv-spotlight-tab.is-active[data-spotlight-tab="workbook"] {
  border-color: rgba(74, 158, 222, 0.55);
  color: #6ab4e8;
}

.pv-spotlight-tab.is-active[data-spotlight-tab="progressions"] {
  border-color: rgba(224, 144, 48, 0.55);
  color: #f0a840;
}

.pv-spotlight-tab.is-active[data-spotlight-tab="theory"] {
  border-color: rgba(94, 184, 84, 0.55);
  color: #80cc74;
}

.pv-spotlight-tab.is-active[data-spotlight-tab="tools"] {
  border-color: rgba(155, 126, 212, 0.55);
  color: #b098e8;
}

.pv-spotlight-blurb {
  display: none;
}

.pv-spotlight-blurb.is-active {
  display: block;
}

.pv-spotlight-blurb p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink2);
  margin: 0 0 18px;
}

.pv-spotlight-link {
  font: 600 12px 'JetBrains Mono', monospace;
  color: #e8b050;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pv-spotlight-link:hover {
  color: #f5c878;
}

.pv-spotlight-stage {
  position: relative;
  min-height: 340px;
}

.pv-spotlight-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 0.84, 0.24, 1),
    transform 0.45s cubic-bezier(0.22, 0.84, 0.24, 1),
    visibility 0.45s;
}

.pv-spotlight-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pv-spotlight-card {
  background: #1a1814;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.85);
}

.pv-spotlight-card-label {
  font: 600 9px 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  color: #6a5e4e;
  margin-bottom: 14px;
}

.pv-spotlight-card-label--blue { color: #4a9ede; }
.pv-spotlight-card-label--orange { color: #e09030; }
.pv-spotlight-card-label--green { color: #5eb854; }
.pv-spotlight-card-label--purple { color: #9b7ed4; }

.pv-spotlight-card-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.pv-spotlight-chord {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  color: #e8e0d0;
}

.pv-spotlight-tag {
  font: 600 10px 'JetBrains Mono', monospace;
  color: #e8b050;
  background: rgba(200, 149, 58, 0.12);
  padding: 3px 9px;
  border-radius: 10px;
}

.pv-spotlight-kb-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0 14px;
  overflow: hidden;
}

.pv-spotlight-kb {
  position: relative;
  width: 278px;
  height: 86px;
}

.pv-spotlight-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font: 600 9px 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}

.pv-spotlight-prog-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pv-spotlight-prog-chips span {
  flex: 1;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(16px, 2.5vw, 20px);
  padding: 12px 0;
  border-radius: 8px;
}

.pv-spotlight-prog-chips .chip-ii {
  background: #2e2048;
  color: #b098e8;
}

.pv-spotlight-prog-chips .chip-v {
  background: #4a2e0a;
  color: #f0a840;
}

.pv-spotlight-prog-chips .chip-i {
  background: #0a3028;
  color: #50c8a0;
}

.pv-spotlight-prog-chips .chip-arrow {
  flex: none;
  font-size: 14px;
  color: #4a4238;
  padding: 0;
  background: none;
}

.pv-spotlight-prog-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pv-spotlight-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8b050;
  color: #1a1208;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.pv-spotlight-track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #2a261e;
  overflow: hidden;
}

.pv-spotlight-track span {
  display: block;
  width: 46%;
  height: 100%;
  background: #30a880;
}

.pv-spotlight-bpm {
  font: 500 11px 'JetBrains Mono', monospace;
  color: #a89880;
}

.pv-spotlight-lesson-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(20px, 2.8vw, 24px);
  line-height: 1.25;
  color: #e8e0d0;
  margin: 0 0 12px;
}

.pv-spotlight-lesson-body {
  font-size: 14px;
  line-height: 1.6;
  color: #a89880;
  margin: 0 0 18px;
}

.pv-spotlight-lesson-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font: 500 11px 'JetBrains Mono', monospace;
  color: #a89880;
}

.pv-spotlight-lesson-list span {
  color: #9b7ed4;
  margin-right: 8px;
}

.pv-spotlight-tool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #13202c;
  border: 1px solid rgba(155, 126, 212, 0.18);
  border-radius: 9px;
}

.pv-spotlight-tool-label {
  font: 600 8px 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  color: #9b7ed4;
  min-width: 88px;
}

.pv-spotlight-tool-chords {
  flex: 1;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  color: #e8e0d0;
}

.pv-spotlight-tool-chords em {
  font-style: normal;
  font-size: 13px;
  color: #6a5e4e;
  font-family: system-ui, sans-serif;
  font-weight: 400;
}

.pv-spotlight-tool-chords sup {
  font-size: 10px;
}

.pv-spotlight-tool-badge {
  font: 600 8px 'JetBrains Mono', monospace;
  color: #4a9ede;
  background: rgba(74, 158, 222, 0.12);
  padding: 4px 8px;
  border-radius: 6px;
}

.pv-spotlight-panel-note {
  font-size: 12px;
  line-height: 1.5;
  color: #6a5e4e;
  margin: 14px 0 0;
  font-style: italic;
  font-family: 'Source Serif 4', serif;
}

@media (prefers-reduced-motion: reduce) {
  .pv-spotlight-panel {
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s;
  }
}

/* Trust band — fixed until footer docks */
.pv-page-end {
  position: relative;
}

.pv-trust-band {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-top: 1px solid var(--line2);
  background: color-mix(in srgb, var(--bg2) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.2s ease;
}

.pv-trust-band:not(.is-docked) {
  box-shadow: 0 -8px 32px -12px rgba(0, 0, 0, 0.35);
}

.pv-trust-band.is-docked {
  position: relative;
  box-shadow: none;
}

.pv-trust-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px clamp(20px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink3);
}

.pv-trust-dot {
  color: var(--ink3);
}

/* Footer */
.pv-footer {
  border-top: 1px solid var(--line2);
  background: var(--bg2);
}

.pv-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px clamp(20px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.pv-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink2);
}

.pv-footer-links {
  display: flex;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.pv-footer-links a {
  color: var(--ink2);
  text-decoration: none;
}

.pv-footer-links a:hover {
  color: var(--ink);
}

/* Studios — teachers & studios pitch */
.pv-studios {
  position: relative;
  overflow: hidden;
  background: var(--bandBg);
  transition: background 0.5s ease;
}

.pv-studios-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pv-studios-orb--blue {
  top: -160px;
  left: 38%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(74, 158, 222, 0.12), transparent 62%);
  filter: blur(40px);
}

.pv-studios-orb--green {
  bottom: -200px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(94, 184, 84, 0.1), transparent 62%);
  filter: blur(38px);
}

.pv-studios-orb--gold {
  top: 30%;
  left: -140px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232, 176, 80, 0.07), transparent 62%);
  filter: blur(38px);
}

.pv-studios-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(22px, 5vw, 60px);
}

.pv-studios-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .pv-studios-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 5vw, 64px);
  }
}

.pv-studios-eyebrow {
  font: 700 11px 'JetBrains Mono', monospace;
  letter-spacing: 0.28em;
  color: #e8b050;
  margin-bottom: 18px;
}

.pv-studios-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--bandInk);
}

.pv-studios-lead {
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.68;
  color: var(--bandInk);
  opacity: 0.9;
  margin: 26px 0 0;
  max-width: 520px;
}

.pv-studios-lead--secondary {
  margin-top: 16px;
  opacity: 0.72;
  font-size: 15px;
}

.pv-studios-lead em {
  font-style: italic;
}

.pv-studios-imagine {
  margin: 30px 0;
}

.pv-studios-imagine-label {
  font: 600 9px 'JetBrains Mono', monospace;
  letter-spacing: 0.2em;
  color: var(--studiosSubtle);
  margin-bottom: 12px;
}

.pv-studios-chips {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}

.pv-studios-chip {
  font: 600 10.5px 'JetBrains Mono', monospace;
  padding: 6px 13px;
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pv-studios-chip[data-studio-brand="marisol"] {
  color: #e8b050;
  border: 1px solid rgba(232, 176, 80, 0.4);
}

.pv-studios-chip[data-studio-brand="cedar"] {
  color: #5eb854;
  border: 1px solid rgba(94, 184, 84, 0.4);
}

.pv-studios-chip[data-studio-brand="brightkeys"] {
  color: #4a9ede;
  border: 1px solid rgba(74, 158, 222, 0.4);
}

.pv-studios-chip.is-active {
  background: var(--studiosChipActive);
}

.pv-studios-chip:hover {
  transform: translateY(-1px);
}

.pv-studios-chip-hint {
  font: 500 10.5px 'JetBrains Mono', monospace;
  color: var(--studiosSubtle);
}

.pv-studios-preview {
  position: relative;
}

.pv-studios-preview-glow {
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(circle at 50% 40%, rgba(74, 158, 222, 0.16), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.pv-studios-preview-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  position: relative;
}

.pv-studios-preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a9ede;
  box-shadow: 0 0 0 4px rgba(74, 158, 222, 0.16);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.pv-studios-preview-url {
  font: 600 10px 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  color: var(--studiosSubtle);
}

.pv-studio-mockup {
  position: relative;
  border: 1px solid rgba(169, 205, 234, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #0a1520;
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.85);
  transform: scale(1.02);
  transform-origin: center top;
}

.pv-studio-mockup-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #0e1b29;
  border-bottom: 1px solid rgba(169, 205, 234, 0.12);
}

.pv-studio-mockup-dots {
  display: flex;
  gap: 5px;
}

.pv-studio-mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(169, 205, 234, 0.22);
}

.pv-studio-mockup-bar {
  flex: 1;
  font: 500 10px 'JetBrains Mono', monospace;
  color: #8ea7bd;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(169, 205, 234, 0.1);
  border-radius: 6px;
  padding: 5px 10px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-studio-mockup-app {
  padding: 16px 18px 20px;
}

.pv-studio-mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pv-studio-mockup-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 14px 'Playfair Display', serif;
  color: #0c1a2c;
  background: #4a9ede;
  transition: background 0.3s ease;
}

.pv-studio-mockup-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  color: #e8eef5;
}

.pv-studio-mockup-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pv-studio-mockup-nav span {
  font: 600 8px 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  color: #5f7c94;
  padding: 5px 8px;
  border-radius: 6px;
}

.pv-studio-mockup-nav .is-active {
  color: #4a9ede;
  background: rgba(74, 158, 222, 0.14);
  transition: color 0.3s ease, background 0.3s ease;
}

.pv-studio-mockup-card {
  background: #101c28;
  border: 1px solid rgba(169, 205, 234, 0.12);
  border-radius: 10px;
  padding: 14px;
}

.pv-studio-mockup-card-label {
  font: 600 8px 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  color: #4a9ede;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.pv-studio-mockup-card-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.pv-studio-mockup-chord {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: #e8eef5;
}

.pv-studio-mockup-tag {
  font: 600 9px 'JetBrains Mono', monospace;
  color: #e8b050;
  background: rgba(200, 149, 58, 0.12);
  padding: 2px 7px;
  border-radius: 8px;
}

.pv-studio-mockup-kb-wrap {
  display: flex;
  justify-content: center;
  margin: 4px 0 10px;
  overflow: hidden;
}

.pv-studio-mockup-kb {
  position: relative;
  width: 278px;
  height: 86px;
  transform: scale(0.92);
  transform-origin: center top;
}

.pv-studio-mockup-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font: 600 8px 'JetBrains Mono', monospace;
}

.pv-studios-preview-caption {
  font-size: 13px;
  line-height: 1.55;
  color: var(--studiosMuted);
  margin: 15px auto 0;
  text-align: center;
  max-width: 420px;
}

.pv-studios-values {
  margin-top: clamp(56px, 7vw, 84px);
  border-top: 1px solid var(--studiosBorder);
}

.pv-studios-value {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--studiosBorderSoft);
}

.pv-studios-value:last-child {
  border-bottom: none;
}

.pv-studios-value-letter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
}

.pv-studios-value-letter--gold { color: #e8b050; }
.pv-studios-value-letter--blue { color: #4a9ede; }
.pv-studios-value-letter--green { color: #5eb854; }
.pv-studios-value-letter--purple { color: #b098e8; }

.pv-studios-value-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: baseline;
}

@media (min-width: 720px) {
  .pv-studios-value-body {
    grid-template-columns: minmax(180px, 230px) 1fr;
    gap: clamp(14px, 2.5vw, 28px);
  }
}

.pv-studios-value-label {
  font: 600 9px 'JetBrains Mono', monospace;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.pv-studios-value-label--gold { color: #e8b050; }
.pv-studios-value-label--blue { color: #4a9ede; }
.pv-studios-value-label--green { color: #5eb854; }
.pv-studios-value-label--purple { color: #b098e8; }

.pv-studios-value-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 19px;
  margin: 0;
  color: var(--studiosTitle);
  line-height: 1.2;
}

.pv-studios-value-desc {
  font-size: 14px;
  line-height: 1.62;
  color: var(--studiosMuted);
  margin: 0;
}

.pv-studios-timeline {
  margin-top: clamp(52px, 6vw, 72px);
}

.pv-studios-timeline-eyebrow {
  text-align: center;
  font: 700 11px 'JetBrains Mono', monospace;
  letter-spacing: 0.28em;
  color: #e8b050;
  margin-bottom: 38px;
}

.pv-studios-timeline-track {
  position: relative;
}

.pv-studios-timeline-line {
  display: none;
}

@media (min-width: 720px) {
  .pv-studios-timeline-line {
    display: block;
    position: absolute;
    top: 10px;
    left: 12%;
    right: 12%;
    height: 2px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
  }

  .pv-studios-timeline-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(74, 158, 222, 0.2) 14%,
      rgba(169, 205, 234, 0.32) 38%,
      rgba(94, 184, 84, 0.34) 50%,
      rgba(169, 205, 234, 0.32) 62%,
      rgba(232, 176, 80, 0.2) 86%,
      transparent 100%
    );
    border-radius: 2px;
  }

  .pv-studios-timeline-line::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 10px;
    transform: translateY(-50%);
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(74, 158, 222, 0.07) 18%,
      rgba(94, 184, 84, 0.1) 50%,
      rgba(232, 176, 80, 0.07) 82%,
      transparent 100%
    );
    filter: blur(5px);
  }
}

.pv-studios-timeline-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 720px) {
  .pv-studios-timeline-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 40px);
  }
}

.pv-studios-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.pv-studios-step-dot {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bandBg);
  margin-bottom: 22px;
  box-sizing: border-box;
}

.pv-studios-step-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.pv-studios-step-dot--blue {
  border: 1.5px solid rgba(74, 158, 222, 0.7);
  box-shadow:
    0 0 0 4px rgba(74, 158, 222, 0.1),
    0 0 16px rgba(74, 158, 222, 0.18);
}

.pv-studios-step-dot--blue::after {
  background: radial-gradient(circle at 32% 30%, #8ec8f4, #4a9ede 72%);
}

.pv-studios-step-dot--green {
  border: 1.5px solid rgba(94, 184, 84, 0.7);
  box-shadow:
    0 0 0 4px rgba(94, 184, 84, 0.1),
    0 0 16px rgba(94, 184, 84, 0.18);
}

.pv-studios-step-dot--green::after {
  background: radial-gradient(circle at 32% 30%, #8ed888, #5eb854 72%);
}

.pv-studios-step-dot--gold {
  border: 1.5px solid rgba(232, 176, 80, 0.7);
  box-shadow:
    0 0 0 4px rgba(232, 176, 80, 0.1),
    0 0 16px rgba(232, 176, 80, 0.18);
}

.pv-studios-step-dot--gold::after {
  background: radial-gradient(circle at 32% 30%, #f5d090, #e8b050 72%);
}

.pv-studios-step-label {
  font: 700 10px 'JetBrains Mono', monospace;
  letter-spacing: 0.16em;
  margin-bottom: 11px;
}

.pv-studios-step-label--blue { color: #4a9ede; }
.pv-studios-step-label--green { color: #5eb854; }
.pv-studios-step-label--gold { color: #e8b050; }

.pv-studios-step-desc {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--studiosMuted);
  margin: 0 auto;
  max-width: 250px;
}

@media (min-width: 900px) {
  .pv-studios-timeline-eyebrow {
    font-size: 15px;
    letter-spacing: 0.26em;
    margin-bottom: 44px;
  }

  .pv-studios-value-title {
    font-size: 21px;
  }

  .pv-studios-value-desc {
    font-size: 15px;
  }

  .pv-studios-step-label {
    font-size: 11px;
  }

  .pv-studios-step-desc {
    font-size: 15px;
    max-width: 280px;
  }
}

.pv-studios-close {
  text-align: center;
  margin-top: clamp(56px, 7vw, 80px);
}

.pv-studios-kicker {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.24;
  color: var(--bandInk);
  margin: 0 auto 18px;
  max-width: 620px;
}

.pv-studios-note {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--studiosMuted);
  margin: 0 auto 30px;
  max-width: 480px;
}

.pv-studios-cta {
  display: inline-block;
  font: 600 13px 'JetBrains Mono', monospace;
  padding: 15px 28px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pv-studios-cta--primary {
  color: #1a1208;
  background: #e8b050;
  border: 1px solid #e8b050;
}

.pv-studios-cta--primary:hover {
  background: #f0c060;
  border-color: #f0c060;
  transform: translateY(-2px);
}

.pv-studios-cta--secondary {
  color: var(--bandInk);
  background: var(--studiosCtaSecondaryBg);
  border: 1px solid var(--studiosCtaSecondaryBorder);
}

.pv-studios-cta--secondary:hover {
  background: var(--studiosChipActive);
  border-color: var(--studiosCtaSecondaryBorder);
  transform: translateY(-2px);
}

@media (max-width: 899px) {
  .pv-studio-mockup {
    transform: none;
  }
}
