:root {
  color-scheme: dark;
  --bg:#03050b; --navy:#050917;
  --panel:rgba(255,255,255,.035); --raised:rgba(255,255,255,.065);
  --text:#fff; --body:rgba(255,255,255,.70); --muted:rgba(255,255,255,.53);
  --border:rgba(255,255,255,.10); --line:rgba(255,255,255,.15);
  --blue:#0b6bff; --blue-hover:#2f80ff; --active:rgba(47,128,255,.75);
  --ease:cubic-bezier(.16,1,.3,1);
  font-family:Inter,Geist,"Helvetica Neue",Arial,sans-serif;
  font-size:15px; line-height:1.55; -webkit-font-smoothing:antialiased;
}
*, *::before, *::after {box-sizing:border-box}
[hidden] {display:none!important}
body {margin:0; color:var(--text); background:radial-gradient(ellipse 42% 430px at 66% -40px,rgba(13,40,114,.25),transparent 90%),var(--bg); min-height:100vh}
button,input,textarea,select {font:inherit}
button,a { -webkit-tap-highlight-color:transparent }
button {color:inherit; cursor:pointer}
button:disabled {opacity:.44; cursor:not-allowed}
a {color:inherit;text-decoration:none}
button:focus-visible, a:focus-visible, summary:focus-visible,canvas:focus-visible {outline:2px solid #6fa7ff;outline-offset:3px}
p,h1,h2,h3 {margin:0}
h1 {font-size:clamp(34px,4vw,55px);font-weight:620;letter-spacing:-.055em;line-height:1.01}
h2 {font-size:clamp(24px,3vw,34px);font-weight:620;letter-spacing:-.042em;line-height:1.12}
h3 {font-size:17px;font-weight:650;letter-spacing:-.02em;line-height:1.2}
p,.body {color:var(--body)}
small,.muted {color:var(--muted)}
svg {display:block;flex:none}
.shell {width:min(calc(100% - 64px),1264px);margin-inline:auto}
.app-header {border-bottom:1px solid #263449;background:rgba(6,11,22,.86)}
.header {min-height:79px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:26px}
.brand {display:inline-flex;justify-self:start;align-items:center;min-height:42px}
.brand img {display:block;width:151px;height:auto;object-fit:contain}
.nav {display:flex;align-items:center;justify-content:center;gap:30px}
.nav-link {min-height:79px;display:inline-flex;align-items:center;white-space:nowrap;position:relative;font-size:12px;font-weight:590;color:var(--muted)}
.nav-link:hover,.nav-link.current {color:#fff}
.nav-link.current::after {content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#5896ff;border-radius:1px}
.header-tools {display:flex;align-items:center;justify-content:flex-end;gap:15px}
.private-label {display:flex;align-items:center;gap:7px;color:#a6b5c7;font-size:10px;white-space:nowrap}
.private-label i {width:5px;height:5px;border-radius:50%;background:#76b6a5}
.header-help {display:grid;place-items:center;width:26px;height:31px;background:none;border:0;color:#9eb4cf;padding:0}
.header-help:hover,.header-credits:hover {color:#fff}
.header-credits {color:#a6bdd8;min-height:30px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600}
.avatar {width:31px;height:31px;border-radius:50%;border:1px solid rgba(80,140,255,.28);background:#101b34;color:#d9e8ff;font-size:10px;font-weight:700;display:grid;place-items:center}
.main {min-height:73vh;padding:35px 0 76px}
.topbar {min-height:30px;margin-bottom:33px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.topbar-start,.actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.topbar-start {gap:12px;min-width:0}
.save-state {display:inline-flex;align-items:center;gap:14px;color:#8da2bd;font-size:9px;min-height:26px}
.save-state::before {content:"";height:5px;width:5px;border-radius:50%;background:#7baaff;box-shadow:0 0 12px #4776cc75}
.inline-status {font-size:9px;color:#8ba3c1;white-space:nowrap}
.btn {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 19px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.04);font-size:14px;font-weight:650;line-height:1.15;transition:background .18s var(--ease),border-color .18s var(--ease),transform .18s var(--ease),box-shadow .18s var(--ease)}
.btn:hover:not(:disabled) {background:var(--raised);border-color:#ffffff37;transform:translateY(-1px)}
.btn.primary {background:var(--blue);border-color:transparent;color:#fff;box-shadow:0 9px 28px rgba(11,107,255,.18);padding-inline:21px}
.btn.primary:hover:not(:disabled) {background:var(--blue-hover);border-color:transparent}
.btn.white {background:#fff;color:#03050b;border-color:#fff}
.btn.white:hover {background:#e5edfc}
.btn.small {min-height:36px;padding:0 12px;font-size:13px}
.btn.ghost {border-color:transparent;background:transparent;color:var(--body)}
.btn.danger {color:#ffc2cb}
.btn.icon-only {width:38px;min-height:36px;padding:0}
.steps {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--border);border-radius:11px;background:#0d1624;overflow:hidden;margin-bottom:30px}
.step {border:none;border-right:1px solid var(--border);background:transparent;color:var(--muted);min-height:65px;display:flex;align-items:center;gap:11px;padding:14px 22px;text-align:left;min-width:0}
.step:last-child {border-right:none}
.step:not(:disabled):hover {background:#ffffff07}
.step:disabled {opacity:1}
.step.active {color:#f4f7ff;background:linear-gradient(125deg,#162d50,#142138)}
.step.done {color:#e5edfc}
.step-index {width:31px;height:31px;flex:0 0 31px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);font-size:13px;font-weight:670;color:#bdcbe1}
.step.active .step-index {background:var(--blue);color:white;border-color:#7baaef7d;box-shadow:0 0 21px rgba(11,107,255,.40)}
.step.done .step-index {background:#0b6bff16;border-color:#0b6bff45;color:#8ab9ff}
.step strong,.step small {display:block;line-height:1.18}
.step strong {font-size:11px;white-space:nowrap}
.step small {font-size:8px;margin-top:4px}
.studio-grid {display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:30px;align-items:start}
.panel {background:var(--panel);border:1px solid var(--border);border-radius:18px;box-shadow:0 18px 56px #00000052;backdrop-filter:blur(20px)}
.studio-panel {padding:clamp(22px,3vw,42px);min-width:0}
.step-head {margin-bottom:30px}
.step-head p {font-size:12px;margin-top:13px;max-width:620px;color:#9bafc7}
.stack {display:grid;gap:18px}
.stack.large {gap:24px}
.group {display:grid;gap:10px;min-width:0}
.group-label,.field-label {font-size:13px;color:#e3e7f2;font-weight:620;line-height:1.25}
.two,.three {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.three {grid-template-columns:repeat(3,minmax(0,1fr))}
.field {display:grid;gap:8px;min-width:0;align-content:start}
.field-top {display:flex;align-items:center;justify-content:space-between;gap:6px}
.field-note {font-size:12px;color:var(--muted);margin:0}
label:has(.slider) {min-height:60px}
.input {width:100%;min-height:46px;padding:0 13px;background:#ffffff07;border:1px solid var(--border);border-radius:10px;color:#fff;outline:none;min-width:0}
.input option,.input optgroup {background:#101622;color:#fff}
.input:focus {border-color:var(--active);box-shadow:0 0 0 4px #0b6bff21}
.input::placeholder {color:#ffffff66}
textarea.input {min-height:154px;resize:vertical;padding:12px 13px;line-height:1.5}
textarea.short {min-height:96px}
input[type=range],input[type=checkbox] {accent-color:#287dff}
.slider {width:100%;align-self:center}
.counter {font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.counter.excess,.error {color:#ffc0cc}
.option {display:flex;align-items:center;text-align:left;min-height:90px;gap:13px;position:relative;border:1px solid var(--border);border-radius:14px;background:#ffffff06;padding:14px;min-width:0;transition:border-color .18s var(--ease),background .18s var(--ease),box-shadow .18s var(--ease)}
.option:not(:disabled):hover {border-color:#2f80ff80;background:#0b6bff14}
.option.selected {border-color:var(--active);background:linear-gradient(155deg,#1735658c,#0b1530bc);box-shadow:0 13px 28px #0b6bff0f}
.option-label {min-width:0;flex:1}
.option strong,.option small {display:block;line-height:1.25}
.option strong {font-size:14px;overflow-wrap:anywhere}
.option small {font-size:12px;margin-top:5px}
.option-mark,.square {width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.055);color:#adc0e0;flex:none}
.option.selected .option-mark {background:#3e7eec22;color:#aecdff}
.radio {border:1px solid #ffffff36;border-radius:50%;width:14px;height:14px;display:grid;place-items:center;flex:none}
.selected .radio {border-color:#7aaeff}
.selected .radio::after {content:"";width:6px;height:6px;border-radius:50%;background:#74acff}
.check {display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:580;color:var(--body);width:max-content;max-width:100%}
.check input {width:16px;height:16px;margin:0}
.dropzone {min-height:210px;border:1px dashed #7ba7fb55;border-radius:15px;background:#080e1a79;text-align:center;display:grid;place-items:center;padding:24px}
.dropzone.dragging {border-color:#4b9bff;background:#0b6bff20}
.dropzone .square {width:49px;height:49px;background:#1534697f;border:1px solid #447bd941;color:#9ac4ff;margin:0 auto 13px}
.dropzone p {margin:5px 0 15px;font-size:13px}
.dropzone .actions {justify-content:center}
.dropzone small {display:block;margin-top:11px;font-size:11px}
.audio-list {display:grid;gap:9px}
.audio-row {display:flex;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--border);border-radius:12px;background:#ffffff06}
.audio-row strong,.audio-row small {display:block;overflow-wrap:anywhere}
.audio-row .audio-details {min-width:0;flex:1}
.audio-row audio {width:min(205px,40%);height:32px}
.source-wave-wrap {width:min(260px,34%);min-width:120px}
.source-wave {display:block;width:100%;height:42px;border:1px solid #2d425c;border-radius:7px;background:#091321;cursor:pointer}
.source-wave:focus-visible {outline:2px solid #6da8ff;outline-offset:2px}
.source-wave-time {display:flex;justify-content:space-between;margin-top:2px;font:8px/1.2 ui-monospace,Consolas,monospace;color:#7890ad}
.dropzone.is-recording {border-color:#397ee5;background:radial-gradient(circle at 50% 42%,#173b7459,transparent 45%),#0e1727}
.live-recording {width:min(420px,80vw);height:76px;margin:0 auto 15px;position:relative;border:1px solid #31547d;border-radius:12px;background:#081323;overflow:hidden;box-shadow:0 0 30px #176dff1f}
.live-recording canvas {display:block;width:100%;height:100%}
.record-pulse {position:absolute;z-index:1;right:11px;top:10px;width:8px;height:8px;border-radius:50%;background:#ff6680;box-shadow:0 0 0 0 #ff527078;animation:recordPulse 1.35s ease-out infinite}
@keyframes recordPulse {70%{box-shadow:0 0 0 9px #ff527000}100%{box-shadow:0 0 0 0 #ff527000}}
.disclosure {border:1px solid var(--border);border-radius:12px;background:#00000022;min-width:0}
.disclosure summary {cursor:pointer;list-style:none;padding:14px 15px;display:flex;align-items:center;gap:10px;font-size:13px;color:#eef3ff;font-weight:590}
.disclosure summary::-webkit-details-marker {display:none}
.disclosure summary .chevron {margin-left:auto;color:var(--muted);transition:transform .18s var(--ease)}
.disclosure[open] summary .chevron {transform:rotate(180deg)}
.disclosure-body {padding:0 15px 15px}
.chips {display:flex;gap:8px;flex-wrap:wrap}
.chip {border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.045);color:var(--body);min-height:36px;padding:0 12px;font-size:13px;font-weight:620;transition:background .15s var(--ease),border-color .15s var(--ease)}
.chip:hover {border-color:#6399f878;color:#fff}
.chip.active {border-color:#5397ff9e;background:#163875a8;color:#fff}
.step-footer {border-top:1px solid var(--border);margin-top:27px;padding-top:22px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.step-footer p {font-size:12px}
.summary {position:sticky;top:20px;overflow:hidden}
.summary-art {height:155px;border-bottom:1px solid var(--border);display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 65%,#1250bb38,transparent 71%),linear-gradient(150deg,#0d1934,#080d1a 72%)}
.summary-art::after,.summary-art::before {content:"";position:absolute;inset:30px -10px;border:1px solid #74abff24;border-radius:50%;transform:rotate(-25deg);pointer-events:none}
.summary-art::after {inset:43px 16px}
.summary-art img {width:53px;height:auto;z-index:1;filter:drop-shadow(0 0 23px #397ef4b0)}
.summary-body {padding:23px}
.summary-body h2 {margin-top:4px;font-size:25px;overflow-wrap:anywhere}
.summary-genre {margin-top:4px;font-size:13px}
.summary-list {display:grid;gap:9px;margin:17px 0 0}
.summary-list div {display:flex;gap:12px;justify-content:space-between;font-size:12px}
.summary-list dt {color:var(--muted)}
.summary-list dd {margin:0;text-align:right;overflow-wrap:anywhere}
.summary-tag {font-size:11px;color:#a7c7fb;font-weight:620}
.notice {display:flex;align-items:flex-start;gap:10px;background:#0b6bff12;border:1px solid #4d86e444;color:#bfd6fb;border-radius:10px;padding:11px 12px;font-size:13px}
.notice svg {margin-top:2px}
.notice.error {background:#40252e60;border-color:#aa587a64;color:#ffcfda}
.pre {font:12px/1.6 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#d0def5}
.song-source {display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--border);background:#ffffff05;border-radius:12px;padding:12px 15px}
.song-source span {font-size:13px;display:block}
.song-source small {font-size:11px}
.generation {min-height:373px;display:grid;place-items:center;text-align:center;padding:24px}
.generation-logo {height:81px;width:81px;margin:0 auto 27px;border-radius:24px;display:grid;place-items:center;border:1px solid #5b9aff91;background:#172a57;box-shadow:0 0 36px #0b6bff38;animation:glow 2.4s ease-in-out infinite}
.generation-logo img {width:39px}
@keyframes glow {50% {box-shadow:0 0 61px #0b6bff5e}}
.loading-wave {display:flex;justify-content:center;align-items:center;gap:3px;height:38px;margin-bottom:19px}
.loading-wave i {width:3px;height:var(--h);border-radius:3px;background:#76a9ff;display:block;animation:wave 1.15s var(--ease) infinite alternate;animation-delay:var(--delay)}
@keyframes wave {0%{transform:scaleY(.36);opacity:.48}70%{transform:scaleY(.72);opacity:.8}100%{transform:scaleY(1.13);opacity:1}}
.loading-copy {margin-top:7px;font-size:13px;color:var(--muted)}
.player {display:grid;gap:12px;margin:18px 0}
.player-main {display:flex;align-items:center;gap:13px}
.play {width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;border:0;border-radius:50%;background:white;color:#04060e}
.play:hover {background:#c9dcff}
.player-meta {flex:1;min-width:0}
.player-meta strong {display:block;overflow-wrap:anywhere}
.player-meta small,.wave-time {font-variant-numeric:tabular-nums;font-size:12px;color:var(--muted)}
.volume {display:flex;align-items:center;gap:5px;color:var(--muted)}
.volume input {max-width:82px}
.wave {display:block;width:100%;height:102px;cursor:pointer;border:1px solid var(--border);border-radius:10px;background:#050914}
.wave-time {display:flex;justify-content:space-between}
.take-actions {display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:11px 0 22px}
.persona-callout {display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:13px;border:1px solid #4d86e440;background:#0b6bff0e;padding:15px}
.persona-callout h3 {font-size:15px}
.persona-callout p {font-size:12px;margin-top:4px}
.page-head {display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:14px 0 25px}
.page-head p {margin-top:9px}
.cards {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,255px),1fr));gap:15px}
.tile {display:grid;align-content:start;gap:12px;padding:19px;min-width:0;text-align:left}
a.tile:hover,button.tile:hover {border-color:#4e8dff8d;background:#0b6bff12}
.tile h3 {overflow-wrap:anywhere}
.tile p {font-size:13px}
.tile audio {width:100%;height:34px}
.project-link {display:grid;gap:8px}
.project-link:hover h3 {color:#abd0ff}
.project-tile > .btn {justify-self:start;margin-left:-9px}
.empty {padding:26px;color:var(--body)}
.list {display:grid;gap:10px}
.list-row {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--border)}
.list-row:last-child {border-bottom:0}
.list-row p,.list-row small {overflow-wrap:anywhere}
.table-wrap {overflow:auto}
.data-table {width:100%;text-align:left;border-spacing:0;font-size:13px;white-space:nowrap}
.data-table th {color:var(--muted);font-size:12px;font-weight:570}
.data-table :is(td,th) {padding:12px;border-bottom:1px solid var(--border)}
.data-table tr:last-child td {border-bottom:0}
.admin-nav {display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}
.metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 22px}
.metric {padding:17px}
.metric strong {display:block;font-size:29px;font-weight:620;letter-spacing:-.04em}
.status-pill {display:inline-flex;align-items:center;gap:7px;background:#1a376b72;border:1px solid #3d72c755;border-radius:999px;color:#b9d1ff;font-size:11px;padding:3px 8px;white-space:nowrap}
.status-pill.done {background:#25554f49;border-color:#66a39647;color:#bbebdf}
.status-pill.issue {background:#4b26355e;border-color:#ab566559;color:#ffd2dd}
.auth-entry {display:grid;place-items:start center;padding:55px 0 36px}
.auth-panel {max-width:440px;width:100%;padding:34px}
.auth-panel h1 {font-size:29px;letter-spacing:-.035em;margin-bottom:24px}
.auth-mark {width:40px;margin-bottom:16px}
.auth-demo {margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}
.auth-demo .btn {width:100%}
.footer {border-top:1px solid var(--border);display:flex;justify-content:space-between;padding:17px 0 23px;color:var(--muted);font-size:12px;gap:14px}
.footer a:hover {color:#fff}
.boot {display:grid;place-content:center;justify-items:center;min-height:80vh;gap:15px}
.boot img {width:64px}
dialog {width:min(calc(100% - 30px),540px);max-height:calc(100% - 30px);overflow:auto;border:1px solid #ffffff24;background:#0b101e;color:#fff;border-radius:17px;padding:24px;box-shadow:0 24px 70px #0009}
dialog::backdrop {background:#0009;backdrop-filter:blur(7px)}
.modal-head {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.modal-head h2 {font-size:27px}
#toast {position:fixed;right:22px;bottom:22px;z-index:10;max-width:min(390px,calc(100% - 44px));pointer-events:none}
.toast {background:#111c32;border:1px solid #6b9ff06b;box-shadow:0 17px 42px #0009;border-radius:10px;padding:11px 14px;color:#e5edff;font-size:13px}
.toast.error {background:#271720;border-color:#9c516b}
.genre-search {margin:0}
.sound-form #genre-search {min-height:36px;background:#0b1728 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237f9ab9' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 11px center;padding-left:34px}
.progress {width:100%;height:7px;accent-color:var(--blue)}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:930px) {
  .shell {width:min(calc(100% - 42px),1264px)}
  .studio-grid {grid-template-columns:minmax(0,1fr) 255px;gap:16px}
  .summary-body {padding:17px}
  .nav {gap:17px}
  .header {gap:12px}
  .step {padding:12px;gap:8px}
}
@media (max-width:720px) {
  .header {grid-template-columns:1fr auto;min-height:68px;gap:0 10px}
  .brand img {width:140px}
  .header-tools {grid-column:2;grid-row:1}
  .nav {grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:21px;overflow:auto;scrollbar-width:none}
  .nav-link {min-height:44px;font-size:13px}
  .studio-grid {grid-template-columns:1fr}
  .auth-entry {padding-top:20px}
  .auth-panel {padding:24px}
  .summary {position:static}
  .summary-art {height:104px}
  .summary-art img {width:40px}
  .summary-list {grid-template-columns:1fr 1fr;gap:6px 15px}
  .steps {margin-bottom:18px}
  .step {min-height:63px;padding:9px;justify-content:center;text-align:center}
  .step-index {height:27px;width:27px;flex-basis:27px;font-size:11px}
  .step strong {font-size:12px;white-space:normal}
  .step small {display:none}
  .main {padding:23px 0 42px}
  .topbar {margin-bottom:16px}
  .metrics {grid-template-columns:1fr 1fr}
}
@media (max-width:430px) {
  .shell {width:calc(100% - 26px)}
  .studio-panel {padding:18px}
  .step {flex-direction:column;gap:5px;min-height:64px}
  .two:not(.option-grid),.three {grid-template-columns:1fr}
  .option {padding:10px;gap:7px;min-height:76px}
  .option-mark {width:28px;height:28px}
  .option-mark svg {width:16px}
  .option small {font-size:11px}
  .option strong {font-size:13px}
  .topbar {align-items:flex-start;flex-direction:column}
  .topbar .btn {padding:0 9px}
  .persona-callout {align-items:flex-start;flex-direction:column}
  .page-head {align-items:flex-start;flex-direction:column}
  .audio-row {flex-wrap:wrap}
  .audio-row audio {width:100%;order:4}
  .source-wave-wrap {width:100%;order:3}
  .wave {height:82px}
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
.step-fieldset {border:0;padding:0;margin:0;min-inline-size:0}
.field-note svg {display:inline-block;vertical-align:-3px;margin-right:4px}
.search-input {width:auto;min-width:170px;min-height:37px}
.form-feedback {font-size:13px}

/* The four-step studio uses the original Antalina proportions. */
.song-main {
  --studio-surface:#0d1523;
  --studio-inset:#0a1220;
  --studio-tile:#111c2c;
  --studio-border:#28384e;
  --studio-muted:#91a7c0;
  padding:25px 0 25px;
}
.song-main + .footer {border-top:0;font-size:9px;padding:8px 0 21px}
.song-main + .footer .btn {font-size:9px}
.song-main .topbar .btn {min-height:30px;padding:0 10px;font-size:10px;gap:6px;border-radius:8px;color:#aebfd3}
.song-main .topbar .btn:not(.ghost) {background:#0d1726;border-color:#26394f}
.song-main .topbar .btn svg {width:14px;height:14px}
.song-main .steps,.song-main .step {border-color:var(--studio-border)}
.flow-card,.song-main .summary {border-color:var(--studio-border);background:var(--studio-surface);border-radius:14px;box-shadow:none}
.flow-card {padding:38px}
.flow-card .step-kicker {display:block;margin:0 0 13px;color:#88b2f3;font-size:8px;font-weight:690;letter-spacing:.23em;text-transform:uppercase}
.flow-card h1 {font-size:32px;line-height:1.12;letter-spacing:-.036em;font-weight:630;overflow-wrap:anywhere}
.flow-card .two {gap:11px}
.flow-card .field {gap:8px}
.flow-card .field-label,.flow-card .group-label {font-size:11px;color:#b8c8db}
.flow-card .field-label small,.flow-card summary small {font-size:9px;font-weight:480;color:var(--studio-muted);margin-left:4px}
.flow-card .input {min-height:42px;padding-inline:12px;border-color:#30435c;border-radius:9px;background:var(--studio-inset);font-size:11px}
.flow-card .input:focus {border-color:#5c9dff;box-shadow:0 0 0 3px #0b6bff22}
.flow-card textarea.input {padding-block:11px}
.flow-card .field-note,.flow-card .counter {font-size:10px;color:var(--studio-muted)}
.flow-card .counter.excess {color:#ffc0cc}
.flow-card .title-count:not(.excess) {visibility:hidden}
.flow-card .btn {min-height:42px;padding:0 13px;font-size:11px;border-color:#304660;border-radius:8px;background:#132135;gap:7px}
.flow-card .btn.primary {padding:0 19px;background:var(--blue);border-color:transparent;box-shadow:0 7px 21px #0b6bff22}
.flow-card .btn.primary:hover:not(:disabled) {background:var(--blue-hover)}
.flow-card .btn:not(.primary):not(.ghost):hover {background:#172a46}
.flow-card .btn.small {min-height:32px;padding:0 11px;font-size:10px}
.flow-card .btn.ghost {border-color:transparent;background:transparent;color:var(--studio-muted)}
.flow-card .btn.ghost:hover {color:#fff}
.flow-card .btn.icon-only {width:32px;padding:0}
.flow-card .btn svg {width:15px;height:15px}
.flow-card .step-footer {margin-top:29px;padding-top:22px;border-color:var(--studio-border)}
.flow-card .step-footer p {font-size:10px;color:var(--studio-muted)}
.flow-card .check {font-size:11px;font-weight:530;gap:7px}
.flow-card .disclosure {border-radius:9px;border-color:var(--studio-border);background:var(--studio-inset)}
.flow-card .disclosure summary {min-height:43px;padding:11px 14px;font-size:11px;color:#b7c8df}
.flow-card .disclosure-body {padding:0 14px 14px}

.idea-form,.audio-idea,.sound-form,.generate-form,.result-content {display:grid;min-width:0}
.idea-form {gap:21px}
.idea-fields {margin-top:7px}
.flow-1 .option {min-height:94px;border-color:#30435c;border-radius:9px;background:#101b2c;padding:15px 16px;gap:13px}
.flow-1 .option-mark {width:22px;height:31px;background:transparent;color:#9eb4ce}
.flow-card .option.selected,.flow-card .mood-choice.active {border-color:#609cff;background:linear-gradient(132deg,#18294a,#121e34);box-shadow:none}
.flow-1 .option.selected .option-mark {color:#a9c8ff}
.flow-card .option strong {font-size:12px;color:#e5edf9}
.flow-card .option small {font-size:10px;color:var(--studio-muted);margin-top:5px}
.lyrics-editor {display:grid;gap:8px}
.lyrics-editor .btn {padding:0;min-height:24px}
.lyrics-editor textarea {min-height:170px}
.lyrics-footer {min-height:24px}
.audio-idea {gap:13px}
.flow-card .dropzone {min-height:255px;border-color:#435977;border-radius:11px;background:#0e1727;padding:23px}
.flow-card .dropzone.dragging {border-color:#6da8ff;background:#142b4c}
.flow-card .dropzone .square {width:56px;height:56px;border-radius:15px;margin-bottom:15px;background:#192641}
.flow-card .dropzone strong {font-size:13px;font-weight:630;color:#cddced}
.flow-card .dropzone p {font-size:11px;margin:6px 0 17px;color:var(--studio-muted)}
.flow-card .dropzone .btn {min-height:37px}
.flow-card .dropzone .record-button {background:#14213a;border-color:#486290;color:#bdd2f6}
.flow-card .dropzone small {margin-top:14px;font-size:9px;color:var(--studio-muted)}
.record-settings {display:flex;align-items:center;gap:11px;color:var(--studio-muted);font-size:10px}
.flow-card .record-settings .input {width:auto;min-height:28px;padding:0 8px;font-size:10px}
.flow-card .source-audio {min-height:60px;border-radius:9px;border-color:#304663;background:#122137;gap:11px}
.source-audio .square {width:35px;height:35px;border-radius:9px;background:#213553;color:#a9c9f8}
.source-audio strong {font-size:11px}
.source-audio small {color:var(--studio-muted);font-size:9px}
.audio-toolbar {display:flex;justify-content:space-between;align-items:center;gap:8px}
.audio-toolbar .actions {gap:3px}
#mix-player {max-width:100%;height:34px}
.track-settings {padding:13px;border:1px solid var(--studio-border);border-radius:9px;background:#0b1525}
.shared-audio {margin-top:15px}

.sound-form,.generate-form {gap:19px}
.genre-description {margin-top:-10px;color:var(--studio-muted);font-size:11px}
.flow-card .btn.genre-find {min-height:0;padding:0}
.mood-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.mood-choice {display:grid;justify-items:center;align-content:center;gap:7px;min-height:70px;padding:8px 5px;background:var(--studio-tile);border:1px solid #2a3d54;border-radius:9px;color:#bdcfe4;font-size:11px;font-weight:610}
.mood-choice svg {color:#9ab6dc}
.mood-choice:hover {border-color:#5886c1}
.flow-card .mood-choice.active {color:#eaf3ff}
.mood-choice.active svg {color:#a7cbff}
.voice-group {display:grid;gap:12px;padding-top:18px;border-top:1px solid var(--studio-border)}
.voice-heading {display:flex;justify-content:space-between;align-items:center;gap:10px}
.voice-heading h2 {font-size:17px}
.voice-group .stack {gap:10px}
.voice-options {gap:16px}
.sound-form textarea[data-key="extras"] {min-height:74px}
.sound-form #style-input {min-height:118px}
.final-prompt {border-top:1px solid var(--studio-border)}
.flow-card .final-prompt summary {display:list-item;padding:10px 0 0;min-height:0;color:#a6c5f3;cursor:pointer}
.final-prompt .pre {padding-top:9px}

.review-strip {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--studio-border);border-radius:9px;background:#101c2e}
.review-strip .song-source {display:flex;justify-content:flex-start;align-items:center;gap:8px;border:0;border-radius:0;background:none;padding:12px;min-width:0}
.review-strip .song-source + .song-source {border-left:1px solid var(--studio-border)}
.song-source > div {flex:1;min-width:0}
.song-source strong {display:block;overflow-wrap:anywhere;font-size:11px;font-weight:630;color:#e3efff}
.song-source small {display:block;color:var(--studio-muted);font-size:9px}
.song-source > svg {color:#789bc9}
.song-source .btn {padding:0 4px;min-height:27px}
.generation-notice {display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #294364;background:#101f36;border-radius:8px;font-size:11px;color:#8ab9f3}
.generation-notice p {color:#b4c8e3}
.generation {min-height:360px;padding:22px 0 30px}
.generation-logo {height:91px;width:91px;border-radius:26px}
.generation h3 {font-size:13px;color:#c1d5f1}
.generation .loading-copy {font-size:11px}
.waiting-button svg {animation:turn 1.4s linear infinite}
@keyframes turn {to {transform:rotate(360deg)}}

.song-main .summary-art {height:180px;background:radial-gradient(ellipse at 63% 74%,#21344e80,transparent 71%),linear-gradient(133deg,#1d3556,#0b1529 77%);border-bottom-color:var(--studio-border)}
.song-main .summary-art::before {inset:23px -16px}
.song-main .summary-art::after {inset:43px 16px}
.song-main .summary-art img {width:43px;filter:none}
.summary-art > span {position:absolute;z-index:1;bottom:16px;color:#a5bdd8;font-size:7px;text-transform:uppercase;letter-spacing:.23em}
.song-main .summary-body {padding:24px 23px}
.song-main .summary-tag {font-size:8px;text-transform:uppercase;letter-spacing:.15em;color:#94aac5}
.song-main .summary-body h2 {font-size:20px;margin-top:9px}
.song-main .summary-genre {font-size:10px;margin-top:8px;color:#a4b9d1}
.song-main .summary-list {margin-top:23px;gap:11px}
.song-main .summary-list div {font-size:10px}
.song-main .summary-list dt {color:var(--studio-muted)}
.song-main .summary-list dd {color:#d0ddee}
.summary-hint {border-top:1px solid var(--studio-border);margin-top:21px;padding-top:18px;display:flex;gap:9px;align-items:flex-start;color:var(--studio-muted);font-size:9px}
.summary-hint svg {color:#87b6f8}

.result-content {gap:18px}
.take-tabs .option {min-height:69px;padding:12px;gap:9px;background:#122035;border-color:var(--studio-border);border-radius:9px}
.take-tabs .option-mark {width:39px;height:39px;background:#213450;border-radius:9px;color:#a6c8fb}
.take-tabs .option small {font-size:9px}
.take-check {width:15px;flex:none;color:#a5c9ff}
.result-content .player {margin:9px 0 2px;gap:8px}
.result-content .player-main {gap:14px;margin-bottom:16px}
.result-content .play {width:51px;height:51px;flex-basis:51px;background:var(--blue);color:#fff;border:1px solid #4f97ff}
.result-content .play:hover {background:var(--blue-hover)}
.player-meta strong {font-size:12px}
.player-meta small,.wave-time {font:9px/1.5 ui-monospace,Consolas,monospace;color:#9eb5d4}
.result-content .wave {height:104px;border-color:#30445f;background:#0a1525;border-radius:8px}
.result-content .volume input {max-width:65px}
.result-content .take-actions {margin:2px 0 6px}
.result-content .persona-callout {display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:11px;padding:16px 17px;background:#141e31;border-color:#304262;border-radius:11px}
.persona-callout .square {width:43px;height:43px;background:#233551;border-radius:11px;color:#a7c9f8}
.persona-callout h3 {font-size:13px}
.persona-callout p {font-size:10px;color:var(--studio-muted)}
.trim-controls {display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px}
.trim-controls .btn {min-height:42px}
.preview-tools {display:grid;gap:7px}
.preview-tools > .btn {justify-self:start}

@media (max-width:1000px) {
  .private-label {display:none}
  .flow-card {padding:29px}
  .review-strip .song-source > svg {display:none}
}
@media (max-width:720px) {
  .header-tools {gap:8px}
  .song-main {padding-top:18px}
  .song-main .topbar {margin-bottom:16px}
  .flow-card {padding:22px}
  .flow-card h1 {font-size:28px}
  .song-main .summary-art {height:115px}
  .song-main .summary-art > span {bottom:9px}
  .song-main .summary-list {gap:9px 15px}
  .song-main .summary-body {padding:17px}
  .review-strip {grid-template-columns:1fr}
  .review-strip .song-source + .song-source {border-left:0;border-top:1px solid var(--studio-border)}
  .review-strip .song-source > svg {display:block}
}
@media (max-width:430px) {
  .header-help {display:none}
  .flow-card {padding:17px}
  .flow-card h1 {font-size:25px}
  .flow-card .step-head {margin-bottom:21px}
  .flow-1 .option {min-height:79px;padding:8px;gap:6px}
  .flow-1 .option-mark {width:17px}
  .flow-card .option strong {font-size:11px}
  .flow-card .option small {font-size:9px}
  .flow-card .dropzone {min-height:225px;padding:13px}
  .flow-card .dropzone .square {width:44px;height:44px}
  .flow-card .dropzone .actions {gap:5px}
  .flow-card .dropzone .btn {padding-inline:7px}
  .flow-card .step-footer {padding-top:15px;gap:6px}
  .flow-card .step-footer .btn {padding-inline:10px}
  .mood-grid {gap:5px}
  .mood-choice {min-height:61px;font-size:9px}
  .result-content .persona-callout {grid-template-columns:34px minmax(0,1fr);padding:11px}
  .persona-callout .square {width:34px;height:34px}
  .persona-callout .btn {grid-column:2;justify-self:start}
  .result-content .wave {height:84px}
  .take-tabs .option {padding:8px;gap:5px}
  .take-tabs .option-mark {width:27px;height:27px}
  .trim-controls {grid-template-columns:1fr 1fr}
  .trim-controls .btn {grid-column:1/-1}
}
.flow-player {position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:8;width:min(calc(100% - 32px),1060px);border:1px solid rgba(255,255,255,.14);background:rgba(8,13,24,.94);backdrop-filter:blur(22px);border-radius:16px;box-shadow:0 22px 60px #000a;animation:flowUp .28s var(--ease)}
@keyframes flowUp {from {opacity:0;transform:translate(-50%,14px)}}
.flow-inner {display:flex;align-items:center;gap:15px;padding:10px 12px}
.flow-play {width:46px;height:46px;flex:0 0 46px;border:0;border-radius:50%;background:#fff;color:#04060e;display:grid;place-items:center;transition:background .16s var(--ease),transform .16s var(--ease)}
.flow-play:hover {background:#c9dcff;transform:scale(1.03)}
.flow-meta {display:grid;gap:1px;min-width:0;flex:0 1 215px}
.flow-meta strong {font-size:13px;font-weight:640;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-meta small {font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.flow-progress {display:flex;align-items:center;gap:10px;flex:1;min-width:110px}
.flow-progress > span {font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:31px;text-align:center}
.flow-track {position:relative;display:flex;align-items:center;flex:1;height:28px;cursor:pointer;border-radius:99px}
.flow-track::before {content:"";position:absolute;left:0;right:0;height:5px;border-radius:99px;background:#243249}
.flow-track span {position:relative;display:block;width:0;height:5px;border-radius:99px;background:linear-gradient(90deg,#0b6bff,#7fb1ff);pointer-events:none;transition:width .1s linear}
.flow-track:hover::before {background:#2d3f5c}
.flow-track:focus-visible {outline:2px solid #6fa7ff;outline-offset:4px}
.flow-volume {display:flex;align-items:center;gap:6px;color:var(--muted)}
.flow-volume input {width:76px}
.flow-open {font-size:12px;font-weight:580;color:#a6bdd8;white-space:nowrap;padding:7px 9px;border-radius:8px}
.flow-open:hover {color:#fff;background:#ffffff0d}
.flow-close {width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:none;color:var(--muted);font-size:21px;line-height:1;padding:0 0 2px}
.flow-close:hover {color:#fff;background:#ffffff0d}
body.has-flow-player {padding-bottom:94px}
body.has-flow-player #toast {bottom:106px}
@media (max-width:720px) {
  .flow-player {bottom:10px;width:calc(100% - 20px);border-radius:14px}
  .flow-inner {flex-wrap:wrap;gap:7px 12px;padding:9px 11px}
  .flow-play {width:40px;height:40px;flex-basis:40px}
  .flow-meta {flex:1;min-width:0}
  .flow-progress {order:5;flex-basis:100%;gap:8px}
  .flow-volume,.flow-open {display:none}
  body.has-flow-player {padding-bottom:120px}
  body.has-flow-player #toast {bottom:132px}
}

/* Landing page */
.site-header {position:sticky;top:0;z-index:6;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(3,5,11,.72);backdrop-filter:blur(18px)}
.site-bar {display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:74px}
.site-nav {display:flex;align-items:center;gap:6px}
.site-link {border:0;background:none;color:var(--muted);font-size:13px;font-weight:560;padding:9px 12px;border-radius:8px}
.site-link:hover {color:#fff;background:#ffffff0a}
.auth-links {display:flex;align-items:center;gap:8px}
.landing {overflow-x:hidden}
.eyebrow {display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;color:#8fb5ef}
.eyebrow i {width:6px;height:6px;border-radius:50%;background:#5f9cff;box-shadow:0 0 12px #5f9cff}
.hero {display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:56px;align-items:center;padding:76px 0 74px}
.hero h1 {margin:20px 0 22px;font-size:clamp(42px,5.6vw,72px);letter-spacing:-.055em;line-height:1.02;max-width:15ch}
.hero h1 em {font-style:normal;color:#83b3ff}
.hero-copy > p {font-size:17px;line-height:1.65;max-width:54ch;color:#a7b8cd}
.hero-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.hero-actions .btn {min-height:52px;padding-inline:24px;font-size:15px}
.hero-trust {display:flex;flex-wrap:wrap;gap:14px 22px;list-style:none;padding:0;margin:28px 0 0;font-size:12px;color:var(--muted)}
.hero-trust li {display:inline-flex;align-items:center;gap:7px}
.hero-trust svg {color:#76b6a5}
.hero-art {position:relative;min-height:400px;display:grid;place-items:center}
.hero-glow {position:absolute;inset:-12% -8%;background:radial-gradient(circle at 55% 40%,rgba(11,107,255,.34),transparent 62%),radial-gradient(circle at 70% 80%,rgba(72,195,180,.16),transparent 60%);filter:blur(12px)}
.mock {position:relative;width:min(100%,420px);border:1px solid rgba(255,255,255,.13);border-radius:22px;background:linear-gradient(158deg,#0e1a30,#070c16 72%);box-shadow:0 40px 90px #000a,inset 0 0 0 1px #ffffff05;padding:20px;transform:rotate(-1.4deg)}
.mock-head {display:flex;align-items:center;gap:9px;font-size:13px;font-weight:620;color:#e7efff}
.mock-head .status-pill {margin-left:auto}
.mock-dot {width:7px;height:7px;border-radius:50%;background:#76b6a5;box-shadow:0 0 10px #76b6a5}
.mock-tabs {display:flex;gap:6px;margin:18px 0 14px}
.mock-tabs span {flex:1;text-align:center;font-size:11px;color:var(--muted);padding:8px;border-radius:8px;border:1px solid #22324a;background:#ffffff04}
.mock-tabs .active {color:#fff;border-color:#3f7be0;background:#16305b}
.mock-wave {display:flex;align-items:center;justify-content:center;gap:3px;height:96px;padding:0 6px;border-radius:12px;border:1px solid #24354d;background:#060d18}
.mock-wave i {display:block;width:3px;height:var(--h);border-radius:3px;background:linear-gradient(180deg,#7fb1ff,#2f63b3);opacity:.85;animation:mockWave 1.6s var(--ease) infinite alternate;animation-delay:var(--d)}
@keyframes mockWave {to {transform:scaleY(.72);opacity:.6}}
.mock-times {display:flex;justify-content:space-between;margin-top:6px;font:10px/1.4 ui-monospace,Consolas,monospace;color:#7890ad}
.mock-row {display:flex;align-items:center;gap:11px;margin-top:16px;padding:11px 12px;border:1px solid #24354d;border-radius:11px;background:#0c1626}
.mock-play {width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:#fff;color:#04060e}
.mock-row div {flex:1;min-width:0}
.mock-row strong,.mock-row small {display:block}
.mock-row strong {font-size:12px}
.mock-row small {font-size:10px;color:var(--muted)}
.mock-saved {display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#9fd8ca}
.hero-chip {position:absolute;display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(10,18,32,.92);box-shadow:0 14px 30px #0008;font-size:11px;font-weight:600;color:#cfdcf0;backdrop-filter:blur(10px)}
.hero-chip-a {top:8%;left:-3%;transform:rotate(-3deg)}
.hero-chip-b {bottom:7%;right:-4%;transform:rotate(2.5deg)}
.fact-band {border-block:1px solid var(--border);background:#050912}
.fact-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:27px 0}
.fact-grid div {display:flex;align-items:center;gap:13px}
.fact-grid strong {font-size:34px;font-weight:620;letter-spacing:-.05em;color:#dce9ff}
.fact-grid span {font-size:12px;color:var(--muted);max-width:16ch;line-height:1.4}
.landing-section {padding:78px 0;scroll-margin-top:88px}
.section-head {max-width:640px;margin:0 auto 40px;text-align:center}
.section-head h2 {margin:16px 0 14px}
.section-head p {font-size:15px;line-height:1.6}
.steps-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step-card {position:relative;padding:28px 26px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(160deg,#0b1424,#070d18);overflow:hidden}
.step-card::after {content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 0%,rgba(11,107,255,.16),transparent 55%);pointer-events:none}
.step-num {display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;border:1px solid #33517f;background:#0f2038;color:#9cc4ff;font-size:12px;font-weight:700;letter-spacing:.03em;margin-bottom:20px}
.step-card h3 {font-size:18px;margin-bottom:9px}
.step-card p {font-size:13px;line-height:1.6}
.feature-grid {display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature {padding:25px 24px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.028);transition:border-color .2s var(--ease),background .2s var(--ease),transform .2s var(--ease)}
.feature:hover {border-color:#3f6db0;background:rgba(255,255,255,.05);transform:translateY(-2px)}
.feature-icon {display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#12233d;color:#9cc4ff;margin-bottom:17px}
.feature h3 {font-size:15px;margin-bottom:7px}
.feature p {font-size:12.5px;line-height:1.6}
.price-card {max-width:760px;margin:0 auto;padding:clamp(30px,5vw,52px);text-align:center;border:1px solid #2c4a78;border-radius:24px;background:radial-gradient(circle at 50% 0%,rgba(11,107,255,.22),transparent 55%),linear-gradient(165deg,#0a1527,#060b14);box-shadow:0 30px 80px #0007}
.price-card h2 {margin:16px 0 14px}
.price-card > p {font-size:14px;line-height:1.6;max-width:52ch;margin:0 auto}
.price-row {display:flex;align-items:baseline;justify-content:center;gap:10px;margin:26px 0 6px}
.price-row strong {font-size:clamp(38px,5vw,54px);font-weight:620;letter-spacing:-.05em;line-height:1}
.price-row span {font-size:13px;color:var(--muted)}
.price-note {font-size:12px;color:#8fb5ef}
.price-list {list-style:none;display:grid;gap:10px;max-width:380px;margin:26px auto 28px;padding:0;text-align:left}
.price-list li {display:flex;align-items:center;gap:9px;font-size:13px;color:#c2d3e8}
.price-list svg {color:#76b6a5}
.price-card .btn {min-height:50px;padding-inline:26px}
.cta-band {display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:20px;margin-bottom:80px;padding:clamp(30px,5vw,52px);border:1px solid #28446f;border-radius:24px;background:linear-gradient(120deg,#102a52,#0a1526 55%,#0c2030);box-shadow:0 26px 60px #0006}
.cta-band h2 {margin:14px 0 10px;max-width:19ch}
.cta-band p {font-size:13px;max-width:46ch}
.cta-band .btn {flex:none;min-height:50px;padding-inline:24px}
.site-footer {border-top:1px solid var(--border);background:#04070e}
.site-foot {display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px 34px;padding:32px 0 38px}
.site-foot .brand img {width:132px}
.site-foot p {font-size:12px;color:var(--muted)}
.site-foot-links {display:flex;gap:18px;font-size:12px;color:var(--muted)}
.site-foot-links a:hover {color:#fff}
.site-foot small {grid-column:1/-1;font-size:11px;color:#5f7189;border-top:1px solid var(--border);padding-top:16px}

/* Auth pages */
.auth-shell {display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);min-height:610px;margin:38px 0 58px;border:1px solid var(--border);border-radius:24px;overflow:hidden;background:var(--panel);box-shadow:0 30px 80px #0007}
.auth-story {position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:42px;padding:clamp(30px,4vw,50px);border-right:1px solid var(--border);background:radial-gradient(circle at 15% 0%,rgba(11,107,255,.25),transparent 55%),linear-gradient(160deg,#0b172b,#070c16 78%);overflow:hidden}
.auth-story::after {content:"";position:absolute;inset:auto -20% -35% 20%;height:60%;border:1px solid #74abff1f;border-radius:50%;transform:rotate(-12deg);pointer-events:none}
.auth-story-brand {display:inline-flex;position:relative;z-index:1}
.auth-story-brand img {width:146px}
.auth-story-copy {position:relative;z-index:1}
.auth-story-copy h1 {font-size:clamp(32px,3.6vw,46px);margin:16px 0 18px;max-width:15ch;letter-spacing:-.05em}
.auth-story-copy > p {font-size:14px;line-height:1.65;max-width:46ch}
.auth-points {list-style:none;display:grid;gap:12px;padding:0;margin:26px 0 0}
.auth-points li {display:flex;align-items:center;gap:10px;font-size:13px;color:#c2d3e8}
.auth-points svg {color:#76b6a5}
.auth-story-foot {position:relative;z-index:1;display:flex;flex-direction:column;gap:9px}
.auth-story-wave {display:flex;align-items:center;gap:3px;height:34px}
.auth-story-wave i {display:block;width:3px;height:var(--h);border-radius:3px;background:#4f8ae0;opacity:.7}
.auth-story-foot span {font-size:9px;text-transform:uppercase;letter-spacing:.22em;color:#8ea8c8}
.auth-card {display:grid;place-items:center;padding:clamp(28px,4vw,50px)}
.auth-card-inner {width:100%;max-width:390px}
.auth-kicker {font-size:10px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:#8fb5ef}
.auth-card h2 {font-size:clamp(27px,3vw,34px);margin:10px 0 8px;letter-spacing:-.04em}
.auth-lead {font-size:13px;line-height:1.55;margin-bottom:24px}
.auth-form {gap:15px}
.auth-form .field-label {font-size:12px}
.auth-form .input {min-height:48px}
.auth-submit {justify-content:center;min-height:50px;margin-top:4px}
.auth-inline-link {font-size:11px;color:#8fb5ef;font-weight:600}
.auth-inline-link:hover {color:#bcd6ff}
.auth-switch {display:flex;align-items:center;justify-content:center;gap:7px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border);font-size:12px;color:var(--muted)}
.auth-switch a {color:#9ec6ff;font-weight:620}
.auth-switch a:hover {color:#fff}
.auth-demo {display:grid;gap:9px;margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}
.auth-demo > span {font-size:11px;color:var(--muted)}
.auth-demo .btn {width:100%}
@media (max-width:930px) {
  .site-nav {display:none}
  .hero {grid-template-columns:1fr;gap:40px;padding:54px 0 58px}
  .hero h1 {max-width:18ch}
  .hero-art {min-height:340px}
  .mock {transform:none}
  .steps-grid,.feature-grid {grid-template-columns:1fr 1fr}
  .auth-shell {grid-template-columns:1fr;min-height:0}
  .auth-story {border-right:0;border-bottom:1px solid var(--border);gap:28px}
  .auth-story-copy h1 {max-width:22ch}
  .auth-story-foot {display:none}
}
@media (max-width:720px) {
  .site-bar {min-height:64px}
  .site-bar .brand img {width:132px}
  .auth-links .btn.ghost {display:none}
  .hero {padding:38px 0 46px}
  .hero-copy > p {font-size:15px}
  .hero-actions .btn {flex:1;min-width:0}
  .fact-grid {grid-template-columns:1fr;gap:12px;padding:22px 0}
  .fact-grid div {gap:11px}
  .fact-grid strong {font-size:26px;min-width:26px}
  .fact-grid span {max-width:none}
  .landing-section {padding:52px 0}
  .section-head {margin-bottom:27px}
  .steps-grid,.feature-grid {grid-template-columns:1fr}
  .cta-band {flex-direction:column;align-items:flex-start;margin-bottom:56px}
  .cta-band .btn {width:100%}
  .site-foot {grid-template-columns:1fr;gap:14px}
  .site-foot small {grid-column:auto}
  .auth-shell {margin:20px 0 40px;border-radius:18px}
  .auth-story {padding:26px 22px}
  .auth-story-copy h1 {font-size:29px}
  .auth-card {padding:26px 22px}
}
