/* Onboarding polish: signup/login split screen, start screen, guided brief. Loaded after app.css. */
:root{--ring:0 0 0 4px rgba(17,17,17,.07);--hair:#e7e8ec}

/* ---------- shared refinements ---------- */
h1{font-size:clamp(34px,4.4vw,48px);letter-spacing:-.04em;font-weight:590;line-height:1.05}
h2{font-size:24px;letter-spacing:-.03em}
.lead{font-size:17px;line-height:1.5}
.card{border-radius:28px;padding:36px;border-color:rgba(16,24,40,.07);box-shadow:0 1px 2px rgba(16,24,40,.04),0 24px 60px -30px rgba(16,24,40,.22)}
.field{margin-top:20px}
.field label,.prefs > label{display:block;font-size:13.5px;font-weight:550;color:#3b3e45;margin:0 0 8px;letter-spacing:-.005em}
.prefs > label{margin-top:26px}.prefs > label:first-child{margin-top:0}
input[type=text],input[type=email],input[type=password],input[type=url],input[type=tel]{height:54px;border-radius:15px;border-color:var(--hair);padding:0 17px;font-size:16px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
textarea{border-radius:15px;border-color:var(--hair);padding:15px 17px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
input::placeholder,textarea::placeholder{color:#b3b7c0}
input:focus,textarea:focus{border-color:#111;box-shadow:var(--ring)}
.btn.xl{height:56px;font-size:16.5px;padding:0 28px;letter-spacing:-.01em}
.btn{box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.2),0 14px 28px -14px rgba(0,0,0,.6)}
.btn.ghost{box-shadow:0 0 0 1px var(--hair),0 1px 2px rgba(16,24,40,.05)}
.kicker{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:550;color:var(--body);background:#fff;border:1px solid var(--hair);border-radius:999px;padding:6px 13px 6px 10px;margin-bottom:22px;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.kicker i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(22,163,74,.15)}
.center{text-align:center}
.hello{margin:10px 0 30px}
.hello .lead{margin-top:12px}

/* ---------- signup / login: form left, dark showcase right ---------- */
body.authpage{background:#fff}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);min-height:100vh}
.formside{display:flex;flex-direction:column;padding:30px clamp(24px,5vw,72px) 28px}
.formside .logo{align-self:flex-start}
.formbox{width:100%;max-width:440px;margin:auto;padding:36px 0}
.formbox > *{animation:lift .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes lift{from{transform:translateY(10px)}to{transform:none}}
.formbox > *:nth-child(2){animation-delay:.04s}.formbox > *:nth-child(3){animation-delay:.08s}.formbox > *:nth-child(4){animation-delay:.12s}.formbox > *:nth-child(5){animation-delay:.16s}
.formbox h1{font-size:clamp(34px,3.6vw,44px)}
.formbox .lead{margin-top:12px}
.formbox form{margin-top:30px}
.formbox form .btn{margin-top:26px}
.formbox .alt{font-size:14.5px;color:var(--body);text-align:center;margin-top:22px}
.formbox .alt a{color:var(--ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.fine{font-size:12.5px;color:var(--mute);text-align:center}

.side{position:relative;margin:12px;border-radius:30px;overflow:hidden;color:#fff;background:#0b0c10;display:flex;align-items:center;
  background-image:radial-gradient(70% 55% at 85% 0%,rgba(96,132,255,.38),transparent 70%),radial-gradient(60% 50% at 0% 100%,rgba(140,104,255,.28),transparent 70%),linear-gradient(180deg,#0e1016,#08090c)}
.side::before{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:44px 44px;mask-image:radial-gradient(80% 70% at 50% 30%,#000,transparent);-webkit-mask-image:radial-gradient(80% 70% at 50% 30%,#000,transparent)}
.sidein{position:relative;width:100%;max-width:560px;margin:0 auto;padding:clamp(32px,5vw,64px) clamp(28px,4vw,56px)}
.sidein > *{animation:lift .6s cubic-bezier(.2,.8,.2,1) both}
.sidein > *:nth-child(2){animation-delay:.08s}.sidein > *:nth-child(3){animation-delay:.16s}
.side h2{font-size:clamp(30px,3.2vw,42px);line-height:1.06;letter-spacing:-.04em;font-weight:580}
.side h2 em{font-style:normal;color:rgba(255,255,255,.55)}
.sideframe{margin-top:30px;border-radius:18px;overflow:hidden;aspect-ratio:16/9;background:#000;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 40px 80px -30px rgba(0,0,0,.9)}
.sideframe video{width:100%;height:100%;object-fit:cover}
.path{list-style:none;margin-top:34px;display:grid;gap:0}
.path > li{position:relative;display:flex;gap:16px;padding-bottom:22px}
.path > li:last-child{padding-bottom:0}
.path > li::before{content:"";position:absolute;left:14px;top:32px;bottom:2px;width:1px;background:rgba(255,255,255,.16)}
.path > li:last-child::before{display:none}
.path i{flex:none;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:600;color:rgba(255,255,255,.7);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);background:rgba(255,255,255,.04)}
.path li.now i{background:#fff;color:#0b0c10;box-shadow:0 0 0 5px rgba(255,255,255,.12)}
.path b{display:block;font-size:15.5px;font-weight:600;letter-spacing:-.015em;line-height:29px}
.path span{display:block;font-size:14px;color:rgba(255,255,255,.58)}
.asks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.asks u{text-decoration:none;font-size:12.5px;font-weight:500;color:rgba(255,255,255,.86);background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);border-radius:999px;padding:4px 11px}
.mlogo{display:none;color:#fff}
/* Phones and narrow windows: the dark showcase becomes a compact header, the form slides up over it. */
@media (max-width:920px){
  .split{display:flex;flex-direction:column;min-height:100vh}
  .side{order:-1;margin:0;border-radius:0;display:block;flex:none}
  .sidein{max-width:520px;padding:22px 22px 58px}
  .mlogo{display:flex;margin-bottom:34px}
  .formside > .logo{display:none}
  .side h2{font-size:clamp(30px,8.4vw,40px)}
  .sideframe{display:none}
  .path{margin-top:28px;grid-template-columns:repeat(4,1fr);gap:0}
  .path > li{flex-direction:column;align-items:center;gap:9px;padding:0;text-align:center}
  .path > li::before{left:calc(50% + 21px);right:calc(-50% + 21px);top:14px;bottom:auto;width:auto;height:1px}
  .path span,.path .asks{display:none}
  .path b{font-size:0;line-height:1}
  .path b::after{content:attr(data-s);font-size:12.5px;font-weight:550;letter-spacing:0;color:rgba(255,255,255,.6)}
  .path li.now b::after{color:#fff}
  .formside{position:relative;flex:1;margin-top:-30px;background:#fff;border-radius:28px 28px 0 0;padding:6px 22px 26px;box-shadow:0 -20px 40px -20px rgba(0,0,0,.35)}
  .formbox{max-width:520px;padding:28px 0 26px;margin:0 auto}
  .formbox h1{font-size:32px}
  .kicker{display:none}
}

/* ---------- start screen: steps beside the offer ---------- */
.startgrid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px;align-items:start}
.startgrid .card + .card{margin-top:0}
#root:has(.startgrid){max-width:1040px}
.card.start{padding:36px}
.card.offer{padding:14px 14px 26px;position:sticky;top:20px}
.oframe{border-radius:18px;overflow:hidden;aspect-ratio:16/9;background:#0b0c10}
.oframe video{width:100%;height:100%;object-fit:cover}
.offer h2{margin:22px 12px 0;font-size:21px}
.inc{list-style:none;margin:14px 12px 24px;display:grid;gap:10px}
.inc li{position:relative;padding-left:27px;font-size:14.5px;color:#3b3e45}
.inc li::before{content:"";position:absolute;left:0;top:2px;width:17px;height:17px;border-radius:50%;background:#111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}
.offer .btn{width:calc(100% - 24px);margin:0 12px}
.offer .hint{margin-top:14px}
.flow b{font-size:17px}.flow p{font-size:15px}.flow ul li{font-size:15px}
.flow > li{padding-bottom:30px}
@media (max-width:900px){.startgrid{grid-template-columns:1fr}.card.offer{position:static;order:-1}}

/* ---------- guided brief ---------- */
.card.wizard{padding:0;overflow:hidden}
.wtop{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:26px 36px 0}
.wcount{font-size:13.5px;color:var(--mute);font-variant-numeric:tabular-nums}.wcount b{color:var(--ink);font-weight:600}
.wsteps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:22px 36px 0}
.wsteps li{font-size:13px;font-weight:550;color:var(--mute);transition:color .25s}
.wsteps li i{display:block;height:4px;border-radius:2px;background:#e9ebef;margin-bottom:10px;position:relative;overflow:hidden}
.wsteps li i::after{content:"";position:absolute;inset:0;background:#111;border-radius:2px;transform:scaleX(0);transform-origin:0 50%;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.wsteps li.now,.wsteps li.done{color:var(--ink)}
.wsteps li.now i::after{transform:scaleX(.5)}.wsteps li.done i::after{transform:none}
.wsteps li.done{cursor:pointer}
.wizard form{padding:34px 36px 0}
.pane{animation:rise .45s cubic-bezier(.2,.8,.2,1) both;min-height:300px}
.pane h2{font-size:clamp(24px,3vw,30px);letter-spacing:-.035em;line-height:1.12}
.pane .lead{margin:10px 0 28px;font-size:16.5px}
.pane .field:first-of-type{margin-top:0}
.wizard .msg{margin:18px 0 0}
.wnav{display:flex;align-items:center;gap:12px;margin:30px -36px 0;padding:20px 36px;border-top:1px solid var(--line);background:#fcfcfd}
.wnav .btn{margin:0}
.wnav .btn.ghost{height:56px;padding:0 24px}
.drop{border:1.5px dashed #d3d6dd;border-radius:20px;padding:44px 20px;background:linear-gradient(180deg,#fdfdfe,#f8f9fb)}
.drop .dicon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:16px;background:#fff;color:#111;box-shadow:0 0 0 1px var(--hair),0 8px 18px -10px rgba(16,24,40,.3)}
.drop .dicon svg{width:24px;height:24px}
.drop b{font-size:16.5px}
.thumbs{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:12px;margin-top:16px}
.thumb{border-radius:14px}
.review{margin-top:26px;padding:20px 22px;border-radius:18px;background:#f7f8fa;border:1px solid var(--line)}
.review h3{font-size:13.5px;font-weight:550;color:var(--mute);letter-spacing:0}
.review dl{margin-top:10px}
.opt{border-radius:16px;padding:16px 18px;border-color:var(--hair);box-shadow:0 1px 2px rgba(16,24,40,.04)}
.vo{border-radius:20px;padding:22px;background:#f8f9fb}
.voice{border-radius:16px;border-color:var(--hair)}
@media (max-width:640px){
  .card{padding:22px;border-radius:22px}
  .wtop{padding:20px 20px 0}.wsteps{padding:18px 20px 0;gap:6px}.wsteps li span{display:none}.wsteps li.now span{display:block;white-space:nowrap}
  .wizard form{padding:26px 20px 0}
  .wnav{margin:26px -20px 0;padding:16px 20px}
  .wnav .next,.wnav .send{flex:1}
  .pane{min-height:0}
  .drop{padding:32px 16px}
}

[hidden]{display:none!important}

/* ---------- guarantee, consent, revisions ---------- */
.gseal{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f0fdf4;color:#15803d;box-shadow:inset 0 0 0 1px #bbf7d0}
.gseal svg{width:23px;height:23px}
.gseal.sm{width:34px;height:34px;border-radius:11px}.gseal.sm svg{width:18px;height:18px}
.gline{display:flex;align-items:center;gap:12px;margin-top:22px;padding:13px 15px;border-radius:15px;background:#f7faf8;border:1px solid #dcefe2;font-size:14px;color:#3b3e45;line-height:1.4}
.gline b{color:var(--ink);font-weight:600}
.consent{font-size:12.5px;color:var(--mute);text-align:center;margin-top:16px;line-height:1.5}
.consent a,.fine a,.hint a{text-decoration:underline;text-underline-offset:2px}
.consent a:hover,.fine a:hover{color:var(--ink)}
.revbox{display:flex;gap:16px;margin-top:24px;padding:20px;border-radius:20px;background:#f7faf8;border:1px solid #dcefe2}
.revtxt{flex:1;min-width:0}
.revtxt b{display:block;font-size:16px;font-weight:600;letter-spacing:-.015em}
.revtxt p{font-size:14.5px;color:var(--body);margin-top:3px}
.revtxt .askrev{margin-top:14px}
.revform{margin-top:14px}.revform textarea{background:#fff}.revform .row{margin-top:12px}
.revnote{margin-top:20px;padding:16px 18px;border-radius:16px;background:#eff6ff;border:1px solid #dbeafe}
.revnote b{display:block;font-size:13.5px;font-weight:600;color:#1d4ed8}
.revnote p{font-size:14.5px;color:#1e3a5f;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}
/* ---------- legal pages ---------- */
.legal{max-width:720px;padding-bottom:40px}
.legal h1{margin-top:18px}
.legal .updated{font-size:13.5px;color:var(--mute);margin:14px 0 34px}
.legal h2{font-size:19px;letter-spacing:-.02em;margin:34px 0 10px}
.legal p,.legal li{font-size:16px;color:#3b3e45;line-height:1.65}
.legal p + p{margin-top:12px}
.legal ul,.legal ol{margin:10px 0 0 22px;display:grid;gap:7px}
.legal a{text-decoration:underline;text-underline-offset:3px;color:var(--ink)}
.legal b{color:var(--ink);font-weight:600}
.gcard{display:flex;gap:16px;align-items:flex-start;padding:22px;border-radius:22px;background:#f7faf8;border:1px solid #dcefe2;margin-bottom:8px}
.gcard b{font-size:18px;letter-spacing:-.02em}.gcard p{margin-top:4px;font-size:15.5px}
.legalnav{display:flex;gap:22px;flex-wrap:wrap;margin-top:52px;padding-top:24px;border-top:1px solid var(--line);font-size:14px}
.legalnav a{color:var(--body);text-decoration:none}.legalnav a:hover{color:var(--ink)}
@media (max-width:520px){
  .revbox{flex-direction:column;gap:12px;padding:18px}
  .revtxt .askrev,.revform .btn{width:100%}
  .gline{align-items:flex-start}
  .gcard{flex-direction:column;gap:12px}
}

/* music moods */
.moods{margin-top:10px}
.moods .opt{padding:13px 14px;text-align:left}
@media (max-width:640px){.seg.three.moods{grid-template-columns:1fr 1fr}.seg.three.moods .opt{display:block}}

.opt-tag{font-size:14px;font-weight:550;color:var(--mute);letter-spacing:0;margin-left:8px;vertical-align:middle;background:#f1f2f4;border-radius:999px;padding:4px 10px}
