/* Public SEO pages (/ai-song-generator, /compare, /alternatives) - generated by
   scripts/seo/build.mjs. Light editorial blog look; the song studio widget is
   the one dark, app-like object on the page. No layout shift by construction:
   metric-matched font fallback, sized images, fixed-size studio panel. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
}
/* Arial tuned to Inter's metrics - the swap doesn't move a single line. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%;
}

:root {
  --bg: #f7f5f0;
  --paper: #ffffff;
  --ink: #111114;
  --text: #33333b;
  --muted: #6e6e78;
  --faint: #a3a3ad;
  --line: #ebe8e1;
  --line2: #dedad1;
  --soft: #f3f1ec;
  --accent: #ff4f1a;
  --marker: #ffe45c;
  --good: #0f9d6b;
  --goodbg: #e7f7ef;
  --warn: #b7791f;
  --r: 14px;
  --r-lg: 22px;
  --font: "Inter", "Inter Fallback", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(17,17,20,0.04), 0 8px 24px -12px rgba(17,17,20,0.12);
  --shadow-lg: 0 2px 4px rgba(17,17,20,0.04), 0 24px 60px -20px rgba(17,17,20,0.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 750; letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wide { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.grad { color: var(--ink); background: linear-gradient(transparent 64%, var(--marker) 64% 92%, transparent 92%); padding: 0 .06em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 0; font: 650 15px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a31; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-grad { background: var(--ink); color: #fff; }
.btn-grad:hover { background: #2a2a2e; }
.studio .btn-grad { background: #fff; color: #000; }
.studio .btn-grad:hover { background: #e9e6df; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(247,245,240,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.topin { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.mark { width: 30px; height: 30px; display: inline-flex; flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; transition: color .15s; }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } .topin > .btn { margin-left: auto; } }

/* ---------- art: flat, print-style covers (ink colours + one shape) */
.art { position: relative; overflow: hidden; isolation: isolate; width: 100%; height: 100%; background: var(--c-bg); color: var(--c-fg); }
.art::before { content: ""; position: absolute; z-index: -1; background: var(--c-ac); }
.art.p0::before { width: 74%; aspect-ratio: 1; border-radius: 50%; right: -16%; top: -22%; }
.art.p1::before { width: 92%; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; left: 4%; bottom: 0; }
.art.p2::before { inset: 0 0 0 54%; background: repeating-linear-gradient(90deg, var(--c-ac) 0 16px, transparent 16px 32px); }
.art.p3::before { inset: 0; clip-path: polygon(0 100%, 100% 18%, 100% 100%); }
.art::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.art > b { position: absolute; left: 18px; bottom: 14px; font-size: 28px; font-weight: 850; letter-spacing: -0.04em; line-height: 1; }

/* ---------- logos */
.logo { --h: 260; flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--h) 30% 96%); color: hsl(var(--h) 45% 32%); font-weight: 800; font-size: 17px; border: 1px solid hsl(var(--h) 25% 88%); }
.logo > svg { width: 55%; height: 55%; }
.logo:has(.ic) { background: transparent; border: 0; padding: 0; box-shadow: none !important; }
.ic { width: 100%; height: 100%; object-fit: cover; display: block; }
.ic-l { display: none; }
.vsside:first-child .ic-d { display: none; }
.vsside:first-child .ic-l { display: block; }

.mark .ic { width: 100%; height: 100%; }
.avatar .ic { width: 22px; height: 22px; }
.logo.xs { width: 22px; height: 22px; border-radius: 7px; font-size: 11px; margin-right: 8px; vertical-align: -5px; }
.logo.md { width: 46px; height: 46px; font-size: 20px; border-radius: 14px; }
.logo.lg { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
.logo.xl { width: 72px; height: 72px; font-size: 30px; border-radius: 20px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }

/* ---------- article */
.post { padding-bottom: 24px; }
.phead { max-width: 820px; margin: 0 auto; padding: 48px 20px 28px; text-align: center; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .here { color: var(--text); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: #e9e5dc; border-radius: 999px; padding: 6px 12px; margin-bottom: 18px; }
.kicker.sm { font-size: 12px; padding: 4px 10px; margin-bottom: 10px; }
.phead h1, .hubhead h1, .ghero h1 { font-size: clamp(34px, 5.6vw, 58px); letter-spacing: -0.035em; line-height: 1.06; font-weight: 800; }
.dek { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); line-height: 1.55; margin: 18px auto 0; max-width: 680px; }
.byline { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-align: left; }
.byline b { display: block; color: var(--ink); font-size: 15px; }
.byline span:not(.avatar) { font-size: 14px; color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line2); display: inline-flex; align-items: center; justify-content: center; flex: none; }

.pcover { max-width: 1180px; margin: 12px auto 0; padding: 0 20px; }
.vscover, .altcover { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 8; min-height: 260px; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .vscover, .altcover { aspect-ratio: auto; min-height: 220px; } }
.altcover > .art { position: absolute; inset: 0; }
.vscover { background: linear-gradient(90deg, #111 0 50%, #ebe5d8 50% 100%); }
.vsrow { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px clamp(12px, 4vw, 56px); }
.vsside:first-child { color: #f7f5f0; }
.vsside:last-child { color: #111; }
.vsside { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.vsside .logo.xl { background: #fff; color: var(--ink); border: 0; }
.vsside:first-child .logo.xl { background: #f7f5f0; color: #111; }
.vsside:last-child .logo.xl { background: #111; color: #f7f5f0; }
.vsside b { font-size: clamp(20px, 3vw, 30px); letter-spacing: -0.03em; }
.vsside > span:last-child { font-size: 14px; opacity: .72; max-width: 260px; line-height: 1.4; }
.vsmid { width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #111; position: relative; z-index: 1; box-shadow: 0 0 0 8px #f7f5f0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
@media (max-width: 640px) { .vscover { aspect-ratio: auto; } .vsside span { display: none; } .logo.xl { width: 58px; height: 58px; font-size: 24px; } }
.alstack { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.alstack .logo { margin: 0 -10px; background: #fff; color: var(--ink); border: 3px solid #fff; }
.alstack .logo:first-child { z-index: 2; transform: scale(1.18); }

.pgrid { max-width: 1180px; margin: 0 auto; padding: 48px 20px 0; display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; justify-content: center; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0 0 22px; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; transition: color .15s, border-color .15s; }
.toc li a:hover { color: var(--ink); }
.toc li a.on { color: var(--ink); font-weight: 600; border-left-color: var(--ink); }
.tocapp { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink); text-decoration: none; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: minmax(0, 720px); padding-top: 32px; } .toc { display: none; } }

.prose > section { margin-bottom: 56px; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 18px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p { color: var(--text); }
.prose p em { font-style: normal; background: linear-gradient(transparent 60%, var(--marker) 60%); color: var(--ink); }

/* verdict */
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.vcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.vcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.vcard.alt::before { background: var(--ink); }
.vlabel { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.vcard p { margin: 0; font-size: 18px; color: var(--ink); font-weight: 550; line-height: 1.45; }
@media (max-width: 640px) { .verdict { grid-template-columns: 1fr; } }

/* scorecard */
.scorebar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.sbtrack { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 3px; background: var(--soft); }
.sbtrack i, .sblegend i { display: block; }
.sa { background: var(--accent); }
.st { background: #d9d5cc; }
.sb { background: var(--ink); }
.sblegend { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.sblegend div { text-align: center; }
.sblegend b { display: block; font-size: 38px; line-height: 1; color: var(--ink); font-weight: 800; letter-spacing: -0.04em; }
.sblegend span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.sblegend span i { width: 10px; height: 10px; border-radius: 3px; }

/* profiles */
.profiles { display: grid; gap: 14px; }
.profile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.prhead { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.prhead h3 { margin: 0 0 2px; font-size: 20px; }
.prhead > div > span { font-size: 14.5px; color: var(--muted); line-height: 1.4; display: block; }
.profile p { font-size: 16px; }
.profile dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.profile dl div { background: var(--soft); border-radius: 10px; padding: 10px 12px; }
.profile dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.profile dd { margin: 2px 0 0; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.35; }
@media (max-width: 560px) { .profile dl { grid-template-columns: 1fr; } }

/* table */
.tablewrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; box-shadow: var(--shadow); }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.ctable th, .ctable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable thead th { font-size: 14px; color: var(--ink); background: #faf9f6; white-space: nowrap; }
.ctable tbody th { font-weight: 550; color: var(--ink); width: 34%; }
.ctable td { color: var(--text); }
.ctable td > span:last-child { display: inline; }
.ctable td.win { background: var(--goodbg); color: #0b3d2b; font-weight: 550; }
.ctable tr.grp th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 18px 16px 8px; font-weight: 700; background: transparent; }
.mk { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; align-items: center; justify-content: center; margin-right: 8px; vertical-align: -4px; }
.m2 { background: var(--good); color: #fff; }
.m1 { background: #fbecc8; color: var(--warn); }
.m0 { background: var(--soft); color: var(--faint); }
.note { font-size: 13.5px; color: var(--faint); margin-top: 12px; }

/* pros / ticks */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pcard-a, .pcard-b { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); }
.pcard-a { border: 2px solid var(--ink); }
.pc h3 { margin: 0 0 10px; font-size: 17px; }
@media (max-width: 640px) { .pc { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; line-height: 1.5; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--goodbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 2.8 6-6.3' fill='none' stroke='%230f9d6b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks.warn li::before { background: #fdf3dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5.5v5.5M10 14.2v.3' fill='none' stroke='%23b7791f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.aside { background: #ece8df; border-radius: var(--r); padding: 18px 22px; margin-bottom: 18px; }
.aside p { margin: 0; font-size: 16px; }

/* alternatives list */
.altlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.altitem { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.altitem.pick { border: 2px solid var(--ink); }
.alhead { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.alnum { font-size: 14px; font-weight: 800; color: var(--faint); width: 22px; }
.alhead h3 { margin: 0; font-size: 20px; }
.alhead > div > span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.altitem p { font-size: 16px; }
.altags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.altags span { font-size: 13.5px; background: var(--soft); border-radius: 999px; padding: 5px 12px 5px 6px; display: inline-flex; align-items: center; }
.altags .mk { width: 18px; height: 18px; margin-right: 6px; vertical-align: 0; }
.badge { display: inline-block; vertical-align: 3px; margin-left: 6px; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 999px; letter-spacing: 0; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }
.link:hover { gap: 9px; }

/* FAQ - height animates where supported (::details-content), instant elsewhere */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; color: var(--ink); position: relative; font-size: 17px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--soft); transition: transform .25s ease, background-color .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .25s ease; }
.faq details[open] summary i { background: var(--marker); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq .ans p { padding: 0 22px 20px; margin: 0; color: var(--text); font-size: 16px; }
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .28s ease, content-visibility .28s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* generator page bits */
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.style { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; cursor: pointer; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s, border-color .2s; }
.style:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line2); }
.style .art { width: 64px; height: 64px; border-radius: 10px; flex: none; }
.style b { display: block; color: var(--ink); font-size: 16px; }
.style em { font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 560px) { .styles { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); font-size: 16px; line-height: 1.55; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps b { color: var(--ink); }
.prompts { display: grid; gap: 10px; }
.prompt { display: flex; flex-direction: column; gap: 8px; text-align: left; background: var(--paper); border: 1px dashed var(--line2); border-radius: var(--r); padding: 16px 18px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.prompt span { font-size: 16.5px; color: var(--ink); line-height: 1.45; }
.prompt span::before { content: "“"; color: var(--accent); font-weight: 800; margin-right: 2px; }
.prompt span::after { content: "”"; color: var(--accent); font-weight: 800; margin-left: 2px; }
.prompt em { font-style: normal; font-size: 14px; font-weight: 650; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.prompt:hover { border-style: solid; border-color: var(--ink); }
figure.inline { margin: 0 0 18px; }
figure.inline img { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-lg); }
figure.inline figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.whys { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow); }
.why h3 { margin: 0 0 6px; font-size: 17px; }
.why p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
@media (max-width: 560px) { .whys { grid-template-columns: 1fr; } }

/* generator hero: text + photo on top, studio full width below */
.ghero { padding: 36px 20px 56px; border-bottom: 1px solid var(--line); }
.ghin { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; }
.gtext .crumbs { justify-content: flex-start; }
.gtext .dek { margin-left: 0; }
.gstudio { grid-column: 1 / -1; max-width: 900px; width: 100%; justify-self: center; margin-top: 8px; }
@media (max-width: 900px) { .ghin { grid-template-columns: minmax(0, 1fr); gap: 22px; } .gstudio { margin-top: 0; } }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; padding: 0; margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust.v { flex-direction: column; align-items: flex-start; gap: 10px; }

/* hero photo + "now playing" card */
.hphoto { position: relative; margin: 0; }
.hphoto > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: #e4dfd4; }
.hphoto figcaption { font-size: 13.5px; color: var(--faint); margin-top: 12px; padding-left: 4px; }
.now { position: absolute; left: 18px; right: 18px; bottom: 50px; max-width: 360px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; padding: 10px 12px 10px 10px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.45); }
.nowart { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; background: #e4dfd4; }
.nowart img { width: 100%; height: 100%; object-fit: cover; }
.nowtxt { min-width: 0; flex: 1; }
.nowtxt b { display: block; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowtxt span { font-size: 13px; color: var(--muted); }
.nowbars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.nowbars i { width: 3px; border-radius: 2px; background: var(--accent); animation: nb 1s ease-in-out infinite; }
.nowbars i:nth-child(2) { animation-delay: .2s; } .nowbars i:nth-child(3) { animation-delay: .4s; } .nowbars i:nth-child(4) { animation-delay: .1s; }
@keyframes nb { 0%, 100% { height: 5px; } 50% { height: 18px; } }
.nowplay { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
@media (max-width: 560px) { .now { left: 10px; right: 10px; bottom: 44px; } }

/* ---------- song studio (the one dark object on the page) */
.studio { --sh: 148px; min-width: 0; text-align: left; background: #0b0b0b; color: #fff; border-radius: var(--r-lg); padding: 16px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.55); position: relative; margin: 8px 0 0; }
.sthead { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; font-size: 13px; }
.stlive { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: #e6e6e6; }
.stlive i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.stfree { color: #9d9d9d; }
.stscreen { display: grid; height: var(--sh); background: #161616; border-radius: 14px; border: 1px solid rgba(255,255,255,.07); overflow: hidden; transition: border-color .2s; }
.stscreen:focus-within { border-color: rgba(255,255,255,.35); }
.stinput, .strender { grid-area: 1 / 1; transition: opacity .3s ease, transform .3s ease; }
.stinput { position: relative; display: flex; }
.stext { flex: 1; width: 100%; height: 100%; resize: none; background: transparent; border: 0; outline: 0; color: #fff; padding: 16px 18px 30px; font: 450 19px/1.5 var(--font); letter-spacing: -0.01em; }
.stext::placeholder { color: #707070; }
.stcount { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: #707070; font-variant-numeric: tabular-nums; }
.strender { display: flex; gap: 18px; align-items: center; padding: 18px; opacity: 0; transform: translateY(8px); pointer-events: none; }
.studio.rendering .stinput { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.studio.rendering .strender { opacity: 1; transform: none; }
.srart { position: relative; width: 116px; height: 116px; flex: none; border-radius: 12px; overflow: hidden; background: #222; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.srart img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.srart .srspin { position: relative; color: #fff; }
.srspin { width: 38px; height: 38px; border-radius: 50%; border: 3px solid currentColor; border-top-color: transparent; opacity: .85; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.srbody { flex: 1; min-width: 0; }
.srtitle { height: 30px; display: flex; align-items: center; font-size: 22px; font-weight: 750; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srsub { height: 22px; display: flex; align-items: center; color: #9d9d9d; font-size: 14px; margin-top: 4px; }
.sk { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, #252525 25%, #363636 50%, #252525 75%); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
.sk1 { width: 70%; height: 20px; } .sk2 { width: 45%; }
@keyframes sk { to { background-position: -200% 0; } }
.srsteps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 16px 0 14px; }
.srsteps li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: #232323; color: #7e7e7e; transition: background-color .3s, color .3s; }
.srsteps li.done { background: rgba(52,211,153,.15); color: #6ee7b7; }
.srsteps li.now { background: #fff; color: #000; }
.srbar { height: 4px; border-radius: 4px; background: #252525; overflow: hidden; }
.srbar i { display: block; height: 100%; width: 0; background: #fff; transition: width .45s ease; }
@media (max-width: 560px) { .studio { --sh: 210px; } .srart { width: 96px; height: 96px; } .strender { gap: 14px; padding: 14px; } .srtitle { font-size: 18px; } }

.stopts { display: flex; align-items: center; gap: 12px; padding: 14px 2px 4px; overflow: hidden; }
.seg { position: relative; display: inline-flex; flex: none; background: #1e1e1e; border-radius: 999px; padding: 3px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; color: #9d9d9d; font-size: 13.5px; font-weight: 600; height: 32px; padding: 0 14px; border-radius: 999px; cursor: pointer; transition: color .2s; width: 104px; }
.seg button.on { color: #000; }
.segthumb { position: absolute; z-index: 0; top: 3px; left: 3px; width: 104px; height: 32px; border-radius: 999px; background: #fff; transition: transform .28s cubic-bezier(.3,.7,.2,1); }
.seg.inst .segthumb { transform: translateX(104px); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: transparent; color: #d6d6d6; font-size: 13.5px; font-weight: 550; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.pill:hover { border-color: rgba(255,255,255,.3); }
.pill[aria-pressed="true"] { background: #fff; border-color: #fff; color: #000; }
/* Phone: ONE row that scrolls sideways (Vocals switch + style pills) and ONE
   footer row - wrapping stacked three ragged rows ("crowded, breaks design"). */
@media (max-width: 560px) {
  .stopts { overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 14px 16px 4px; -webkit-mask: linear-gradient(90deg, #000 88%, transparent); mask: linear-gradient(90deg, #000 88%, transparent); }
  .stopts::-webkit-scrollbar { display: none; }
  .stopts .pills { overflow: visible; -webkit-mask: none; mask: none; padding-right: 8px; }
  .seg button, .segthumb { width: 94px; }
  .seg button { padding: 0 10px; font-size: 13px; }
  .seg.inst .segthumb { transform: translateX(94px); }
  .studio .stfoot { gap: 6px; }
  .studio .dice { padding: 10px 4px; font-size: 14px; }
  .studio .go { flex: 1; min-width: 0; padding: 0 18px; }
}
.dice span, .go span { white-space: nowrap; }
.stfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; }
.dice { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #b5b5b5; font-size: 14.5px; font-weight: 600; cursor: pointer; padding: 10px 8px; border-radius: 10px; transition: color .15s, background-color .15s; }
.dice:hover { color: #fff; background: #1e1e1e; }
.dice svg { color: var(--accent); transition: transform .4s ease; }
.dice.spin svg { transform: rotate(180deg); }
.go { height: 50px; padding: 0 24px; font-size: 16px; min-width: 188px; }
.go svg { transition: transform .2s; }
.go:hover svg { transform: translateX(3px); }
.studio.rendering .go { pointer-events: none; opacity: .7; }
.stext.nudge { animation: nudge .35s; }
@keyframes nudge { 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }

/* sign-in sheet */
.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17,17,20,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.sheet.on { opacity: 1; }
.shbox { width: 100%; max-width: 440px; background: var(--paper); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.5); transform: translateY(16px) scale(.98); transition: transform .35s cubic-bezier(.2,.8,.2,1); position: relative; }
.sheet.on .shbox { transform: none; }
.shcover { position: relative; height: 190px; }
.shcover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shsong { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; color: var(--ink); background: rgba(255,255,255,.95); border-radius: 14px; padding: 10px 12px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.45); }
.shplay { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.shsong b { display: block; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shsong span { font-size: 13px; color: var(--muted); }
.shsong > div { min-width: 0; }
.shbody { padding: 22px 24px 24px; }
.shbody h2 { font-size: 24px; margin-bottom: 8px; }
.shbody > p { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin-bottom: 16px; }
.shperks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 15px; color: var(--ink); }
.shperks li { display: flex; align-items: center; gap: 10px; }
.shperks svg { color: var(--ink); flex: none; }
.shbox .btn { width: 100%; height: 52px; font-size: 16px; }
.shalt { display: block; width: 100%; text-align: center; margin-top: 10px; background: none; border: 0; color: var(--muted); font-size: 14.5px; cursor: pointer; padding: 8px; }
.shalt:hover { color: var(--ink); }
.shx { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.28); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
@media (max-width: 560px) { .sheet { align-items: flex-end; padding: 0; } .shbox { border-radius: 24px 24px 0 0; max-width: none; transform: translateY(40px); } }

/* ---------- cards, hubs */
.more-sec { padding: 40px 0 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.more-sec h2, .hubsec h2 { font-size: 26px; margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cvis { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.cover { width: 100%; height: 100%; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .cover img { transform: scale(1.04); }
.cover .art { display: flex; align-items: center; justify-content: center; }
.minivs { display: flex; align-items: center; gap: 12px; }
.minivs .logo { background: #fff; color: var(--ink); border: 0; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.minivs .logo:has(.ic) { background: #fff; padding: 9px; }
.minivs em { color: var(--c-fg); font-style: normal; font-weight: 800; font-size: 15px; opacity: .95; }
.cover .art > .logo.xl { background: #fff; color: var(--ink); border: 0; }
.cbody { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.cbody h3 { font-size: 19px; margin-bottom: 6px; }
.cbody p { font-size: 15px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; font-size: 14.5px; }
.card:hover .more { text-decoration: underline; text-underline-offset: 4px; }

.hubhead { padding: 56px 0 18px; text-align: center; }
.hubhead.withphoto { text-align: left; padding-top: 40px; }
.hubgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hubgrid .dek { margin-left: 0; }
@media (max-width: 900px) { .hubgrid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.hubhead .dek { margin-bottom: 8px; }
.featured { margin-top: 26px; margin-bottom: 20px; }
.feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); }
.feattext h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.feattext p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .feat { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 24px; } .feattext { order: -1; padding: 8px 6px 0; } }
.hubsec { padding-top: 40px; }

/* CTA band */
.cta { max-width: 1180px; margin: 48px auto 0; padding: 0 20px; }
.ctain { position: relative; border-radius: 28px; overflow: hidden; background: #111; color: #f7f5f0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; }
.ctatext { padding: 48px clamp(24px, 5vw, 64px); align-self: center; }
.ctatext h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.04em; }
.ctapic { position: relative; min-height: 260px; }
.ctapic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ctain { grid-template-columns: minmax(0, 1fr); } .ctapic { min-height: 200px; order: -1; } }
.ctatext p { font-size: 18px; color: #c9c6be; margin: 12px 0 26px; }

/* footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); background: #f5f3ee; }
.footin { max-width: 1180px; margin: 0 auto; padding: 52px 20px 28px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px 28px; }
.fbrand p { color: var(--muted); font-size: 15px; margin: 14px 0 18px; max-width: 300px; line-height: 1.55; }
.fcol h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 12px; }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { margin: 7px 0; line-height: 1.35; }
.fcol a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.fcol a:hover { color: var(--ink); }
.fcopy { max-width: 1180px; margin: 0 auto; padding: 18px 20px 34px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .footin { grid-template-columns: 1fr 1fr; } .fbrand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.vsside .logo.xl:has(.ic) { background: transparent; box-shadow: none; }

.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tldr { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: 22px 24px 8px; box-shadow: var(--shadow); }
.tldr p { font-size: 17px; color: var(--ink); }
.prose .muted { color: var(--muted); font-size: 16px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Competitor icons (img.bi): each tool's real square app icon, full-bleed - no tile, no border.
   One radius for all of them (about a fifth of the size, like an app icon on a phone). */
.logo:has(.bi), .vsside .logo.xl:has(.bi), .minivs .logo:has(.bi), .cover .art > .logo.xl:has(.bi), .alstack .logo:has(.bi) { background: transparent; padding: 0; border: 0; overflow: hidden; border-radius: 22%; }
.logo > .bi { width: 100%; height: 100%; object-fit: cover; display: block; }
.alstack { gap: 14px; } .alstack .logo { margin: 0; } .alstack .logo:first-child { margin-right: 8px; } .alstack .logo:has(.bi) { box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
@media (max-width: 640px) { .alstack { gap: 8px; } }
