/* Shared styles for the marketing site + operator pages (signup/login/dashboard).
   The jukebox surfaces (display/request/admin) keep their own inline styles.

   Design system: "the title strip" — a home bar at night. Every structural unit
   is a jukebox selection card, stamped with a letter-number code (DM Mono), lit
   by an amber glow. tunejar palette: amber leads, coral is the single accent,
   ink anchors the dark, cream carries text. (Brand guide v1.0.) */

:root{
  --espresso:#1F1B18; --panel:#272019; --ink:#FAEEDA;      /* Ink base · Cream text */
  --muted:#9A8F86; --faint:rgba(250,238,218,.34);          /* Stone secondary */
  --marquee:#EF9F27; --marquee-2:#E08A1E;  /* Amber — the signature (leads) */
  --coral:#D85A30; --neon:#D85A30;         /* Coral — the single accent moment */
  --line:rgba(250,238,218,.12); --line-2:rgba(250,238,218,.07);
  --ok:#5fd6a2; --no:#ff6a6a;
  --code-bg:rgba(239,159,39,.13); --code-line:rgba(239,159,39,.4);
}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{
  background:var(--espresso);color:var(--ink);
  font-family:"Hanken Grotesque",system-ui,sans-serif;
  min-height:100dvh;-webkit-font-smoothing:antialiased;line-height:1.55;
  position:relative;overflow-x:hidden;
  /* warm amber light spilling from the top, faint coral pool lower down */
  background-image:
    radial-gradient(72% 48% at 50% -6%, rgba(239,159,39,.16), transparent 62%),
    radial-gradient(60% 40% at 82% 12%, rgba(224,138,30,.10), transparent 60%),
    radial-gradient(90% 60% at 50% 116%, rgba(216,90,48,.08), transparent 60%);
  background-attachment:fixed;
}
/* whisper of grain so the dark never reads as flat digital black */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body>*{position:relative;z-index:1}
a{color:inherit}

.k{font-family:"DM Mono",monospace;font-size:12px;letter-spacing:.34em;
  text-transform:uppercase;color:var(--marquee)}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
.narrow{max-width:460px;margin:0 auto;padding:0 22px}

/* ---- nav ---------------------------------------------------------------- */
.nav{display:flex;align-items:center;justify-content:space-between;padding:20px 0;gap:12px 16px;flex-wrap:wrap}
.brand{text-decoration:none;color:var(--ink);display:inline-flex;align-items:center;line-height:0}
.brand img{height:30px;width:auto;display:block}
.nav-links{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nav-links a{text-decoration:none;color:var(--muted);font-size:14px;font-weight:600;
  padding:8px 12px;border-radius:9px;transition:color .15s}
.nav-links a:hover{color:var(--ink)}
/* buttons in the nav keep their own text colour (else .nav-links a wins on specificity) */
.nav-links a.btn{color:#1F1B18}
.nav-links a.btn.ghost{color:var(--ink)}

/* ---- buttons ------------------------------------------------------------ */
.btn{display:inline-block;text-decoration:none;text-align:center;border:none;cursor:pointer;
  font-family:inherit;font-weight:700;font-size:15px;color:#1F1B18;border-radius:10px;
  padding:13px 22px;letter-spacing:.01em;
  background:linear-gradient(135deg,var(--marquee),var(--marquee-2));
  box-shadow:0 8px 26px -12px rgba(239,159,39,.7);transition:transform .12s,box-shadow .2s}
.btn:hover{box-shadow:0 12px 34px -12px rgba(239,159,39,.85);transform:translateY(-1px)}
.btn:active{transform:translateY(0) scale(.99)}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line);box-shadow:none}
.btn.ghost:hover{border-color:var(--code-line);color:var(--marquee)}
.btn.block{display:block;width:100%}
.btn.sm{padding:9px 15px;font-size:14px}
:focus-visible{outline:2px solid var(--marquee);outline-offset:2px;border-radius:6px}

/* ---- hero --------------------------------------------------------------- */
.hero{padding:clamp(40px,8vmin,104px) 0 clamp(30px,5vmin,60px)}
.hero h1{font-family:"Anton",sans-serif;font-weight:400;line-height:.96;letter-spacing:0;
  font-size:clamp(42px,7.4vw,88px);margin:16px 0 20px;text-wrap:balance}
.hero p.lead{color:var(--muted);font-size:clamp(16px,2.1vw,20px);max-width:52ch;margin:0 0 20px}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}

/* ---- sections ----------------------------------------------------------- */
section{padding:clamp(40px,6vmin,80px) 0}
.sec-head{margin-bottom:30px}
.sec-title{font-family:"Anton",sans-serif;font-weight:400;font-size:clamp(30px,4.6vw,50px);
  letter-spacing:.005em;line-height:.98}
.sec-sub{color:var(--muted);font-size:16px;margin-top:10px;max-width:56ch}
.grid{display:grid;gap:14px}
/* intrinsically responsive — wraps without depending on breakpoints */
.cols-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.cols-2{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.hero-grid{display:grid;gap:clamp(28px,5vw,64px);align-items:center;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}

/* ---- the title strip (the signature structural unit) -------------------- */
.strip{
  position:relative;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  border:1px solid var(--line);border-radius:12px;padding:20px 20px 20px 20px;overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);transition:border-color .2s,transform .2s}
.strip::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--marquee),transparent);opacity:.5}
.strip:hover{border-color:var(--code-line);transform:translateY(-2px)}
.code{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:26px;
  padding:0 8px;font-family:"DM Mono",monospace;font-size:13px;font-weight:500;letter-spacing:.12em;
  color:var(--marquee);background:var(--code-bg);border:1px solid var(--code-line);border-radius:6px}
.strip h3{font-family:"Anton",sans-serif;font-weight:400;font-size:23px;letter-spacing:.01em;
  margin:14px 0 6px}
.strip p{color:var(--muted);font-size:15px}

/* card kept as an alias so operator pages (dashboard panels, pricing) inherit
   the strip treatment without markup churn */
.card{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.card h3{font-family:"Anton",sans-serif;font-weight:400;font-size:23px;letter-spacing:.01em;margin-bottom:6px}
.card p{color:var(--muted);font-size:15px}
.step-n{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:26px;padding:0 8px;
  font-family:"DM Mono",monospace;font-size:13px;letter-spacing:.12em;color:var(--marquee);
  background:var(--code-bg);border:1px solid var(--code-line);border-radius:6px}

/* ---- now-playing strip (hero showpiece) --------------------------------- */
.np{position:relative;border:1px solid var(--line);border-radius:16px;padding:18px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(239,159,39,.14), transparent 55%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06)}
.np-top{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.np-live{font-family:"DM Mono",monospace;font-size:12px;letter-spacing:.24em;color:var(--marquee);
  display:inline-flex;align-items:center;gap:7px}
.np-live::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--neon);
  box-shadow:0 0 10px var(--neon);animation:pulse 1.8s ease-in-out infinite}
.np-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
/* now-playing cover — a real album-art square with a warm colour halo (mirrors the app) */
.np-art{width:88px;height:88px;border-radius:10px;flex:none;display:block;overflow:hidden;
  box-shadow:0 10px 24px -10px rgba(0,0,0,.7), 0 0 42px -14px rgba(216,90,48,.55)}
.np-meta{min-width:0}
.np-title{font-family:"Anton",sans-serif;font-weight:400;font-size:clamp(24px,3.6vw,34px);
  line-height:1;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-artist{color:var(--muted);font-size:15px;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eq{display:inline-flex;align-items:flex-end;gap:3px;height:16px}
.eq span{width:3px;background:var(--marquee);border-radius:2px;animation:eq 1s ease-in-out infinite}
.eq span:nth-child(2){animation-delay:.15s}.eq span:nth-child(3){animation-delay:.3s}
.eq span:nth-child(4){animation-delay:.45s}.eq span:nth-child(5){animation-delay:.6s}
.np-prog{height:6px;border-radius:99px;background:rgba(250,238,218,.12);margin-top:16px;overflow:hidden}
.np-prog i{display:block;height:100%;width:38%;border-radius:99px;
  background:linear-gradient(90deg,var(--marquee),var(--marquee-2))}
.np-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;
  font-family:"DM Mono",monospace;font-size:12px;color:var(--faint)}
.np-req{color:var(--ink);font-weight:600}
.np-req b{color:var(--neon)}
/* up-next strips peeking behind the showpiece */
.np-queue{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.np-q{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;
  background:rgba(255,255,255,.03);border:1px solid var(--line-2)}
.np-q .qart{width:42px;height:42px;border-radius:8px;flex:none;display:block}
.np-q .qt{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.np-q .qa{color:var(--muted);font-size:13px}

/* ---- faq ---------------------------------------------------------------- */
.faq details{background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid var(--line);border-radius:10px;padding:2px 18px;margin-bottom:10px}
.faq summary{cursor:pointer;padding:16px 0;font-weight:600;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--marquee);font-family:"DM Mono",monospace;
  font-weight:500;font-size:20px;line-height:1;transition:transform .2s}
.faq details[open] summary::after{content:"–"}
.faq p{color:var(--muted);padding:0 0 16px;font-size:15px}

/* ---- footer ------------------------------------------------------------- */
.footer{border-top:1px solid var(--line);margin-top:40px;padding:28px 0;color:var(--muted);
  font-size:14px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer a{color:var(--muted);text-decoration:none;margin-left:16px}
.footer a:hover{color:var(--marquee)}

/* ---- auth + dashboard forms --------------------------------------------- */
.panel{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid var(--line);border-radius:16px;padding:26px;margin-top:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.panel h1{font-family:"Anton",sans-serif;font-weight:400;font-size:38px;letter-spacing:.01em;margin-bottom:4px}
.panel .sub{color:var(--muted);font-size:15px;margin-bottom:20px}
label{display:block;font-size:13px;color:var(--muted);margin:14px 0 7px}
input[type=text],input[type=email],input[type=password]{width:100%;background:#17130F;
  border:1px solid var(--line);color:var(--ink);border-radius:10px;padding:14px 16px;
  font-size:16px;font-family:inherit;outline:none;transition:border-color .15s}
input:focus{border-color:var(--marquee)}
.msg{font-size:14px;margin-top:14px;min-height:18px}
.msg.err{color:var(--no)} .msg.ok{color:var(--ok)}
.alt{text-align:center;color:var(--muted);font-size:14px;margin-top:18px}
.alt a{color:var(--marquee);text-decoration:none}

/* ---- social login ------------------------------------------------------- */
/* .btn.gbtn (not just .gbtn) so the flex centering beats .btn.block's
   display:block — otherwise the Google logo drops to the text baseline. */
.gbtn,.btn.gbtn{display:flex;align-items:center;justify-content:center;gap:10px}
.gbtn svg{flex:none}
.or{display:flex;align-items:center;gap:12px;color:var(--faint);font-size:13px;margin:16px 0}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}

/* ---- dashboard venue list ----------------------------------------------- */
.venue-row{display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:#17130F;border:1px solid var(--line);border-radius:12px;padding:14px 16px;
  margin-bottom:12px;flex-wrap:wrap}
.venue-row .vn{font-weight:700}
.venue-row .vmeta{font-size:13px;color:var(--muted);font-family:"DM Mono",monospace}
.venue-row .vlinks{display:flex;gap:8px;flex-wrap:wrap}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-family:"DM Mono",monospace;
  padding:4px 10px;border-radius:99px;border:1px solid var(--line)}
.dot{width:8px;height:8px;border-radius:50%}.dot.g{background:var(--ok)}.dot.r{background:var(--no)}
.hidden{display:none!important}

/* ---- mobile ------------------------------------------------------------- */
.grid>*{min-width:0}
@media (max-width:640px){
  .nav{flex-wrap:wrap;gap:10px}
  .brand img{height:24px}
  .nav-links{width:100%;gap:2px}
  .nav-links a{padding:7px 9px;font-size:13px}
  .nav-links a.btn.sm{margin-left:auto}
  .hero{padding-top:28px}
  .hero h1{font-size:clamp(40px,12vw,64px)}
  .np-title{font-size:24px}
}

/* ---- motion ------------------------------------------------------------- */
@keyframes eq{0%,100%{height:5px}50%{height:16px}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.reveal{animation:rise .6s cubic-bezier(.2,.7,.2,1) both}
.reveal:nth-child(2){animation-delay:.07s}
.reveal:nth-child(3){animation-delay:.14s}
.reveal:nth-child(4){animation-delay:.21s}
.reveal:nth-child(5){animation-delay:.28s}
.reveal:nth-child(6){animation-delay:.35s}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important;transition:none!important}
}
