:root {
  --bg: #f7f5ef;
  --ink: #181614;
  --muted: #68615a;
  --line: #ddd8cc;
  --panel: #fffdf8;
  --primary: #11664f;
  --primary-dark: #0a4738;
  --primary-light: #e8f5f0;
  --accent: #c1492e;
  --blue: #284b80;
  --radius: 8px;
  --shadow-soft: 0 18px 54px rgba(49, 42, 31, 0.10);
  --shadow-card: 0 8px 28px rgba(49, 42, 31, 0.08);
  --success: #1a7a4c;
  --warning: #b8860b;
  --danger: #b5332a;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
::selection { background: var(--primary-light); color: var(--primary-dark); }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(225, 190, 155, 0.22), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(109, 147, 174, 0.12), transparent 26%),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary-dark); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--primary); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

/* --- Header --- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding: 14px clamp(18px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header > .nav { padding-bottom: 14px; }
.brand { font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; color: var(--primary); }
/* Hamburger toggle — hidden checkbox */
.nav-toggle { display: none; }
/* Burger icon — hidden on desktop */
.nav-burger { display: none; }

.nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav form { margin: 0; }

/* --- Buttons --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  background: transparent;
  color: var(--primary-dark);
}
.button:hover { text-decoration: none; }
.button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.button:active { transform: scale(0.97); }

.button.primary { background: var(--primary); color: white; border-color: var(--primary); }
.button.primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 8px 18px rgba(17,102,79,0.22); }

.button.secondary { background: transparent; color: var(--primary-dark); }
.button.secondary:hover { background: var(--primary-light); border-color: var(--primary); }

.button.small { min-height: 34px; padding: 0 12px; font-size: 13px; }

.link-button {
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  min-height: auto;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}
.link-button:hover { color: var(--ink); }

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(36px, 7vw, 80px) clamp(18px, 4vw, 56px);
  align-items: start;
}
.hero h1, .section h1 { font-size: clamp(32px, 5.5vw, 60px); line-height: 1; margin: 0 0 18px; letter-spacing: -0.025em; }
.hero p, .lead { font-size: 17px; line-height: 1.65; color: var(--muted); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-experience { position: relative; }
.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border: 1px solid rgba(17, 102, 79, 0.16);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-soft);
}
.hero-experience .hero-panel {
  width: min(92%, 720px);
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-card);
}
.panel-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Hero (new — interactive) --- */
.hero-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 7vw, 88px) clamp(18px, 4vw, 56px);
  align-items: center;
}
.hero-new > * {
  min-width: 0;
}
.hero-new .hero-copy h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.hero-new .hero-copy p { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* Hero demo: pills + player card */
.hero-demo {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 24px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  overflow: hidden;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.hero-pill:hover { border-color: var(--primary); color: var(--primary); }
.hero-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.hero-player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg);
  border-radius: var(--radius);
  min-width: 0;
}
.hero-player-cover {
  width: 56px;
  height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.hero-player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-player-title {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-player-tags {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-player-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.1s ease;
}
.hero-player-play:hover { background: var(--primary-dark); }
.hero-player-play:active { transform: scale(0.93); }
.hero-player-play .icon-pause { display: none; }
.hero-player-play.is-playing .icon-play { display: none; }
.hero-player-play.is-playing .icon-pause { display: block; }
.hero-player-dur {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

/* --- Spotify-style Playlist --- */
.playlist {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.playlist-header {
  display: grid;
  grid-template-columns: 36px 1fr 1.2fr 48px 40px;
  gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.playlist-row {
  display: grid;
  grid-template-columns: 36px 1fr 1.2fr 48px 40px;
  gap: 12px;
  padding: 8px 20px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.1s ease;
  cursor: pointer;
}
.playlist-row:last-child { border-bottom: none; }
.playlist-row:hover { background: var(--primary-light); }
.playlist-col-num {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.playlist-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.playlist-cover {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.playlist-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.playlist-meta strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist-meta span {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist-col-tags {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist-col-dur {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}
.playlist-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.playlist-row:hover .playlist-play { opacity: 1; }
@media (hover: none) { .playlist-play { opacity: 1; } }
.playlist-play:hover { background: var(--primary-dark); }
.playlist-play:active { transform: scale(0.9); }

/* --- Panels / Cards --- */
.hero-panel, .form-card, .price-card, .track-card, .empty-state {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* --- Sections --- */
.centered { max-width: 820px; margin: 0 auto; }
.section { padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 56px); }
.section.narrow { max-width: 860px; margin: 0 auto; }
.section-heading { max-width: 740px; margin: 0 auto 28px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.025em; }

/* --- Steps --- */
.steps-section { padding: clamp(34px, 5vw, 74px) clamp(18px, 4vw, 56px); }
.step-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
}
.step-card h3 { margin: 0 0 8px; font-size: 17px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* --- SEO content --- */
.seo-content { max-width: 780px; margin: 0 auto; }
.seo-content h2 { font-size: clamp(24px, 3.5vw, 36px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.seo-content h3 { font-size: 18px; margin: 28px 0 10px; }
.seo-content p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 16px; }
.seo-content a { text-decoration: underline; text-underline-offset: 2px; }
.studio-cta-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(17, 102, 79, 0.16);
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.studio-cta-card p {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.example-card { display: flex; align-items: flex-start; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.example-card .step-number { flex-shrink: 0; width: 32px; height: 32px; font-size: 14px; margin-bottom: 0; }
.example-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.related-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 10px; }
.related-links a { font-weight: 600; font-size: 15px; }

/* --- Articles --- */
.article-list-hero {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 56px) clamp(10px, 2vw, 22px);
  text-align: center;
}
.article-list-hero h1 {
  max-width: 820px;
  margin: 0 auto 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.article-list-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.article-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}
.article-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.article-card span {
  display: block;
  margin: 18px 18px 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}
.article-card h2 {
  margin: 0 18px 10px;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.article-card p {
  margin: 0 18px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px) clamp(18px, 3vw, 42px);
}
.article-hero-copy { max-width: 740px; }
.article-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.article-meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(17, 102, 79, 0.14);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-soft);
}
.article-content ul,
.article-content ol {
  color: var(--muted);
  line-height: 1.7;
  padding-left: 22px;
  margin: 0 0 18px;
}
.article-content li { margin-bottom: 8px; }

/* --- Example song --- */
.example-song-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 56px);
  background: #f5efe3;
  border-top: 1px solid rgba(17, 102, 79, 0.10);
  border-bottom: 1px solid rgba(17, 102, 79, 0.10);
}
.example-song-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.example-song-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.example-song-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.example-song-card {
  overflow: hidden;
  border: 1px solid rgba(17, 102, 79, 0.14);
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}
.example-song-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--primary-light);
}
.example-song-body { padding: 16px; }
.example-song-body span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.example-song-body h3 { margin: 0 0 4px; font-size: 18px; }
.example-song-body p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.example-song-body audio { margin-bottom: 0; }
.seo-audio-examples { padding-top: 0; }
.seo-audio-examples .section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.seo-example-song-list {
  max-width: 900px;
  margin: 24px auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- Product videos --- */
.product-video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(38px, 6vw, 84px) clamp(18px, 4vw, 56px);
  background: #fffaf2;
  border-top: 1px solid rgba(17, 102, 79, 0.10);
  border-bottom: 1px solid rgba(17, 102, 79, 0.10);
}
.product-video-section-compact {
  padding-top: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(30px, 5vw, 64px);
}
.product-video-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.product-video-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.product-video-main video,
.product-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(17, 102, 79, 0.16);
  border-radius: calc(var(--radius) + 6px);
  background: var(--primary-light);
  box-shadow: var(--shadow-soft);
}
.product-video-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1040px;
  margin-left: auto;
}
.product-video-card {
  padding: 0;
}
.product-video-card h3 {
  margin: 14px 0 6px;
  font-size: 18px;
}
.product-video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* --- CTA --- */
.cta-section {
  padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 56px);
  background: var(--primary-dark);
  color: white;
  text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(26px, 4vw, 42px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; color: white; }
.cta-inner p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.75); margin: 0 0 24px; }
.cta-section .button.secondary { color: white; border-color: rgba(255,255,255,0.4); }
.cta-section .button.secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

/* --- Feature band --- */
.band { padding: 40px clamp(18px, 4vw, 56px); background: #ebe6da; }
.feature-card { background: rgba(255,253,248,0.7); border-radius: var(--radius); padding: 24px; }
.feature-card h3 { margin: 0 0 8px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* --- Grid --- */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* --- Use-case image cards --- */
.usecases-section { padding: clamp(34px, 5vw, 74px) clamp(18px, 4vw, 56px); }
.usecase-card {
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.usecase-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 102, 79, 0.28);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}
.usecase-card img {
  width: 100%;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  display: block;
}
.usecase-card span {
  display: block;
  padding: 18px 18px 4px;
  font-weight: 800;
}
.usecase-card p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* --- Forms --- */
.wizard label, .form-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; margin: 0 0 16px; color: var(--ink); }
.help-text { font-size: 13px; font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,102,79,0.1);
  outline: none;
}
textarea { resize: vertical; line-height: 1.5; }
.checks { margin-top: 8px; }
.checks label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; margin-bottom: 12px; }
.checks input[type="checkbox"] { width: 18px; height: 18px; min-height: auto; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.turnstile-wrap { margin: 18px 0; min-height: 65px; display: flex; align-items: center; justify-content: center; }
.fineprint, small { color: var(--muted); font-size: 13px; }

/* --- Messages --- */
.messages { padding: 14px clamp(18px, 4vw, 56px) 0; }
.message { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: white; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.message.success { border-color: #8bbf9b; background: #edf8f0; }
.message.error { border-color: #df9785; background: #fff1ed; }
.message.info { border-color: #9ab0d3; background: #edf3ff; }
.field-error, .form-errors { color: var(--danger); font-size: 13px; margin: 6px 0; }

/* --- Pricing --- */
.price-card { display: flex; flex-direction: column; text-align: center; position: relative; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.price-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); transform: translateY(-2px); }
.price-card h2 { margin: 0 0 6px; font-size: 20px; }
.price-card p { color: var(--muted); font-size: 14px; margin: 0 0 4px; }
.price { font-size: 40px; font-weight: 900; margin: 18px 0 4px; letter-spacing: -0.02em; }
.price-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price-card .button { margin-top: auto; width: 100%; }
.price-card.featured { border-color: var(--primary); border-width: 2px; box-shadow: 0 4px 20px rgba(17,102,79,0.1); }
.price-card.featured::before {
  content: "Populair";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 3px 16px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-icon {
  color: var(--primary);
  margin: 0 auto 16px;
}
.line-icon.gift {
  display: inline-block;
  width: 38px;
  height: 38px;
  position: relative;
  border: 2px solid currentColor;
  border-radius: 8px;
}
.line-icon.gift::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  width: 2px;
  height: 38px;
  background: currentColor;
  transform: translateX(-50%);
}
.line-icon.gift::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 12px;
  width: 38px;
  height: 2px;
  background: currentColor;
}

/* --- Dashboard / Jobs --- */
.split-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.job-list { margin-top: 18px; }
.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: background 0.15s ease;
}
.job-row:hover { background: rgba(17,102,79,0.03); text-decoration: none; }
.job-row small { display: flex; align-items: center; gap: 8px; color: var(--muted); }

/* --- Status badges --- */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.status-dot.success { background: var(--success); }
.status-dot.queued, .status-dot.submitted, .status-dot.text_success, .status-dot.first_success { background: var(--warning); }
.status-dot.failed { background: var(--danger); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: #f0ede6;
  color: var(--muted);
}
.status-badge.success { background: #e8f5f0; color: var(--success); }
.status-badge.failed { background: #fff1ed; color: var(--danger); }

/* --- Track cards & detail --- */
.track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 24px; }
.track-card { display: flex; flex-direction: column; }
.track-card h2 { font-size: 17px; margin: 0 0 4px; }
.track-card p { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.track-card .button { margin-top: auto; }
.track-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) - 2px); margin-bottom: 14px; background: var(--line); }
audio { width: 100%; margin: 10px 0 14px; accent-color: var(--primary); border-radius: 99px; }

/* --- Detail page redesign --- */
.detail-page {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 56px);
}
.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.detail-nav .back-link { margin-bottom: 0; }
.detail-header { margin-bottom: 24px; }
.detail-header .status-badge { margin-bottom: 10px; }
.detail-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.025em;
}
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
  margin-bottom: 32px;
}
.detail-cover-wrap {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.detail-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--line);
}
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-track-title {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}
.detail-tags {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.detail-duration {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.detail-info audio {
  margin: 12px 0 16px;
}
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-actions.compact {
  margin-top: 4px;
}
.video-action-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,253,248,0.72);
}
.video-action-card h3 {
  margin: 0;
  font-size: 15px;
}
.video-action-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.video-action-card video {
  width: 100%;
  max-height: 420px;
  border-radius: calc(var(--radius) - 2px);
  background: #111;
}
.inline-video-form {
  margin-top: 4px;
}
.detail-more {
  margin-bottom: 32px;
}
.detail-more h3 {
  font-size: 18px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.detail-variations {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.variation-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.variation-cover {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
  background: var(--line);
}
.variation-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.variation-body h4 { font-size: 15px; margin: 0; }
.variation-body p { color: var(--muted); font-size: 13px; margin: 0; }
.variation-body audio { margin: 6px 0 8px; }
.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--primary-light);
  border: 1px solid rgba(17, 102, 79, 0.14);
  border-radius: var(--radius);
  margin-top: 8px;
}
.detail-cta p {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
}

/* --- SEO image headers --- */
.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px) clamp(18px, 3vw, 42px);
}
.seo-copy { max-width: 720px; }
.seo-copy h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1; margin: 0 0 18px; letter-spacing: -0.025em; }
.seo-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(17, 102, 79, 0.14);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-soft);
}

/* --- Back link --- */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.back-link:hover { color: var(--ink); text-decoration: none; }
.back-link::before { content: "\2190"; font-size: 15px; }

/* --- Empty state --- */
.empty-state { text-align: center; padding: 48px 24px; }
.empty-image {
  width: min(260px, 90%);
  aspect-ratio: 4 / 2.2;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  margin: 0 auto 22px;
  display: block;
}
.empty-state h2 { font-size: 20px; margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }

/* --- Footer --- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-disclaimer { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 560px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; font-weight: 500; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* --- FAQ --- */
.faq-list { margin-top: 8px; }
.faq-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h2, .faq-item h3 { font-size: 17px; margin: 0 0 8px; }
.faq-item p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* --- Auth forms --- */
.auth-form { max-width: 400px; }
.auth-form .form-card { padding: 32px; }
.auth-link { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.profile-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* --- Composer Studio --- */
.studio-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 56px) 340px;
}
.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.studio-header h1 {
  margin: 0 0 4px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.studio-header .lead {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.studio-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.studio-credit-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255,253,248,0.76);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

/* Studio sections */
.studio-section { margin-bottom: 28px; }
.studio-section-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* Queue list (active jobs) */
.studio-queue-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.studio-queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  transition: background 0.15s ease;
}
.studio-queue-item:hover { background: var(--primary-light); text-decoration: none; }
.studio-queue-item strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.studio-queue-meta { color: var(--muted); font-size: 12px; flex-shrink: 0; }

/* Lyrics library */
.lyrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.lyrics-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
  padding: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.45);
}
.lyrics-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.lyrics-card-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}
.lyrics-card-head span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.lyrics-card textarea {
  width: 100%;
  min-height: 170px;
  resize: vertical;
  font-size: 13px;
  line-height: 1.5;
  background: #fffaf0;
}

/* Track grid */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.studio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
  transition: box-shadow 0.2s ease;
}
.studio-card:hover { box-shadow: var(--shadow-card); }
.studio-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--line);
}
.studio-card-body { padding: 14px; }
.studio-card h3 { margin: 0 0 3px; font-size: 15px; line-height: 1.25; }
.studio-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.studio-card audio { width: 100%; margin: 8px 0 6px; }
.studio-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.studio-card-meta span {
  margin-right: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

/* Empty state */
.studio-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255,253,248,0.5);
}
.studio-empty img {
  width: min(240px, 80%);
  aspect-ratio: 4 / 2.2;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  margin: 0 auto 16px;
  display: block;
}
.studio-empty h2 { margin: 0 0 6px; font-size: 18px; }
.studio-empty p { margin: 0; color: var(--muted); font-size: 14px; }

/* ── Composer Dock ── */
.composer-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  width: min(900px, calc(100vw - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(17,102,79,0.18);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(255,253,248,0.97);
  box-shadow: 0 20px 64px rgba(28, 24, 18, 0.20);
  padding: 14px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Prompt row */
.composer-prompt-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.composer-prompt-row input,
.composer-prompt-row textarea {
  flex: 1;
  min-height: 44px;
  font-size: 15px;
}
.composer-submit {
  flex-shrink: 0;
  min-width: 110px;
  min-height: 44px;
}

/* Quick row (always visible) */
.composer-quick-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.composer-quick-row .composer-field { min-width: 100px; }

/* Extra options wrapper */
.composer-extra {
  margin-top: 10px;
}
.composer-extra-toggle {
  display: none; /* hidden on desktop — all options visible */
}
.composer-extra-body {
  display: contents; /* no extra wrapper on desktop */
}

/* Options rows */
.composer-opts-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.composer-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 110px;
}
.composer-field[hidden],
.composer-conditional[hidden] {
  display: none;
}
.composer-field > span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.composer-field select,
.composer-field input {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 13px;
}
.composer-field input[type="file"] {
  background: #fffaf0;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.composer-field input[type="file"]::file-selector-button {
  min-height: 28px;
  margin-right: 10px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

/* Toggles */
.composer-toggles {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.composer-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.composer-toggles input {
  width: 15px;
  height: 15px;
  min-height: auto;
  accent-color: var(--primary);
}
.composer-tool-tip {
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 102, 79, 0.14);
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  line-height: 1.45;
}
.composer-tool-tip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}
.composer-tool-tip ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.composer-tool-tip li + li { margin-top: 3px; }

/* Advanced / Lyrics */
.composer-advanced {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.composer-advanced summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 0;
}
.composer-advanced label {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.composer-advanced textarea {
  min-height: 80px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.composer-advanced .fineprint { margin: 6px 0 0; }

/* --- Global Player (header strip) --- */
.gplayer {
  width: 100%;
  order: 10;
  background: var(--panel);
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.gplayer[hidden] { display: none; }

/* Mini indicator: hidden on desktop, shown on mobile next to burger */
.gplayer-mini {
  display: none;
}
.gplayer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px clamp(18px, 4vw, 56px);
}

/* Equalizer animation */
.gplayer-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.gplayer-eq span {
  display: block;
  width: 3px;
  background: var(--primary);
  border-radius: 1px;
  height: 4px;
}
.gplayer.is-playing .gplayer-eq span {
  animation: eq-bar 0.8s ease-in-out infinite alternate;
}
.gplayer.is-playing .gplayer-eq span:nth-child(1) { animation-delay: 0s; }
.gplayer.is-playing .gplayer-eq span:nth-child(2) { animation-delay: 0.2s; }
.gplayer.is-playing .gplayer-eq span:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq-bar {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Cover art */
.gplayer-cover {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.gplayer-cover[src=""],
.gplayer-cover:not([src]) { display: none; }

/* Track info */
.gplayer-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 100px;
  flex: 1 1 auto;
  overflow: hidden;
}
.gplayer-title {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}
.gplayer-tags {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Controls */
.gplayer-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.gplayer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.1s ease;
  padding: 0;
}
.gplayer-btn:hover { color: var(--ink); }
.gplayer-btn:active { transform: scale(0.9); }
.gplayer-play {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
}
.gplayer-play:hover { background: var(--primary-dark); color: #fff; }
.gplayer .icon-pause { display: none; }
.gplayer.is-playing .icon-play { display: none; }
.gplayer.is-playing .icon-pause { display: block; }

/* Seek bar */
.gplayer-seek-wrap {
  flex: 0 1 180px;
  max-width: 180px;
  min-width: 50px;
  display: flex;
  align-items: center;
}
.gplayer-seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  outline: none;
  margin: 0;
  cursor: pointer;
}
.gplayer-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}
.gplayer-seek::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  cursor: pointer;
}
.gplayer-seek::-webkit-slider-runnable-track {
  background: linear-gradient(to right, var(--primary) var(--seek-pct, 0%), var(--line) var(--seek-pct, 0%));
  border-radius: 2px;
}

/* Time */
.gplayer-time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.gplayer-sep { margin: 0 2px; }

/* --- Responsive --- */
@media (max-width: 860px) {
  /* Mobile header: hamburger */
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 6px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.15s ease;
  }
  .nav-burger:hover { background: var(--primary-light); }
  .nav-burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  /* Animate to X when open */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Nav panel */
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 4px;
  }
  .nav-toggle:checked ~ .nav {
    display: flex;
  }
  .nav a,
  .nav .link-button {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .nav a:last-child,
  .nav form:last-child .link-button { border-bottom: none; }
  .nav a:hover,
  .nav .link-button:hover { background: var(--primary-light); text-decoration: none; }
  .nav .button.small {
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
  .split-heading { flex-direction: column; align-items: flex-start; }
  .hero, .hero-new, .seo-hero, .example-song-section, .product-video-section { grid-template-columns: 1fr; }
  .hero-new { padding: clamp(28px, 5vw, 48px) clamp(14px, 4vw, 28px); gap: 28px; }
  .hero-demo { padding: 16px; }
  .hero-pills { gap: 6px; }
  .hero-pill { padding: 5px 12px; font-size: 12px; }
  .hero-player { gap: 10px; padding: 10px; }
  .hero-player-cover { width: 44px; height: 44px; }
  /* Playlist mobile */
  .playlist-header { display: none; }
  .playlist-row { grid-template-columns: 32px 1fr 36px; gap: 8px; padding: 8px 14px; }
  .playlist-col-tags,
  .playlist-col-dur { display: none; }
  .playlist-cover { width: 36px; height: 36px; }
  .playlist-play { opacity: 1; width: 28px; height: 28px; }
  .seo-example-song-list { grid-template-columns: 1fr; }
  .product-video-grid { grid-template-columns: 1fr; max-width: none; margin-left: 0; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .hero-panel { padding: 20px; }
  .hero-experience .hero-panel { width: 100%; margin-top: 14px; }
  .price-card.featured::before { top: -10px; }
  .track-grid { grid-template-columns: 1fr; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-cover { aspect-ratio: 16 / 9; }
  .detail-cta { flex-direction: column; text-align: center; }
  .variation-card { grid-template-columns: 60px minmax(0, 1fr); }
  .variation-cover { width: 60px; height: 60px; }
  .studio-header { flex-direction: column; align-items: flex-start; }
  .studio-actions { justify-content: flex-start; }
  .composer-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: none;
    border-radius: calc(var(--radius) + 10px) calc(var(--radius) + 10px) 0 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 40px rgba(28, 24, 18, 0.18);
    max-height: 90vh;
    overflow-y: auto;
  }
  .studio-page { padding-bottom: 200px; }
  .composer-prompt-row { flex-direction: column; }
  .composer-submit { width: 100%; }
  .composer-quick-row { flex-direction: row; }
  .composer-quick-row .composer-field { flex: 1; min-width: 0; }

  /* Mobile: extra options collapsed by default */
  .composer-extra:not([open]) { margin-top: 6px; }
  .composer-extra-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    cursor: pointer;
    border-top: 1px solid var(--line);
    margin-top: 2px;
  }
  .composer-extra-toggle::after { content: "▾"; font-size: 10px; }
  .composer-extra[open] > .composer-extra-toggle::after { content: "▴"; }
  .composer-extra-body { display: block; }
  .composer-opts-row { flex-direction: column; gap: 8px; }
  .composer-field { min-width: 0; }
  .studio-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .studio-queue-item { flex-wrap: wrap; }
  .studio-queue-meta { width: 100%; }
  /* Global player mobile: hide full bar, show mini indicator */
  .gplayer { display: none; }
  .gplayer-mini {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 4px 8px;
    border-radius: 20px;
    background: var(--ink);
    cursor: pointer;
    flex-shrink: 0;
  }
  .gplayer-mini.is-active { display: flex; }
  .gplayer-mini-eq {
    display: flex;
    align-items: flex-end;
    gap: 1.5px;
    width: 12px;
    height: 12px;
  }
  .gplayer-mini-eq span {
    display: block;
    width: 2.5px;
    background: var(--primary);
    border-radius: 1px;
    height: 3px;
  }
  .gplayer-mini.is-playing .gplayer-mini-eq span {
    animation: eq-bar 0.8s ease-in-out infinite alternate;
  }
  .gplayer-mini.is-playing .gplayer-mini-eq span:nth-child(1) { animation-delay: 0s; }
  .gplayer-mini.is-playing .gplayer-mini-eq span:nth-child(2) { animation-delay: 0.2s; }
  .gplayer-mini.is-playing .gplayer-mini-eq span:nth-child(3) { animation-delay: 0.4s; }
  .gplayer-mini-title {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* When mini is tapped, show full player */
  .gplayer.is-expanded {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 60;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.25);
  }
  .gplayer.is-expanded .gplayer-inner {
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .gplayer.is-expanded .gplayer-seek-wrap { display: flex; max-width: none; }
  .gplayer.is-expanded .gplayer-time { display: block; }
}

@media (max-width: 480px) {
  .hero h1, .section h1 { font-size: 28px; }
  .price { font-size: 32px; }
  .studio-grid { grid-template-columns: 1fr; }
  .detail-actions { flex-direction: column; }
  .detail-actions .button { width: 100%; }
  .composer-opts-row { gap: 6px; }
}
