/* ===================================================================
   Lecture Studio — "bold SaaS" design system
   One committed visual world (sunset gradient, heavyweight type,
   black pill buttons, oversized rounded cards) rather than a
   theme-adaptive system — colors are painted explicitly throughout.
=================================================================== */

:root{
  --pink-2: #FF2FA0;
  --pink:   #F52F86;
  --orange: #FF5B3D;
  --orange-2:#FF8A1E;
  --amber:  #E8A03A;   /* kept from the product's own caption highlight */

  --ink:      #0B0B0C;
  --ink-dim:  #5B5D63;
  --ink-faint:#8C8E93;

  --paper:   #FFFFFF;
  --paper-2: #F7F5F3;
  --cream:   #FFEBDA;
  --cream-2: #FFD9B8;
  --line:    #ECE8E4;

  --dark:   #0B0B0C;
  --dark-2: #18191C;

  --good: #17824F;
  --good-soft: #E3F4EA;
  --teal: #0E6E74;
  --teal-soft: #E1F3F2;

  --radius-s: 12px;
  --radius-m: 22px;
  --radius-l: 34px;
  --shadow-card: 0 30px 70px -30px rgba(11,11,12,.28);
  --shadow-soft: 0 10px 30px -14px rgba(11,11,12,.18);

  --font: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*{ box-sizing:border-box; }
html{ color-scheme: light; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{
  font-family: var(--font);
  text-wrap: balance;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height:1.04;
}
p{ margin:0; }
::selection{ background: var(--pink); color:#fff; }
:focus-visible{ outline: 2px solid var(--pink); outline-offset: 3px; }

.wrap{ max-width:1180px; margin-inline:auto; padding-inline: max(20px, calc((100% - 1180px)/2)); }
.tnum{ font-variant-numeric: tabular-nums; }

.eyebrow{
  display:flex; align-items:center; gap:9px;
  font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--ink); margin-bottom:16px;
}
.eyebrow::before{
  content:""; width:8px; height:8px; border-radius:50%;
  background: var(--pink); flex:none;
}
.eyebrow.on-dark{ color:#fff; }

/* ---------- topbar ---------- */
.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:16px 26px; flex-wrap:wrap; position:relative; z-index:5;
  /* Near-opaque (not full) white at rest, so it still reads as a floating pill against
     whatever is behind it — the hero gradient at the top of the page, or the frosted
     .solid treatment once scrolled — rather than a flat, disconnected cutout. */
  background: rgba(255,255,255,.9); border-radius:999px;
  border:1px solid var(--line);
  box-shadow: 0 10px 28px -20px rgba(11,11,12,.28);
  transition: background-color .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}
.brand{
  display:flex; align-items:center; gap:9px; font-weight:800; font-size:19px;
  background:#fff; padding:9px 16px; border-radius:999px; flex:none;
}
/* Inside the navbar's own pill the brand's background would just double up on top of it —
   the auth page uses .brand on its own dark panel, where it still needs that white pill. */
.navbar .brand{ background:transparent; padding:0; }
.brand img{ height:28.8px; width:auto; display:block; }
.navlinks{ display:flex; gap:22px; align-items:center; flex-wrap:wrap; font-size:14.5px; font-weight:600; }
.navlinks a.plain{ color: var(--ink-dim); }
.navlinks a.plain:hover{ color: var(--ink); }

/* ---------- navbar (injected by nav.js into <div class="navbar">) ----------
   The bar itself carries no background or edge-to-edge fill — only the pill (.topbar)
   inside it does, sized to its own content (logo to sign-in), never the full viewport width.
   Every page puts a .hero-gradient section directly after this one; pulling the navbar's own
   box up over it (negative margin, matched by padding added to .hero-gradient below so its
   text doesn't shift) lets that gradient show through behind the pill instead of the page's
   plain white background. nav.js measures the bar's real height into --navh. */
.navbar{
  position:sticky; top:var(--strip,0px); z-index:50; background:transparent; padding-block:12px;
  margin-bottom: calc(-1 * var(--navh, 86px));
}
.navbar.solid .topbar{
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 16px 32px -24px rgba(11,11,12,.3);
}

.burger{
  display:none; background:none; border:none; padding:8px; margin:-8px 0; cursor:pointer;
  flex-direction:column; justify-content:center; gap:4px; flex:none;
}
.burger i{ display:block; width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.burger.x i:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.x i:nth-child(2){ opacity:0; }
.burger.x i:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.nvl{
  background:none; border:none; padding:0; margin:0; font:inherit; font-weight:600;
  color: var(--ink-dim); cursor:pointer; display:inline-flex; align-items:center; gap:5px;
  white-space:nowrap;
}
.nvl:hover{ color: var(--ink); }
.nvl.here{ color: var(--ink); font-weight:800; }
.nvl.admin{ color: var(--ink-faint); cursor:default; font-size:13px; }
.nvl.admin:hover{ color: var(--ink-faint); }

.cv{ width:9px; height:6px; flex:none; transition:transform .15s ease; }
.nvi.open .cv{ transform:rotate(180deg); }
.nvi.cur > .nvl{ color: var(--ink); }

.nvi{ position:relative; }
.nvi .sub{
  position:absolute; top:calc(100% + 16px); left:50%; transform:translate(-50%,-6px);
  width:300px; background:#fff; border-radius:var(--radius-m); box-shadow:var(--shadow-card);
  padding:10px; display:flex; flex-direction:column; gap:1px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .16s ease, transform .16s ease, visibility .16s;
  z-index:20;
}
.nvi.open .sub{ opacity:1; visibility:visible; transform:translate(-50%,0); pointer-events:auto; }
.sub a{
  display:flex; flex-direction:column; gap:2px; padding:10px 12px;
  border-radius:var(--radius-s); text-decoration:none;
}
.sub a:hover, .sub a.here{ background: var(--paper-2); }
.sub a b{ font-size:13.5px; font-weight:700; color: var(--ink); }
.sub a span{ font-size:12px; color: var(--ink-dim); }
.sub a.all{ margin-top:3px; padding-top:12px; border-top:1px solid var(--line); }
.sub a.all b{ color: var(--pink); }

.navright{ display:flex; align-items:center; gap:16px; margin-left:2px; }
.nvl.signin{ font-weight:600; }

@media (max-width:900px){
  .burger{ display:flex; }
  .navlinks{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0; font-size:15px;
    background:#fff; padding:6px 20px 20px; box-shadow:var(--shadow-card);
    border-radius:0 0 var(--radius-m) var(--radius-m); max-height:calc(100vh - 100%); overflow-y:auto;
  }
  .navlinks.open{ display:flex; }
  .nvi{ width:100%; }
  .nvi > .nvl, .navlinks > a.nvl{
    width:100%; justify-content:space-between; padding:14px 2px; border-bottom:1px solid var(--line);
  }
  .nvi .sub{
    position:static; width:auto; box-shadow:none; padding:2px 0 10px 10px; margin:0;
    opacity:1; visibility:visible; pointer-events:auto; transform:none; display:none;
  }
  .nvi.open .sub{ position:static; transform:none; display:flex; }
  .navright{ flex-direction:column; align-items:stretch; gap:10px; margin:16px 0 4px; }
  .navright .pill{ justify-content:center; }
}
.pill{
  font-weight:700; font-size:14px; border-radius:999px; padding:11px 20px;
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
}
.pill.black{ background: var(--ink); color:#fff; }
.pill.black:hover{ background:#000; }
.pill.outline{ border:1.5px solid var(--ink); color: var(--ink); }
.pill.outline.on-dark{ border-color:#fff; color:#fff; }

/* ---------- hero ---------- */
.hero-gradient{
  background: linear-gradient(120deg, var(--pink-2) 0%, var(--pink) 32%, var(--orange) 66%, var(--orange-2) 100%);
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  padding-top: var(--navh, 86px); /* the navbar overlaps this section — see .navbar above */
  padding-bottom: 90px;
  position:relative;
  overflow:hidden;
}
.hero-gradient::before{
  content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background:
    radial-gradient(600px 420px at 85% -10%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(500px 380px at -5% 30%, rgba(255,255,255,.18), transparent 60%);
}
.hero-inner{ position:relative; text-align:center; padding-top:52px; }
.hero-inner h1{
  color:#fff; font-size: clamp(38px, 6vw, 76px); max-width: 920px; margin-inline:auto;
}
.hero-inner h1 em{ font-style:italic; font-weight:800; }
.hero-inner .lede{
  color:rgba(255,255,255,.92); font-size:18px; font-weight:500;
  max-width:52ch; margin:20px auto 0;
}
.cta-row{ display:flex; gap:12px; margin-top:30px; justify-content:center; flex-wrap:wrap; }
.stat-row.on-hero{ justify-content:center; margin-top:40px; gap:40px; }
.stat-row{ display:flex; gap:32px; flex-wrap:wrap; }
.stat b{ display:block; font-size:26px; font-weight:800; }
.stat span{ display:block; font-size:12.5px; font-weight:600; letter-spacing:.02em; }
.stat-row.on-hero b, .stat-row.on-hero span{ color:#fff; }
.stat-row.on-hero span{ color:rgba(255,255,255,.85); }

/* floating demo card, overlapping the hero like a screenshot dropped on top */
.demo-card{
  background: var(--paper); border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  max-width: 1000px; margin: -70px auto 0; padding: 14px;
  position:relative; z-index:2;
}
.demo-card .screen{
  border-radius: calc(var(--radius-l) - 12px); overflow:hidden; aspect-ratio:16/9;
  background:#0B0B0C; position:relative;
}
.demo-card video{ width:100%; height:100%; object-fit:cover; display:block; }
.demo-tabs{
  display:flex; gap:26px; justify-content:center; flex-wrap:wrap;
  padding: 18px 6px 4px; font-weight:700; font-size:14px; color: var(--ink-faint);
}
.demo-tabs button{
  background:none; border:none; cursor:pointer; font:inherit; padding:6px 2px;
  color:inherit; border-bottom:2px solid transparent;
}
.demo-tabs button.active{ color: var(--ink); border-color: var(--pink); }

/* ---------- showcase card (real produced-lecture preview) ---------- */
.showcase-card{
  display:block; text-decoration:none; color:inherit;
  background: var(--paper); border-radius: var(--radius-l);
  box-shadow: var(--shadow-card); overflow:hidden; position:relative;
}
.showcase-card .screen{ aspect-ratio:16/9; background:#0B0B0C; position:relative; }
.showcase-card video{ width:100%; height:100%; object-fit:cover; display:block; }
.showcase-play{
  position:absolute; left:50%; bottom:24px; transform:translateX(-50%);
  background:#fff; color:var(--ink); font-weight:800; font-size:14px;
  padding:12px 22px; border-radius:999px; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 12px 30px rgba(0,0,0,.28); white-space:nowrap; transition:transform .15s ease;
}
.showcase-card:hover .showcase-play{ transform:translateX(-50%) scale(1.04); }
.showcase-note{
  margin-top:18px; font-size:14px; color:var(--ink-dim); max-width:70ch;
}
.showcase-player{
  border-radius: var(--radius-l); overflow:hidden; background:#0B0B0C;
  box-shadow: var(--shadow-card);
}
.showcase-player video{ width:100%; display:block; aspect-ratio:16/9; object-fit:contain; background:#000; }
.showcase-stats{ display:flex; gap:32px; flex-wrap:wrap; margin-top:22px; }

/* ---------- lead / contact form ---------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1.1fr; gap:48px; align-items:start; }
.contact-steps{ display:flex; flex-direction:column; gap:20px; margin-top:26px; }
.contact-step{ display:flex; gap:14px; align-items:flex-start; }
.contact-step .n{
  flex:none; width:30px; height:30px; border-radius:50%; background:var(--ink); color:#fff;
  font-weight:800; font-size:13px; display:flex; align-items:center; justify-content:center;
}
.contact-step p{ font-size:14.5px; color:var(--ink-dim); margin-top:2px; }
.contact-step b{ display:block; font-size:15px; }
.lead-form{
  background:#fff; border:1.5px solid var(--line); border-radius: var(--radius-l);
  padding: 32px; box-shadow: var(--shadow-card);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-field{ display:flex; flex-direction:column; gap:7px; margin-top:16px; }
.form-field:first-child{ margin-top:0; }
.form-row .form-field{ margin-top:0; }
.form-field label{ font-size:13px; font-weight:700; color:var(--ink-dim); }
.form-field input, .form-field select, .form-field textarea{
  font: inherit; font-size:15px; padding:12px 14px; border:1.5px solid var(--line);
  border-radius:10px; color:var(--ink); background:#fff; width:100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color: var(--pink);
}
.form-field textarea{ resize:vertical; min-height:90px; font-family:inherit; }
.lead-form .submit-row{ margin-top:22px; }
.lead-form button.pill.black{
  width:100%; justify-content:center; border:none; cursor:pointer; font-size:15px;
  font-family:inherit;
}
.lead-form button.pill.black:disabled{ opacity:.6; cursor:default; }
.form-note{ font-size:12.5px; color:var(--ink-faint); margin-top:14px; text-align:center; }
.form-state{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; padding:50px 20px; }
.form-state[hidden]{ display:none; }
.form-state .ico{ font-size:36px; }
.form-state h4{ font-size:19px; }
.form-state p{ color:var(--ink-dim); font-size:14.5px; max-width:40ch; }
@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:600px){
  .form-row{ grid-template-columns:1fr; }
}

section{ padding-block: 84px; }
.section-head{ max-width: 680px; margin-bottom: 40px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px,3.6vw,42px); }
.section-head p.sub{ margin-top:14px; color: var(--ink-dim); font-size:17px; }

/* ---------- trust / compatibility panel ---------- */
.trust-panel{
  background: radial-gradient(circle at 50% 20%, #fff 0%, var(--cream) 55%, var(--cream-2) 100%);
  border-radius: var(--radius-l);
  padding: 70px 40px;
  text-align:center;
  position:relative;
}
.trust-panel h3{ font-size: clamp(22px,2.6vw,30px); max-width:820px; margin-inline:auto; line-height:1.35; }
.trust-panel h3 .hl{ color: var(--pink); }
.chip-orbit{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:34px;
}
.source-chip{
  background:#fff; border-radius:16px; padding:14px 22px; font-weight:700; font-size:14.5px;
  box-shadow: var(--shadow-soft); color: var(--ink-dim);
}

/* ---------- persona stack ---------- */
.persona-stack{ display:grid; grid-template-columns: repeat(3, 1fr); gap:26px; }
.persona-card{
  border-radius: var(--radius-m); padding: 34px 30px; min-height:300px;
  display:flex; flex-direction:column; justify-content:space-between;
  box-shadow: var(--shadow-soft);
}
.persona-card h4{ font-size:24px; }
.persona-card p{ margin-top:14px; font-size:15px; max-width:32ch; }
.persona-card.dark{ background: var(--dark); color:#fff; }
.persona-card.dark p{ color:rgba(255,255,255,.72); }
.persona-card.light{ background:#fff; border:1px solid var(--line); color: var(--ink); }
.persona-card.light p{ color: var(--ink-dim); }
.persona-card.brand{ background: linear-gradient(135deg, var(--orange), var(--orange-2)); color:#fff; }
.persona-card.brand p{ color:rgba(255,255,255,.85); }
.persona-icon{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  font-size:26px; align-self:flex-end;
}
.persona-card.dark .persona-icon{ background: linear-gradient(135deg, var(--pink-2), var(--pink)); }
.persona-card.light .persona-icon{ background: var(--paper-2); }
.persona-card.brand .persona-icon{ background: rgba(255,255,255,.22); }

/* ---------- feature list + preview (effects studio) ---------- */
.studio{ display:grid; grid-template-columns: 380px 1fr; gap:0; background:#fff; border:1px solid var(--line); border-radius: var(--radius-l); overflow:hidden; box-shadow: var(--shadow-soft); }
.bin{ border-right:1px solid var(--line); padding: 10px; max-height:640px; overflow-y:auto; }
.bin-group h4{
  font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--ink-faint); padding: 16px 14px 6px;
}
.chip{
  width:100%; display:flex; align-items:center; gap:12px;
  padding:11px 14px; background:none; border:none; text-align:left; border-radius:14px;
  cursor:pointer; font-family:var(--font); font-size:14.5px; font-weight:600; color: var(--ink);
}
.chip:hover{ background: var(--paper-2); }
.chip.active{ background: var(--ink); color:#fff; }
.chip .thumb{
  width:44px; height:30px; border-radius:8px; background:var(--paper-2);
  object-fit:cover; flex:none; border:1px solid var(--line);
}
.chip.active .thumb{ border-color: rgba(255,255,255,.25); }
.chip .lbl{ flex:1; }

.viewer{ padding: 26px 30px 30px; }
.viewer .screen-wrap{ margin-bottom:20px; }
.viewer .screen{
  position:relative; border-radius: var(--radius-m); overflow:hidden; aspect-ratio:16/9;
  background: var(--dark); display:flex; align-items:center; justify-content:center;
}
.viewer video{ width:100%; height:100%; object-fit:cover; display:block; }
.no-sample{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  color:rgba(255,255,255,.55); text-align:center; padding:20px;
}
.no-sample .ico{
  width:52px; height:52px; border-radius:16px; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; font-size:22px;
}
.no-sample b{ color:#fff; font-size:14.5px; font-weight:700; }
.no-sample span{ font-size:12.5px; }
.viewer-meta{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.viewer-meta h3{ font-size:23px; font-weight:800; }
.viewer-tag{
  font-size:12px; font-weight:700; letter-spacing:.02em;
  color: var(--pink); background: #FFE7F1; padding:5px 12px; border-radius:999px;
  white-space:nowrap;
}
.viewer p.desc{ margin-top:12px; color: var(--ink-dim); max-width: 60ch; font-size:15.5px; }
.viewer .status{ margin-top:14px; font-size:12.5px; font-weight:700; color: var(--ink-faint); }
.viewer .status.live{ color: var(--good); }

/* ---------- pipeline chain ---------- */
.chain{ display:grid; grid-auto-flow:column; grid-auto-columns: 1fr; overflow-x:auto; padding-bottom:6px; }
.chain-node{ position:relative; text-align:center; padding: 18px 10px 0; min-width: 116px; }
.chain-node::before{ content:""; position:absolute; top:9px; left:-50%; width:100%; height:2px; background: var(--line); }
.chain-node:first-child::before{ display:none; }
.chain-node .dot{ width:16px; height:16px; border-radius:50%; margin:0 auto 12px; background: linear-gradient(135deg, var(--pink-2), var(--orange-2)); position:relative; z-index:1; }
.chain-node b{ display:block; font-size:12.5px; font-weight:700; }
.chain-node span{ display:block; font-size:11px; color:var(--ink-faint); margin-top:2px; }

/* ---------- generic cards / grid ---------- */
.grid3{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.grid4{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.card{ border:1px solid var(--line); border-radius: var(--radius-m); padding: 26px; background:#fff; display:flex; flex-direction:column; overflow:hidden; }
.card .n{ font-size:13px; font-weight:800; color: var(--pink); }
.card h4{ font-size:18px; margin-top:10px; font-weight:800; }
.card p{ margin-top:10px; color: var(--ink-dim); font-size:14.5px; }
.card .card-shot{
  display:block; width:calc(100% + 52px); max-width:none; height:auto;
  margin:-26px -26px 4px; aspect-ratio:16/9; object-fit:cover; background:var(--paper-2);
}
a.card{ transition:border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
a.card:hover{ border-color:var(--pink); box-shadow:0 22px 46px -30px rgba(245,47,134,.45); transform:translateY(-2px); }

/* ---------- compliance table (india page) ---------- */
.seal{
  display:inline-flex; align-items:center; gap:10px;
  background:#fff; color: var(--good); border-radius:999px; padding:9px 18px 9px 12px;
  font-size:14px; font-weight:800; box-shadow: var(--shadow-soft);
}
.seal .ring{ width:24px; height:24px; border-radius:50%; background: var(--good-soft); display:flex; align-items:center; justify-content:center; font-size:13px; }

.table-scroll{ overflow-x:auto; border:1px solid var(--line); border-radius: var(--radius-m); background:#fff; }
.ctable{ width:100%; border-collapse:collapse; font-size:14.5px; min-width:760px; }
.ctable th{
  text-align:left; font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  color:var(--ink-faint); padding: 14px 18px; border-bottom:1px solid var(--line);
}
.ctable td{ padding: 18px; border-bottom:1px solid var(--line); vertical-align:top; }
.ctable tr:last-child td{ border-bottom:none; }
.clause{ font-family:var(--font-mono); font-size:12.5px; color: var(--teal); white-space:nowrap; font-weight:600; }
.effectpills{ display:flex; flex-wrap:wrap; gap:6px; }
.effectpill{ font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px; background: var(--good-soft); color: var(--good); white-space:nowrap; }

.compare{ width:100%; border-collapse:collapse; font-size:14px; }
.compare th, .compare td{ padding:13px 16px; border-bottom:1px solid var(--line); text-align:left; }
.compare th{ font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-faint); }
.compare td.yes{ color: var(--good); font-weight:800; text-align:center; }
.compare td.no{ color: var(--line); text-align:center; }
.compare td.center{ text-align:center; }
.compare tr:last-child td{ border-bottom:none; }
@media (max-width:600px){ .compare{ min-width:640px; } }

.note{ font-size:13.5px; color: var(--ink-faint); border-left:2px solid var(--line); padding-left:14px; max-width: 66ch; }

/* ---------- prose ---------- */
.prose{ max-width:70ch; color: var(--ink-dim); font-size:16.5px; }
.prose + .prose{ margin-top:14px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--pink-2), var(--pink) 45%, var(--orange) 100%);
  border-radius: var(--radius-l); padding: 60px 44px; text-align:center; color:#fff;
}
.cta-band h2{ color:#fff; font-size: clamp(26px,3.4vw,40px); }
.cta-band p{ color:rgba(255,255,255,.9); margin-top:14px; font-size:16px; }
.cta-band .cta-row{ margin-top:26px; }

/* ---------- blog cross-promo (pitch) ---------- */
.pitch{
  background: var(--dark); color:#fff;
  border-radius: var(--radius-l);
  padding: 52px 48px;
  display:grid; grid-template-columns: 1.25fr 1fr; gap:50px; align-items:center;
  box-shadow: var(--shadow-soft);
}
.pitch h2{ color:#fff; font-size: clamp(24px,3vw,34px); margin-top:10px; }
.p-eyebrow{
  font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: rgba(255,255,255,.55);
}
.p-sub{ margin-top:16px; color:rgba(255,255,255,.78); font-size:16px; line-height:1.55; }
.p-row{ margin-top:26px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.p-note{ margin-top:22px; font-size:13px; color:rgba(255,255,255,.4); max-width:48ch; }
.p-facts{
  display:flex; flex-direction:column; gap:22px;
  border-left:1px solid rgba(255,255,255,.14); padding-left:38px;
}
.p-fact{ display:flex; align-items:baseline; gap:14px; }
.p-fact b{ font-size:30px; font-weight:800; color:#fff; flex:none; min-width:60px; }
.p-fact span{ font-size:13.5px; color:rgba(255,255,255,.62); line-height:1.45; }
@media (max-width:860px){
  .pitch{ grid-template-columns:1fr; padding:38px 28px; gap:34px; }
  .p-facts{ border-left:none; border-top:1px solid rgba(255,255,255,.14); padding-left:0; padding-top:30px; }
}

/* ---------- testimonials (grid) ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testi-card{
  border:1px solid var(--line); border-radius: var(--radius-m); padding:26px;
  background:#fff; display:flex; flex-direction:column;
}
.testi-card .tq-mark{ font-size:34px; line-height:1; font-weight:800; color: var(--pink); font-family:Georgia, serif; }
.testi-card .tq{ margin-top:8px; font-size:15.5px; line-height:1.55; color: var(--ink); flex:none; }
.testi-card .tmeta{ margin-top:auto; padding-top:18px; }
.testi-card .tname{ display:block; font-size:14px; font-weight:800; color: var(--ink); }
.testi-card .trole{ display:block; margin-top:2px; font-size:12.5px; color: var(--ink-faint); }
.testi-card .tsolved{
  margin-top:14px; padding-top:14px; border-top:1px solid var(--line);
  font-size:12.5px; color: var(--ink-dim);
}
.testi-card .tsolved b{ color: var(--good); font-weight:800; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .testi-grid{ grid-template-columns:1fr; } }

/* ---------- footer ---------- */
footer.dark{ background: var(--dark); color:#fff; padding-block: 60px 40px; margin-top: 90px; }
.foot-grid{ display:grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap:30px; }
.foot-brand{ font-weight:800; font-size:19px; display:flex; align-items:center; gap:9px; }
.foot-brand img{ height:28px; width:auto; display:block; }
.foot-brand p{ color:rgba(255,255,255,.55); font-size:14px; margin-top:14px; max-width:32ch; }
.foot-col h5{ font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:14px; }
.foot-col a{ display:block; font-size:14.5px; color:rgba(255,255,255,.82); padding:6px 0; }
.foot-col a:hover{ color:#fff; }
.foot-col a.view-all{ text-decoration:underline; text-underline-offset:3px; font-weight:600; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.14); margin-top:44px; padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:13px; color:rgba(255,255,255,.5); }

/* ---------- auth page (split: showcase left, sign-in right — no scroll either side) ---------- */
html:has(.auth2-page), body:has(.auth2-page){ height:100%; overflow:hidden; }
.auth2-page{ display:flex; height:100vh; overflow:hidden; background:#050506; }
.auth2-showcase{
  position:relative; flex:1 1 50%; height:100vh; overflow:hidden;
  background: linear-gradient(120deg, var(--pink-2) 0%, var(--pink) 32%, var(--orange) 66%, var(--orange-2) 100%);
}
.auth2-content{
  position:absolute; inset:0; z-index:2; display:flex; flex-direction:column;
  padding: clamp(10px,1.4vh,16px) clamp(22px,4vw,48px) clamp(16px,2.6vh,26px);
}
.auth2-top{ display:flex; align-items:center; justify-content:space-between; flex:none; }
.auth2-top .brand{ background:rgba(0,0,0,.35); padding:9px 16px; }
.auth2-top a.plain{ font-size:14px; font-weight:600; color:#fff; }
.auth2-top a.plain:hover{ text-decoration:underline; }
.auth2-middle{
  flex:1; min-height:0; display:flex; flex-direction:column; justify-content:flex-start;
  gap: clamp(10px,1.8vh,16px); max-width:520px; margin-top: clamp(28px,7vh,68px);
}
.auth2-middle .eyebrow{ margin-bottom:0; }
.auth2-middle .eyebrow::before{ display:none; }
.auth2-heading{
  font-size: clamp(20px, 2.6vw, 30px); line-height:1.12; color:#fff; margin:0; font-weight:800;
}
.testi-wrap{
  position:relative; flex:none; height: clamp(190px, 30vh, 250px);
}
.testi-slide{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center;
  gap:14px; opacity:0; pointer-events:none; transition:opacity .5s ease;
}
.testi-slide.active{ opacity:1; pointer-events:auto; }
.testi-quote{
  font-size: clamp(16px, 1.7vw, 19px); line-height:1.4; color:#fff; font-weight:600; margin:0;
}
.testi-quote::before{ content:"\201C"; }
.testi-quote::after{ content:"\201D"; }
.testi-meta{ display:flex; flex-direction:column; gap:2px; }
.testi-name{ font-size:14px; font-weight:800; color:#fff; }
.testi-role{ font-size:12.5px; color:rgba(255,255,255,.8); }
.testi-problem{
  position:relative; display:inline-block; align-self:flex-start; font-size:12px; font-weight:700;
  letter-spacing:.01em; color:#fff; margin-top:8px; padding-bottom:5px;
}
.testi-problem b{ text-transform:uppercase; font-weight:800; }
.testi-problem::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0%; background:#fff;
}
.testi-slide.active .testi-problem::after{ animation: testiUnderline 5s linear forwards; }
.testi-wrap.paused .testi-slide.active .testi-problem::after{ animation-play-state:paused; }
@keyframes testiUnderline{ from{ width:0%; } to{ width:100%; } }
.testi-dots{ display:flex; gap:7px; flex:none; }
.testi-dots button{
  width:7px; height:7px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(255,255,255,.4); transition:background .15s ease, transform .15s ease;
}
.testi-dots button:hover{ background:rgba(255,255,255,.7); }
.testi-dots button.active{ background:#fff; transform:scale(1.25); }
.auth2-form{
  flex:1 1 50%; background:#fff; display:flex; flex-direction:column;
  padding: clamp(10px,1.4vh,16px) clamp(24px,4vw,56px) clamp(20px,3vh,40px);
  height:100vh; overflow:hidden; position:relative;
}
.auth2-form-top{ flex:none; height:42px; display:flex; align-items:center; justify-content:flex-end; }
.auth2-form-body{ flex:1; min-height:0; display:flex; align-items:flex-start; justify-content:center; overflow-y:auto; }
.auth2-form-inner{ width:100%; max-width:380px; }
.auth2-alt-cta{ text-align:right; font-size:13px; font-weight:600; color: var(--ink-dim); }
.auth2-alt-cta:hover{ color: var(--ink); }
.auth-tabs{ display:flex; background:var(--paper-2); border-radius:999px; padding:4px; margin-bottom:24px; }
.auth-tabs button{
  flex:1; border:none; background:none; padding:10px 0; border-radius:999px;
  font-family:var(--font); font-weight:700; font-size:14px; color:var(--ink-dim); cursor:pointer;
}
.auth-tabs button.active{ background:#fff; color:var(--ink); box-shadow: var(--shadow-soft); }
.auth2-form-inner h1{ font-size:23px; }
.auth-sub{ color:var(--ink-dim); font-size:14.5px; margin-top:6px; margin-bottom:22px; }
.auth-divider{ display:flex; align-items:center; gap:12px; margin:20px 0 16px; color:var(--ink-faint); font-size:12.5px; }
.auth-divider::before, .auth-divider::after{ content:""; flex:1; height:1px; background:var(--line); }
.auth-oauth{ display:flex; flex-direction:column; gap:10px; }
.auth-oauth button{
  display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  padding:11px; border-radius:999px; border:1.5px solid var(--line); background:#fff;
  font-family:var(--font); font-weight:700; font-size:14px; color:var(--ink); cursor:pointer;
}
.auth-oauth button:hover{ border-color:var(--ink); }
.auth-note{
  margin-top:18px; padding:14px 16px; border-radius:14px; background:var(--paper-2);
}
.auth-note p{ font-size:13.5px; color:var(--ink-dim); line-height:1.5; }
.auth-note a{ font-weight:700; color:var(--ink); text-decoration:underline; }
.auth-fine{ font-size:11.5px; color:var(--ink-faint); text-align:center; margin-top:18px; line-height:1.5; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .studio{ grid-template-columns:1fr; }
  .bin{ border-right:none; border-bottom:1px solid var(--line); max-height:280px; }
  .persona-stack{ grid-template-columns:1fr; }
  .grid3{ grid-template-columns:1fr; }
  .grid4{ grid-template-columns: repeat(2,1fr); }
  .foot-grid{ grid-template-columns: 1fr 1fr; }
  .demo-card{ margin-top:-40px; }
  html:has(.auth2-page), body:has(.auth2-page){ height:auto; overflow:visible; }
  .auth2-page{ flex-direction:column; height:auto; min-height:100vh; overflow:visible; }
  .auth2-showcase{ height:auto; min-height:50vh; flex:none; overflow:visible; }
  .auth2-content{ position:relative; inset:auto; height:auto; padding:22px 22px 26px; }
  .auth2-middle{ justify-content:flex-start; gap:12px; }
  .auth2-heading{ font-size:24px; }
  .testi-wrap{ height:170px; }
  .auth2-form{ height:auto; min-height:50vh; overflow:visible; padding:20px 22px 44px; }
  .auth2-form-top{ margin-bottom:16px; }
  .auth2-form-body{ display:block; }
}
@media (max-width:480px){
  .auth2-showcase{ min-height:46vh; }
  .auth2-content{ min-height:46vh; }
  .auth2-heading{ font-size:22px; }
}
