:root{
  --red:#ec1c24; --red2:#af141d; --maroon:#7f121d; --ink:#1a1a1a;
  --bulb:#ffeb00; --paper:#fff; --soft:#fff3f1;
  --hard:4px 4px 0 var(--ink);
  --display:'Bowlby One',Impact,sans-serif; --body:'Outfit',system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:80px}
body{font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.5;overflow-x:hidden}
img{max-width:100%;display:block}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
svg{width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.inline-icon{width:1.1em;height:1.1em;vertical-align:-.18em;margin-right:.35em}
.stat-icon{width:1.35em;height:1.35em;vertical-align:-.2em;stroke-width:1.5}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.05}
h2{font-size:clamp(1.9rem,4.5vw,3.2rem);margin-bottom:2rem;text-shadow:3px 3px 0 var(--red)}
.dark h2,.hero h1{text-shadow:3px 3px 0 var(--maroon)}
a{color:inherit}
:focus-visible{outline:3px solid var(--bulb);outline-offset:3px}

.btn{display:inline-block;background:var(--red);color:#fff;font-weight:700;text-decoration:none;padding:.9rem 1.6rem;border:3px solid var(--ink);border-radius:999px;box-shadow:var(--hard);cursor:pointer;font-family:var(--body);font-size:1rem;transition:transform .12s,box-shadow .12s}
.btn:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.btn-ghost{background:#fff;color:var(--ink)}
.btn-sm{padding:.5rem 1.1rem;font-size:.95rem}

/* NAV */
.nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:.6rem clamp(1rem,4vw,3rem);background:#fff;border-bottom:4px solid var(--ink)}
.brand img{height:44px}
.nav nav{display:flex;gap:1.6rem;align-items:center}
.nav nav a:not(.btn){text-decoration:none;font-weight:500}
.nav nav a:not(.btn):hover{color:var(--red)}
.burger{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;flex-direction:column;justify-content:center;gap:6px;align-items:center}
.burger span{width:26px;height:4px;background:var(--ink);border-radius:2px;transition:.2s}
.burger[aria-expanded=true] span:nth-child(1){transform:translateY(10px) rotate(45deg)}
.burger[aria-expanded=true] span:nth-child(2){opacity:0}
.burger[aria-expanded=true] span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}

/* HERO */
.hero{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center;padding:6rem clamp(1rem,5vw,4rem) 5rem;background:var(--red);color:#fff;border-bottom:4px solid var(--ink)}
.bulbs{position:absolute;top:0;left:0;right:0;height:22px;display:flex;justify-content:space-around;align-items:center;background:var(--ink)}
.bulbs i{width:10px;height:10px;border-radius:50%;background:var(--bulb);animation:blink 1.6s infinite}
.bulbs i:nth-child(even){animation-delay:.8s}
@keyframes blink{50%{opacity:.25;box-shadow:none}}
.bulbs i{box-shadow:0 0 8px var(--bulb)}
.hero h1{font-size:clamp(2.6rem,7vw,5.2rem);margin-bottom:1.2rem}
.hero .mark{background:var(--ink);padding:0 .25em;display:inline-block;transform:rotate(-1.5deg);text-shadow:none;color:var(--bulb);margin-top:.2em}
.lead{font-size:1.25rem;max-width:30rem;margin-bottom:2rem}
.cta-row{display:flex;gap:1rem;flex-wrap:wrap}
.hero .btn:not(.btn-ghost){background:var(--bulb);color:var(--ink)}
.hero-visual{position:relative}
.discord{background:#2b2d31;border:4px solid var(--ink);border-radius:18px;box-shadow:8px 8px 0 var(--ink);overflow:hidden;color:#eee;transform:rotate(1.5deg)}
.d-bar{display:flex;gap:6px;align-items:center;padding:.7rem 1rem;background:#1e1f22}
.d-bar i{width:11px;height:11px;border-radius:50%;background:#555}
.d-bar b{margin-left:.6rem;font-size:.85rem;font-weight:500;color:#aaa}
.d-body{padding:1.2rem;display:grid;gap:1rem;min-height:260px}
.slash{background:#383a40;padding:.6rem .9rem;border-radius:8px;font-size:.9rem;display:flex;gap:.6rem;flex-wrap:wrap}
.slash code{color:var(--bulb);font-weight:700}
.dm{display:flex;gap:.8rem;opacity:0;transform:translateY(16px);animation:pop 6s infinite 1s}
@keyframes pop{0%{opacity:0;transform:translateY(16px)}10%,85%{opacity:1;transform:none}100%{opacity:0}}
.avatar{width:42px;height:42px;border-radius:50%;background:#fff;padding:5px;flex:none;display:grid;place-items:center}
.dm-card{background:#383a40;border-left:5px solid var(--red);border-radius:8px;padding:.9rem 1.1rem;flex:1}
.dm-card ul{list-style:none;padding:0;margin:.5rem 0 .8rem;display:grid;gap:.15rem}
.book{display:inline-block;background:#5865f2;color:#fff;padding:.35rem .9rem;border-radius:6px;font-size:.9rem;font-weight:700}
.ticket{position:absolute;background:var(--bulb);color:var(--ink);font-family:var(--display);font-size:.85rem;padding:.6rem 1.4rem;border:3px solid var(--ink);border-radius:8px;box-shadow:var(--hard)}
.ticket::before,.ticket::after{content:"";position:absolute;top:50%;width:14px;height:14px;background:var(--red);border:3px solid var(--ink);border-radius:50%;transform:translateY(-50%)}
.ticket::before{left:-10px}.ticket::after{right:-10px}
.t1{top:-28px;right:-10px;transform:rotate(8deg)}
.t2{bottom:-24px;left:-10px;transform:rotate(-7deg)}

/* STATS */
.stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--ink);color:#fff;text-align:center}
.stats div{padding:1.6rem .5rem;border-right:2px dashed #444}
.stats div:last-child{border:0}
.stats b{display:block;font-family:var(--display);font-weight:400;font-size:clamp(2rem,5vw,3.4rem);color:var(--bulb)}
.stats span{font-size:.95rem;opacity:.85}

/* SECTIONS */
.sec{padding:5rem clamp(1rem,5vw,4rem);max-width:1200px;margin:0 auto}
.dark,.tint{max-width:none}
.dark{background:var(--maroon);color:#fff;border-block:4px solid var(--ink)}
.tint{background:var(--soft)}
.dark>*,.tint>*{max-width:1100px;margin-inline:auto}
.dark h2{text-shadow:3px 3px 0 var(--ink)}
.sub{margin:-1rem auto 2rem;font-size:1.1rem}
code{font-family:ui-monospace,Menlo,monospace;background:var(--ink);color:var(--bulb);padding:.1em .45em;border-radius:6px}

/* STEPS */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.step,.card{background:#fff;border:3px solid var(--ink);border-radius:18px;padding:1.6rem;box-shadow:var(--hard);position:relative}
.step:nth-child(odd){transform:rotate(-1deg)}.step:nth-child(even){transform:rotate(1deg)}
.step h3,.card h3{font-size:1.25rem;margin:.9rem 0 .4rem}
.ico{width:64px;height:64px;display:grid;place-items:center;background:var(--bulb);border:3px solid var(--ink);border-radius:50%;box-shadow:3px 3px 0 var(--red)}
.ico svg{width:32px;height:32px;stroke-width:1.7}
.rail{height:14px;margin-top:2rem;background:var(--ink);border-radius:8px;overflow:hidden}
.rail i{display:block;height:100%;width:30%;background:repeating-linear-gradient(90deg,var(--bulb) 0 10px,transparent 10px 24px);animation:run 2.4s linear infinite}
@keyframes run{from{transform:translateX(-100%)}to{transform:translateX(340%)}}

/* DEMO */
.demo{display:grid;grid-template-columns:1.2fr 1fr;gap:2.5rem;align-items:center}
.demo-panel{background:#fff;color:var(--ink);border:4px solid var(--ink);border-radius:20px;padding:1.6rem;box-shadow:8px 8px 0 var(--ink);min-height:300px}
.demo-prog{height:10px;background:#eee;border-radius:6px;margin-bottom:1.2rem;overflow:hidden;border:2px solid var(--ink)}
.demo-prog i{display:block;height:100%;width:0;background:var(--red);transition:width .35s}
.demo-panel h3{font-size:1.5rem;margin-bottom:1rem}
.chips{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1rem}
.chip{font:700 1rem var(--body);padding:.7rem 1.1rem;background:var(--soft);border:3px solid var(--ink);border-radius:12px;cursor:pointer;transition:.12s}
.chip:hover{background:var(--bulb);transform:translateY(-2px)}
.phone{background:#2b2d31;border:4px solid var(--ink);border-radius:30px;padding:1.2rem;min-height:300px;display:flex;flex-direction:column;gap:.9rem;box-shadow:8px 8px 0 var(--ink)}
.phone-top{width:60px;height:6px;background:#555;border-radius:4px;margin:0 auto .5rem}
.bubble{padding:.8rem 1rem;border-radius:14px;max-width:90%;font-size:.95rem;animation:in .35s}
@keyframes in{from{opacity:0;transform:translateY(10px) scale(.96)}}
.you{background:#383a40;color:#ddd;align-self:flex-start}
.bot{background:var(--red);color:#fff;align-self:flex-end;border:3px solid var(--bulb)}

/* GRID */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}

/* LIFECYCLE */
.life{display:flex;justify-content:space-between;align-items:center;position:relative;gap:.5rem}
.life::before{content:"";position:absolute;left:15%;right:15%;top:42px;height:6px;background:repeating-linear-gradient(90deg,var(--ink) 0 12px,transparent 12px 22px)}
.node{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:.6rem;font-family:var(--display);flex:1;text-align:center;font-size:1.05rem}
.node span{width:84px;height:84px;display:grid;place-items:center;font-size:2rem;background:#fff;border:4px solid var(--ink);border-radius:50%;transition:.3s}
.node.on span{background:var(--red);transform:scale(1.15);box-shadow:0 0 0 6px var(--bulb),var(--hard)}

/* ARCH */
.arch{display:flex;align-items:stretch;gap:.6rem;flex-wrap:wrap;justify-content:center}
.a-node{flex:1 1 170px;max-width:230px;background:#fff;border:3px solid var(--ink);border-radius:18px;padding:1.2rem;text-align:center;box-shadow:var(--hard);font-family:var(--display);display:flex;flex-direction:column;gap:.3rem}
.a-node span{font-size:2.2rem}
.a-node small{font-family:var(--body);font-size:.85rem;color:#555}
.a-arrow{align-self:center;width:34px;height:34px;background:var(--red);clip-path:polygon(0 25%,55% 25%,55% 0,100% 50%,55% 100%,55% 75%,0 75%)}
.stores{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2rem}
.store{background:var(--ink);color:#fff;border-radius:14px;padding:1rem 1.2rem;border-bottom:6px solid var(--red)}
.store b{display:block;color:var(--bulb);font-size:1.1rem}

/* COMMANDS */
.cmds{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.cmd{background:var(--ink);border:3px solid var(--bulb);border-radius:16px;padding:1.6rem;text-align:center}
.cmd code{font-size:1.6rem;background:none;padding:0}

/* FOOTER */
.foot{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3.5rem 1rem;text-align:center;background:#fff}
.foot img{height:80px}
.foot p{font-family:var(--display);font-size:1.4rem}

/* REVEAL */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .5s,transform .5s}
.js .reveal.in{opacity:1;transform:none}
.js .step.reveal.in:nth-child(odd){transform:rotate(-1deg)}
.js .step.reveal.in:nth-child(even){transform:rotate(1deg)}

/* RESPONSIVE */
@media (max-width:900px){
  .hero,.demo{grid-template-columns:1fr}
  .hero{padding-top:5rem}
  .steps{grid-template-columns:repeat(2,1fr)}
  .grid,.cmds,.stores{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .burger{display:flex}
  .nav nav{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:1.2rem;border-bottom:4px solid var(--ink);display:none;gap:1rem}
  .nav nav.open{display:flex}
  .stats{grid-template-columns:1fr 1fr}
  .stats div:nth-child(2){border:0}
  .stats div:nth-child(-n+2){border-bottom:2px dashed #444}
  .life{flex-wrap:wrap;row-gap:1.5rem}.life::before{display:none}.node{flex:1 1 45%}
  .a-arrow{transform:rotate(90deg)}
  .t1{right:0}
}
@media (max-width:520px){
  .steps,.grid,.cmds,.stores{grid-template-columns:1fr}
  .step:nth-child(n){transform:none}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .dm{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
