/* Channelry marketing page — design system carried over from the original landing */
:root {
  --bg:#07090f; --bg-soft:#0c101a; --panel:rgba(255,255,255,.04);
  --border:rgba(255,255,255,.08); --text:#e8ecf4; --dim:#8b93a7;
  --accent:#6d5dfc; --accent2:#46c6ff; --good:#34d399; --warn:#fbbf24;
  /* Spacing scale — every section padding below is one of these six steps
     instead of ad-hoc pixel values, so the vertical rhythm reads as one
     deliberate system rather than each section having been tuned in isolation. */
  --sp-1:8px; --sp-2:16px; --sp-3:24px; --sp-4:40px; --sp-5:64px; --sp-6:96px;
}
*{margin:0;padding:0;box-sizing:border-box}
body{
  /* Full-bleed glows sit on body (not .wrap), so they fill the actual viewport
     width on wide screens instead of stopping at the narrow content column —
     previously the whole page was one 980px column with flat empty margins on
     anything wider than a laptop. */
  background:
    radial-gradient(1400px 900px at 85% -10%, rgba(109,93,252,.16), transparent 60%),
    radial-gradient(1100px 700px at -10% 110%, rgba(70,198,255,.10), transparent 55%),
    var(--bg);
  color:var(--text); font-family:ui-sans-serif,-apple-system,"SF Pro Display","Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased; line-height:1.6;
  overflow-x:hidden;
}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}

/* Header becomes a sticky, blurred bar once .site-header--scrolled is set
   (see the scroll listener in index.html) — a plain static header felt flat
   for a SaaS product page; this is the single most common "polish" signal
   on modern product sites and costs nothing (no image, no layout shift). */
header{padding:22px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  position:sticky;top:0;z-index:50;margin:0 -24px;padding-left:24px;padding-right:24px;
  transition:background-color .25s,border-color .25s,padding .25s,backdrop-filter .25s}
header.site-header--scrolled{background:rgba(7,9,15,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);padding-top:14px;padding-bottom:14px}
.logo{font-weight:800;font-size:18px;background:linear-gradient(90deg,var(--accent),var(--accent2));
      -webkit-background-clip:text;background-clip:text;color:transparent}
.topnav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.topnav a{color:var(--dim);text-decoration:none;font-size:13px;transition:color .15s}
.topnav a:hover{color:var(--text)}

.hero{padding:var(--sp-6) 0 var(--sp-5);text-align:center;position:relative;isolation:isolate}
/* Two slow-drifting blurred glow orbs behind the hero copy — pure CSS
   (gradient + transform keyframes), no image/video request, disabled under
   reduced-motion. This is the "hero has a visual, not just text" element:
   cheap enough to never affect load performance. */
.hero::before,.hero::after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(60px);pointer-events:none}
.hero::before{width:360px;height:360px;top:-80px;left:8%;background:radial-gradient(circle,rgba(109,93,252,.30),transparent 70%);
  animation:orb-drift-a 22s ease-in-out infinite alternate}
.hero::after{width:300px;height:300px;top:40px;right:6%;background:radial-gradient(circle,rgba(70,198,255,.24),transparent 70%);
  animation:orb-drift-b 26s ease-in-out infinite alternate}
@keyframes orb-drift-a{from{transform:translate(0,0) scale(1)}to{transform:translate(30px,40px) scale(1.12)}}
@keyframes orb-drift-b{from{transform:translate(0,0) scale(1)}to{transform:translate(-25px,-30px) scale(1.08)}}
@media (prefers-reduced-motion:reduce){.hero::before,.hero::after{animation:none}}
/* border-radius is a modest 20px rather than a full 999px pill on purpose —
   a true pill only looks right on a single line; the moment this badge wraps
   to two lines on a narrow phone a 999px radius reads as a broken stretched
   oval. A soft rounded-rectangle still looks like a badge whether it wraps
   or not, so no width-based media-query fallback is needed. */
.eyebrow-pill{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;letter-spacing:.01em;
  color:var(--accent2);background:rgba(70,198,255,.08);border:1px solid rgba(70,198,255,.25);
  padding:7px 14px;border-radius:20px;margin-bottom:22px;max-width:100%;text-align:center}
.eyebrow-pill .dot{width:6px;height:6px;border-radius:50%;background:var(--good);box-shadow:0 0 0 3px rgba(52,211,153,.2)}
.hero h1{font-size:clamp(34px,6vw,58px);font-weight:800;letter-spacing:-.02em;line-height:1.12}
.hero h1 span{background:linear-gradient(90deg,var(--accent),var(--accent2));
      -webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{margin:22px auto 0;max-width:680px;color:var(--dim);font-size:18px}
.cta{margin-top:36px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn{display:inline-block;padding:14px 28px;border-radius:14px;font-weight:700;font-size:15px;
     text-decoration:none;border:none;cursor:pointer;transition:transform .15s,box-shadow .15s}
.btn-primary{color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2));
     box-shadow:0 4px 24px rgba(109,93,252,.35)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 36px rgba(109,93,252,.5)}
.btn-ghost{color:var(--dim);border:1px solid var(--border);transition:color .15s,border-color .15s}
.btn-ghost:hover{color:var(--text);border-color:rgba(255,255,255,.2)}
/* Trust pills — replaced the plain text "ribbon" with bordered pills so the
   three claims read as distinct, scannable proof points rather than one run-on
   line. Every claim here is one already made (and defended) elsewhere on the
   page — no new numbers invented for this pass. */
.trust-pills{margin-top:28px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.trust-pill{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--dim);
  background:var(--panel);border:1px solid var(--border);padding:7px 13px;border-radius:999px}
.trust-pill b{color:var(--good);font-weight:700}

/* long-form article sections */
.article{padding:var(--sp-5) 0;border-top:1px solid var(--border)}
.article h2{font-size:clamp(24px,4vw,32px);font-weight:800;letter-spacing:-.01em;margin-bottom:var(--sp-2);line-height:1.2}
.article h3{font-size:19px;font-weight:700;margin:var(--sp-4) 0 10px}
.article p{color:var(--dim);font-size:15.5px;line-height:1.75;margin-bottom:var(--sp-2);max-width:760px}
.article p strong{color:var(--text)}
.article .lede{font-size:17px;color:var(--text)}
.caption{font-size:13px;color:var(--dim);margin-top:-16px}

/* tables */
.table-scroll{overflow-x:auto;margin:22px 0}
table{width:100%;border-collapse:collapse;font-size:14px;background:var(--panel);
      border:1px solid var(--border);border-radius:14px;overflow:hidden}
th,td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--dim);background:rgba(255,255,255,.03)}
tr:last-child td{border-bottom:none}
tbody tr{transition:background-color .15s}
tbody tr:hover{background:rgba(255,255,255,.025)}
td{color:var(--dim)}
td:first-child{color:var(--text);font-weight:600;white-space:nowrap}
td.good{color:var(--good);font-weight:600}
tr.total td{border-top:2px solid var(--border);font-weight:700;color:var(--text)}
.compare td:first-child{min-width:120px}

/* pipeline steps */
.step{display:flex;gap:18px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--border);
  transition:transform .2s}
.step:last-of-type{border-bottom:none}
.step:hover{transform:translateX(4px)}
.n{flex:none;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;
   font-weight:800;font-size:14px;color:#fff;background:linear-gradient(135deg,var(--accent),var(--accent2))}
.step h4{font-size:15px;margin-bottom:3px}
.step p{font-size:14px;color:var(--dim);margin-bottom:0}
.proof-h{text-align:center}

/* terminal (real production log) */
.terminal{background:#0d1117;border:1px solid var(--border);border-radius:14px;padding:22px;margin:18px 0 26px;
   font-family:Menlo,Consolas,monospace;font-size:13px;line-height:1.9;overflow-x:auto}
.t-dim{color:#6e7681}.t-ok{color:#3fb950}.t-warn{color:#d29922}.t-line{white-space:nowrap}

/* modes grid */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:28px 0 8px}
.card{background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:26px;
      backdrop-filter:blur(14px);transition:transform .2s,border-color .2s,box-shadow .2s}
.card:not(.locked):hover{transform:translateY(-4px);border-color:rgba(109,93,252,.35);
  box-shadow:0 14px 34px rgba(0,0,0,.28)}
.card .em{font-size:26px}
.card h3{margin:10px 0 6px;font-size:16px}
.card p{font-size:14px;color:var(--dim);margin-bottom:0}
.card.locked{opacity:.55}
/* Staggered entrance: each card fades in slightly after the one before it,
   once the shared .reveal parent picks up .is-visible. nth-child delay steps
   instead of animating every card at once — reads as content "assembling"
   rather than a single flat fade. */
.reveal .grid > *{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
.reveal.is-visible .grid > *{opacity:1;transform:translateY(0)}
.reveal.is-visible .grid > *:nth-child(1){transition-delay:.02s}
.reveal.is-visible .grid > *:nth-child(2){transition-delay:.08s}
.reveal.is-visible .grid > *:nth-child(3){transition-delay:.14s}
.reveal.is-visible .grid > *:nth-child(4){transition-delay:.20s}
.reveal.is-visible .grid > *:nth-child(5){transition-delay:.26s}
.reveal.is-visible .grid > *:nth-child(6){transition-delay:.32s}
.reveal.is-visible .grid > *:nth-child(7){transition-delay:.38s}
.reveal.is-visible .grid > *:nth-child(8){transition-delay:.44s}
@media (prefers-reduced-motion:reduce){
  .reveal .grid > *{opacity:1;transform:none;transition:none}
}
.tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;
     padding:3px 8px;border-radius:999px;vertical-align:middle;margin-left:6px}
.tag-live{color:var(--good);border:1px solid rgba(52,211,153,.4)}
.tag-beta{color:var(--accent2);border:1px solid rgba(70,198,255,.4)}
.tag-soon{color:var(--warn);border:1px solid rgba(251,191,36,.4)}

/* FAQ */
details{background:var(--panel);border:1px solid var(--border);border-radius:14px;
        padding:16px 20px;margin-bottom:12px;transition:border-color .15s}
details:hover{border-color:rgba(255,255,255,.16)}
summary{cursor:pointer;font-weight:700;font-size:15px;list-style:none;position:relative;padding-right:28px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:2px;top:-2px;color:var(--accent2);font-size:20px;font-weight:400}
details[open] summary::after{content:"–"}
details p{margin:12px 0 4px;font-size:14px;color:var(--dim)}

/* waitlist + footer */
.wait{padding:56px 0 60px;border-top:1px solid var(--border)}
.wait h2{font-size:28px;font-weight:800;text-align:center;margin-bottom:8px}
.wait .sub{color:var(--dim);text-align:center;margin-bottom:34px;font-size:15px}
form{display:flex;gap:10px;max-width:480px;margin:0 auto;flex-wrap:wrap;justify-content:center}
input[type=email]{flex:1;min-width:240px;padding:14px 18px;border-radius:14px;border:1px solid var(--border);
   background:var(--bg-soft);color:var(--text);font-size:15px;outline:none}
input[type=email]:focus{border-color:rgba(109,93,252,.6)}
footer{padding:40px 0;text-align:center;color:var(--dim);font-size:13px;border-top:1px solid var(--border)}
footer a{color:var(--accent2);text-decoration:none}

/* scroll reveal */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1)}
.reveal.is-visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
}

/* Proof strip — sits directly under the hero, before the real screenshot.
   Deliberately not fake customer logos or invented numbers (there aren't
   any to show honestly yet) — instead it foregrounds the two things on this
   page that ARE independently checkable: a real render pulled from a live
   channel, and the actual production log below it. "Credible" here means
   verifiable, not impressive-sounding. */
.proof-strip{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
  padding:14px 0 var(--sp-3);text-align:center;color:var(--dim);font-size:13px}
.proof-strip .sep{opacity:.4}
.proof-strip strong{color:var(--text)}

/* product showcase */
.showcase{padding:20px 0 8px}
.showcase-grid{display:grid;grid-template-columns:280px 1fr;gap:44px;align-items:center}
.showcase-copy .eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent2);margin-bottom:10px}
.showcase-copy h2{font-size:clamp(21px,3vw,27px);font-weight:800;letter-spacing:-.01em;margin-bottom:12px;line-height:1.25}
.showcase-copy p{color:var(--dim);font-size:15px;max-width:460px;margin-bottom:18px}
.mini-card{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:16px 18px;max-width:360px}
.mini-card-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}
.mini-card-sub{font-size:12.5px;color:var(--dim);margin-top:6px}

/* Real screenshot of an actual rendered/published video card — replaced the
   hand-built CSS mockup that used to sit here (it looked real but wasn't). */
.phone-mock{max-width:280px;margin:0 auto}
.phone-mock-img{display:block;width:100%;border-radius:20px;
  box-shadow:0 30px 70px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.08)}

/* Agent workflow demo (Describe -> Clarify -> Plan -> Approve -> Create -> Ship) */
.wf-wrap{display:flex;gap:28px;flex-wrap:wrap;margin-top:var(--sp-3)}
.wf-steps{flex:0 0 220px;display:flex;flex-direction:column}
.wf-step-btn{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;
  border-left:2px solid var(--border);cursor:pointer;padding:12px 16px;font-family:inherit;color:var(--dim);
  font-size:14px;transition:color .2s,border-color .2s,background .2s}
.wf-step-btn:hover{color:var(--text)}
.wf-step-btn.active{border-left-color:var(--accent);color:var(--text);background:rgba(109,93,252,.08)}
.wf-step-btn .wf-num{font-weight:800;font-size:13px;flex:none;width:20px;color:var(--accent2)}
.wf-card{flex:1 1 400px;min-width:260px;background:var(--panel);border:1px solid var(--border);
  border-radius:18px;padding:26px;min-height:260px}
.wf-card .kicker{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--accent2);margin-bottom:10px;
  text-transform:uppercase}
.wf-card h3{font-size:18px;font-weight:800;margin-bottom:6px}
.wf-card .desc{color:var(--dim);font-size:13.5px;margin-bottom:16px}
.wf-tag{display:inline-block;background:var(--bg-soft);border:1px solid var(--border);border-radius:8px;
  padding:6px 12px;font-size:12.5px;margin:0 6px 6px 0}
.wf-box{background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:14px 16px;
  font-size:14px;margin-top:8px}
.wf-box.accented{border-left:3px solid var(--accent);font-size:13.5px;line-height:1.6}
.wf-fade{animation:wfFade .35s ease}
@keyframes wfFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.wf-steps{flex-direction:row;overflow-x:auto;flex:none;width:100%}
  .wf-step-btn{flex:none;border-left:0;border-bottom:2px solid var(--border);white-space:nowrap}
  .wf-step-btn.active{border-bottom-color:var(--accent)}}

@media (max-width:800px){
  .showcase-grid{grid-template-columns:1fr;justify-items:center;text-align:center}
  .showcase-copy p{margin-left:auto;margin-right:auto}
  .mini-card{margin:0 auto}
}

/* about panel — restyled to match the dark design system instead of a hardcoded light box */
.about-panel{background:var(--panel);border:1px solid var(--border);border-left:3px solid var(--accent);
  border-radius:18px;padding:36px 32px;margin:56px 0 40px}
.about-inner{max-width:800px;margin:0 auto}
.about-panel h2{margin-top:0}
.about-panel h3{color:var(--text)}
.about-list{list-style:none;margin:14px 0;padding:0;line-height:2;color:var(--dim);font-size:14.5px}
.about-list strong{color:var(--text)}

@media (max-width:640px){
  .topnav a:not(.btn):not(.nav-signin){display:none}
  .nav-signin{font-size:13px;font-weight:600}
  .article{padding:36px 0}
  th,td{padding:10px 12px}
  .about-panel{padding:26px 20px}
}
