:root {
    --bg: #f4efe6;
    --bg-deep: #1c1915;
    --ink: #1d1a16;
    --muted: #655e55;
    --line: rgba(29, 26, 22, 0.12);
    --paper: #fffdf8;
    --tape: #c4552a;
    --tape-deep: #8d3414;
    --gold: #e7b15a;
    --meter: #1f7a4d;
    --danger: #9d342c;
    --shadow: 0 24px 60px rgba(28, 25, 21, 0.08);
    --serif: "Newsreader", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --radius: 22px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 0% -10%, rgba(231, 177, 90, .22), transparent 55%),
        var(--bg);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.55;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; }
::selection { background: #f0c98a; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 650; letter-spacing: -0.03em; }
.skip {
    position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: white;
    padding: .6rem 1rem; z-index: 20;
}
.skip:focus { top: 1rem; }

.guest-body { min-height: 100vh; }
.guest-nav, .site-footer {
    display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
    padding: 1rem 6vw;
}
.guest-nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(244, 239, 230, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.guest-links, .side-nav { display: flex; gap: .4rem 1.1rem; align-items: center; flex-wrap: wrap; }
.guest-links a { text-decoration: none; }
.brand { display: flex; gap: .7rem; align-items: center; text-decoration: none; font-size: 1.02rem; }
.brand-mark {
    width: 36px; height: 36px; border-radius: 11px; background: var(--bg-deep);
    display: inline-grid; grid-template-columns: repeat(4, 3px); gap: 2.5px;
    align-items: end; justify-content: center; padding: 0 0 8px;
    box-shadow: inset 0 0 0 1px rgba(231, 177, 90, .28);
}
.brand-mark i {
    display: block; width: 3px; border-radius: 99px;
    background: linear-gradient(#f6ddb0, var(--gold));
    transform-origin: bottom;
}
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 15px; }
.brand-mark i:nth-child(3) { height: 11px; }
.brand-mark i:nth-child(4) { height: 18px; }
.brand-light { color: #f6f1e8; margin-bottom: 1.4rem; }
.flash-wrap { padding: 0 6vw; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 2.4rem 6vw 4rem; align-items: end; }
.kicker { letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--tape-deep); font-weight: 700; }
.hero h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); line-height: 1.02; margin: .4rem 0 1rem; }
.lede { font-size: 1.18rem; max-width: 38rem; color: var(--muted); }
.hero-actions { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }
.hero-panel {
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(231, 177, 90, .16), transparent 60%),
        var(--bg-deep);
    color: #f6f1e8; border-radius: 28px; padding: 1.4rem 1.5rem;
    min-height: 320px; box-shadow: 0 30px 70px rgba(28, 25, 21, .18);
}
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.panel-top .kicker { margin: 0; }
.live-pill {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #d9d0c4;
}
.live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #3dcb7a; display: inline-block;
}
.hero-copy .kicker { display: flex; align-items: center; gap: .7rem; }
.hero-copy .kicker::before { content: ""; width: 1.8rem; height: 2px; background: var(--tape); transform-origin: left; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: .45rem .9rem; margin: 1.4rem 0 0; padding: 0;
    list-style: none; color: var(--muted); font-size: .92rem;
}
.hero-meta li { display: flex; align-items: center; gap: .45rem; }
.hero-meta li::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tape);
}
.hero-panel .kicker { color: var(--gold); }
.ab-preview { display: grid; gap: .2rem; }
.ab-preview .wave { height: 72px; margin: .35rem 0 .15rem; }
.ab-preview p { margin: .8rem 0 0; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #d9d0c4; }
.wave { display: flex; align-items: end; gap: 5px; height: 150px; margin: 1.4rem 0; }
.wave span {
    display: block; width: 8px; border-radius: 99px; background: linear-gradient(var(--gold), #8d3414);
    height: var(--h); transform-origin: center;
}
.wave-raw span { animation: pulse-raw 1.05s ease-in-out infinite; }
.wave-clean span { animation: pulse-clean 2.4s ease-in-out infinite; background: linear-gradient(#f3d7a1, #c4893a); }
@keyframes pulse-raw { 50% { transform: scaleY(.42); } }
@keyframes pulse-clean { 50% { transform: scaleY(.86); } }
.panel-note { color: #d9d0c4; margin: 0; }

.band { padding: 1rem 6vw 4rem; }
.band-dark { background: var(--bg-deep); color: #f6f1e8; }
.section-title { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 1rem; }
.audience { display: flex; flex-wrap: wrap; gap: .6rem; }
.audience span, .pill {
    border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; background: rgba(255,255,255,.45);
}
.band-dark .audience span { border-color: rgba(255,255,255,.16); background: transparent; }
.steps, .card-grid, .stat-grid, .profile-grid { display: grid; gap: 1rem; }
.steps { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stat-grid { grid-template-columns: repeat(4, 1fr); margin: 1.2rem 0 1.6rem; }
.panel h2, .player-card h2 { margin-top: 0; }
.empty .btn { margin-top: .8rem; }
.profile-grid { grid-template-columns: repeat(3, 1fr); }
.card, .panel, .auth-card, .plan-card, .profile-card, .player-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem;
}
.card h3, .plan-card h3 { margin-top: 0; }
.step-no { font-family: var(--serif); font-size: 2rem; color: var(--tape); }
.site-footer { border-top: 1px solid var(--line); align-items: start; }
.footer-meta, .muted, .help { color: var(--muted); }
.narrow { max-width: 46rem; }

.btn {
    border-radius: 999px; padding: .72rem 1.15rem; border: 1px solid transparent; text-decoration: none;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 600;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-small { padding: .4rem .8rem; font-size: .92rem; }
.btn-tape { background: var(--tape); color: white; }
.btn-tape:hover { background: var(--tape-deep); color: white; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(196, 85, 42, .28); }
.btn-ink { background: var(--bg-deep); color: #f6f1e8; }
.btn-ink:hover { color: white; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-quiet { background: transparent; color: #f0e7da; border: 1px solid rgba(255,255,255,.16); width: 100%; margin-top: 1rem; }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(157, 52, 44, .35); }
.btn[disabled] { opacity: .6; cursor: progress; }

.shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.side {
    background: var(--bg-deep); color: #f6f1e8; padding: 1.2rem; display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
}
.side-nav { flex-direction: column; align-items: stretch; }
.side-nav a { text-decoration: none; padding: .65rem .8rem; border-radius: 12px; color: #e7dfd4; }
.side-nav a.is-active, .side-nav a:hover { background: rgba(255,255,255,.08); color: white; }
.side-balance { margin-top: auto; padding: 1rem .2rem .2rem; }
.side-balance strong { display: block; font-family: var(--serif); font-size: 1.8rem; }
.shell-main { min-width: 0; }
.topbar {
    display: flex; gap: 1rem; align-items: center; padding: 1rem 1.6rem; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 5; background: rgba(244, 239, 230, .92); backdrop-filter: blur(12px);
}
.topbar-title { margin: 0; font-family: var(--serif); font-size: 1.4rem; }
.topbar-user { margin-left: auto; color: var(--muted); }
.nav-toggle, .backdrop { display: none; }
.page { padding: 1.6rem 1.8rem 3rem; }
.page-head, .split { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.page-head h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); }

.flash { border-radius: 16px; padding: .85rem 1rem; margin-bottom: .8rem; background: #fff; border: 1px solid var(--line); }
.flash-success { background: #e8f6ee; }
.flash-error { background: #fdeceb; }
.flash-info { background: #fff6e8; }
.field-error { color: var(--danger); font-size: .92rem; margin: .25rem 0 0; }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field { margin-bottom: .9rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
    width: 100%; border: 1px solid rgba(29, 26, 22, .18); background: white; border-radius: 14px; padding: .78rem .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--tape); box-shadow: 0 0 0 4px rgba(196, 85, 42, .16);
}
textarea { min-height: 110px; }
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.auth-card {
    max-width: 460px; margin: 8vh auto; padding: 1.7rem 1.6rem 1.35rem;
    background: #fff; box-shadow: 0 28px 70px rgba(28, 25, 21, .12);
}
.auth-card h1, .auth-card h2 { font-size: 2.15rem; margin: .15rem 0 .35rem; }
.auth-card .btn { width: 100%; margin-top: .35rem; min-height: 3rem; }
.auth-card a { color: var(--tape-deep); font-weight: 700; }
.auth-lead { margin: 0 0 1.15rem; color: var(--muted); }
.auth-switch { margin: .9rem 0 0; color: var(--muted); text-align: center; }
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 .85rem; color: var(--muted); font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-google { width: 100%; background: #fff; color: var(--ink); border-color: rgba(29, 26, 22, .16); gap: .65rem; }
.btn-google:hover { background: #f7f4ee; color: var(--ink); }
.auth-tape { height: 7px; margin: -1.7rem -1.6rem 1.25rem; background: linear-gradient(90deg, var(--bg-deep) 0 24%, var(--tape) 24% 68%, var(--gold) 68%); }
.auth-card label {
    font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700;
}
.auth-card input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
    background: #f3eee6; border-color: transparent; border-radius: 12px; padding: .95rem 1rem;
}
.auth-card input:focus {
    background: #fff; border-color: var(--tape); box-shadow: 0 10px 24px rgba(196, 85, 42, .1);
}
.auth-card input:-webkit-autofill {
    -webkit-text-fill-color: var(--ink);
    box-shadow: 0 0 0 1000px #f3eee6 inset;
    transition: background-color 9999s ease-out;
}
.auth-stage {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
    gap: 3.2rem; align-items: center; width: min(1100px, 100%);
    margin: 0 auto; padding: 2.6rem 6vw 4rem;
}
.auth-stage .auth-card { max-width: none; margin: 0; overflow: hidden; border-radius: 28px; padding: 0 1.55rem 1.45rem; }
.auth-stage .auth-card .auth-tape { margin: 0 -1.55rem 1.35rem; }
.auth-stage .auth-card .kicker { margin-top: 0; }
.auth-aside h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: .98; margin: .35rem 0 .9rem; }
.auth-aside > p { color: var(--muted); font-size: 1.08rem; max-width: 34rem; }
.auth-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .65rem; }
.auth-points li {
    display: grid; gap: .12rem; background: rgba(255, 253, 248, .8);
    border: 1px solid rgba(29, 26, 22, .08); border-radius: 16px; padding: .8rem .95rem;
}
.auth-points li::before { content: none; }
.auth-points strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
.auth-points span { color: var(--muted); font-weight: 480; }
.dropzone {
    border: 1.5px dashed rgba(196, 85, 42, .55); border-radius: 24px; padding: 2rem 1rem; text-align: center;
    background: rgba(255, 253, 248, .7);
}
.dropzone.is-over { background: #fff6ee; }
.meta-row, .btn-row { display: flex; flex-wrap: wrap; gap: .5rem .8rem; }
.meta-row span { background: white; border-radius: 999px; padding: .25rem .7rem; border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .8rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-family: var(--sans); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
tbody tr:hover { background: rgba(255, 255, 255, .65); }
.empty { text-align: center; padding: 2.4rem 1rem; }
.empty h2 { margin: 0 0 .4rem; }
.badge { border-radius: 999px; padding: .15rem .55rem; background: #efe7da; font-size: .85rem; }
.badge-completed, .badge-ready, .badge-paid, .badge-active { background: #e5f6ec; }
.badge-failed, .badge-suspended, .badge-rejected { background: #fdeceb; }
.badge-processing, .badge-queued, .badge-pending, .badge-awaiting_confirmation { background: #fff1d6; }
.progress-row { display: flex; align-items: center; gap: .85rem; margin-top: .35rem; }
.progress-row .progress-track { flex: 1; }
.progress-row [data-job-percent] { min-width: 3.2rem; text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--tape); }
.progress-track { height: 12px; background: #efe7da; border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--tape), var(--gold)); width: 0; position: relative; overflow: hidden; transition: width .45s ease; }
.warning { background: #fff6e8; border-radius: 16px; padding: .8rem 1rem; }
.player-card audio { width: 100%; }
.ab-toggle { display: flex; gap: .4rem; margin-bottom: .6rem; }
.ab-toggle button[aria-pressed="true"] { background: var(--bg-deep); color: white; }
canvas.wave-canvas { width: 100%; height: 120px; background: #1c1915; border-radius: 16px; display: block; }
.plan-card { display: flex; flex-direction: column; gap: .15rem; }
a.plan-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer; }
.plan-card.is-featured { background: #fff8f3; }
.plan-card.is-selected { outline: 2px solid var(--tape); background: #fff8f3; box-shadow: 0 18px 40px rgba(196, 85, 42, .12); }
.plan-pick {
    margin-top: auto; align-self: flex-start; border-radius: 999px; padding: .35rem .75rem;
    background: var(--bg-deep); color: #f6f1e8; font-size: .88rem; font-weight: 600;
}
.plan-card.is-selected .plan-pick { background: var(--tape); }
.plan-card .btn { margin-top: auto; align-self: flex-start; }
.plan-card ul { margin: .4rem 0 .8rem; padding-left: 1.1rem; }
.plan-price { font-family: var(--serif); font-size: 2.2rem; margin: .2rem 0; }
.plan-period { margin: 0; color: var(--muted); font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; padding: 0 6vw 3rem; }
.facts article { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.05rem; }
.facts strong { display: block; margin-bottom: .2rem; }
.footer-links { display: grid; gap: .35rem; justify-items: end; }
.footer-links a { text-decoration: none; }
.profile-card { display: block; position: relative; cursor: pointer; }
.profile-card input { position: absolute; opacity: 0; }
.profile-card:has(input:checked) { outline: 2px solid var(--tape); background: #fff8f3; }
.profile-card:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.profile-card p { margin: .35rem 0 0; }
.check { display: flex; gap: .55rem; align-items: flex-start; }
.studio-grid { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; }
.slider-field input[type="range"] { width: 100%; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pay-balance { margin: 0; text-align: right; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.pay-balance span { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.pay-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: .9rem 1rem; }
.pay-steps span, .pay-choice .muted { display: block; color: var(--muted); }
.pay-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.pay-plans { display: grid; gap: .8rem; }
.pay-choice, .pay-method { display: block; cursor: pointer; position: relative; }
.pay-side fieldset { border: 0; margin: 0 0 .6rem; padding: 0; }
.pay-choice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.pay-choice input, .pay-method input, .profile-card input[type="radio"] {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1;
}
.pay-choice:has(input:checked), .pay-method:has(input:checked),
.pay-choice.is-selected, .pay-method.is-selected { outline: 2px solid var(--tape); background: #fff8f3; }
.pay-choice:focus-within, .pay-method:focus-within { outline: 2px solid var(--ink); }
.pay-choice.is-featured { background: #fff8f3; }
.pay-choice-top { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pay-choice-top em { font-style: normal; font-size: .78rem; background: #efe7da; border-radius: 999px; padding: .1rem .5rem; }
.pay-choice ul { margin: .6rem 0 0; padding-left: 1.1rem; }
.pay-choice .plan-price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.pay-side { position: sticky; top: 1rem; }
.pay-method { border: 1px solid var(--line); border-radius: 14px; padding: .7rem .8rem; margin-bottom: .45rem; background: white; }
.pay-account {
    background: var(--bg-deep); color: #f6f1e8; border-radius: 18px; padding: .95rem 1rem 1rem; margin: 0 0 1rem;
}
.pay-account .kicker { color: var(--gold); margin: 0 0 .35rem; }
.pay-account-name { margin: 0 0 .75rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; }
.pay-account dl { margin: 0; display: grid; gap: .65rem; }
.pay-account dl div { display: grid; gap: .1rem; }
.pay-account dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #d9d0c4; font-weight: 700; }
.pay-account dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: .02em; word-break: break-all; }
.pay-instruction { background: #fff6e8; border-radius: 14px; padding: .75rem .85rem; margin: .4rem 0 .8rem; }
.pay-summary { font-weight: 600; }
.pay-history { display: grid; gap: .8rem; }
.pay-history article { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.pay-history article:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-history .plan-price { font-size: 1.4rem; margin: 0 0 .4rem; text-align: right; }

@media (prefers-reduced-motion: reduce) {
    .wave span, .brand-mark i, .live-dot, .progress-bar::after { animation: none !important; }
}
@media (max-width: 980px) {
    .hero, .steps, .card-grid, .stat-grid, .profile-grid, .studio-grid, .two, .pay-layout, .pay-steps, .facts, .auth-stage { grid-template-columns: 1fr; }
    .site-footer, .footer-links { align-items: flex-start; justify-items: start; }
    .pay-side { position: static; }
    .pay-balance { text-align: left; }
    .shell { grid-template-columns: 1fr; }
    .side {
        position: fixed; z-index: 30; transform: translateX(-105%); transition: transform .2s ease; width: min(84vw, 320px);
    }
    body.nav-open .side { transform: none; }
    body.nav-open .backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 20; }
    .nav-toggle { display: inline-flex; }
    .guest-nav { align-items: flex-start; flex-direction: column; }
}

.guest-body { position: relative; }
.guest-nav.is-scrolled { box-shadow: 0 12px 32px rgba(28, 25, 21, .06); }
.guest-links a:not(.btn) { position: relative; }
.guest-links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -.28rem; height: 2px;
    background: var(--tape); transform: scaleX(0); transform-origin: left;
}
.card, .plan-card, .facts article, .panel, .profile-card, .auth-card, .pay-choice {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
tbody tr { transition: background .2s ease; }
.dropzone { transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.side-nav a { transition: background .2s ease, color .2s ease, transform .2s ease; }
.progress-bar::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-100%);
}

@media (prefers-reduced-motion: no-preference) {
    .guest-body::before {
        content: ""; position: fixed; inset: -12% -8%; z-index: 0; pointer-events: none;
        background:
            radial-gradient(520px 280px at 8% 0%, rgba(231, 177, 90, .28), transparent 70%),
            radial-gradient(420px 260px at 100% 18%, rgba(196, 85, 42, .12), transparent 68%);
        animation: drift 16s ease-in-out infinite alternate;
    }
    .guest-body > * { position: relative; z-index: 1; }
    .brand-mark i { animation: bar 1.35s ease-in-out infinite; }
    .brand-mark i:nth-child(2) { animation-delay: .12s; }
    .brand-mark i:nth-child(3) { animation-delay: .28s; }
    .brand-mark i:nth-child(4) { animation-delay: .08s; }
    .live-dot { animation: ping 1.8s ease-out infinite; }
    .hero-copy > * { animation: rise .75s cubic-bezier(.16, 1, .3, 1) both; }
    .hero-copy > *:nth-child(1) { animation-delay: .05s; }
    .hero-copy > *:nth-child(2) { animation-delay: .12s; }
    .hero-copy > *:nth-child(3) { animation-delay: .2s; }
    .hero-copy > *:nth-child(4) { animation-delay: .28s; }
    .hero-copy > *:nth-child(5) { animation-delay: .36s; }
    .hero-copy .kicker::before { animation: grow .7s .05s cubic-bezier(.16, 1, .3, 1) both; }
    .hero-panel { animation: rise .9s .18s cubic-bezier(.16, 1, .3, 1) both; }
    .guest-links a:not(.btn)::after { transition: transform .25s ease; }
    .guest-links a:not(.btn):hover::after { transform: scaleX(1); }
    .js-motion [data-reveal] { opacity: 0; }
    .js-motion [data-reveal].is-in {
        opacity: 1;
        animation: rise .72s cubic-bezier(.16, 1, .3, 1) backwards;
        animation-delay: calc(var(--i, 0) * 80ms);
    }
    .page > * { animation: rise .55s cubic-bezier(.16, 1, .3, 1) both; }
    .page > *:nth-child(2) { animation-delay: .06s; }
    .page > *:nth-child(3) { animation-delay: .12s; }
    .page > *:nth-child(4) { animation-delay: .18s; }
    .page > *:nth-child(5) { animation-delay: .24s; }
    .auth-card { animation: rise .6s cubic-bezier(.16, 1, .3, 1) both; }
    .side-nav a { animation: rise .45s cubic-bezier(.16, 1, .3, 1) both; }
    .side-nav a:nth-child(2) { animation-delay: .04s; }
    .side-nav a:nth-child(3) { animation-delay: .08s; }
    .side-nav a:nth-child(4) { animation-delay: .12s; }
    .side-nav a:nth-child(5) { animation-delay: .16s; }
    .side-nav a:nth-child(6) { animation-delay: .2s; }
    .facts article:hover, .steps .card:hover, .stat-grid .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(28, 25, 21, .1);
    }
    .plan-card:hover, .profile-card:hover, .pay-choice:hover {
        box-shadow: 0 18px 40px rgba(28, 25, 21, .1);
    }
    .audience span { transition: transform .2s ease, background .2s ease, border-color .2s ease; }
    .audience span:hover { transform: translateY(-2px); background: white; }
    .side-nav a:hover { padding-left: 1.05rem; }
    .btn:active { transform: translateY(0) scale(.98); }
    .dropzone.is-over { transform: scale(1.012); }
    .progress-bar::after { animation: sheen 1.5s linear infinite; }
    .badge-processing, .badge-queued, .badge-pending { animation: soft 1.8s ease-in-out infinite; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bar { 50% { transform: scaleY(.42); } }
@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgba(61, 203, 122, .55); }
    70% { box-shadow: 0 0 0 8px rgba(61, 203, 122, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 203, 122, 0); }
}
@keyframes drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(2%, 1.5%, 0); }
}
@keyframes sheen { to { transform: translateX(100%); } }
@keyframes soft { 50% { opacity: .55; } }

.side {
    background:
        linear-gradient(180deg, rgba(231, 177, 90, .16), transparent 240px),
        var(--bg-deep);
    padding: 1.35rem 1rem 1.1rem;
}
.side-label {
    margin: 1.35rem .85rem .4rem;
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #b7aa9a;
    font-weight: 700;
}
.side-nav a.is-active {
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 3px 0 0 var(--tape);
    color: white;
}
.side-balance {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: .95rem 1rem .85rem;
}
.side-balance span { color: #d9d0c4; font-size: .82rem; letter-spacing: .04em; }
.topbar { min-height: 64px; }
.topbar-user {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .32rem .85rem;
    color: var(--ink);
    font-weight: 600;
}
.panel, .player-card, .card {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px rgba(28, 25, 21, .045);
}
.stat-grid .card { position: relative; overflow: hidden; padding-left: 1.35rem; }
.stat-grid .card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(var(--tape), var(--gold));
}
.section-title-sm { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: .2rem 0 1rem; }
.table-wrap { border-radius: 22px; }
tbody td:first-child { font-family: var(--serif); font-size: 1.15rem; letter-spacing: -.02em; }
.profile-card { border-radius: 18px; min-height: 100%; }
.profile-card strong { font-family: var(--serif); font-size: 1.28rem; letter-spacing: -.02em; font-weight: 650; }
.profile-card:has(input:checked) strong { color: var(--tape-deep); }
.sample-start { margin-top: 1.15rem; max-width: 16rem; }
.sample-input { display: flex; align-items: center; gap: .65rem; }
.sample-input input { width: 6.2rem; background: #f3eee6; border-color: transparent; }
.sample-input span { color: var(--muted); }
.meta-row span { background: var(--paper); }
.facts {
    margin: 0 6vw 2.2rem;
    padding: 0;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: var(--paper);
}
.facts article {
    border: 0;
    border-radius: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    padding: 1.15rem 1.2rem 1.2rem;
}
.facts article:last-child { border-right: 0; }
.facts strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.02em; }
.band-dark { box-shadow: inset 0 3px 0 var(--gold); }
.guest-nav { padding-top: 1.05rem; padding-bottom: 1.05rem; }
@media (min-width: 981px) {
    .topbar-title {
        position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
        overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
    }
}
@media (max-width: 980px) {
    .facts article { border-right: 0; border-bottom: 1px solid var(--line); }
    .facts article:last-child { border-bottom: 0; }
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.shell, .shell-main, .page, .hero, .band, .auth-stage, .panel, .card, .player-card { min-width: 0; max-width: 100%; }
.side { height: 100dvh; overflow: auto; }
.nav-toggle {
    border: 1px solid var(--line); background: var(--paper); color: var(--ink);
    border-radius: 999px; min-height: 44px; padding: .45rem 1rem; font-weight: 700; cursor: pointer;
}
.panel { overflow-x: auto; }
code, .pay-account dd, .help { overflow-wrap: anywhere; }
input, select, textarea { font-size: 16px; }

@media (max-width: 1100px) and (min-width: 981px) {
    .steps, .stat-grid, .profile-grid, .facts { grid-template-columns: repeat(2, 1fr); }
    .facts article:nth-child(2n) { border-right: 0; }
    .facts article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 980px) {
    .side {
        height: 100dvh;
        max-height: 100dvh;
        overflow: auto;
        overscroll-behavior: contain;
        padding-top: max(1.1rem, env(safe-area-inset-top));
        padding-bottom: max(1.1rem, env(safe-area-inset-bottom));
    }
    body.nav-open { overflow: hidden; }
    .guest-links { width: 100%; }
    .topbar { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
}

@media (max-width: 720px) {
    .hero, .band, .flash-wrap { padding-left: max(1.1rem, env(safe-area-inset-left)); padding-right: max(1.1rem, env(safe-area-inset-right)); }
    .guest-nav, .site-footer {
        padding-left: max(1.1rem, env(safe-area-inset-left));
        padding-right: max(1.1rem, env(safe-area-inset-right));
    }
    .facts { margin-left: max(1.1rem, env(safe-area-inset-left)); margin-right: max(1.1rem, env(safe-area-inset-right)); }
    .hero { padding-top: 1.3rem; padding-bottom: 2.2rem; gap: 1.3rem; }
    .hero h1, .auth-aside h1 { font-size: clamp(2.05rem, 11vw, 3.1rem); }
    .hero-panel { min-height: 0; padding: 1.1rem; border-radius: 22px; }
    .lede, .auth-aside > p { font-size: 1.02rem; }
    .page { padding: 1rem max(1rem, env(safe-area-inset-right)) 2.6rem max(1rem, env(safe-area-inset-left)); }
    .page-head, .split { flex-direction: column; align-items: stretch; }
    .page-head .btn-row, .split .btn { width: 100%; }
    .btn-row { display: grid; grid-template-columns: 1fr 1fr; }
    .btn-row form { width: 100%; }
    .btn-row .btn, .hero-actions .btn, .page-head > .btn { width: 100%; }
    .page-head .btn-row { grid-template-columns: 1fr; }
    .auth-stage { padding: 1.15rem max(1rem, env(safe-area-inset-right)) 2.5rem max(1rem, env(safe-area-inset-left)); gap: 1.3rem; }
    .auth-card h1, .auth-card h2 { font-size: 1.85rem; }
    .topbar-user { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pay-history article, .pay-choice-top { flex-direction: column; align-items: flex-start; }
    .pay-history .plan-price, .pay-balance { text-align: left; }
    .wave { height: 92px; overflow: hidden; }
    .ab-preview .wave { height: 56px; }
    .ab-toggle { display: grid; grid-template-columns: 1fr 1fr; }
    .sample-start { max-width: none; }
    .sample-input { width: 100%; }
    .sample-input input { flex: 1; width: auto; min-width: 0; }
    .plan-price { font-size: 1.85rem; }
    .stat-grid .card h3, .side-balance strong { overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
    .btn-row, .hero-actions { grid-template-columns: 1fr; }
    .hero-actions, .guest-links { display: grid; grid-template-columns: 1fr; }
    .guest-links .btn { width: 100%; }
    .meta-row span { width: 100%; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .side { height: 100dvh; }
    .auth-stage { padding-top: 1rem; padding-bottom: 1.4rem; }
    .hero { padding-top: 1rem; padding-bottom: 1.4rem; }
}

@media (pointer: coarse) {
    .side-nav a, .guest-links a, .btn, .nav-toggle { min-height: 44px; }
    .guest-links a:not(.btn) { display: inline-flex; align-items: center; }
}
