/* ── HubLive global styles ─────────────────────────────────────────────── */

:root{
  --bg: oklch(0.11 0.005 270);
  --bg-1: oklch(0.135 0.006 270);
  --bg-2: oklch(0.16 0.007 270);
  --bg-3: oklch(0.20 0.008 270);
  --line: oklch(1 0 0 / 0.07);
  --line-2: oklch(1 0 0 / 0.12);
  --fg: oklch(0.97 0.003 270);
  --fg-2: oklch(0.78 0.005 270);
  --fg-3: oklch(0.58 0.008 270);
  --fg-4: oklch(0.42 0.008 270);

  /* accent — overridden by tweaks */
  --acc: oklch(0.68 0.24 295);
  --acc-2: oklch(0.78 0.18 295);
  --acc-soft: oklch(0.68 0.24 295 / 0.16);
  --acc-line: oklch(0.68 0.24 295 / 0.32);

  --live: oklch(0.7 0.27 8);
  --live-soft: oklch(0.7 0.27 8 / 0.18);
  --green: oklch(0.78 0.18 152);
  --amber: oklch(0.84 0.17 78);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1280px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "JetBrains Mono", "SF Mono", monospace;
}

*{ box-sizing: border-box; }
html, body{ margin: 0; padding: 0; }
body{
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }

/* page-level ambient backgrounds */
.bg-grid{
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, oklch(1 0 0 / 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(1 0 0 / 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
}
.bg-glow{
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 8%, var(--acc-soft), transparent 70%),
    radial-gradient(50% 40% at 82% 16%, oklch(0.68 0.22 240 / 0.10), transparent 70%);
}

main{ position: relative; z-index: 1; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── signup forms ────────────────────────────────────────────────────── */
.form-error{
  grid-column: span 2;
  padding: 12px 14px;
  border-radius: 10px;
  background: oklch(0.7 0.27 8 / 0.12);
  border: 1px solid oklch(0.7 0.27 8 / 0.35);
  color: oklch(0.88 0.12 8);
  font-size: 13px;
  line-height: 1.5;
}
.field-error{
  font-size: 11px;
  color: oklch(0.78 0.18 8);
  font-family: var(--mono);
}
.slot-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.slot-btn{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--fg-2);
  font-size: 12px;
  font-family: var(--mono);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, color .15s;
}
.slot-btn:hover:not(:disabled){
  border-color: var(--acc-line);
  color: var(--fg);
}
.slot-btn.is-selected{
  border-color: var(--acc);
  background: var(--acc-soft);
  color: var(--acc-2);
}
.slot-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}
.niche-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.niche-chip{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--fg-2);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.niche-chip.is-selected{
  border-color: var(--acc);
  background: var(--acc-soft);
  color: var(--acc-2);
}
.signup-note{
  grid-column: span 2;
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
}
.signup-note b{ color: var(--fg); }

.signup-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 960px){
  .signup-layout{ grid-template-columns: 1fr; }
  .signup-experience{ position: static; }
}
.signup-experience{
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  position: sticky;
  top: 88px;
}
.signup-event-hero{
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--acc-soft), oklch(0.68 0.22 240 / 0.12));
  border: 1px solid var(--acc-line);
  margin-bottom: 18px;
}
.signup-event-hero h3{
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.signup-event-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.signup-structure-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0 18px;
}
@media (max-width: 560px){
  .signup-structure-grid{ grid-template-columns: 1fr; }
}
.signup-structure-item{
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.signup-structure-item strong{
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--fg);
}
.signup-structure-item span{
  font-size: 12px;
  line-height: 1.45;
  color: var(--fg-3);
}
.signup-benefits{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.signup-benefits li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
}
.signup-benefits li svg{
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--acc-2);
}
.signup-highlight{
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
}
.signup-highlight.is-sp{
  border-color: var(--acc-line);
  background: var(--acc-soft);
}
.signup-highlight.is-remote{
  border-color: oklch(0.78 0.18 152 / 0.35);
  background: oklch(0.78 0.18 152 / 0.08);
}
.signup-form-shell{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 28px 24px;
}

/* ── multi-page layouts ──────────────────────────────────────────────── */
.page-hero{
  padding-bottom: clamp(24px, 4vw, 40px);
}
.page-hero-copy{
  max-width: 880px;
}
.page-showcase-section{
  padding: clamp(28px, 5vw, 48px) 0 clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.page-showcase-head{
  max-width: 56ch;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.page-benefits-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 860px){
  .page-benefits-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .page-benefits-grid{ grid-template-columns: 1fr; }
}
.page-benefit-card{
  padding: 20px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.page-benefit-card .ic{
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--acc-soft);
  color: var(--acc-2);
  margin-bottom: 12px;
}
.page-benefit-card h4{ margin: 0 0 8px; font-size: 16px; }
.page-benefit-card p{ margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.page-steps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 920px;
}
@media (max-width: 720px){ .page-steps{ grid-template-columns: 1fr; } }
.page-step{
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.page-step-n{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--acc-2);
  padding-top: 2px;
}
.page-step h4{ margin: 0 0 6px; font-size: 15px; }
.page-step p{ margin: 0; font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.page-split{
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}
@media (max-width: 960px){ .page-split{ grid-template-columns: 1fr; } }
.page-dual-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px){ .page-dual-grid{ grid-template-columns: 1fr; } }
.page-cta-band{
  padding: clamp(48px, 8vw, 80px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-cta-inner{
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.page-cta-inner .lead{ margin: 16px auto 0; text-align: center; }

.showcase-page{ margin-top: 0; }
.showcase-page .showcase-frame{ min-width: 0; width: 100%; max-width: 100%; }
.dash-kpi{ grid-column: span 4; }
.dash-panel-wide{ grid-column: span 8; }
.dash-panel-side{ grid-column: span 4; }
.dash-panel-live{ grid-column: span 8; padding: 0; overflow: hidden; }
.chip-active{ background: var(--bg-3); color: var(--fg); }
.showcase-toolbar-live{ flex-shrink: 0; }
.showcase-updated{ font-size: 12px; margin-top: 2px; }
.panel-h-meta{ font-size: 12px; }
.showcase-live{
  position: relative;
  aspect-ratio: 16 / 8;
  min-height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, oklch(0.18 0.04 295), oklch(0.10 0.02 240));
}
.showcase-live-chip{ font-size: 11px; }
.showcase-live-product{
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 90px);
  background: oklch(0.13 0.008 270 / 0.85);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.showcase-live-thumb{
  width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, oklch(0.5 0.18 30), oklch(0.4 0.16 350));
  border: 1px solid var(--line-2);
}
.showcase-live-label{ font-size: 12px; color: var(--fg-3); font-family: var(--mono); display: block; }
.showcase-live-price{ font-size: 12px; color: var(--acc-2); font-family: var(--mono); }
.showcase-live-cart{ margin-left: auto; flex-shrink: 0; }
.showcase-live-stats{
  position: absolute; right: 14px; top: 48px; bottom: 14px;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end; justify-content: flex-end;
}
.showcase-live-stat{
  background: oklch(0.13 0.008 270 / 0.7);
  border: 1px solid var(--line-2);
  border-radius: 99px; padding: 5px 10px; font-size: 12px; font-family: var(--mono);
}
.showcase-campaigns{ display: flex; flex-direction: column; gap: 8px; }
.showcase-campaign-head{ display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; gap: 8px; }
.showcase-campaign-bar{ height: 4px; background: var(--bg-3); border-radius: 99px; overflow: hidden; }
.showcase-campaign-bar > div{ height: 100%; background: linear-gradient(90deg, var(--acc), var(--acc-2)); }
.toast-body{ display: flex; flex-direction: column; line-height: 1.2; }
.toast-body b{ font-size: 12px; }
.nav-link{ cursor: pointer; }

/* ── WhatsApp flutuante ──────────────────────────────────────────────── */
.script-automation-section{background:var(--bg-2);border-block:1px solid var(--line);padding:76px 0}.script-automation-layout{display:grid;gap:32px;align-items:start}.script-automation-steps{display:grid;gap:10px;margin-top:26px}.script-automation-steps div{display:flex;align-items:center;gap:12px;color:var(--fg-2);font-size:14px}.script-automation-steps b{color:var(--acc);font-family:var(--mono);font-size:12px}.script-automation-note{display:flex;gap:8px;align-items:flex-start;margin:26px 0 0;color:var(--fg-2);font-size:13px;line-height:1.5}.script-automation-note svg{color:var(--acc);flex:0 0 auto}.script-automation-form{display:grid;gap:14px;background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 18px 42px rgba(22,28,38,.06)}.script-automation-form label{display:grid;gap:7px;color:var(--fg-2);font-size:13px;font-weight:600}.script-automation-form input:not([type=checkbox]){width:100%;height:45px;background:var(--bg-2);border:1px solid var(--line);border-radius:9px;padding:0 12px;color:var(--fg);font:inherit}.script-automation-form input:focus{outline:2px solid var(--acc-soft);border-color:var(--acc)}.script-platform-toggle{display:flex;gap:8px}.script-platform-toggle button{height:34px;padding:0 13px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--fg-2);cursor:pointer}.script-platform-toggle .is-selected{background:var(--acc);border-color:var(--acc);color:#fff}.script-consent{grid-template-columns:18px 1fr;align-items:start;font-size:12px!important;font-weight:400!important;line-height:1.45}.script-consent input{accent-color:var(--acc);margin-top:2px}.script-whatsapp-cta{justify-content:center;text-decoration:none}.script-automation-form small{color:var(--fg-3);font-size:11px;line-height:1.4}@media (min-width:760px){.script-automation-layout{grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:72px}.script-automation-section{padding:100px 0}}
.wa-float{
  position: fixed;
  right: clamp(16px, 3vw, 24px);
  bottom: clamp(16px, 3vw, 24px);
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(145deg, oklch(0.72 0.19 152), oklch(0.58 0.16 152));
  border: 1px solid oklch(0.78 0.18 152 / 0.45);
  box-shadow:
    0 10px 32px oklch(0.58 0.16 152 / 0.35),
    inset 0 1px 0 oklch(1 0 0 / 0.25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover{
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 14px 40px oklch(0.58 0.16 152 / 0.45),
    inset 0 1px 0 oklch(1 0 0 / 0.25);
  color: white;
}
.wa-float:focus-visible{
  outline: 2px solid oklch(0.78 0.18 152);
  outline-offset: 3px;
}

/* ── shared atoms ─────────────────────────────────────────────────────── */

.eyebrow{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .dot{
  width: 6px; height: 6px; border-radius: 99px; background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
}

.h-display{
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
.h-display em{
  font-style: normal;
  background: linear-gradient(95deg, var(--acc-2), var(--acc) 60%, oklch(0.78 0.18 320));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.h-section{
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h-card{
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 500;
  margin: 0;
}
.lead{
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.muted{ color: var(--fg-3); }
.mono{ font-family: var(--mono); }

/* btn */
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover{ background: var(--acc); color: white; border-color: var(--acc);
  box-shadow: 0 6px 30px var(--acc-soft); }
.btn-acc{
  background: var(--acc);
  color: white;
  border-color: var(--acc);
  box-shadow: 0 6px 24px var(--acc-soft), inset 0 1px 0 oklch(1 0 0 / 0.25);
}
.btn-acc:hover{ transform: translateY(-1px); box-shadow: 0 10px 36px var(--acc-soft); }
.btn-ghost{
  background: transparent;
  color: var(--fg);
  border-color: var(--line-2);
}
.btn-ghost:hover{ background: var(--bg-2); border-color: oklch(1 0 0 / 0.2); }
.btn-sm{ padding: 7px 12px; font-size: 13px; }

/* card */
.card{
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
}
.card-glass{
  background: linear-gradient(180deg, oklch(0.18 0.01 270 / 0.6), oklch(0.13 0.008 270 / 0.6));
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--r-lg);
}

.divider{ height: 1px; background: var(--line); margin: 0; border: 0; }

.chip{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-2);
}
.chip-acc{
  background: var(--acc-soft);
  border-color: var(--acc-line);
  color: var(--acc-2);
}

.live-pill{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 99px;
  background: var(--live-soft);
  border: 1px solid oklch(0.7 0.27 8 / 0.35);
  color: oklch(0.85 0.18 8);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.live-pill::before{
  content:""; width: 6px; height: 6px; border-radius: 99px;
  background: var(--live); box-shadow: 0 0 8px var(--live);
  animation: pulse 1.6s infinite;
}
@keyframes pulse{ 0%,100%{ opacity: 1; transform: scale(1); } 50%{ opacity: .55; transform: scale(.85); } }

/* nav */
.nav{
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  background: oklch(0.11 0.005 270 / 0.7);
  transition: border-color .25s ease;
}
.nav.scrolled{ border-bottom-color: var(--line); }
.nav-inner{
  display: flex; align-items: center; gap: 24px;
  height: 64px;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand{ display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.012em; font-size: 16px; }
.brand-mark{
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--acc), oklch(0.55 0.24 320));
  position: relative;
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.12) inset, 0 4px 14px var(--acc-soft);
}
.brand-mark::after{
  content:""; position: absolute; inset: 5px; border-radius: 3px;
  background: oklch(1 0 0 / 0.85);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateX(2px);
}
.nav-links{
  display: flex; gap: 6px;
}
.nav-link{
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 14px;
  color: var(--fg-2);
  cursor: pointer;
}
.nav-link:hover{ background: var(--bg-2); color: var(--fg); }
.nav-link.active{ background: var(--bg-2); color: var(--fg); }

/* sections */
section{ padding: clamp(60px, 9vw, 130px) 0; position: relative; }
section + section{ border-top: 1px solid var(--line); }

.section-head{
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 56px;
  max-width: 720px;
}

/* hero stage */
.hero{
  padding-top: clamp(40px, 7vw, 90px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.hero-copy{ max-width: 880px; }
.hero-cta{ display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta{
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 36px;
  color: var(--fg-3);
  font-size: 13px;
}
.hero-meta b{ color: var(--fg); font-weight: 500; }
.hero-meta strong{ font-variant-numeric: tabular-nums; }

/* hero showcase (big dashboard mock) */
.showcase{
  margin-top: clamp(40px, 6vw, 72px);
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}
.showcase-frame{
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  box-shadow:
    0 0 0 1px oklch(1 0 0 / 0.04) inset,
    0 60px 140px oklch(0 0 0 / 0.55),
    0 0 80px var(--acc-soft);
  overflow: hidden;
}
.showcase-toolbar{
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: oklch(0.13 0.006 270 / 0.7);
}
.dots{ display: flex; gap: 6px; }
.dots span{ width: 11px; height: 11px; border-radius: 99px; background: var(--bg-3); }
.dots span:nth-child(1){ background: oklch(0.7 0.18 25); }
.dots span:nth-child(2){ background: oklch(0.82 0.16 80); }
.dots span:nth-child(3){ background: oklch(0.78 0.18 152); }
.url{
  flex: 1; text-align: center;
  font-family: var(--mono); font-size: 12px; color: var(--fg-3);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 12px;
  max-width: 360px; margin: 0 auto;
}
.showcase-body{
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 580px;
}

/* sidebar in showcase */
.sb{
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  display: flex; flex-direction: column; gap: 4px;
  background: oklch(0.115 0.005 270);
}
.sb-section{
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-4); padding: 14px 10px 6px;
}
.sb-item{
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--fg-2);
  cursor: default;
}
.sb-item:hover{ background: var(--bg-2); }
.sb-item.active{ background: var(--bg-2); color: var(--fg); }
.sb-item svg{ width: 14px; height: 14px; opacity: 0.85; }
.sb-item .badge{
  margin-left: auto;
  background: var(--acc-soft); color: var(--acc-2);
  font-family: var(--mono); font-size: 10px; padding: 1px 6px; border-radius: 99px;
}

/* dashboard content */
.dash{
  padding: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: min-content;
  background:
    radial-gradient(80% 60% at 80% 0%, oklch(0.18 0.05 295 / 0.18), transparent 60%),
    var(--bg);
}
.dash-row{
  grid-column: span 12;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.dash-row h2{
  font-size: 17px; font-weight: 500; letter-spacing: -0.012em; margin: 0;
}
.dash-row .filters{ display: flex; gap: 6px; }

.kpi{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.kpi .label{ font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-4); display: flex; align-items: center; gap: 6px; }
.kpi .value{ font-size: 24px; font-weight: 500; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums; }
.kpi .delta{
  font-size: 12px; font-family: var(--mono); color: var(--green);
  display: inline-flex; align-items: center; gap: 4px;
}
.kpi .delta.neg{ color: oklch(0.78 0.16 25); }
.kpi-spark{
  margin-top: 6px; height: 28px; width: 100%;
}

.panel{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  min-width: 0;
}
.panel-h{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px; color: var(--fg-2);
}
.panel-h .l{ display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--fg); }

/* creator card */
.creator{
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
  cursor: default;
}
.creator:hover{
  border-color: var(--acc-line);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px oklch(0 0 0 / 0.35), 0 0 0 1px var(--acc-line);
}
.creator-top{ display: flex; gap: 12px; align-items: flex-start; }
.creator-av{
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  position: relative; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; color: var(--fg-2);
  overflow: hidden;
}
.creator-av .ring{
  position: absolute; inset: -2px; border-radius: 16px;
  background: conic-gradient(from 90deg, var(--acc), oklch(0.7 0.27 8), var(--acc));
  z-index: -1; opacity: 0; transition: opacity .25s;
}
.creator.live .creator-av .ring{ opacity: 1; }
.creator-name{ font-size: 15px; font-weight: 500; margin: 0; line-height: 1.1; }
.creator-handle{ font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.creator-niches{ display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.creator-niches .chip{ font-size: 11px; padding: 2px 8px; }
.creator-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.creator-stats .s{
  background: var(--bg-1);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.creator-stats .s .l{ font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); }
.creator-stats .s .v{ font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.creator-foot{
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.rating{ display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); font-size: 13px; }
.rating .stars{ color: var(--amber); font-size: 12px; }

/* how it works flow */
.flow{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
@media (min-width: 900px){
  .flow{ grid-template-columns: 1fr auto 1fr; align-items: stretch; }
}
.flow-track{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.flow-track h3{
  font-size: 22px; font-weight: 500; letter-spacing: -0.018em;
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 6px;
}
.flow-track .tag{
  font-family: var(--mono); font-size: 11px; padding: 2px 8px;
  border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); color: var(--fg-2);
}
.flow-step{
  display: flex; gap: 14px;
  padding: 14px 14px;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line);
}
.flow-step .n{
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; color: var(--fg-2);
  flex-shrink: 0;
}
.flow-step .ttl{ font-size: 14px; font-weight: 500; line-height: 1.2; }
.flow-step .sub{ font-size: 13px; color: var(--fg-3); margin-top: 3px; line-height: 1.4; }

.flow-link{
  display: flex; align-items: center; justify-content: center;
  position: relative;
  min-width: 80px;
}
.flow-link .pulse{
  width: 56px; height: 56px; border-radius: 99px;
  background: var(--acc-soft);
  border: 1px solid var(--acc-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--acc-2);
  position: relative;
}
.flow-link .pulse::before{
  content: ""; position: absolute; inset: -8px; border-radius: 99px;
  border: 1px solid var(--acc-line);
  animation: ring 2.4s infinite;
}
@keyframes ring{
  0%{ transform: scale(0.85); opacity: 1; }
  100%{ transform: scale(1.4); opacity: 0; }
}

/* differentiators grid */
.diff-grid{
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .diff-grid{ grid-template-columns: 1fr; } }
.diff-cell{
  background: var(--bg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.diff-cell .ic{
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--acc-2);
  margin-bottom: 4px;
}
.diff-cell h4{ font-size: 17px; font-weight: 500; letter-spacing: -0.012em; margin: 0; }
.diff-cell p{ color: var(--fg-3); margin: 0; font-size: 14px; line-height: 1.5; }

/* academy cards */
.acad-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){ .acad-grid{ grid-template-columns: 1fr; } }
.lesson{
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.lesson:hover{ transform: translateY(-2px); border-color: var(--line-2); }
.lesson-thumb{
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, oklch(0.22 0.06 295), oklch(0.16 0.03 240));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.lesson-thumb .play{
  width: 56px; height: 56px;
  border-radius: 99px;
  background: oklch(1 0 0 / 0.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid oklch(1 0 0 / 0.25);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.lesson-meta{
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.lesson-body{ padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.lesson-body h4{ font-size: 16px; font-weight: 500; margin: 0; line-height: 1.25; }
.lesson-body .by{ color: var(--fg-3); font-size: 13px; display: flex; gap: 6px; align-items: center; }

/* footer cta */
.cta-block{
  margin: 0 auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  background:
    radial-gradient(80% 100% at 50% 0%, var(--acc-soft), transparent 70%),
    linear-gradient(180deg, var(--bg-1), var(--bg));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::after{
  content:""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 100%, oklch(0.7 0.27 8 / 0.12), transparent 70%);
  pointer-events: none;
}
.cta-block h2{ position: relative; }
.cta-block p{ position: relative; }
.cta-block .hero-cta{ position: relative; justify-content: center; }

footer{
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  color: var(--fg-3);
  font-size: 13px;
}
footer .wrap{ display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .columns{ display: flex; gap: 48px; flex-wrap: wrap; }
footer .col{ display: flex; flex-direction: column; gap: 8px; }
footer .col h5{
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-4); margin: 0 0 6px; font-weight: 500;
}
footer .col a:hover{ color: var(--fg); }

/* utility for live activity toast */
.toast-stack{
  position: absolute;
  right: clamp(-8px, -2vw, 0px); bottom: 24px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 5;
  pointer-events: none;
}
.toast{
  background: oklch(0.16 0.008 270 / 0.85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  min-width: 240px;
  box-shadow: 0 10px 32px oklch(0 0 0 / 0.45);
  animation: toastIn .5s ease;
}
@keyframes toastIn{ from{ transform: translateY(8px); opacity: 0; } to{ transform: none; opacity: 1; } }
.toast .av{
  width: 28px; height: 28px; border-radius: 99px;
  background: linear-gradient(135deg, var(--acc), oklch(0.6 0.22 320));
  font-family: var(--mono); font-size: 11px; color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast b{ font-weight: 500; }
.toast .amt{ margin-left: auto; font-family: var(--mono); color: var(--green); font-size: 13px; }

/* ranking row */
.rank-row{
  display: grid;
  grid-template-columns: 24px 28px 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.rank-row:last-child{ border-bottom: 0; }
.rank-row .num{ font-family: var(--mono); color: var(--fg-4); font-size: 12px; }
.rank-row .av{
  width: 24px; height: 24px; border-radius: 99px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
}
.rank-row .nm{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rank-row .nm b{ font-weight: 500; font-size: 13px; }
.rank-row .nm span{ color: var(--fg-3); font-size: 11px; font-family: var(--mono); }
.rank-row .v{ font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--fg-2); }

/* filter chip group */
.filter-row{
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.filter-row .chip{ cursor: default; }
.filter-row .chip.on{ background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* highlights strip */
.strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 720px){ .strip{ grid-template-columns: repeat(2, 1fr); } }
.strip .cell{
  background: var(--bg);
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
}
.strip .cell .v{ font-size: 26px; font-weight: 500; letter-spacing: -0.018em; font-variant-numeric: tabular-nums; }
.strip .cell .l{ font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); }

/* responsive grid for creators */
.creators-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px){ .creators-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .creators-grid{ grid-template-columns: 1fr; } .showcase-body{ grid-template-columns: 1fr; } .sb{ display:none; } }

/* small chart helpers */
.bars{
  display: flex; gap: 4px; align-items: flex-end; height: 96px;
  padding: 8px 0;
}
.bars .b{
  flex: 1;
  background: linear-gradient(180deg, var(--acc), oklch(0.5 0.18 295));
  border-radius: 3px 3px 1px 1px;
  position: relative;
  opacity: 0.85;
}
.bars .b.live{
  background: linear-gradient(180deg, var(--live), oklch(0.55 0.22 8));
  box-shadow: 0 0 12px var(--live-soft);
  opacity: 1;
}

/* hero showcase composition (overlapping cards over the frame) */
.float-card{
  position: absolute;
  z-index: 6;
  background: oklch(0.16 0.008 270 / 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.55);
  font-size: 13px;
}

/* ── hamburger nav ───────────────────────────────────────────────────────── */
.nav-hamburger{
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 99px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
  flex-shrink: 0;
}
.nav-hamburger:hover{ background: var(--bg-2); border-color: oklch(1 0 0 / 0.2); }

.nav-mobile-menu{
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px var(--pad) 20px;
  border-top: 1px solid var(--line);
  background: oklch(0.11 0.005 270 / 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: slideDown .2s ease;
}
@keyframes slideDown{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
.nav-mobile-menu .nav-link{
  width: 100%; text-align: left; font-size: 16px; padding: 12px 14px;
}
.nav-mobile-actions{
  display: flex; gap: 8px; padding-top: 14px; margin-top: 6px;
  border-top: 1px solid var(--line);
}
.nav-mobile-actions .btn{ flex: 1; justify-content: center; }

/* ── responsive: nav ─────────────────────────────────────────────────────── */
@media (max-width: 720px){
  .nav-links{ display: none; }
  .nav-cta-secondary{ display: none; }
  .nav-hamburger{ display: flex; }
}

/* ── showcase responsive ──────────────────────────────────────────────── */
@media (max-width: 960px){
  .showcase-body{
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sb{
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 10px;
    gap: 4px;
  }
  .sb-section{ display: none; }
  .sb-item{ flex: 0 0 auto; font-size: 12px; padding: 6px 10px; }
  .dash{ padding: 14px; gap: 12px; }
  .dash-kpi,
  .dash-panel-wide,
  .dash-panel-side,
  .dash-panel-live{ grid-column: span 12; }
  .dash-row h2{ font-size: 15px; }
  .url{ max-width: 200px; font-size: 11px; }
  .showcase-frame{ min-width: 0; }
}

@media (max-width: 640px){
  .kpi .value{ font-size: 20px; }
  .showcase-live{ aspect-ratio: 16 / 10; min-height: 160px; }
  .showcase-live-stats{
    top: auto;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 46%;
  }
  .showcase-live-product{ max-width: calc(100% - 28px); }
}

/* ── toast: don't overflow viewport on mobile ───────────────────────────── */
@media (max-width: 860px){
  .toast-stack{
    right: 8px !important;
    left: auto;
    max-width: calc(100vw - 24px);
  }
  .toast{ min-width: 0; max-width: 300px; }
}

/* ── filter row: horizontal scroll on mobile ────────────────────────────── */
@media (max-width: 640px){
  .filter-row{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .filter-row::-webkit-scrollbar{ display: none; }
  .filter-row .chip{ flex-shrink: 0; }
}

/* ── creators grid mobile ───────────────────────────────────────────────── */
@media (max-width: 480px){
  .creators-grid{ grid-template-columns: 1fr; }
}

/* ── section head mobile ────────────────────────────────────────────────── */
@media (max-width: 640px){
  .section-head{ margin-bottom: 36px; }
  section{ padding: clamp(48px, 9vw, 130px) 0; }
}

/* ── strip: 2 cols on mobile always ────────────────────────────────────── */
@media (max-width: 480px){
  .strip{ grid-template-columns: repeat(2, 1fr); }
}

/* ── diff grid: 1 col on mobile, 2 on tablet ───────────────────────────── */
@media (min-width: 640px) and (max-width: 900px){
  .diff-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ── academy grid: 1 col on mobile ─────────────────────────────────────── */
@media (max-width: 640px){
  .acad-grid{ grid-template-columns: 1fr; }
}

/* ── footer mobile ───────────────────────────────────────────────────────── */
@media (max-width: 640px){
  footer .wrap{ flex-direction: column; gap: 32px; }
  footer .columns{ gap: 28px; }
}

/* ── cta block mobile ───────────────────────────────────────────────────── */
@media (max-width: 640px){
  .cta-block p{ text-align: center !important; }
  .hero-cta{ justify-content: center; }
}

/* ── hero copy mobile ───────────────────────────────────────────────────── */
@media (max-width: 480px){
  .hero-meta{ gap: 16px; }
  .hero-cta .btn{ flex: 1; justify-content: center; }
}
