: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; }
/* ponytail: flex-rij, geen kaart eromheen (designregel: minder kaders) */
.naam-deun { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 8px 0 32px; }
.naam-deun label { flex-basis: 100%; font-size: 14px; font-weight: 600; }
.naam-deun input[name="naam"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid rgba(17, 102, 79, 0.28);
  border-radius: var(--radius);
  background: #fff;
}
.naam-deun button { flex: 0 0 auto; }
.naam-deun-stijl { flex-basis: 100%; border: 0; margin: 4px 0 0; padding: 0; }
.naam-deun-stijl legend { font-size: 14px; font-weight: 600; padding: 0 0 6px; }
.naam-deun-stijl label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-basis: auto;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  padding: 6px 0;
  cursor: pointer;
}
.naam-deun-stijl input[type="radio"] { margin-top: 5px; flex: 0 0 auto; }
.naam-deun-groep { flex-basis: 100%; margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.example-song-lyrics { margin-top: 10px; font-size: 14px; }
.example-song-lyrics summary { cursor: pointer; font-weight: 600; }
.example-song-lyrics pre {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  white-space: pre-wrap;
  color: var(--muted);
}
@media (max-width: 560px) { .naam-deun button { flex: 1 1 100%; } }
/* --- Gratis proefdeuntje op de naam-pagina --- */
.naam-preview { margin: 8px 0 28px; }
.naam-preview .naam-deun { margin: 0 0 10px; }
.naam-preview-studio-link { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.naam-preview-status { margin: 4px 0 0; }
.naam-preview-status[hidden] { display: none; }
.naam-preview-status p { margin: 0 0 12px; font-size: 16px; }
.naam-preview-wacht p { animation: naam-preview-puls 1.6s ease-in-out infinite; }
@keyframes naam-preview-puls {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.naam-preview-fout p { color: var(--danger); }
.naam-preview-status audio { width: 100%; max-width: 480px; display: block; margin: 0 0 16px; }
.naam-preview-cta {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--primary-light);
}
.naam-preview-cta p { margin: 0 0 12px; }
@media (max-width: 560px) { .naam-preview-status audio { max-width: none; } }
.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 24px 0 30px;
  overflow: hidden;
  border: 1px solid rgba(17, 102, 79, 0.14);
  border-radius: var(--radius);
  background: #111;
}
.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.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); }
.route-links { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.route-links li { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.route-links a { text-decoration: none; }
.route-links a span { display: block; color: var(--accent); font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.route-links a strong { display: block; color: var(--text); font-size: 18px; line-height: 1.2; }
.route-links p { margin: 0; }
.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; }

/* --- SEO tools --- */
.seo-tool-section { padding-top: clamp(10px, 2vw, 24px); }
.seo-tool {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid rgba(17, 102, 79, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
  box-shadow: var(--shadow-soft);
}
.seo-tool-copy {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.seo-tool-copy h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); line-height: 1.1; }
.seo-tool-copy p { margin: 0; color: var(--muted); line-height: 1.6; }
.seo-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.seo-tool label,
.beat-toolbar label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}
.seo-tool-wide { margin-top: 14px; }
.seo-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.seo-tool-output {
  margin-top: 16px;
  min-height: 150px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: #fffdf8;
}
.beat-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.beat-toolbar input { width: 110px; }
.beat-grid {
  display: grid;
  grid-template-columns: 68px repeat(16, minmax(26px, 1fr));
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.beat-row-label {
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
}
.beat-step {
  min-width: 26px;
  height: 32px;
  border: 1px solid rgba(17, 102, 79, 0.18);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
}
.beat-step:nth-child(4n + 2) { border-left-color: rgba(17, 102, 79, 0.42); }
.beat-step.is-active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.beat-step.is-playing-step {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- 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; }
.article-content .article-audio { margin: 20px 0 28px; }
.article-content .article-audio figcaption { margin: 0 0 8px; font-size: 0.95rem; }
.article-content .article-audio audio { width: 100%; max-width: 520px; display: block; }

/* --- 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%;
  height: auto;
  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-old {
  color: var(--muted);
  font-size: 16px;
  text-decoration: line-through;
  margin: 0 0 4px;
}
.sale-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 99px;
  margin: 0 0 12px;
}
.sale-banner {
  display: block;
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
}
.sale-banner:hover { background: var(--primary-dark); color: #fff; }
.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-hero-text-only {
  grid-template-columns: minmax(0, 920px);
  padding-bottom: clamp(10px, 2vw, 24px);
}
.seo-copy { max-width: 720px; }
.seo-hero-text-only .seo-copy { max-width: 880px; }
.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);
}
.seo-reference-section {
  padding: clamp(12px, 2vw, 24px) clamp(18px, 4vw, 56px) clamp(34px, 6vw, 76px);
}
.seo-reference-copy {
  width: min(100%, 1120px);
  margin: 0 auto clamp(22px, 4vw, 42px);
}
.seo-reference-copy h2 {
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.seo-reference-copy p {
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.seo-reference-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.seo-reference-points li {
  border-left: 3px solid var(--primary);
  padding: 10px 0 10px 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.seo-reference-figure {
  width: min(100%, 1320px);
  margin: 0 auto;
}
.seo-reference-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.seo-reference-figure figcaption {
  max-width: 860px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* --- 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; flex-wrap: wrap; justify-content: center; gap: 10px 20px; max-width: 100%; font-size: 13px; font-weight: 500; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* Footer-index: gegroepeerde wegwijzer naar alle gelegenheden en tools. */
.footer-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px 32px;
  width: 100%;
  max-width: 1080px;
  margin: 6px auto 4px;
  text-align: left;
}
.footer-col { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.footer-col h2 {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col a { color: var(--muted); line-height: 1.45; }
.footer-col a:hover { color: var(--ink); }

/* Inline beeld onder de uitlegtekst van een SEO-pagina. */
.seo-body-figure { margin: 28px 0 0; }
.seo-body-figure img { width: 100%; height: auto; border-radius: 14px; display: block; }
.seo-body-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
  .footer-index { gap: 18px; text-align: left; }
}

/* --- 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-prompt-row textarea { resize: vertical; }
.composer-prompt-hint { margin: 6px 0 0; }
.composer-moved-notice {
  margin: 8px 0 0;
  padding: 8px 12px;
  background: #e8f3ee;
  color: #11664f;
  font-size: 14px;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #11664f;
  text-decoration: underline;
  cursor: pointer;
}
.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; }

/* Verplichte details: breed tekstveld in de optiesrij */
.composer-field-wide { flex-basis: 100%; }
.composer-field textarea {
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  padding: 8px 10px;
  resize: vertical;
}

/* Trackfeedback: vraag + twee knoppen onder elk resultaat */
.track-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.track-feedback-question {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.track-feedback .button {
  /* .button.small is 34px; deze knoppen zijn een primair aanraakdoel */
  min-height: 44px;
  padding: 0 14px;
}
.track-feedback .button.is-chosen {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.track-feedback-followup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
}
.track-feedback-reason-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.track-feedback-followup select {
  min-height: 44px;
  padding: 0 10px;
  font: inherit;
  font-size: 13px;
}

/* --- 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;
  }
  /* Open menu = het podium: donkergroen vlak van rand tot rand, grote koppen, één amber knop. */
  .nav-toggle:checked ~ .nav {
    display: flex;
    flex: 1 1 100%;
    margin: 14px calc(-1 * clamp(18px, 4vw, 56px)) 0;
    width: calc(100% + 2 * clamp(18px, 4vw, 56px));
    padding: 8px clamp(18px, 5vw, 32px) 28px;
    background: #0e2d25;
    color: #f6f1e6;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
  }
  .nav a,
  .nav .link-button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    font-family: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    border-bottom: 1px solid rgba(246, 241, 230, 0.14);
    color: #f6f1e6;
    border-radius: 0;
  }
  .nav a:last-child,
  .nav form:last-child .link-button { border-bottom: none; }
  .nav a:hover,
  .nav .link-button:hover { background: transparent; color: #f0b23f; text-decoration: none; }
  .nav a:focus-visible,
  .nav .link-button:focus-visible { outline-color: #f0b23f; }
  .nav .button.small {
    display: flex;
    align-items: center;
    margin-top: 18px;
    min-height: 50px;
    width: 100%;
    text-align: center;
    justify-content: center;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    background: #f0b23f;
    border-color: #f0b23f;
    color: #1a1a14;
    border-bottom: 1px solid #f0b23f;
    border-radius: var(--radius);
  }
  .nav .button.small:hover { background: #f7c15c; color: #1a1a14; }
  .nav-toggle:checked ~ .nav-burger span { background: var(--ink); }
  .split-heading { flex-direction: column; align-items: flex-start; }
  .hero, .hero-new, .seo-hero, .article-hero, .example-song-section, .product-video-section { grid-template-columns: 1fr; }
  .article-hero { align-items: start; }
  .article-hero h1 { font-size: clamp(30px, 9vw, 44px); line-height: 1.03; }
  .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; }
  .seo-tool-grid { grid-template-columns: 1fr; }
  .seo-tool-actions .button { width: 100%; }
  .seo-reference-points { grid-template-columns: 1fr; }
  .seo-reference-figure figcaption { text-align: left; }
  .beat-toolbar { align-items: stretch; }
  .beat-toolbar label,
  .beat-toolbar .button { flex: 1 1 120px; }
  .beat-toolbar input { width: 100%; }
  .beat-grid { grid-template-columns: 58px repeat(16, 28px); }
  .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; }
  .route-links li { grid-template-columns: 1fr; gap: 8px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .button { width: 100%; }
  .composer-opts-row { gap: 6px; }
}

/* --- WhatsApp bubble --- */
.wa-bubble {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0;
  border-radius: 28px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 56px;
  transition: max-width 0.3s ease, box-shadow 0.2s ease, transform 0.15s ease;
  padding-bottom: env(safe-area-inset-bottom);
}
.wa-bubble:hover,
.wa-bubble:focus-visible {
  color: #fff;
  text-decoration: none;
  max-width: 280px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(0, 0, 0, 0.2);
}
.wa-bubble:focus-visible { outline: 3px solid rgba(17, 102, 79, 0.5); outline-offset: 2px; }
.wa-bubble-icon { flex: 0 0 56px; width: 56px; height: 28px; }
.wa-bubble-label {
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
  padding-right: 22px;
}
@media (max-width: 480px) {
  .wa-bubble { right: 14px; bottom: 14px; }
  .wa-bubble-label { display: none; }
}
/* ponytail: hergebruikt de opmaak van .naam-deun, alleen de lijst is langer */
.feestliedjes { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 32px; }
.feestliedjes label[for] { flex-basis: 100%; font-size: 14px; font-weight: 600; }
.feestliedjes input[name="naam"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid rgba(17, 102, 79, 0.28);
  border-radius: var(--radius);
  background: #fff;
}
.feestliedjes fieldset { flex-basis: 100%; border: 0; margin: 4px 0 0; padding: 0; }
.feestliedjes legend { font-size: 14px; font-weight: 600; padding: 0 0 6px; }
.feestliedjes fieldset label {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}
.feestliedjes fieldset small { color: var(--muted); }
.feestliedjes button { flex: 0 0 auto; }
@media (max-width: 560px) { .feestliedjes button { flex: 1 1 100%; } }

/* Share-pagina */
.share-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 16px 72px;
}
.share-card {
  background: var(--panel);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.share-card-top {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 32px 28px;
  color: #fff;
}
.share-kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.share-card-top h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.share-note {
  position: absolute;
  fill: rgba(255, 255, 255, 0.12);
}
.share-note-1 { width: 44px; top: -6px; right: 24px; transform: rotate(12deg); }
.share-note-2 { width: 26px; top: 46px; right: 104px; transform: rotate(-8deg); }
.share-note-3 { width: 34px; bottom: -4px; right: 44px; transform: rotate(18deg); }
.share-note-4 { width: 20px; top: 20px; right: 176px; transform: rotate(-14deg); }
.share-note-5 { width: 30px; bottom: 24px; right: 158px; transform: rotate(6deg); }
.share-body { padding: 28px; }
.share-play-hint { margin: 0; color: var(--muted); font-size: 14px; }
.share-body audio {
  width: 100%;
  margin: 10px 0 18px;
  border-radius: 999px;
  accent-color: var(--primary);
}
.share-lyrics summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
}
.share-lyrics summary::-webkit-details-marker { display: none; }
.share-lyrics summary::before {
  content: "";
  flex: 0 0 auto;
  border-left: 6px solid var(--primary);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.15s ease;
}
.share-lyrics[open] summary::before { transform: rotate(90deg); }
.share-lyrics-text {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 20px;
  line-height: 1.7;
  color: var(--ink);
}
.share-cta {
  border-top: 1px solid var(--line);
  padding: 24px 28px;
  text-align: center;
}
.share-cta h2 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.share-cta p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.share-pricing-link { display: inline-block; margin-top: 12px; font-size: 14px; }
.share-footer {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 620px) {
  .share-wrap { padding-left: 12px; padding-right: 12px; }
  .share-card-top { padding: 24px 20px; }
  .share-card-top h1 { font-size: 22px; }
  .share-body { padding: 24px 20px; }
  .share-cta { padding: 20px 20px 24px; }
}

/* --- Developer API docs --- */
.developer-docs-page {
  min-width: 20rem;
  background: #f8faf9;
  color: #17201d;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.docs-skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  translate: 0 -200%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: #0a4738;
  color: #fff;
}
.docs-skip-link:focus { translate: 0; }
.docs-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 4rem;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  border-block-end: 1px solid #dbe4e0;
  background: rgb(248 250 249 / 0.94);
  backdrop-filter: blur(12px);
}
.docs-brand {
  color: #17201d;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.docs-brand:hover { color: #0a6650; text-decoration: none; }
.docs-header nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.4rem); }
.docs-header nav a { color: #3f514b; font-size: 0.875rem; font-weight: 650; }
.docs-header nav a:hover { color: #0a6650; text-decoration: none; }
.docs-layout {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 48rem);
  gap: clamp(2rem, 6vw, 6.5rem);
  max-inline-size: 78rem;
  margin-inline: auto;
  padding: 3rem clamp(1rem, 4vw, 3rem) 6rem;
}
.docs-sidebar {
  position: sticky;
  inset-block-start: 7rem;
  align-self: start;
}
.docs-sidebar > p {
  margin: 0 0 1rem;
  color: #17201d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.docs-sidebar nav { display: grid; gap: 0.15rem; border-inline-start: 1px solid #dbe4e0; }
.docs-sidebar nav a {
  display: block;
  margin-inline-start: -1px;
  padding: 0.48rem 0.8rem;
  border-inline-start: 2px solid transparent;
  color: #53645e;
  font-size: 0.9rem;
}
.docs-sidebar nav a:hover,
.docs-sidebar nav a:focus-visible {
  border-inline-start-color: #0a6650;
  color: #0a6650;
  text-decoration: none;
}
.docs-content { min-inline-size: 0; }
.docs-intro { padding-block: 1.25rem 4.5rem; scroll-margin-block-start: 6rem; }
.docs-kicker {
  margin: 0 0 1rem;
  color: #0a6650;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.docs-intro h1 {
  max-inline-size: 13ch;
  margin: 0;
  color: #10201a;
  font-size: clamp(2.5rem, 7vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.docs-intro > p:not(.docs-kicker, .docs-callout) {
  max-inline-size: 43rem;
  margin: 1.6rem 0 0;
  color: #41514c;
  font-size: 1.1rem;
  line-height: 1.72;
  text-wrap: pretty;
}
.docs-facts {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  margin: 2.25rem 0 0;
  border-block: 1px solid #dbe4e0;
}
.docs-facts div { min-inline-size: 0; padding: 1.15rem 1rem 1.15rem 0; }
.docs-facts div + div { padding-inline-start: 1rem; border-inline-start: 1px solid #dbe4e0; }
.docs-facts dt { color: #66766f; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.docs-facts dd { margin: 0.45rem 0 0; color: #17201d; font-size: 0.9rem; font-weight: 650; overflow-wrap: anywhere; }
.docs-facts dd code { padding: 0; border: 0; background: transparent; font-size: 0.82rem; }
.docs-callout {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  border-inline-start: 3px solid #0a6650;
  background: #edf5f1;
  color: #30443d;
  line-height: 1.6;
}
.docs-actions { display: flex; align-items: center; gap: 1rem; margin-block: 1.5rem 0.5rem; }
.docs-actions a { color: #075f49; font-weight: 750; text-underline-offset: 0.18em; }
.docs-actions .docs-primary-action { min-block-size: 46px; padding: 0.78rem 1rem; border-radius: 0.55rem; background: #0a6650; color: #fff; text-decoration: none; }
.docs-actions .docs-primary-action:hover { background: #084f3e; }
.docs-actions .docs-primary-action:focus-visible { outline: 3px solid #8dd7bb; outline-offset: 2px; }
.docs-steps { display: grid; gap: 0.85rem; max-inline-size: 46rem; margin: 1.5rem 0 0; padding-inline-start: 1.25rem; color: #465750; line-height: 1.6; }
.docs-steps strong { color: #20372f; }
.docs-price-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-inline-size: 44rem; margin-block: 1.5rem; border-block: 1px solid #dbe4e0; }
.docs-price-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem; }
.docs-price-list > div + div { border-inline-start: 1px solid #dbe4e0; }
.docs-price-list span { color: #52635d; font-size: 0.88rem; }
.docs-price-list small { color: #73817b; font-size: 0.72rem; }
.docs-price-list strong { color: #0a5c48; font-size: 1.3rem; }
.docs-section {
  padding-block: 3.5rem;
  border-block-start: 1px solid #dbe4e0;
  scroll-margin-block-start: 5rem;
}
.docs-section h2 { margin: 0 0 1.1rem; color: #10201a; font-size: clamp(1.7rem, 4vw, 2.35rem); line-height: 1.12; letter-spacing: -0.035em; }
.docs-section h3 { margin: 3rem 0 0.8rem; color: #17201d; font-size: 1.25rem; letter-spacing: -0.02em; }
.docs-section > p { max-inline-size: 44rem; color: #465750; line-height: 1.72; text-wrap: pretty; }
.docs-section a, .docs-footer a { color: #075f49; text-decoration: underline; text-underline-offset: 0.18em; }
.docs-section code, .docs-facts code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}
.docs-section p code, .docs-facts code {
  padding: 0.12em 0.32em;
  border: 1px solid #d9e2de;
  border-radius: 0.3rem;
  background: #f0f4f2;
  color: #18392e;
}
.docs-code { margin: 1.5rem 0; overflow: hidden; border: 1px solid #263b34; border-radius: 0.75rem; background: #12201b; }
.docs-code-head { display: flex; align-items: center; justify-content: space-between; min-block-size: 2.55rem; padding-inline: 1rem 0.55rem; border-block-end: 1px solid #2b4038; color: #a9bbb4; font: 0.75rem/1 "SFMono-Regular", Consolas, monospace; }
.docs-code-head button { min-block-size: 2rem; min-inline-size: 4.5rem; border: 1px solid #40554d; border-radius: 0.45rem; background: #1b2e27; color: #eef6f3; font: inherit; cursor: pointer; }
.docs-code-head button:hover { border-color: #76b49e; background: #243d34; }
.docs-code-head button:focus-visible { outline: 2px solid #b3e5d3; outline-offset: 2px; }
.docs-code pre { margin: 0; padding: 1.15rem; overflow: auto; color: #eef6f3; font: 0.84rem/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace; scrollbar-color: #536e64 #12201b; }
.docs-code pre:focus-visible, .docs-table-wrap:focus-visible { outline: 2px solid #0a8061; outline-offset: 2px; }
.docs-code code { font: inherit; }
.docs-table-wrap { margin: 1.5rem 0; overflow-x: auto; border: 1px solid #d6e0dc; border-radius: 0.75rem; background: #fff; }
.docs-table-wrap table { inline-size: 100%; min-inline-size: 40rem; border-collapse: collapse; text-align: start; }
.docs-table-wrap th, .docs-table-wrap td { padding: 0.85rem 1rem; border-block-end: 1px solid #e4eae7; vertical-align: top; text-align: start; }
.docs-table-wrap tr:last-child td { border-block-end: 0; }
.docs-table-wrap th { background: #f1f5f3; color: #3e5049; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.docs-table-wrap td { color: #465750; font-size: 0.9rem; line-height: 1.55; }
.docs-table-wrap td:first-child { color: #18392e; white-space: nowrap; }
.docs-error-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-block-start: 1.5rem; border-block-start: 1px solid #dbe4e0; }
.docs-error-grid > div { padding: 1rem 1rem 1rem 0; border-block-end: 1px solid #dbe4e0; }
.docs-error-grid > div:not(:nth-child(3n + 1)) { padding-inline-start: 1rem; border-inline-start: 1px solid #dbe4e0; }
.docs-error-grid > div > code { color: #0a6650; font-weight: 800; }
.docs-error-grid p { margin: 0.5rem 0 0; color: #4d5e58; font-size: 0.82rem; line-height: 1.65; overflow-wrap: anywhere; }
.docs-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2rem 0; border-block-start: 1px solid #dbe4e0; color: #52635d; font-size: 0.9rem; }
.docs-footer p { margin: 0; }
.docs-copy-status { position: fixed; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 52rem) {
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block-start: 1.5rem; }
  .docs-sidebar { position: static; }
  .docs-sidebar > p { margin-block-end: 0.6rem; }
  .docs-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dbe4e0; border-radius: 0.75rem; padding: 0.45rem; background: #fff; }
  .docs-sidebar nav a { margin: 0; border-inline-start: 0; border-radius: 0.45rem; }
  .docs-sidebar nav a:hover, .docs-sidebar nav a:focus-visible { border-inline-start-color: transparent; background: #edf5f1; }
  .docs-intro { padding-block-start: 2.5rem; }
}

@media (max-width: 38rem) {
  .docs-header { gap: 0.75rem; }
  .docs-brand { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .docs-header nav { flex: 0 0 auto; }
  .docs-header nav a:not(.docs-portal-link) { display: none; }
  .docs-layout { padding-inline: 1rem; padding-block-end: 3.5rem; }
  .docs-sidebar > p { display: none; }
  .docs-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem;
    margin-inline: -1rem;
    padding: 0.35rem 1rem 0.8rem;
    overflow: visible;
    border: 0;
    border-block-end: 1px solid #dbe4e0;
    border-radius: 0;
  }
  .docs-sidebar nav a { padding: 0.48rem 0.55rem; font-size: 0.82rem; }
  .docs-intro { padding-block-end: 3.5rem; }
  .docs-intro h1 { max-inline-size: 17ch; font-size: clamp(2rem, 8.2vw, 2.4rem); }
  .docs-intro > p:not(.docs-kicker, .docs-callout) { font-size: 1rem; }
  .docs-facts { grid-template-columns: 1fr; }
  .docs-facts div { padding: 0.9rem 0; }
  .docs-facts div + div { padding-inline-start: 0; border-inline-start: 0; border-block-start: 1px solid #dbe4e0; }
  .docs-section { padding-block: 2.75rem; }
  .docs-code { margin-inline: -0.25rem; }
  .docs-code pre { padding: 1rem; font-size: 0.78rem; }
  .docs-error-grid { grid-template-columns: 1fr 1fr; }
  .docs-error-grid > div:not(:nth-child(3n + 1)) { padding-inline-start: 0; border-inline-start: 0; }
  .docs-error-grid > div:nth-child(even) { padding-inline-start: 0.8rem; border-inline-start: 1px solid #dbe4e0; }
  .docs-footer { align-items: flex-start; flex-direction: column; }
  .docs-actions { align-items: flex-start; flex-direction: column; }
  .docs-price-list { grid-template-columns: 1fr; }
  .docs-price-list > div + div { border-inline-start: 0; border-block-start: 1px solid #dbe4e0; }
}

/* --- Developer portal --- */
.developer-portal-page { background: #f5f8f6; color: #17201d; }
.developer-portal-page .wa-bubble, .developer-auth-page .wa-bubble { display: none; }
.developer-subnav {
  display: flex;
  gap: 1.5rem;
  max-inline-size: 1180px;
  margin-inline: auto;
  padding: 1rem 1.5rem;
  overflow-x: auto;
  border-block-end: 1px solid #dbe4e0;
  white-space: nowrap;
}
.developer-subnav a { color: #52635d; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.developer-subnav a:hover, .developer-subnav a:focus-visible, .developer-subnav a[aria-current="page"] { color: #075f49; }
.developer-portal { max-inline-size: 1180px; margin-inline: auto; padding: 3.5rem 1.5rem 6rem; }
.portal-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end; padding-block-end: 3rem; }
.portal-heading h1 { margin: 0.35rem 0 0.8rem; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.055em; }
.portal-heading > div > p:last-child { margin: 0; color: #52635d; font-size: 1rem; }
.portal-label { margin: 0; color: #0a6650; font: 750 0.75rem/1.2 "SFMono-Regular", Consolas, monospace; letter-spacing: 0.07em; text-transform: uppercase; }
.portal-balance { min-inline-size: 10rem; padding-inline-start: 2rem; border-inline-start: 1px solid #cfdad5; }
.portal-balance span, .portal-balance small { display: block; color: #66766f; font-size: 0.8rem; }
.portal-balance strong { display: block; margin-block: 0.15rem; color: #0a5c48; font-size: 3rem; line-height: 1; }
.portal-notice { margin: 0 0 2rem; padding: 0.9rem 1rem; border-inline-start: 3px solid #956a11; background: #fff8e8; color: #604918; }
.portal-secret { margin-block-end: 3rem; padding: 1.5rem; border: 1px solid #8fbdaa; border-radius: 0.75rem; background: #edf7f2; }
.portal-secret h2 { margin: 0.35rem 0 0.45rem; font-size: 1.5rem; }
.portal-secret p { margin: 0; color: #465750; }
.portal-secret-value { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; margin-block-start: 1.25rem; }
.portal-secret-value code { display: block; min-inline-size: 0; padding: 0.95rem 1rem; overflow-x: auto; border: 1px solid #28463b; border-radius: 0.55rem; background: #12201b; color: #eef6f3; font: 0.84rem/1.4 "SFMono-Regular", Consolas, monospace; white-space: nowrap; }
.portal-copy { min-block-size: 48px; padding-inline: 1rem; border: 1px solid #0a6650; border-radius: 0.55rem; background: #0a6650; color: #fff; font-weight: 750; cursor: pointer; }
.portal-copy:hover { background: #084f3e; }
.portal-copy:focus-visible { outline: 3px solid #8dd7bb; outline-offset: 2px; }
.portal-copy-feedback { min-block-size: 1.3rem; margin-block-start: 0.6rem !important; font-size: 0.85rem; }
.portal-section { padding-block: 3rem; border-block-start: 1px solid #cfdad5; }
.portal-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-block-end: 1.5rem; }
.portal-section-heading h2 { margin: 0 0 0.45rem; font-size: clamp(1.65rem, 4vw, 2.4rem); letter-spacing: -0.035em; }
.portal-section-heading p { max-inline-size: 44rem; margin: 0; color: #5b6b65; }
.portal-section-heading > a { color: #075f49; font-weight: 750; text-underline-offset: 0.18em; }
.portal-keys-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 0.8fr); gap: 2rem; align-items: start; }
.portal-key-list { min-inline-size: 0; }
.portal-key-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding-block: 1.25rem; border-block-end: 1px solid #d9e2de; }
.portal-key-row:first-child { border-block-start: 1px solid #d9e2de; }
.portal-key-row.is-revoked { opacity: 0.62; }
.portal-key-name { display: flex; gap: 0.6rem; align-items: center; margin-block-end: 0.4rem; }
.portal-key-name span { color: #0a6650; font-size: 0.75rem; font-weight: 750; }
.portal-key-row.is-revoked .portal-key-name span { color: #6f7d78; }
.portal-key-row > div > code { color: #234238; font: 0.82rem/1.4 "SFMono-Regular", Consolas, monospace; overflow-wrap: anywhere; }
.portal-key-row p { margin: 0.45rem 0 0; color: #6a7772; font-size: 0.78rem; }
.portal-scope-list { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; margin: 0.65rem 0 0; padding: 0; list-style: none; }
.portal-scope-list code { color: #4b5f57; font-size: 0.72rem; }
.portal-key-form { padding: 1.35rem; border: 1px solid #ccd9d3; border-radius: 0.75rem; background: #fff; }
.portal-key-form h3 { margin: 0 0 1.2rem; font-size: 1.25rem; }
.portal-field { margin-block-end: 1.2rem; }
.portal-field label, .portal-scopes legend { display: block; margin-block-end: 0.45rem; color: #263a33; font-size: 0.88rem; font-weight: 750; }
.portal-field input { inline-size: 100%; min-block-size: 48px; padding: 0.75rem; border: 1px solid #9caea7; border-radius: 0.5rem; background: #fff; color: #17201d; font-size: 1rem; }
.portal-field input:focus-visible { outline: 3px solid #8dd7bb; outline-offset: 1px; border-color: #075f49; }
.portal-scopes { margin: 0 0 1.25rem; padding: 0; border: 0; }
.portal-scopes ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.portal-scopes label { display: flex; gap: 0.55rem; align-items: center; min-block-size: 32px; color: #465750; font-size: 0.86rem; }
.portal-scopes input { inline-size: 1.05rem; block-size: 1.05rem; accent-color: #0a6650; }
.portal-empty { padding: 2rem 0; border-block: 1px solid #d9e2de; }
.portal-empty h3 { margin: 0 0 0.4rem; }
.portal-empty p { margin: 0; color: #5b6b65; }
.portal-table-wrap { overflow-x: auto; border: 1px solid #d6e0dc; border-radius: 0.75rem; background: #fff; }
.portal-table-wrap:focus-visible { outline: 3px solid #8dd7bb; outline-offset: 2px; }
.portal-table-wrap table { inline-size: 100%; min-inline-size: 48rem; border-collapse: collapse; text-align: start; }
.portal-table-wrap th, .portal-table-wrap td { padding: 0.9rem 1rem; border-block-end: 1px solid #e2e9e6; text-align: start; vertical-align: top; }
.portal-table-wrap tr:last-child td { border-block-end: 0; }
.portal-table-wrap th { color: #5b6b65; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; }
.portal-table-wrap td { color: #354940; font-size: 0.86rem; }
.portal-table-wrap td:first-child strong, .portal-table-wrap td:first-child small { display: block; }
.portal-table-wrap td:first-child small { margin-block-start: 0.2rem; color: #7a8782; font: 0.7rem/1.4 "SFMono-Regular", Consolas, monospace; }
.portal-status { font-weight: 750; }
.portal-status.status-success { color: #08704f; }
.portal-status.status-failed { color: #a43e36; }
.portal-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.portal-pack { display: flex; min-inline-size: 0; min-block-size: 14rem; flex-direction: column; justify-content: space-between; gap: 1.4rem; padding: 1.25rem; border: 1px solid #ccd9d3; border-radius: 0.75rem; background: #fff; }
.portal-pack h3 { margin: 0 0 0.45rem; font-size: 1.3rem; }
.portal-pack p { margin: 0; color: #5b6b65; font-size: 0.88rem; line-height: 1.5; }
.portal-pack-buy { display: grid; gap: 0.8rem; }
.portal-pack-buy > strong { color: #0a5c48; font-size: 1.8rem; }
.portal-pack-buy .button { inline-size: 100%; white-space: nowrap; }
.portal-terms { margin: 1rem 0 0; color: #68766f; font-size: 0.82rem; }

@media (max-width: 52rem) {
  .developer-portal { padding-block-start: 2.5rem; }
  .portal-keys-layout { grid-template-columns: minmax(0, 1fr); }
  .portal-key-form { order: -1; }
  .portal-pack-grid { grid-template-columns: 1fr; }
  .portal-pack { min-block-size: 0; }
}

@media (max-width: 38rem) {
  .developer-subnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem 0.75rem;
    padding: 0.6rem 1rem;
    overflow: visible;
    white-space: normal;
  }
  .developer-subnav a { padding-block: 0.35rem; font-size: 0.78rem; }
  .developer-portal { padding: 2rem 1rem 4rem; }
  .portal-heading { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .portal-heading h1 { font-size: clamp(2.35rem, 13vw, 3.2rem); }
  .portal-balance { display: grid; grid-template-columns: auto auto 1fr; gap: 0.45rem; align-items: baseline; min-inline-size: 0; padding: 1rem 0 0; border-inline-start: 0; border-block-start: 1px solid #cfdad5; }
  .portal-balance strong { font-size: 2rem; }
  .portal-wallet-split { margin: 0 0 1.4rem; }
  .portal-secret-value { grid-template-columns: minmax(0, 1fr); }
  .portal-copy { inline-size: 100%; }
  .portal-section { padding-block: 2.4rem; }
  .portal-section-heading { align-items: flex-start; flex-direction: column; gap: 0.7rem; }
  .portal-key-row { grid-template-columns: minmax(0, 1fr); }
  .portal-key-row form .button { inline-size: 100%; }
  .portal-key-form { padding: 1rem; }
}

/* --- Homepage: Developer API sectie --- */
.dev-api-section {
  padding: clamp(40px, 6vw, 84px) clamp(18px, 4vw, 56px);
  background: #f2f6f3;
  border-top: 1px solid rgba(17, 102, 79, 0.10);
  border-bottom: 1px solid rgba(17, 102, 79, 0.10);
}
.dev-api-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
.dev-api-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.dev-api-copy p {
  max-width: 540px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.dev-api-copy code {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  font-size: 0.88em;
}
.dev-api-code {
  padding: 14px;
  border: 1px solid rgba(17, 102, 79, 0.18);
  border-radius: calc(var(--radius) + 4px);
  background: #0f2c23;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.dev-api-code-head {
  margin: 0 0 10px;
  color: #9fc3b4;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dev-api-code pre {
  margin: 0;
  overflow-x: auto;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #d9ece2;
  font-size: 13.5px;
  line-height: 1.6;
  tab-size: 2;
}
@media (max-width: 900px) {
  .dev-api-grid { grid-template-columns: 1fr; }
}

/* --- Portal: uitsplitsing van de creditwallets --- */
.portal-wallet-split {
  margin: -1.6rem 0 1.8rem;
  color: #68766f;
  font-size: 0.9rem;
}
