/* StemSplitter.pro design system (v3). One stylesheet for every page. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/inter-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  --ink: #0a0f1e; --ink-2: #111831; --ink-3: #1c2647; --ink-line: rgba(255, 255, 255, .1);
  --paper: #fff; --canvas: #f5f6fa; --line: #e3e6ee; --line-strong: #cfd4e0;
  --text: #0e1528; --muted: #566079; --soft: #8590a8;
  --brand: #3d5afe; --brand-600: #2f47d6; --brand-700: #2539ad; --brand-50: #eef1ff; --brand-100: #dfe4ff;
  --vocals: #ff5c8a; --drums: #ffb02e; --bass: #8b6cff; --guitar: #1fc98e; --piano: #33b1ff; --other: #9aa6bd;
  --ok: #0b8a5f; --ok-bg: #e7f7f0; --warn: #8a5a00; --warn-bg: #fff6df; --err: #c0353a; --err-bg: #fdecec;
  --r-sm: 10px; --r: 14px; --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(10, 15, 30, .05), 0 6px 18px rgba(10, 15, 30, .06);
  --shadow-2: 0 2px 6px rgba(10, 15, 30, .08), 0 24px 60px rgba(10, 15, 30, .22);
  --wrap: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, audio { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.022em; font-weight: 750; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.14rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
a { color: var(--brand-600); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(61, 90, 254, .45); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; padding: 8px 14px; border-radius: 8px; background: #fff; color: var(--brand-700); font-weight: 650; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn, .primary-action, .secondary-action, .submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s, transform .15s, border-color .15s; }
.btn-primary, .primary-action, .submit-btn { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 22px rgba(61, 90, 254, .32); }
.btn-primary:hover, .primary-action:hover, .submit-btn:hover { background: var(--brand-600); color: #fff; transform: translateY(-1px); }
.btn-primary:disabled, .primary-action:disabled, .submit-btn:disabled { background: #c9cfdf; color: #fff; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost, .secondary-action { background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover, .secondary-action:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.btn-lg { min-height: 56px; font-size: 1.06rem; padding: 14px 26px; width: 100%; }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--brand-50); color: var(--ink); }
.text-action { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 12px 6px; }
.primary-action, .secondary-action { width: 100%; }
.primary-action.inline, .secondary-action.inline { width: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 30, .92); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--ink-line); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 750; font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img, .brand svg { width: 30px; height: 30px; border-radius: 8px; }
.brand span span { color: #9fb0ff; }
.site-nav { display: contents; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 9px; color: #c9d1e6; font-size: .95rem; font-weight: 550; text-decoration: none; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .nav-cta { background: #fff; color: var(--ink); font-weight: 650; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--brand-50); color: var(--ink); }
.nav details { position: relative; }
.nav .menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); display: grid; gap: 2px; }
.nav .menu.right { left: auto; right: 0; min-width: 190px; }
.nav .menu a { color: var(--text); padding: 9px 12px; font-weight: 500; }
.nav .menu a:hover { background: var(--canvas); color: var(--brand-700); }
.nav .menu a i { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--other)); flex: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink-line); border-radius: 10px; color: #fff; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; color: #dfe5f5; background: radial-gradient(900px 460px at 12% -10%, rgba(61, 90, 254, .42), transparent 60%), radial-gradient(700px 420px at 96% 4%, rgba(255, 92, 138, .2), transparent 62%), radial-gradient(600px 500px at 60% 120%, rgba(31, 201, 142, .14), transparent 60%), var(--ink); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: start; padding: 64px 0 84px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #a9b8ff; }
.hero-lede { font-size: 1.14rem; color: #c3cbe0; margin: 20px 0 26px; max-width: 34em; }
.hero-points { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; color: #e7ebf7; font-weight: 500; }
.hero-points .icon { color: #6ee7b7; margin-top: 3px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .86rem; color: #93a0bd; }
.crumbs a { color: #b9c4de; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #55617f; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }
.hero .eyebrow { color: #a9b8ff; }

/* the stem lanes illustration */
.lanes { display: grid; gap: 9px; margin-top: 8px; padding: 18px; border: 1px solid var(--ink-line); border-radius: var(--r); background: rgba(255, 255, 255, .04); max-width: 500px; }
.lane { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: #aeb9d4; }
.lane svg { width: 100%; height: 30px; display: block; }
.lane path { fill: var(--c); opacity: .92; }
.lane b { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; }
.lane b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }

/* ---------- the tool card ---------- */
.tool { position: relative; background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-2); border: 1px solid rgba(255, 255, 255, .6); }
.tool-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-title span { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); letter-spacing: .02em; text-transform: none; font-weight: 600; }
.tool-title span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #17c98a; box-shadow: 0 0 0 4px rgba(23, 201, 138, .18); }
.drop { display: grid; justify-items: center; gap: 6px; padding: 34px 20px; border: 2px dashed #c5cbe0; border-radius: var(--r); background: linear-gradient(180deg, #fafbff, #f3f5fc); text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.drop:hover, .drop.dragover { border-color: var(--brand); background: var(--brand-50); }
.drop.dragover { transform: scale(1.01); }
.drop-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(61, 90, 254, .35); margin-bottom: 8px; }
.drop-icon .icon { width: 26px; height: 26px; }
.drop strong { font-size: 1.13rem; letter-spacing: -.012em; }
.drop span { color: var(--muted); font-size: .97rem; }
.drop span u { color: var(--brand-600); font-weight: 600; text-decoration-thickness: 1.5px; }
.drop small { color: var(--soft); font-size: .82rem; margin-top: 4px; }
.tool-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.tool-file .file-name { font-weight: 650; overflow-wrap: anywhere; }
.tool-file .file-size { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.btn-remove { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--muted); }
.btn-remove:hover { color: var(--err); border-color: var(--err); }
.ss-picker { margin-top: 12px; padding: 12px 16px 6px; border: 1px solid var(--line); border-radius: var(--r); }
.ss-picker label { display: block; font-size: .93rem; color: var(--muted); }
.ss-picker label strong { color: var(--text); font-variant-numeric: tabular-nums; }
.ss-picker input[type=range] { width: 100%; accent-color: var(--brand); margin: 8px 0 2px; }
.ss-picker-hint { font-size: .82rem; color: var(--soft); margin: 0 0 6px; }
.tool-label { display: block; margin: 22px 0 10px; font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-weight: 600; font-size: .94rem; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--other)); }
.chip:hover { border-color: var(--text); }
.chip.active, .chip[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: #fff; box-shadow: 0 6px 16px rgba(14, 21, 40, .22); }
.prompt-input { width: 100%; margin-top: 12px; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-size: 1rem; }
.prompt-input::placeholder { color: var(--soft); }
.prompt-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(61, 90, 254, .14); }
.tool .btn-lg { margin-top: 18px; }
.tool-note, .ss-promise { margin: 12px 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.tool-note b { color: var(--text); font-weight: 600; }
.progress { margin-top: 18px; }
.progress-bar { height: 8px; border-radius: 99px; background: #e8ebf4; overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #7c8cff); transition: width .4s ease; }
.progress-text { margin: 10px 0 0; font-size: .93rem; color: var(--muted); text-align: center; }
.results { margin-top: 20px; }
.results-title { font-size: 1.05rem; margin: 0 0 12px; }
.result-card, .ss-track { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; background: #fff; }
.result-card h4, .ss-track h2 { font-size: .98rem; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.result-card h4::before, .ss-track h2::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.result-card + .result-card h4::before, .ss-track + .ss-track h2::before { background: var(--vocals); }
.result-card audio, .ss-track audio { width: 100%; height: 40px; display: block; }
.ss-mix-status { font-size: .86rem; color: var(--muted); margin: 0 0 8px; }
.ss-note { padding: 13px 16px; border-radius: var(--r-sm); font-size: .95rem; }
.ss-note-error { background: var(--err-bg); color: var(--err); }
.ss-note-info { background: var(--brand-50); color: var(--brand-700); }
.ss-unlock { margin-top: 16px; padding: 20px; border-radius: var(--r); background: linear-gradient(180deg, #f4f6ff, #fff); border: 1px solid var(--brand-100); }
.ss-unlock h3 { font-size: 1.16rem; margin-bottom: 6px; }
.ss-unlock p { color: var(--muted); font-size: .95rem; margin: 0 0 12px; }
.ss-unlock p strong { color: var(--text); }
.ss-format { display: flex; align-items: center; gap: 14px; font-size: .94rem; margin: 0 0 14px; }
.ss-format span { color: var(--muted); font-weight: 600; }
.ss-format label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ss-format input { accent-color: var(--brand); }
.ss-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ss-pack-form { display: contents; }
.ss-pack { position: relative; display: grid; gap: 2px; justify-items: center; padding: 16px 8px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; width: 100%; }
.ss-pack:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(61, 90, 254, .18); transform: translateY(-2px); }
.ss-pack strong { font-size: .95rem; }
.ss-pack span { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.ss-pack em { font-style: normal; font-size: .8rem; color: var(--muted); }
.ss-pack-best { border-color: var(--brand); background: var(--brand-50); }
.ss-pack-best::before { content: attr(data-badge); position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ss-pack-best:not([data-badge])::before { display: none; }
.ss-pack:disabled { opacity: .55; cursor: wait; transform: none; }
.ss-pack-once { grid-template-columns: 1fr auto; grid-template-areas: "name price" "per price"; justify-items: start; align-items: center; width: 100%; padding: 13px 16px; text-align: left; }
.ss-pack-once strong { grid-area: name; } .ss-pack-once em { grid-area: per; } .ss-pack-once span { grid-area: price; font-size: 1.25rem; }
.ss-packs:has(.ss-pack-once) { grid-template-columns: 1fr; }
.ss-plans { display: grid; gap: 10px; }
.ss-plan { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "songs per"; gap: 2px 14px; align-items: center; width: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ss-plan:hover { border-color: var(--brand); box-shadow: 0 10px 26px rgba(61, 90, 254, .18); transform: translateY(-2px); }
.ss-plan strong { grid-area: name; font-size: 1.02rem; }
.ss-plan span { grid-area: price; justify-self: end; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.ss-plan span i { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ss-plan em { grid-area: songs; font-style: normal; font-size: .88rem; color: var(--muted); }
.ss-plan small { grid-area: per; justify-self: end; font-size: .78rem; color: var(--muted); text-align: right; }
.ss-plan-best { border-color: var(--brand); background: var(--brand-50); }
@media (max-width: 560px) {
    .ss-unlock { min-width: 0; padding: 16px; }
    /* On a phone each line gets the full width, so "20 songs every month" never wraps under a long price note. */
    .ss-plan { grid-template-areas: "name price" "songs songs" "per per"; }
    .ss-plan small { justify-self: start; text-align: left; }
}
.ss-plan:disabled { opacity: .55; cursor: wait; transform: none; }
.ss-or { margin: 12px 0 8px !important; text-align: center; font-size: .82rem !important; color: var(--soft) !important; }
.ss-used-up { margin: 0 0 12px !important; font-size: .92rem !important; color: var(--muted) !important; }
.ss-toggle { margin-bottom: 12px !important; }
.ss-unlock-note { font-size: .82rem !important; color: var(--soft) !important; text-align: center; margin: 12px 0 0 !important; }
.ss-unlock-error { color: var(--err) !important; font-weight: 600; margin: 12px 0 0 !important; }
.ss-go { display: grid; gap: 2px; justify-items: center; width: 100%; padding: 14px 18px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 8px 22px rgba(61, 90, 254, .32); }
.ss-go small { font-weight: 500; font-size: .82rem; opacity: .9; }
.ss-go:hover { background: var(--brand-600); }
.ss-go:disabled { opacity: .6; cursor: wait; }
.ss-upload { margin-top: 14px; }
.ss-upload p { text-align: center; margin: 8px 0 0; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tight { padding: 56px 0; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card .card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 16px; }
.card .card-icon .icon { width: 22px; height: 22px; }
.steps { counter-reset: step; }
.step { position: relative; padding: 26px 26px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; font-weight: 750; margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.top { align-items: start; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--ok); margin-top: 4px; }
.checks b { font-weight: 650; }
.outputs { display: grid; gap: 12px; }
.output { display: grid; grid-template-columns: 12px 1fr; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.output::before { content: ""; border-radius: 6px; background: var(--c, var(--brand)); }
.output h3 { font-size: 1.02rem; margin-bottom: 4px; }
.output p { margin: 0; color: var(--muted); font-size: .95rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.stat b { display: block; font-size: 1.45rem; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 520px; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--canvas); font-weight: 650; font-size: .86rem; letter-spacing: .02em; }
table.data tr:last-child td { border-bottom: 0; }

/* pricing */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.pack.best { border: 2px solid var(--brand); box-shadow: 0 18px 44px rgba(61, 90, 254, .18); }
.pack .badge { position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 99px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pack h3 { font-size: 1.05rem; color: var(--muted); font-weight: 650; }
.pack .amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
.pack .per { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.pack form, .pack .btn { margin-top: auto; }
.pack .btn { width: 100%; }
/* Price cards: Pro and Studio with a monthly/yearly switch, and the one-time pack (planCards in plans.php) */
.plan-toggle { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 4px; border: 1px solid var(--brand-100); border-radius: 24px; background: var(--brand-50); }
.plan-toggle button { padding: 8px 18px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: inherit; font-size: .95rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.plan-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.plan-toggle em { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--brand); color: #fff; font-style: normal; font-size: .76rem; font-weight: 700; }
@media (max-width: 560px) {
    /* The switch must fit a narrow phone in every language ("Jährlich 34 % sparen"); below that it wraps. */
    .plan-toggle button { padding: 8px 12px; font-size: .9rem; }
    .plan-toggle em { margin-left: 4px; padding: 2px 6px; font-size: .72rem; }
    .plan-toggle.ss-toggle { width: 100%; }
    .plan-toggle.ss-toggle button { flex: 1 1 auto; padding: 8px 6px; }
}
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plans[data-iv="month"] .iv-year, .plans[data-iv="year"] .iv-month { display: none !important; }
.plan .plan-songs { margin: 0 0 8px; color: var(--ink); font-weight: 650; }
.plan .amount { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; }
.plan .amount small { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.plan .per { min-height: 2.9em; }
.plan-switch { margin: 10px 0 0; padding: 0; border: 0; background: none; color: var(--brand-700); font: inherit; font-size: .88rem; text-decoration: underline; text-align: center; cursor: pointer; }
.plan-current { margin: auto 0 0; padding: 10px 12px; border-radius: 10px; background: var(--brand-50); color: var(--muted); font-size: .92rem; text-align: center; }
.plan-pack { background: var(--canvas); }
.plan-line { margin: 16px 0 18px; color: var(--muted); font-size: .95rem; }
.account-card .plan-grid { grid-template-columns: 1fr; }
.account-card .plan-toggle { margin-bottom: 18px; }
.account-card .plan .per { min-height: 0; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } .plan .per { min-height: 0; } }
.price-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.price-notes li { display: inline-flex; align-items: center; gap: 8px; }
.price-notes .icon { color: var(--ok); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq.center { margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 650; cursor: pointer; list-style: none; font-size: 1.03rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* related links */
.links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none; font-weight: 600; transition: border-color .15s, box-shadow .15s, transform .15s; }
.link-card span { display: grid; gap: 2px; }
.link-card small { font-weight: 450; color: var(--muted); font-size: .86rem; }
.link-card:hover { border-color: var(--brand); box-shadow: var(--shadow-1); transform: translateY(-2px); color: var(--text); }
.link-card .icon { color: var(--soft); }
.link-card:hover .icon { color: var(--brand); }
.link-card i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--other)); flex: none; }
.link-card b { display: flex; align-items: center; gap: 10px; font-weight: 600; }

/* call-to-action band */
.cta-band { background: radial-gradient(700px 300px at 20% 0%, rgba(61, 90, 254, .5), transparent 60%), var(--ink); color: #fff; border-radius: var(--r-lg); padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18em; }
.cta-band p { color: #c3cbe0; margin: 10px 0 0; }

/* long-form text (guides, legal, about) */
.page-head { background: var(--canvas); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.page-head .crumbs { color: var(--soft); }
.page-head .crumbs a { color: var(--muted); }
.page-head .crumbs a:hover { color: var(--brand-700); }
.page-head .crumbs li + li::before { color: var(--line-strong); }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 46em; margin: 16px 0 0; }
.page-head .meta { font-size: .88rem; color: var(--soft); margin-top: 14px; }
.prose { max-width: 760px; }
.prose.center { margin: 0 auto; }
.prose h2 { margin: 2em 0 .6em; font-size: 1.65rem; }
.prose h3 { margin: 1.6em 0 .5em; font-size: 1.2rem; }
.prose p, .prose li { color: #2a3348; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: #26304a; }
.prose .callout { margin: 1.6em 0; padding: 20px 22px; border: 1px solid var(--brand-100); background: linear-gradient(180deg, #f4f6ff, #fff); border-radius: var(--r); }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--canvas); }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 56px; align-items: start; }
.article-aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.aside-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-1); }
.aside-card h3 { margin-bottom: 8px; }
.aside-card p { color: var(--muted); font-size: .95rem; }
.aside-card .btn { width: 100%; }

/* ---------- account, sign-in, result and other small pages ---------- */
.account-shell, .pricing-shell { min-height: 62vh; padding: 64px 24px 84px; background: var(--canvas); }
.account-card { max-width: 480px; margin: 0 auto; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.account-shell.wide .account-card { max-width: 760px; }
.account-card h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; overflow-wrap: anywhere; }
.account-form { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-form:first-of-type { border-top: 0; padding-top: 0; }
.account-form label, .form-group label { display: grid; gap: 7px; font-weight: 600; font-size: .95rem; }
.account-form input, .form-group input, .form-group select, .form-group textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-weight: 400; }
.form-group textarea { min-height: 150px; resize: vertical; }
.account-form input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(61, 90, 254, .14); }
.account-footnote { margin: 20px 0 0; color: var(--muted); font-size: .95rem; text-align: center; }
.account-footnote + .account-footnote { margin-top: 10px; }
.account-lead { color: var(--muted); margin: 0 0 18px; overflow-wrap: anywhere; }
.account-form .field-hint { margin: -6px 0 0; color: var(--muted); font-size: .9rem; }
.account-form label.account-check { display: flex; align-items: center; gap: 9px; margin-top: -4px; font-weight: 400; font-size: .92rem; cursor: pointer; }
.account-form label.account-check[hidden] { display: none; }
.account-form .account-check input { width: 18px; min-height: 18px; height: 18px; padding: 0; flex: none; }
.notice a { color: inherit; text-decoration: underline; }
.notice-form { margin: 8px 0 0; }
.notice-form .text-action { padding: 0; color: inherit; text-decoration: underline; }
.password-form { max-width: 420px; }
.notice { padding: 13px 16px; border-radius: var(--r-sm); margin: 0 0 18px; font-size: .96rem; background: var(--brand-50); color: var(--brand-700); overflow-wrap: anywhere; }
.notice.success, .success.notice { background: var(--ok-bg); color: var(--ok); }
.notice.warning { background: var(--warn-bg); color: var(--warn); }
.notice.error, .error.notice { background: var(--err-bg); color: var(--err); }
.usage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 22px; }
.usage-grid div { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.usage-grid strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; }
.usage-grid span { color: var(--muted); font-size: .86rem; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.account-actions form { display: contents; }
.account-actions .primary-action, .account-actions .secondary-action { width: auto; }
.pricing-intro { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.pricing-intro p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.ss-result-meta { color: var(--muted); font-size: .95rem; }
.ss-state { margin-top: 18px; }
.ss-working { text-align: center; padding: 26px 10px; }
.ss-spinner { width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; border: 4px solid var(--brand-100); border-top-color: var(--brand); animation: ss-spin 1s linear infinite; }
@keyframes ss-spin { to { transform: rotate(360deg); } }
.ss-track .primary-action { margin-top: 12px; }
.ss-stems { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--canvas); }
.ss-stems h2 { font-size: 1rem; margin-bottom: 12px; }
.ss-stems-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-stems-list a { text-transform: capitalize; min-height: 40px; padding: 8px 16px; }
.ss-after { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab4cd; padding: 68px 0 34px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.site-footer .brand { margin-bottom: 14px; }
.footer-about { max-width: 30em; color: #96a1bd; }
.footer-col h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 4px 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-langs a, .footer-bottom a { color: #aab4cd; text-decoration: none; }
.footer-col a:hover, .footer-langs a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--ink-line); }
.footer-langs span { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer-langs a[aria-current="true"] { color: #fff; font-weight: 650; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 22px; color: #7f8aa6; font-size: .88rem; }
.pay-row { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 44px 0 60px; }
  .lanes { display: none; }
  .hero-points { grid-template-columns: 1fr; }
  .split, .article-grid { grid-template-columns: 1fr; gap: 34px; }
  .article-aside { position: static; }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: var(--ink); border-bottom: 1px solid var(--ink-line); max-height: calc(100vh - 66px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a, .nav summary { padding: 13px 12px; font-size: 1.02rem; }
  .nav .menu, .nav .menu.right { position: static; box-shadow: none; border: 0; background: rgba(255, 255, 255, .05); min-width: 0; margin: 2px 0 6px; }
  .nav .menu a { color: #dfe5f5; }
  .nav .menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
  .nav .nav-cta { margin: 8px 0 0; justify-content: center; display: flex; }
  .nav details, .nav li { width: 100%; }
  .nav summary { display: flex; justify-content: space-between; }
  .grid.c3, .packs { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 32px 24px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .tool { padding: 18px; border-radius: 18px; }
  .drop { padding: 26px 14px; }
  .grid.c2, .grid.c4, .links, .stat-row, .usage-grid { grid-template-columns: 1fr; }
  .ss-packs { grid-template-columns: 1fr; }
  .ss-pack { grid-template-columns: 1fr auto; grid-template-areas: "name price" "per price"; justify-items: start; align-items: center; padding: 14px 16px; text-align: left; }
  .ss-pack strong { grid-area: name; } .ss-pack em { grid-area: per; } .ss-pack span { grid-area: price; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-card { padding: 24px 20px; }
  .account-shell, .pricing-shell { padding: 36px 16px 60px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- legal pages (privacy, terms, cookies, GDPR) ---------- */
.legal-page { background: #fff; }
.legal-header { background: var(--canvas); border-bottom: 1px solid var(--line); padding: 56px 24px 40px; }
.legal-header > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.legal-header .last-updated { color: var(--soft); font-size: .9rem; margin-top: 12px; margin-bottom: 0; }
.legal-content { max-width: 808px; margin: 0 auto; padding: 44px 24px 84px; }
.legal-content h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.legal-content h3 { font-size: 1.1rem; margin: 1.5em 0 .5em; }
.legal-content p, .legal-content li { color: #2a3348; }
.legal-content ul, .legal-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.legal-content li { margin-bottom: .4em; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.legal-content th, .legal-content td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal-content th { background: var(--canvas); }
.highlight-box { padding: 18px 22px; border: 1px solid var(--brand-100); background: linear-gradient(180deg, #f4f6ff, #fff); border-radius: var(--r); margin-bottom: 8px; }
.highlight-box p:last-child { margin: 0; }

/* keep the footer at the bottom of short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1 0 auto; }

/* phones: get to the upload box quickly; the three hero lines repeat what the tool card already says */
@media (max-width: 620px) {
  .hero-grid { padding: 28px 0 44px; gap: 22px; }
  .hero-points { display: none; }
  .hero-lede { font-size: 1.02rem; margin: 14px 0 0; }
  .hero .eyebrow { margin-bottom: 10px; }
  .crumbs { margin-bottom: 12px; }
  .section-head { margin-bottom: 28px; }
  .card, .step { padding: 20px; }
  .pack { padding: 22px; }
  table.data { font-size: .9rem; }
}

/* inside an article the column is narrow: at most two cards across */
.prose .grid.c3, .prose .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prose .grid { margin: 1.2em 0 1.6em; }
.prose .card h3, .prose .step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.prose .card p, .prose .step p { margin: 0; }
.prose .checks { margin-bottom: 1.4em; }
.prose .faq { margin-top: 1em; }
.prose .table-wrap { margin: 1.2em 0; }
@media (max-width: 620px) { .prose .grid.c3, .prose .grid.c4 { grid-template-columns: 1fr; } }

/* account: recent songs */
.song-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.song-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--text); }
.song-list a:hover { border-color: var(--brand); background: var(--brand-50); }
.song-list span { font-weight: 600; overflow-wrap: anywhere; }
.song-list small { color: var(--muted); }
