/* ============================================================
   Runway section kit — shared component styles
   GitBook structure × Runway (SayBriefly) identity
   Skin: purple #5a4ff3 · ink #1b1b3a · cream #faf6ec · yellow ribbon
   Fonts: Bricolage Grotesque (display) · Google Sans Flex (body) · Reenie Beanie (hand)
   ============================================================ */

:root{
  --ink:#1b1b3a; --ink-2:#3a3a52; --muted:#5b5b73;
  --purple:#5a4ff3; --purple-ink:#4a41d6;
  --cream:#faf6ec; --white:#fff;
  --lav:#c6c4f4; --lav-2:#eeecfb; --lav-3:#e5d3f7; --peach:#fde8ce;
  --mint:#e6f3ec; --mint-ink:#1f7a52; --amber:#fbe2b0; --amber-ink:#8a5a00;
  --yellow:#f8e858; --border:#efefef;
  --display:'Bricolage Grotesque', system-ui, sans-serif;
  --body:'Google Sans Flex','Inter', system-ui, sans-serif;
  --hand:'Reenie Beanie', cursive;
  --maxw:1120px; --r:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0; background:var(--cream); color:var(--ink); font-family:var(--body); font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--display); font-weight:800; line-height:1.05; letter-spacing:-.02em; margin:0}
p{margin:0}
a{color:inherit; text-decoration:none}
img,svg{display:block; max-width:100%}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 24px}
section{padding:72px 0}
.center{text-align:center}
.center .lead,.center .section-head{margin-left:auto; margin-right:auto}

/* ── eyebrow / lead / section head ─────────────────────── */
.eyebrow{font-family:'Roboto Mono',monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--purple); font-weight:700; margin-bottom:14px}
.lead{font-size:20px; color:var(--ink-2); max-width:46ch; line-height:1.5}
.section-head{max-width:660px; margin-bottom:48px}
.section-head h2{font-size:clamp(1.9rem,3.4vw,2.7rem); margin-bottom:16px}
.hand-note{font-family:var(--hand); font-size:26px; color:var(--purple)}

/* ── buttons ───────────────────────────────────────────── */
.btn{display:inline-flex; align-items:center; gap:8px; font-family:var(--body); font-weight:600; font-size:15px; border-radius:999px; padding:11px 22px; border:2px solid var(--ink); cursor:pointer; transition:transform .15s, box-shadow .15s, background .15s}
.btn-primary{background:var(--purple); color:#fff; border-color:var(--purple); box-shadow:0 3px 0 var(--purple-ink)}
.btn-primary:hover{transform:translateY(-1px); box-shadow:0 5px 0 var(--purple-ink)}
.btn-ghost{background:transparent; color:var(--ink)}
.btn-ghost:hover{background:var(--white)}
.btn-dark{background:var(--ink); color:#fff; border-color:var(--ink)}
.btn-dark:hover{transform:translateY(-1px); background:#111124}
.btn-pill{background:var(--lav-2); color:var(--ink); border-color:transparent; font-weight:600}
.btn-pill:hover{background:var(--lav)}
.btn-lg{font-size:17px; padding:14px 28px}

/* ── nav (dashed pill) ─────────────────────────────────── */
.nav-outer{position:sticky; top:0; z-index:50; padding:16px 16px 0; background:linear-gradient(var(--cream) 70%, transparent)}
.nav{max-width:var(--maxw); margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; border:2px dashed var(--border); background:var(--cream); border-radius:14px; padding:10px 16px}
.brand{display:flex; align-items:center; gap:14px}
.brand img{height:34px; width:auto}
.brand .tag{padding-left:14px; border-left:1.5px dashed rgba(90,79,243,.45); color:var(--purple); font-family:'Roboto Mono',monospace; font-size:10px; line-height:1.3; text-transform:uppercase; letter-spacing:.04em}
.nav-links{display:flex; align-items:center; gap:34px}
.nav-links a{font-size:16px; position:relative}
.nav-links a::after{content:""; position:absolute; left:0; right:100%; bottom:-3px; height:2px; background:var(--purple); border-radius:2px; transition:right .25s cubic-bezier(.25,1,.5,1)}
.nav-links a:hover::after{right:0}
.nav-cta{display:flex; align-items:center; gap:18px}
.nav-cta .signin{font-size:15px; color:var(--muted)}
.nav-toggle{display:none}

/* ── badge pill (hero eyebrow chip) ────────────────────── */
.badge{display:inline-flex; align-items:center; gap:10px; background:var(--lav-2); border:1.5px solid var(--lav); border-radius:999px; padding:6px 8px 6px 14px; font-size:13px; font-weight:600; color:var(--ink)}
.badge b{background:var(--purple); color:#fff; font-family:'Roboto Mono',monospace; font-size:12px; font-weight:700; border-radius:999px; padding:3px 10px; letter-spacing:.02em}

/* ── hero (split) ──────────────────────────────────────── */
.hero{padding:56px 0 40px; position:relative; overflow:hidden}
.hero--help h1{max-width:none}
.hero--full{min-height:calc(100svh - 74px); display:grid; align-items:center}
.hero-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center}
.hero h1{font-size:clamp(2.3rem,4.6vw,3.7rem); max-width:15ch}
.hero .center>h1{margin-inline:auto}
.hero .lead{margin:22px 0 30px; font-size:21px; max-width:40ch}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap; align-items:center}
.hero-note{margin-top:16px; transform:rotate(-3deg)}
.hero-visual{position:relative}
.hero-ribbon{position:absolute; left:-40px; right:-40px; bottom:6px; z-index:0; opacity:.9}

/* ── screen mockup (the "screens" treatment) ───────────── */
.screen{position:relative; z-index:2; background:var(--white); border:2px solid var(--ink); border-radius:14px; box-shadow:8px 8px 0 var(--lav); overflow:hidden}
.screen .bar{display:flex; align-items:center; gap:7px; padding:11px 15px; border-bottom:2px solid var(--border); background:var(--cream)}
.screen .bar i{width:11px; height:11px; border-radius:50%; background:var(--lav); display:block}
.screen .bar .url{margin-left:12px; font-family:'Roboto Mono',monospace; font-size:11px; color:var(--muted); background:#fff; border:1px solid var(--border); border-radius:6px; padding:4px 12px}
.screen .body{padding:18px; display:grid; gap:12px}
/* faux UI atoms */
.ui-field{display:flex; align-items:center; justify-content:space-between; border:2px solid var(--ink); border-radius:12px; padding:12px 14px; font-weight:600}
.ui-field .go{background:var(--purple); color:#fff; font-size:13px; border-radius:8px; padding:6px 14px}
.ui-row{display:flex; align-items:center; gap:12px; justify-content:space-between; border:1.5px solid var(--border); border-radius:12px; padding:12px 14px; background:#fff}
.ui-row .rt{font-weight:600; font-size:15px}
.ui-row .mt{color:var(--muted); font-size:13px; font-family:'Roboto Mono',monospace}
.ui-row .pr{font-weight:700; margin-left:auto}
.pill{font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px; white-space:nowrap}
.pill.ok{background:var(--mint); color:var(--mint-ink)}
.pill.warn{background:var(--amber); color:var(--amber-ink)}
.ui-line{height:11px; border-radius:6px; background:var(--mint)}
.ui-line.w70{width:70%} .ui-line.w90{width:90%} .ui-line.w50{width:50%}
.ui-line.warn{background:var(--amber)}
.ui-chip{position:absolute; left:22px; bottom:-16px; z-index:4; display:inline-flex; align-items:center; gap:9px; background:#fff; border:2px solid var(--ink); border-radius:12px; padding:9px 14px; font-size:13px; font-weight:600; box-shadow:4px 4px 0 var(--lav)}
.ui-chip .dot{width:12px; height:12px; border-radius:50%; border:2px solid var(--purple); border-top-color:transparent; animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ── scene illustration (alt to screens) ───────────────── */
.scene{position:relative; border-radius:var(--r); transition:transform .3s cubic-bezier(.25,1,.5,1)}
.scene img{border-radius:var(--r); width:100%}
.scene::after{content:""; position:absolute; inset:0; border-radius:var(--r); pointer-events:none; opacity:0; transition:opacity .3s;
  background-image:linear-gradient(90deg,var(--purple) 50%,transparent 50%),linear-gradient(90deg,var(--purple) 50%,transparent 50%),linear-gradient(0deg,var(--purple) 50%,transparent 50%),linear-gradient(0deg,var(--purple) 50%,transparent 50%);
  background-repeat:repeat-x,repeat-x,repeat-y,repeat-y; background-size:16px 2px,16px 2px,2px 16px,2px 16px; background-position:0 0,0 100%,0 0,100% 0}
.scene:hover{transform:translateY(-4px)}
.scene:hover::after{opacity:1; animation:dashMarch .5s linear infinite}
@keyframes dashMarch{100%{background-position:16px 0,-16px 100%,0 -16px,100% 16px}}

/* ── feature rows (alternating) ────────────────────────── */
.feature{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; padding:44px 0}
.feature:nth-of-type(even) .f-media{order:-1}
.feature h3{font-size:clamp(1.5rem,2.6vw,2rem); margin-bottom:14px}
.feature .lead{margin-bottom:20px}
.f-list{list-style:none; margin:0 0 22px; padding:0; display:grid; gap:12px}
.f-list li{display:flex; gap:12px; align-items:flex-start; font-size:16px; color:var(--ink-2)}
.f-list li::before{content:""; flex:none; width:20px; height:20px; margin-top:2px; border-radius:6px; background:var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat}
.f-media{position:relative}

/* ── card grids ────────────────────────────────────────── */
/* 4-up icon cards */
.cards{display:grid; grid-template-columns:repeat(4,1fr); gap:20px}
.cards--topics{grid-template-columns:repeat(3,1fr)}
.card{background:var(--white); border:2px solid var(--ink); border-radius:var(--r); padding:22px; box-shadow:4px 4px 0 var(--lav); transition:transform .15s, box-shadow .15s}
.card-link{display:block; color:inherit}
.card-link:focus-visible{outline:3px solid var(--purple); outline-offset:4px}
.card:hover{transform:translateY(-3px); box-shadow:6px 8px 0 var(--lav)}
.card .ic{width:54px; height:54px; border-radius:14px; background:var(--lav-3); display:flex; align-items:center; justify-content:center; margin-bottom:16px}
.card .ic img{width:34px; height:34px; object-fit:contain}
.card h3{font-size:1.15rem; margin-bottom:8px}
.card p{font-size:14.5px; color:var(--muted); line-height:1.5}
/* 3-up image-top cards with button */
.cards-3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px}
.card-img{display:flex; flex-direction:column; border:2px solid var(--ink); border-radius:var(--r); overflow:hidden; background:var(--white); box-shadow:5px 5px 0 var(--lav); transition:transform .15s, box-shadow .15s}
.card-img:hover{transform:translateY(-4px); box-shadow:7px 9px 0 var(--lav)}
.card-img .top{background:var(--lav-2); padding:26px; display:flex; align-items:center; justify-content:center; min-height:190px; border-bottom:2px solid var(--ink)}
.card-img .top.peach{background:var(--peach)} .card-img .top.mint{background:var(--mint)}
.card-img .top img{max-height:150px; width:auto}
.card-img .body{padding:22px; display:flex; flex-direction:column; gap:10px; flex:1}
.card-img .body h3{font-size:1.3rem}
.card-img .body p{color:var(--muted); font-size:15px; flex:1}
.card-img .body .btn{align-self:flex-start; margin-top:6px}
/* 4-up plain (borderless) text cards */
.cards-plain{display:grid; grid-template-columns:repeat(4,1fr); gap:28px}
.cell .ic-sm{width:44px; height:44px; border-radius:11px; background:var(--lav-2); display:flex; align-items:center; justify-content:center; margin-bottom:16px}
.cell .ic-sm img{width:26px; height:26px}
.cell h3{font-size:1.2rem; margin-bottom:10px}
.cell p{color:var(--muted); font-size:15px}
/* 3-up channel cards */
.channels{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.channel{display:flex; gap:14px; align-items:flex-start; border:1.5px solid var(--border); border-radius:var(--r); padding:18px; background:var(--white)}
.channel .ic-sm{flex:none}
.channel h4{font-family:var(--display); font-size:1.05rem; margin-bottom:4px}
.channel p{color:var(--muted); font-size:14px}

/* ── icon-tile cluster graphic (GitBook-style diagram) ─── */
.graphic{position:relative; display:flex; align-items:center; justify-content:center; min-height:300px}
.graphic .gr-ribbon{position:absolute; inset:0; margin:auto; width:112%; height:auto; opacity:.75; z-index:0; transform:rotate(-4deg)}
.icon-grid{position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; width:100%; max-width:300px}
.tile{aspect-ratio:1; background:#fff; border-radius:14px; box-shadow:0 5px 14px rgba(27,27,58,.10); display:flex; align-items:center; justify-content:center}
.tile img{width:34px; height:34px; object-fit:contain}
.tile.on{background:var(--purple)}
.tile.on img{filter:brightness(0) invert(1)}
.tile.ghost{background:rgba(255,255,255,.5); box-shadow:none}
.card-img .top .icon-grid{max-width:220px; gap:11px}

/* ── numbered steps (2-col split) ──────────────────────── */
.steps{display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start}
.steps--sticky .steps-head{position:sticky; top:112px}
.steps-head h2{font-size:clamp(1.8rem,3.2vw,2.5rem); margin-bottom:16px}
.step-list{display:grid; gap:18px}
.step{border:2px solid var(--border); border-radius:var(--r); padding:24px; background:var(--white); transition:border-color .2s, transform .15s}
.step:hover{border-color:var(--purple); transform:translateX(4px)}
.step .n{font-family:var(--display); font-weight:800; font-size:1.5rem; color:var(--purple); margin-bottom:10px}
.step h3{font-size:1.25rem; margin-bottom:8px}
.step p{color:var(--muted); font-size:15px}
.step .btn{margin-top:16px}

/* ── stats row ─────────────────────────────────────────── */
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:22px}
.stat{border:2px solid var(--ink); border-radius:var(--r); padding:26px 22px; background:var(--white); text-align:center; box-shadow:4px 4px 0 var(--lav)}
.stat .big{font-family:var(--display); font-weight:800; font-size:2.6rem; color:var(--purple); line-height:1; margin-bottom:12px}
.stat p{color:var(--muted); font-size:14.5px}

/* ── radial diagram (central node + satellites) ────────── */
.orbit{position:relative; max-width:560px; margin:0 auto; aspect-ratio:1/.62; display:flex; align-items:center; justify-content:center}
.orbit .core{background:var(--white); border:2px solid var(--ink); border-radius:18px; box-shadow:5px 5px 0 var(--lav); padding:18px 22px; display:flex; flex-direction:column; align-items:center; gap:8px; font-weight:700; z-index:2}
.orbit .core img{width:40px; height:40px}
.node-row{display:grid; grid-template-columns:1fr auto 1fr; gap:22px; align-items:center; max-width:900px; margin:0 auto}
.node-side{display:grid; gap:26px}
.node{display:flex; gap:14px; align-items:flex-start}
.node.r{flex-direction:row-reverse; text-align:right}
.node .ic-sm{flex:none}
.node h4{font-family:var(--display); font-size:1.05rem; margin-bottom:4px}
.node p{color:var(--muted); font-size:14px}

/* ── showcase: glass cards over the ribbon ─────────────── */
.showcase{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center}
.glass-wrap{position:relative; min-height:320px; display:flex; align-items:center; justify-content:center}
.glass-wrap .ribbon{position:absolute; inset:0 -30px; width:calc(100% + 60px); height:100%; object-fit:contain; z-index:0}
.glass-stack{position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; width:100%; max-width:400px}
.glass{background:rgba(255,255,255,.72); backdrop-filter:blur(8px); border:1.5px solid rgba(255,255,255,.9); border-radius:16px; box-shadow:0 8px 24px rgba(27,27,58,.12); aspect-ratio:1; display:flex; align-items:center; justify-content:center; padding:16px}
.glass img{width:44px; height:44px}
.glass.tall{grid-row:span 2; aspect-ratio:auto}

/* ── boxed feature (large contained panel + text) ──────── */
.boxed{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; padding:36px 0}
.boxed .txt h3{font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:16px}
.boxed .txt .lead{margin-bottom:22px}
.box{position:relative; border-radius:26px; background:var(--lav-2); overflow:hidden; min-height:400px; display:flex; align-items:center; justify-content:center; padding:40px}
.box.peach{background:var(--peach)} .box.mint{background:var(--mint)}
.box-ribbon{position:absolute; right:-50px; top:-30px; width:85%; opacity:.85; z-index:0; transform:rotate(6deg)}
.box .screen,.box .glass-stack{position:relative; z-index:2}
.box .glass-stack{max-width:320px}
/* chat-assistant screen variant */
.screen-chat .body{gap:10px}
.chat-hi{text-align:center; padding:12px 0 8px}
.chat-hi .av{width:52px; height:52px; border-radius:50%; background:var(--lav-2); display:flex; align-items:center; justify-content:center; margin:0 auto 10px}
.chat-hi .av img{width:30px; height:30px}
.chat-hi b{font-family:var(--display); font-size:1.1rem; display:block; margin-bottom:2px}
.chat-hi span{color:var(--muted); font-size:13px}
.bubble{align-self:flex-end; background:#fff; border:1.5px solid var(--border); border-radius:14px 14px 4px 14px; padding:10px 14px; font-size:14px; box-shadow:2px 2px 0 var(--lav); max-width:82%}

/* ── featured cards + filter bar ───────────────────────── */
.featured-2{display:grid; grid-template-columns:1fr 1fr; gap:24px}
.fcard{border:2px solid var(--ink); border-radius:20px; overflow:hidden; background:var(--white); box-shadow:5px 5px 0 var(--lav); transition:transform .15s, box-shadow .15s}
.fcard:hover{transform:translateY(-4px); box-shadow:7px 9px 0 var(--lav)}
.fcard .fhead{display:flex; align-items:center; justify-content:space-between; padding:18px 20px}
.fbadge{background:var(--purple); color:#fff; font-size:12px; font-weight:700; border-radius:999px; padding:5px 12px}
.fcard .fmedia{background:var(--lav-2); border-top:2px solid var(--ink); padding:24px; display:flex; align-items:center; justify-content:center; min-height:210px}
.fcard .flabel{padding:16px 20px; font-family:var(--display); font-weight:800; font-size:1.2rem}
.filterbar{display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:36px; border:2px dashed var(--border); border-radius:999px; padding:8px; width:max-content; max-width:100%; margin-inline:auto}
.fpill{font-size:14px; font-weight:600; color:var(--muted); padding:8px 16px; border-radius:999px; cursor:pointer; transition:background .2s, color .2s}
.fpill:hover{background:var(--lav-2); color:var(--ink)}
.fpill.active{background:var(--ink); color:#fff}

/* ── around: features flanking a central visual ────────── */
.around{display:grid; grid-template-columns:1fr 1.15fr 1fr; gap:40px; align-items:center}
.around .col{display:grid; gap:34px}
.around .center-visual{position:relative; border-radius:26px; background:var(--peach); overflow:hidden; min-height:380px; display:flex; align-items:center; justify-content:center; padding:36px}
.around .center-visual .glass-stack{position:relative; z-index:2; max-width:300px}

/* ── quote (dark band) ─────────────────────────────────── */
.quote{background:var(--ink); color:var(--cream)}
.quote .wrap{max-width:840px; text-align:center}
.quote blockquote{font-family:var(--display); font-weight:700; font-size:clamp(1.5rem,3vw,2.1rem); line-height:1.3; letter-spacing:-.02em; margin:0 0 26px}
.quote .who{display:flex; align-items:center; justify-content:center; gap:14px; color:var(--lav)}
.quote .logo-ph{border:1.5px dashed var(--lav); border-radius:8px; padding:6px 12px; font-family:'Roboto Mono',monospace; font-size:11px; letter-spacing:.05em}

/* ── trust logo bar ────────────────────────────────────── */
.trust{text-align:center}
.trust .kicker{color:var(--muted); font-size:15px; margin-bottom:22px}
.trust .row{display:flex; flex-wrap:wrap; gap:16px; justify-content:center}
.logo-slot{border:1.5px dashed var(--lav); border-radius:10px; padding:12px 26px; font-family:'Roboto Mono',monospace; font-size:12px; color:var(--muted)}

/* ── CTA band (yellow ribbon) ──────────────────────────── */
.cta{position:relative; text-align:center; overflow:hidden}
.cta .wrap{position:relative; z-index:2}
.cta h2{font-size:clamp(2rem,4vw,3rem); margin-bottom:14px; max-width:18ch; margin-inline:auto}
.cta .ribbon{position:absolute; left:0; right:0; top:52%; transform:translateY(-50%); z-index:1; width:100%}
.cta p{color:var(--ink-2); margin-bottom:26px}

/* ── footer ────────────────────────────────────────────── */
footer{background:var(--cream); border-top:2px dashed var(--border); padding-top:64px}
.foot-cols{display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; padding-bottom:48px}
.foot-brand img{height:36px; margin-bottom:16px}
.foot-brand p{font-size:14px; color:var(--muted); max-width:26ch}
.foot-col h4{font-family:var(--body); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:14px}
.foot-col ul{list-style:none; margin:0; padding:0; display:grid; gap:10px}
.foot-col a{font-size:15px; color:var(--ink-2)}
.foot-col a:hover{color:var(--purple)}
.foot-word{font-family:var(--display); font-weight:800; font-size:clamp(4rem,15vw,11rem); color:var(--ink); line-height:.9; letter-spacing:-.04em; padding:8px 0 0; overflow:hidden}
.foot-legal{display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:22px 0; border-top:1px solid var(--border); font-size:13px; color:var(--muted)}
.foot-legal ul{list-style:none; display:flex; gap:20px; margin:0; padding:0}

/* shared small icon badge */
.ic-sm{width:44px; height:44px; border-radius:11px; background:var(--lav-2); display:flex; align-items:center; justify-content:center}
.ic-sm img{width:26px; height:26px; object-fit:contain}

/* ── reveal + micro-interactions ───────────────────────── */
.reveal-on .reveal{opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1)}
.reveal-on .reveal.in{opacity:1; transform:none}
.reveal.d1{transition-delay:.08s} .reveal.d2{transition-delay:.16s} .reveal.d3{transition-delay:.24s}
.card.in .ic,.cell.in .ic-sm{animation:badgePop .5s cubic-bezier(0,1.2,1,1) both}
@keyframes badgePop{0%{transform:scale(.6); opacity:0} 60%{transform:scale(1.08)} 100%{transform:scale(1); opacity:1}}

/* ── responsive ────────────────────────────────────────── */
/* ── playful flourishes (homepage doodle vibe) ─────────── */
/* hand-drawn highlighter marker behind a key word (ribbon yellow) */
.scribble{background:linear-gradient(-96deg, transparent 1%, var(--yellow) 1%, var(--yellow) 99%, transparent 99%);
  background-repeat:no-repeat; background-size:100% .58em; background-position:0 82%;
  padding:0 .1em; border-radius:2px; -webkit-box-decoration-break:clone; box-decoration-break:clone}
/* floating hand-drawn character/doodle accent */
.doodle-float{position:absolute; z-index:0; pointer-events:none; mix-blend-mode:multiply;
  animation:footBob 3.6s ease-in-out infinite; will-change:transform}
/* hand-drawn squiggle section divider */
.squiggle-divider{display:block; width:100%; max-width:820px; height:auto; margin:6px auto -8px; opacity:.5; pointer-events:none}
/* footer character parade (over the wordmark) */
.foot-parade{display:flex; align-items:flex-end; justify-content:center; gap:clamp(2px,1vw,20px); margin-top:clamp(-22px,-3.4vw,-56px); position:relative; z-index:1}
.foot-parade img{height:clamp(64px,9vw,138px); width:auto; display:block; mix-blend-mode:multiply; animation:footBob 3.4s ease-in-out infinite; will-change:transform}
.foot-parade img:nth-child(1){animation-delay:0s; animation-duration:3.4s}
.foot-parade img:nth-child(2){animation-delay:.25s; animation-duration:3.9s}
.foot-parade img:nth-child(3){animation-delay:.5s; animation-duration:3.1s}
.foot-parade img:nth-child(4){animation-delay:.15s; animation-duration:3.7s}
.foot-parade img:nth-child(5){animation-delay:.4s; animation-duration:3.3s}
.foot-parade img:nth-child(6){animation-delay:.62s; animation-duration:3.6s}
@keyframes footBob{0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)}}

@media (max-width:1100px){.doodle-float{display:none}}
@media (max-width:900px){
  .nav{position:relative}
  .nav-toggle{display:block; border:1.5px solid var(--purple); border-radius:8px; background:transparent; color:var(--purple); padding:7px 10px; font:600 13px/1 var(--body); cursor:pointer}
  .nav-links{display:none}
  .nav-links.is-open{display:flex; position:absolute; top:calc(100% + 12px); left:0; right:0; z-index:20; flex-direction:column; align-items:flex-start; gap:18px; padding:20px; border:1.5px dashed var(--lav); border-radius:12px; background:var(--cream); box-shadow:0 10px 30px rgba(27,27,58,.12)}
  .hero-grid,.feature,.steps,.showcase,.boxed,.featured-2,.around{grid-template-columns:1fr; gap:32px}
  .steps--sticky .steps-head{position:static}
  /* let collapsed grid tracks shrink below faux-UI min-content (screen clips via overflow:hidden) */
  .hero-grid>*,.feature>*,.boxed>*,.showcase>*,.around>*{min-width:0}
  .screen{max-width:100%}
  /* mobile nav: drop the decorative tag, tighten gaps so brand + CTAs fit */
  .nav{gap:12px} .brand .tag{display:none} .nav-cta{gap:12px} .nav-cta .signin{font-size:14px; white-space:nowrap}
  .feature:nth-of-type(even) .f-media{order:0}
  .cards,.cards-3,.cards-plain,.channels,.stats{grid-template-columns:1fr 1fr}
  .node-row{grid-template-columns:1fr}
  .node.r{flex-direction:row; text-align:left}
  .foot-cols{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .cards,.cards-3,.cards-plain,.channels,.stats,.foot-cols,.glass-stack{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important; animation:none!important} .reveal{opacity:1; transform:none}}
