/* YaPlay marketing site — original design system (tokens: design/tokens.json). */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.df89c7ab0af2.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Variable.946beb949095.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #080808;
  --surface: #151312;
  --surface-2: #201b17;
  --border: #39332c;
  --text: #faf7f1;
  --muted: #b9b2a8;
  --gold: #e6a71a;
  --gold-hi: #f4c759;
  --on-gold: #080808;
  --red: #b72632;
  --red-text: #ff7a84; /* accessible red for text on dark */
  --focus: #f4c759;
  --danger: #ff6b6b;
  --success: #5bc88a;
  --info: #8ab4f8;
  --glow: rgba(230, 167, 26, 0.16);
  --header-bg: rgba(8, 8, 8, 0.82);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 120ms;
  --t-base: 220ms;
  --gutter: 16px;
  --maxw: 1160px;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #faf7f1;
    --surface: #ffffff;
    --surface-2: #f1ebe1;
    --border: #d9cfc0;
    --text: #14110f;
    --muted: #5e564c;
    --gold: #8a5d00; /* tokens.light.goldAccessible: 5.4:1 on bg (#9a6a00 was 4.43:1) */
    --gold-hi: #e6a71a;
    --on-gold: #ffffff;
    --red-text: #b72632;
    --focus: #9a6a00;
    --danger: #b3261e;
    --success: #1e7a47;
    --info: #1f5fbf;
    --glow: rgba(230, 167, 26, 0.18);
    --header-bg: rgba(250, 247, 241, 0.88);
  }
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
@media (prefers-color-scheme: light) { a { color: var(--gold); } }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; }
ul, ol { padding: 0; margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
#main:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 12px 16px; border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

/* Pre-launch strip */
.prelaunch {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  text-align: center;
  padding: 8px var(--gutter);
}
.prelaunch p { margin: 0; }
.prelaunch a { margin-left: 6px; font-weight: 700; white-space: nowrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 48px; }
.mark { width: 36px; height: 36px; flex: none; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.wordmark span { color: var(--gold); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.burger, .burger::before, .burger::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.site-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: var(--r-sm);
  color: var(--text); text-decoration: none; font-weight: 600;
}
.site-nav ul a:hover { background: var(--surface); }
.site-nav ul a[aria-current="page"] { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--red); }
@media (prefers-color-scheme: light) { .site-nav ul a[aria-current="page"] { color: var(--gold); } }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 700; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px;
}

@media (max-width: 899px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px;
    padding: 8px 0 16px; border-top: 1px solid var(--border);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav ul a { width: 100%; }
  .js .nav-actions { justify-content: space-between; }
  .no-js .site-nav { width: 100%; padding-bottom: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font: inherit; font-weight: 800; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background var(--t-fast), transform var(--t-fast) var(--ease), border-color var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hi); color: #080808; }
.btn-ghost { color: var(--text); border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { min-height: 44px; padding: 0 18px; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--surface-2); color: var(--gold-hi); border: 1px solid var(--border);
}
@media (prefers-color-scheme: light) { .pill { color: var(--gold); } }
.pill-muted { color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.pad { padding: 24px; }

/* Typography */
.display, .display-sm, .section-title, .notice-title, .brief-title, .step h3, .feature h3, .track-title, .footer-h {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.display { font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.02; margin-bottom: 0.35em; }
.display em { font-style: normal; color: var(--gold); display: inline-block; }
.display-sm { font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.06; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 20ch; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.eyebrow .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(183, 38, 50, 0.25); }
.section-lede { max-width: 62ch; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 72px;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--glow), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; right: -220px; top: 40px; width: 560px; height: 560px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(230, 167, 26, 0.07) 14px 15px);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: start; }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust-list { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; }
.trust-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3 3 7-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Brief preview */
.brief { padding: 22px; display: grid; gap: 14px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8); }
@media (min-width: 520px) { .brief { padding: 28px; } }
.brief-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brief-title { font-size: 1.35rem; margin: 0; }
.field-label { display: block; margin: 0 0 8px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
textarea {
  width: 100%; min-height: 96px; resize: vertical; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--bg); color: var(--text); border: 1px solid var(--border); font: inherit; line-height: 1.5;
}
textarea::placeholder { color: var(--muted); opacity: 0.85; }
textarea:focus-visible { border-color: var(--gold); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: var(--bg); color: var(--text); font-weight: 700; font-size: 0.92rem;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.chip input:hover + span { border-color: var(--gold); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.brief-out { background: var(--surface-2); border-radius: var(--r-md); padding: 16px; border: 1px dashed var(--border); }
.brief-out dl { margin: 0; display: grid; gap: 8px; }
.brief-out dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; }
.brief-out dt { color: var(--muted); font-size: 0.9rem; }
.brief-out dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.brief-out dd.is-empty { color: var(--muted); font-weight: 500; font-style: italic; }
@media (max-width: 380px) { .brief-out dl div { grid-template-columns: 1fr; gap: 0; } }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-alt .card { background: var(--bg); }
.page-hero { padding: 64px 0 24px; background: radial-gradient(50rem 22rem at 90% -20%, var(--glow), transparent 60%); }
.page-hero + .section { padding-top: 40px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 16px; margin-top: 32px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { padding: 28px; position: relative; }
.step-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.45rem; }
.step:nth-child(2) .step-num { color: var(--red-text); }

/* Genres */
.genre-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.genre-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border);
  display: flex; align-items: flex-end;
}
.genre-tile .genre-art { position: absolute; inset: 0; transition: transform 600ms var(--ease); }
.genre-tile:hover .genre-art { transform: scale(1.05); }
.genre-name {
  position: relative; margin: 12px; padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(8, 8, 8, 0.78); color: #faf7f1; font-weight: 800; font-size: 0.95rem;
}
.genre-art { display: block; background-color: #151312; }
.genre-tile .genre-art { filter: saturate(0.82) brightness(0.88); }
.genre-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 8, 0.55)); pointer-events: none; }
.genre-name { z-index: 1; }
.g-bongo_flava .genre-art, .genre-art.g-bongo_flava {
  background:
    radial-gradient(circle at 50% 62%, #f4c759 0 18%, transparent 18.5%),
    repeating-linear-gradient(180deg, #b72632 0 6px, transparent 6px 14px) 0 64% / 100% 40% no-repeat,
    linear-gradient(180deg, #2a1410, #080808);
}
.g-amapiano .genre-art, .genre-art.g-amapiano {
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(244, 199, 89, 0.35), transparent 70%),
    repeating-linear-gradient(90deg, #faf7f1 0 12%, #080808 12% 13%) 0 100% / 100% 46% no-repeat,
    repeating-linear-gradient(90deg, transparent 0 8%, #080808 8% 12%, transparent 12% 25%) 0 54% / 100% 26% no-repeat,
    #201b17;
}
.g-afrobeats .genre-art, .genre-art.g-afrobeats {
  background:
    repeating-radial-gradient(circle at 30% 70%, #e6a71a 0 6px, #080808 6px 14px, #b72632 14px 18px, #080808 18px 26px);
}
.g-singeli .genre-art, .genre-art.g-singeli {
  background:
    repeating-linear-gradient(-60deg, #b72632 0 10px, #080808 10px 18px, #e6a71a 18px 20px, #080808 20px 30px);
}
.g-gospel .genre-art, .genre-art.g-gospel {
  background:
    repeating-conic-gradient(from 0deg at 50% 110%, rgba(244, 199, 89, 0.55) 0 4deg, transparent 4deg 12deg),
    radial-gradient(circle at 50% 110%, #f4c759 0 12%, #3a2a10 40%, #080808 75%);
}
.g-taarab .genre-art, .genre-art.g-taarab {
  background:
    radial-gradient(circle, #e6a71a 0 2px, transparent 2.5px) 0 0 / 18px 18px,
    radial-gradient(circle, rgba(183, 38, 50, 0.9) 0 4px, transparent 4.5px) 9px 9px / 18px 18px,
    linear-gradient(160deg, #2b1a1c, #0e0b0a);
}
.g-hip_hop .genre-art, .genre-art.g-hip_hop {
  background:
    linear-gradient(90deg, transparent 0 62%, #e6a71a 62% 70%, transparent 70%),
    linear-gradient(0deg, transparent 0 30%, #b72632 30% 44%, transparent 44%),
    conic-gradient(#151312 25%, #201b17 0 50%, #151312 0 75%, #201b17 0) 0 0 / 40px 40px;
}
.g-rnb .genre-art, .genre-art.g-rnb {
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(183, 38, 50, 0.85), transparent 70%),
    radial-gradient(45% 55% at 72% 62%, rgba(230, 167, 26, 0.55), transparent 70%),
    #120a0d;
}
.g-pop .genre-art, .genre-art.g-pop {
  background:
    radial-gradient(circle, #f4c759 0 5px, transparent 5.5px) 0 0 / 46px 46px,
    radial-gradient(circle, #b72632 0 4px, transparent 4.5px) 23px 23px / 46px 46px,
    radial-gradient(circle, #faf7f1 0 2px, transparent 2.5px) 11px 30px / 46px 46px,
    #1b1512;
}

/* Features */
.features { list-style: none; display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature { padding: 26px; display: flex; flex-direction: column; gap: 4px; }
.feature h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag { font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-text); }
.feature.is-later { border-style: dashed; }
.feature.is-later h3, .feature.is-later .feature-icon { opacity: 0.75; }
.feature .pill { align-self: flex-start; margin-top: auto; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; background: var(--surface-2); position: relative;
}
.feature-icon::after {
  content: ""; position: absolute; inset: 10px; background: var(--gold);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.fi-song { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V5l11-2v13' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='17' cy='16' r='3'/%3E%3C/svg%3E"); }
.fi-lyrics { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M4 11h16M4 16h10' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.fi-library { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='4' height='16' rx='1'/%3E%3Crect x='9' y='4' width='4' height='16' rx='1'/%3E%3Cpath d='M15 5.5l3.8-1 3 15.4-3.8 1z'/%3E%3C/svg%3E"); }
.fi-credits { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2.2'/%3E%3Cpath d='M12 7v10M9 9.5h4.5a1.8 1.8 0 010 3.6h-3a1.8 1.8 0 000 3.6H15' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.fi-voice { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0014 0M12 18v3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.fi-video { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='6' width='14' height='12' rx='2'/%3E%3Cpath d='M17 10l5-3v10l-5-3z'/%3E%3C/svg%3E"); }

/* Samples / waveform */
.samples { display: grid; gap: 28px; padding: 28px; align-items: center; }
@media (min-width: 820px) { .samples { grid-template-columns: 0.9fr 1.1fr; padding: 40px; } }
.samples-wave { display: flex; align-items: center; gap: 5px; height: 120px; }
.samples-wave span { flex: 1; min-width: 3px; border-radius: 3px; background: var(--border); height: 30%; }
.samples-wave span:nth-child(3n) { height: 70%; background: var(--gold); opacity: 0.5; }
.samples-wave span:nth-child(4n) { height: 48%; }
.samples-wave span:nth-child(5n) { height: 88%; background: var(--gold); opacity: 0.35; }
.samples-wave span:nth-child(7n) { height: 22%; background: var(--red); opacity: 0.6; }
.samples-wave-sm { height: 64px; max-width: 280px; margin: 0 auto 20px; }
@media (prefers-reduced-motion: no-preference) {
  .samples-wave span { animation: breathe 2.8s var(--ease) infinite alternate; }
  .samples-wave span:nth-child(2n) { animation-delay: -0.9s; }
  .samples-wave span:nth-child(3n) { animation-delay: -1.7s; }
}
@keyframes breathe { from { transform: scaleY(0.7); } to { transform: scaleY(1); } }
.link-arrow { display: inline-flex; align-items: center; min-height: 48px; font-weight: 800; }
.link-arrow::after { content: "→"; margin-left: 8px; transition: transform var(--t-fast); }
.link-arrow:hover::after { transform: translateX(4px); }

/* CTA band */
.cta-band { background: linear-gradient(180deg, var(--bg), var(--surface)); border-top: 1px solid var(--border); text-align: center; }
.cta-inner { display: grid; justify-items: center; gap: 8px; }
.cta-inner .lede { margin-inline: auto; }

/* Pricing */
.notice { padding: 28px; border-left: 4px solid var(--gold); }
.notice-title { font-size: 1.35rem; }
.packs { list-style: none; display: grid; gap: 16px; }
@media (min-width: 720px) { .packs { grid-template-columns: repeat(3, 1fr); } }
.pack { padding: 26px; }
.pack-credits strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); }
.pack-price { font-weight: 800; font-size: 1.2rem; }

/* Prose */
.prose h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 8px; }
.prose li::marker { color: var(--gold); }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.draft-notice {
  display: inline-block; margin-top: 8px; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--border); border-left: 4px solid var(--red); color: var(--text);
}
.draft-notice strong { color: var(--red-text); margin-right: 6px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }

/* Status flow */
.status-flow { list-style: none; padding-left: 0 !important; gap: 14px !important; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; padding: 2px 12px; border-radius: var(--r-pill); font-weight: 800; font-size: 0.85rem; border: 1px solid currentColor; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.s-queued { color: var(--info); }
.s-generating { color: var(--gold-hi); }
.s-ready { color: var(--success); }
.s-failed { color: var(--danger); }
@media (prefers-color-scheme: light) { .s-generating { color: var(--gold); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0 20px; }
.faq details[open] { border-color: var(--gold); }
.faq summary {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; padding: 12px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); flex: none; transition: transform var(--t-base) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* Explore */
.track-grid { list-style: none; display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 640px) { .track-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .track-grid { grid-template-columns: repeat(3, 1fr); } }
.track { display: flex; gap: 16px; padding: 14px; align-items: center; }
.track-art { width: 84px; height: 84px; border-radius: var(--r-md); flex: none; }
.track-meta { min-width: 0; }
.track-meta p { margin: 0; }
.track-title { font-size: 1.15rem; margin: 0 0 4px; overflow-wrap: anywhere; }
.empty { padding: 48px 24px; text-align: center; }

/* Support */
.support-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }

/* Error */
.error-page { padding-bottom: 96px; }
.error-page .btn { margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 24px; background: var(--bg); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { max-width: 34ch; margin-top: 12px; }
.footer-h { font-size: 1rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; }
.site-footer ul a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--text); text-decoration: underline; }
.footer-base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }

/* Spacing between consecutive plain sections */
.section:not(.section-alt) + .section:not(.section-alt):not(.cta-band) { padding-top: 0; }
.site-footer .lang-switch { padding-left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .chip span, .card { border: 1px solid CanvasText; }
}
