@font-face { font-family: "Inter"; src: url("fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/InterDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #F9F9FA; --olive: #95B747; --ink: #030205; --pink: #FA4A9E;
  --wine: #591337; --lime: #BAF837; --cyan: #7EC8FF; --amber: #FFC857;
  --muted: rgba(249,249,250,.66);
  --line: rgba(249,249,250,.14);
  --card: rgba(249,249,250,.045);
  --display: "Inter Display", Inter, system-ui, sans-serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0b0309; color: var(--paper); font-family: var(--sans); }
button { font: inherit; color: inherit; }
code, kbd { font-family: var(--mono); }

/* ---------- background ---------- */
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.blob { position: fixed; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: .32; pointer-events: none; transition: transform 1.6s var(--ease), background 1.6s; }
.blob.a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--pink); animation: drift 22s ease-in-out infinite alternate; }
.blob.b { width: 40vw; height: 40vw; right: -10vw; bottom: -14vw; background: var(--lime); opacity: .16; animation: drift 26s ease-in-out infinite alternate-reverse; }
.blob.c { width: 30vw; height: 30vw; right: 20vw; top: -16vw; background: var(--cyan); opacity: .12; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6vw, 5vw) scale(1.12); } }
.grid-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(186,248,55,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(186,248,55,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 20%, transparent 75%);
}

/* ---------- stage ---------- */
.stage { position: fixed; left: 50%; top: 50%; width: 1600px; height: 900px; z-index: 2; transform-origin: center; }
.slide {
  position: absolute; inset: 0; padding: 78px 104px 96px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(70px) scale(.985);
  transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.slide.active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .55s var(--ease), transform .7s var(--ease), visibility 0s; }
.slide.past { transform: translateX(-70px) scale(.985); }
.notes { display: none; }

/* entrance stagger */
.in { opacity: 0; }
.slide.active .in { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.slide.active .pop { animation-name: popin; animation-timing-function: var(--bounce); }
@keyframes popin { from { opacity: 0; transform: scale(.6) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* fragments */
.f { opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .5s var(--ease), transform .6s var(--bounce); }
.f.on { opacity: 1; transform: none; }

/* ---------- type ---------- */
.kicker { font-family: var(--mono); font-size: 17px; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.kicker.pink { color: var(--pink); } .kicker.cyan { color: var(--cyan); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.045em; line-height: .9; }
h2 { font-size: 86px; text-transform: uppercase; }
h2 .l, .lime { color: var(--lime); } h2 .p, .pink { color: var(--pink); } .cyan { color: var(--cyan); } .amber { color: var(--amber); }
.outline { color: transparent !important; -webkit-text-stroke: 2.5px var(--paper); }
.lead { font-size: 30px; line-height: 1.32; color: var(--muted); max-width: 1000px; margin: 26px 0 0; }
.lead b { color: var(--paper); font-weight: 600; }
.small { font-size: 22px; color: var(--muted); line-height: 1.4; }
.mono { font-family: var(--mono); }

/* ---------- HUD ---------- */
.hud { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 16px; pointer-events: none; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: opacity .4s; }
.hud > * { pointer-events: auto; }
.hud .sec { display: flex; align-items: center; gap: 10px; }
.hud .sec img { width: 26px; height: 26px; }
.hud .ctrl { display: flex; align-items: center; gap: 8px; }
.hud button { cursor: pointer; background: rgba(3,2,5,.6); border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; font-size: 13px; letter-spacing: .08em; color: var(--paper); backdrop-filter: blur(6px); transition: border-color .2s, color .2s; }
.hud button:hover { border-color: var(--lime); color: var(--lime); }
.hud .count { min-width: 70px; text-align: center; color: var(--paper); }
body.idle .hud { opacity: .0; }
.progress { position: fixed; left: 0; bottom: 0; height: 4px; z-index: 11; background: linear-gradient(90deg, var(--lime), var(--pink)); transition: width .6s var(--ease); box-shadow: 0 0 18px rgba(250,74,158,.7); }
.help { position: fixed; z-index: 12; left: 50%; top: 22px; transform: translateX(-50%); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); background: rgba(3,2,5,.75); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; transition: opacity .8s; white-space: nowrap; }
.help kbd { color: var(--lime); }
.help.gone { opacity: 0; pointer-events: none; }
.notes-panel { position: fixed; z-index: 13; right: 18px; top: 18px; width: min(460px, 40vw); max-height: 70vh; overflow: auto; background: rgba(3,2,5,.92); border: 1px solid var(--pink); border-radius: 14px; padding: 18px 20px; font-size: 16px; line-height: 1.5; display: none; }
.notes-panel.show { display: block; }
.notes-panel h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }

/* ---------- generic bits ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid currentColor; }
.float { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
.glow-pink { filter: drop-shadow(0 0 40px rgba(250,74,158,.45)); }
.inv { filter: invert(1); }
.copy { cursor: pointer; border: 1px solid rgba(186,248,55,.5); background: rgba(186,248,55,.08); color: var(--lime); border-radius: 8px; padding: 6px 12px; font-family: var(--mono); font-size: 14px; letter-spacing: .06em; transition: background .2s, transform .15s; }
.copy:hover { background: rgba(186,248,55,.18); }
.copy:active { transform: scale(.95); }
.copy.done { background: var(--lime); color: var(--ink); }
.cmd { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #07040a; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 22px; font-family: var(--mono); font-size: 22px; }
.cmd code::before { content: "$ "; color: var(--pink); }
.cmd code.tui::before { content: "› "; color: var(--lime); }
.cmd code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- S: title ---------- */
.s-title { display: grid; grid-template-columns: 1fr 560px; align-items: center; gap: 30px; }
.s-title .brand { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; letter-spacing: -.02em; line-height: .95; margin-bottom: 40px; }
.s-title .brand img { width: 58px; }
.s-title .brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: none; margin-top: 4px; }
.s-title h1 { font-size: 250px; text-transform: uppercase; line-height: .78; }
.s-title h1 .a2 { display: block; color: var(--pink); font-size: 196px; }
.s-title h1 .a3 { display: block; font-size: 128px; margin-top: 14px; }
.s-title .mascot { width: 520px; justify-self: center; }
.s-title .start { margin-top: 44px; display: flex; gap: 14px; align-items: center; font-family: var(--mono); font-size: 18px; color: var(--muted); }
.s-title .start kbd { display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; border: 1px solid var(--lime); color: var(--lime); border-radius: 8px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* ---------- S: map ---------- */
.map { margin-top: 64px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.map::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; height: 4px; background: linear-gradient(90deg, var(--lime), var(--pink)); border-radius: 2px; transform-origin: left; }
.slide.active .map::before { animation: grow 1.4s var(--ease) .3s both; }
@keyframes grow { from { transform: scaleX(0); } }
.stop { position: relative; text-align: center; }
.stop .dot { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 24px; background: var(--lime); color: var(--ink); box-shadow: 0 0 0 10px #0b0309; }
.stop:nth-child(even) .dot { background: var(--pink); color: var(--paper); }
.stop .t { font-family: var(--mono); font-size: 15px; letter-spacing: .14em; color: var(--lime); text-transform: uppercase; }
.stop h3 { font-size: 34px; text-transform: uppercase; margin: 10px 0 10px; letter-spacing: -.03em; line-height: .95; }
.stop p { margin: 0; font-size: 19px; color: var(--muted); line-height: 1.35; }

/* ---------- S: section ---------- */
.s-section { display: flex; flex-direction: column; justify-content: center; }
.s-section .num { position: absolute; right: 70px; bottom: 40px; font-family: var(--display); font-weight: 700; font-size: 520px; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 3px rgba(249,249,250,.12); }
.s-section h2 { font-size: 150px; }
.s-section .mascot-sm { position: absolute; right: 230px; top: 110px; width: 230px; }

/* ---------- S: translator ---------- */
.translator { margin-top: 70px; position: relative; height: 220px; }
.translator .end { position: absolute; top: 40px; width: 220px; text-align: center; font-family: var(--display); font-size: 40px; text-transform: uppercase; letter-spacing: -.03em; }
.translator .end.you { left: 0; color: var(--pink); } .translator .end.machine { right: 0; color: var(--cyan); }
.translator .end span { display: block; font-size: 90px; margin-bottom: 6px; }
.translator .rail { position: absolute; left: 250px; right: 250px; top: 100px; height: 6px; background: var(--line); border-radius: 3px; }
.translator .bubble { position: absolute; top: -34px; left: 100%; transform: translateX(-50%); white-space: nowrap; background: var(--lime); color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 18px; padding: 12px 18px; border-radius: 12px; }
.translator .bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-bottom: 0; border-top-color: var(--lime); }
.slide.active .translator .bubble { animation: travel 6s var(--ease) .8s infinite alternate; }
@keyframes travel { 0%, 15% { left: 100%; } 85%, 100% { left: 0%; } }
.translator .bubble i { font-style: normal; }
.translator .labels { position: absolute; left: 250px; right: 250px; top: 130px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 16px; color: var(--muted); letter-spacing: .08em; }

/* ---------- S: timeline ---------- */
.s-timeline { padding-top: 60px; }
.eras { position: absolute; left: 104px; right: 104px; top: 120px; height: 560px; }
.era { position: absolute; inset: 0; display: grid; grid-template-columns: 640px 1fr; gap: 70px; align-items: center; transform: none; }
.era.f { opacity: 0; transform: translateX(60px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.era.f.on { opacity: 0; transform: translateX(-60px); }
.era.f.cur { opacity: 1; transform: none; pointer-events: auto; }
.era .vis { height: 520px; display: grid; place-items: center; position: relative; }
.era .vis img { max-width: 100%; max-height: 480px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.era.cur .vis > img, .era.cur .vis > .obj { animation: bob 6s ease-in-out infinite; }
.era .year { font-family: var(--display); font-size: 150px; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2.5px var(--lime); }
.era h3 { font-size: 72px; text-transform: uppercase; margin: 22px 0 18px; }
.era p { font-size: 27px; line-height: 1.38; color: var(--muted); margin: 0; max-width: 680px; }
.era p b { color: var(--paper); }
.era .tag { margin-top: 26px; color: var(--pink); }
.track { position: absolute; left: 104px; right: 104px; bottom: 92px; height: 60px; }
.track .line { position: absolute; left: 0; right: 0; top: 14px; height: 3px; background: var(--line); }
.track .fill { position: absolute; left: 0; top: 14px; height: 3px; background: linear-gradient(90deg, var(--lime), var(--pink)); transition: width .7s var(--ease); width: 0; }
.track .tick { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font-family: var(--mono); font-size: 14px; color: rgba(249,249,250,.35); transition: color .4s; }
.track .tick::before { content: ""; display: block; width: 14px; height: 14px; margin: 8px auto 10px; border-radius: 50%; background: #0b0309; border: 2px solid rgba(249,249,250,.3); transition: all .4s var(--bounce); }
.track .tick.on { color: var(--paper); }
.track .tick.on::before { background: var(--lime); border-color: var(--lime); }
.track .tick.cur::before { transform: scale(1.6); background: var(--pink); border-color: var(--pink); box-shadow: 0 0 18px var(--pink); }
.track .tick.cur { color: var(--pink); }
.timeline-hint { position: absolute; left: 104px; top: 120px; height: 560px; display: grid; place-items: center; width: calc(100% - 208px); font-family: var(--mono); color: var(--muted); font-size: 22px; transition: opacity .4s; }
.s-timeline.started .timeline-hint { opacity: 0; }

/* era visuals */
.eliza { width: 600px; background: #031a07; border: 14px solid #2a2e24; border-radius: 26px; padding: 28px 30px; font-family: var(--mono); font-size: 21px; line-height: 1.6; color: #6bff8a; text-shadow: 0 0 8px rgba(107,255,138,.6); min-height: 360px; box-shadow: inset 0 0 60px rgba(0,0,0,.8), 0 30px 60px rgba(0,0,0,.5); }
.eliza .u { color: #c8ffd4; }
.eliza .cursor { display: inline-block; width: 12px; height: 22px; background: #6bff8a; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hal { width: 340px; height: 340px; position: relative; display: grid; place-items: center; }
.hal img { width: 100%; max-height: none !important; }
.hal::after { content: ""; position: absolute; width: 34%; height: 34%; border-radius: 50%; background: radial-gradient(circle, rgba(255,60,40,.9), transparent 70%); animation: halpulse 2.4s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes halpulse { 50% { transform: scale(1.5); opacity: .4; } }
.hal-quote { position: absolute; bottom: 10px; font-family: var(--mono); font-size: 19px; color: #ff6a55; text-align: center; width: 100%; }
.phone { position: relative; height: 470px; }
.phone img { height: 470px; max-height: none !important; }
.phone .siri { position: absolute; left: 50%; top: 46%; width: 120px; height: auto !important; transform: translate(-50%,-50%); filter: drop-shadow(0 0 22px rgba(126,200,255,.8)); }
.phone .wave { position: absolute; left: 50%; top: 46%; width: 120px; height: 120px; border-radius: 50%; border: 3px solid rgba(126,200,255,.6); transform: translate(-50%,-50%); animation: ring 2.4s ease-out infinite; }
.phone .wave:nth-of-type(2) { animation-delay: .8s; } .phone .wave:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes ring { from { width: 120px; height: 120px; opacity: 1; } to { width: 420px; height: 420px; opacity: 0; } }
.alexa { position: relative; width: 300px; height: 300px; display: grid; place-items: center; }
.alexa img { width: 240px; }
.alexa .wave { position: absolute; inset: 30px; border-radius: 50%; border: 4px solid rgba(95,202,244,.7); animation: ring2 2.4s ease-out infinite; }
.alexa .wave:nth-of-type(2) { animation-delay: 1.2s; }
@keyframes ring2 { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.alexa .said { position: absolute; bottom: -70px; white-space: nowrap; font-family: var(--mono); font-size: 20px; color: var(--cyan); }
.laptop { position: relative; width: 620px; }
.laptop img { width: 620px; max-height: none !important; }
.laptop .screen { overflow: hidden; position: absolute; left: 10.5%; top: 8%; width: 58%; height: 44%; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; }
.laptop .screen .b { max-width: 82%; font-size: 14px; padding: 8px 12px; border-radius: 12px; line-height: 1.3; opacity: 0; }
.laptop .screen .b.me { align-self: flex-end; background: #2f2f2f; color: #fff; }
.laptop .screen .b.ai { align-self: flex-start; background: #fff; color: #111; display: flex; gap: 8px; align-items: flex-start; }
.laptop .screen .b.ai img { width: 18px; flex: 0 0 auto; margin-top: 1px; }
.era.cur .laptop .screen .b { animation: rise .5s var(--ease) both; }
.era.cur .laptop .screen .b:nth-child(1) { animation-delay: .4s; } .era.cur .laptop .screen .b:nth-child(2) { animation-delay: 1.3s; } .era.cur .laptop .screen .b:nth-child(3) { animation-delay: 2.4s; } .era.cur .laptop .screen .b:nth-child(4) { animation-delay: 3.3s; }
.mac { position: relative; }
.mac img { height: 440px; max-height: none !important; }
.mac .pointer { position: absolute; left: 30%; top: 30%; width: 26px; height: 26px; animation: point 4s ease-in-out infinite; }
@keyframes point { 0%,100% { transform: translate(0,0); } 40% { transform: translate(110px, 40px); } 50% { transform: translate(110px, 40px) scale(.85); } 60% { transform: translate(110px, 40px); } }
.agentbox { width: 600px; background: #07040a; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.5); font-family: var(--mono); font-size: 19px; }
.agentbox .bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.agentbox .bar img { height: 22px; }
.agentbox .rows { padding: 18px 22px; display: grid; gap: 12px; }
.agentbox .rows div { opacity: 0; }
.era.cur .agentbox .rows div { animation: rise .5s var(--ease) both; }
.era.cur .agentbox .rows div:nth-child(1) { animation-delay: .3s; } .era.cur .agentbox .rows div:nth-child(2) { animation-delay: 1s; } .era.cur .agentbox .rows div:nth-child(3) { animation-delay: 1.7s; } .era.cur .agentbox .rows div:nth-child(4) { animation-delay: 2.4s; } .era.cur .agentbox .rows div:nth-child(5) { animation-delay: 3.1s; }
.ok { color: var(--lime); } .dim { color: var(--muted); }
.palm { position: relative; }
.palm img { height: 470px; max-height: none !important; }
.palm svg { position: absolute; left: 24%; top: 17%; width: 52%; height: 33%; }
.palm path { stroke: #222; stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; }
.era.cur .palm path { animation: draw 2.4s var(--ease) .5s infinite; }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.punch img { width: 620px; transform: rotate(-6deg); }
.punch .holes { position: absolute; right: 30px; bottom: 30px; font-family: var(--mono); color: var(--cyan); font-size: 20px; }

/* ---------- S: ladder ---------- */
.ladder { margin-top: 64px; display: flex; align-items: flex-end; gap: 16px; height: 430px; }
.rung { flex: 1; border-radius: 16px; padding: 20px 18px; display: flex; flex-direction: column; justify-content: flex-start; background: var(--card); border: 1px solid var(--line); }
.rung .ic { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.rung b { font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: -.03em; display: block; }
.rung span { font-size: 17px; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.rung.goal { background: linear-gradient(180deg, rgba(186,248,55,.22), rgba(186,248,55,.04)); border-color: var(--lime); }
.rung.goal b { color: var(--lime); }

/* ---------- S: versus ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 40px; }
.panel { border-radius: 24px; border: 1px solid var(--line); background: rgba(3,2,5,.55); overflow: hidden; height: 530px; display: flex; flex-direction: column; }
.panel .top { display: flex; justify-content: space-between; align-items: center; padding: 18px 26px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }
.panel.bot .top { color: var(--cyan); } .panel.agent .top { color: var(--lime); }
.panel .body { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; font-size: 22px; line-height: 1.4; flex: 1; }
.msg { padding: 14px 18px; border-radius: 16px; max-width: 88%; }
.msg.me { align-self: flex-end; background: var(--pink); color: var(--paper); border-bottom-right-radius: 4px; }
.msg.it { align-self: flex-start; background: rgba(249,249,250,.08); border-bottom-left-radius: 4px; color: var(--paper); white-space: pre-line; }
.step { display: flex; gap: 14px; align-items: center; font-size: 20px; padding: 10px 14px; border-radius: 12px; background: rgba(186,248,55,.06); border: 1px solid rgba(186,248,55,.18); }
.step .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(186,248,55,.14); flex: 0 0 auto; font-size: 18px; }
.step .st { margin-left: auto; font-family: var(--mono); font-size: 15px; color: var(--lime); }
.step.spin .st::after { content: "…"; }
.done-banner { margin-top: auto; background: var(--lime); color: var(--ink); font-weight: 700; padding: 14px 18px; border-radius: 14px; font-size: 21px; }
.hide { display: none !important; }
.verdict { text-align: center; margin-top: 30px; font-family: var(--display); font-size: 54px; text-transform: uppercase; letter-spacing: -.03em; }

/* ---------- S: formula ---------- */
.formula { margin-top: 80px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.term { width: 330px; height: 360px; border-radius: 28px; border: 2px solid var(--line); background: var(--card); padding: 34px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.term .big { font-size: 110px; line-height: 1; margin-bottom: 18px; }
.term b { font-family: var(--display); font-size: 44px; text-transform: uppercase; letter-spacing: -.03em; }
.term span { margin-top: 12px; font-size: 21px; color: var(--muted); line-height: 1.35; }
.term.t1 { border-color: rgba(126,200,255,.5); } .term.t1 b { color: var(--cyan); }
.term.t2 { border-color: rgba(250,74,158,.5); } .term.t2 b { color: var(--pink); }
.term.t3 { border-color: rgba(186,248,55,.5); } .term.t3 b { color: var(--lime); }
.loop-ic { width: 110px; height: 110px; display: block; overflow: visible; }
.loop-ic .track { fill: none; stroke: rgba(186,248,55,.18); stroke-width: 8; }
.loop-ic .arc { fill: none; stroke: var(--lime); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 28 72; transform: rotate(-90deg); transform-origin: 60px 60px; }
.loop-ic .comet { transform-origin: 60px 60px; }
.loop-ic .comet circle { fill: var(--lime); filter: drop-shadow(0 0 8px var(--lime)); }
.slide.active .term.t3.on .loop-ic .arc { animation: looparc 2.8s cubic-bezier(.6,.1,.4,.9) infinite; }
.slide.active .term.t3.on .loop-ic .comet { animation: loopcomet 2.8s cubic-bezier(.6,.1,.4,.9) infinite; }
@keyframes looparc { from { stroke-dashoffset: 28; } to { stroke-dashoffset: -72; } }
@keyframes loopcomet { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.op { font-family: var(--display); font-size: 80px; color: var(--muted); }
.term.res { width: 300px; background: linear-gradient(160deg, rgba(186,248,55,.2), rgba(250,74,158,.2)); border-color: var(--paper); justify-content: center; }
.term.res img { width: 150px; margin-bottom: 10px; }

/* ---------- S: examples ---------- */
.examples { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ex { border-radius: 26px; padding: 34px 32px; border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden; transition: transform .35s var(--bounce), border-color .3s; }
.ex:hover { transform: translateY(-8px) rotate(-.6deg); }
.ex .emo { font-size: 74px; }
.ex h3 { font-size: 46px; text-transform: uppercase; margin: 18px 0 14px; letter-spacing: -.03em; }
.ex .ask { font-family: var(--mono); font-size: 18px; color: var(--paper); background: rgba(3,2,5,.6); border-radius: 12px; padding: 14px 16px; line-height: 1.45; }
.ex .does { margin-top: 18px; display: grid; gap: 8px; font-size: 19px; color: var(--muted); }
.ex .does div::before { content: "→ "; color: var(--lime); }
.ex.c1 { border-color: rgba(126,200,255,.45); } .ex.c1 h3 { color: var(--cyan); }
.ex.c2 { border-color: rgba(186,248,55,.45); } .ex.c2 h3 { color: var(--lime); }
.ex.c3 { border-color: rgba(250,74,158,.45); } .ex.c3 h3 { color: var(--pink); }

/* ---------- S: loop ---------- */
.s-loop { display: grid; grid-template-columns: 720px 1fr; gap: 60px; align-items: center; }
.orbit { position: relative; width: 640px; height: 640px; margin-top: 10px; }
.orbit .ring { position: absolute; inset: 70px; border-radius: 50%; border: 3px dashed rgba(249,249,250,.18); }
.orbit .runner { position: absolute; inset: 70px; animation: spin 9s linear infinite; }
.orbit .runner::before { content: ""; position: absolute; left: 50%; top: -11px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 24px var(--lime), 0 0 60px var(--lime); }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 230px; transform: translate(-50%,-50%); text-align: center; }
.orbit .core img { width: 190px; }
.node { position: absolute; width: 210px; padding: 16px 14px; border-radius: 18px; text-align: center; background: #0f060c; border: 2px solid var(--line); transition: all .45s var(--bounce); }
.node b { display: block; font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: -.02em; }
.node span { font-size: 16px; color: var(--muted); }
.node .e { font-size: 34px; display: block; margin-bottom: 4px; }
.node.n1 { left: 215px; top: 0; } .node.n2 { right: 0; top: 255px; } .node.n3 { left: 215px; bottom: 0; } .node.n4 { left: 0; top: 255px; }
.node.hot { transform: scale(1.12); border-color: var(--lime); box-shadow: 0 0 40px rgba(186,248,55,.35); }
.node.hot b { color: var(--lime); }
.loop-story { display: grid; gap: 14px; }
.loop-story .ls { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font-size: 22px; line-height: 1.35; }
.loop-story .ls .k { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); min-width: 92px; padding-top: 5px; }

/* ---------- S: terminal sim ---------- */
.s-term { display: grid; grid-template-columns: 1fr 380px; gap: 44px; }
.term-win { background: #07040a; border: 1px solid rgba(249,249,250,.18); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.55); height: 640px; display: flex; flex-direction: column; }
.term-win .bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 14px; color: var(--muted); }
.term-win .bar i { width: 13px; height: 13px; border-radius: 50%; background: #ff5f57; } .term-win .bar i:nth-child(2) { background: #febc2e; } .term-win .bar i:nth-child(3) { background: #28c840; }
.term-win .bar span { margin-left: 12px; }
.term-win .bar img { height: 18px; margin-left: auto; }
.term-out { flex: 1; padding: 22px 26px; font-family: var(--mono); font-size: 20px; line-height: 1.6; overflow: hidden; display: flex; flex-direction: column; gap: 4px; }
.term-out .ln { animation: rise .35s var(--ease) both; white-space: pre-wrap; }
.term-out .ln.user { color: var(--paper); background: rgba(250,74,158,.12); border-left: 3px solid var(--pink); padding: 10px 14px; border-radius: 6px; margin-bottom: 10px; }
.term-out .ln.tl { color: var(--cyan); } .term-out .ln.tl b { color: var(--paper); font-weight: 400; }
.term-out .ln.think { color: var(--muted); font-style: italic; }
.term-out .ln.ok { color: var(--lime); }
.term-out .ln.final { margin-top: 12px; color: var(--ink); background: var(--lime); padding: 10px 14px; border-radius: 8px; }
.term-foot { display: flex; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 14px; color: var(--muted); }
.term-foot .mode { color: var(--lime); }
.phases { display: grid; gap: 16px; align-content: start; margin-top: 10px; }
.phase { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); transition: all .35s var(--bounce); }
.phase .e { font-size: 30px; }
.phase b { font-family: var(--display); font-size: 28px; text-transform: uppercase; letter-spacing: -.02em; }
.phase.hot { border-color: var(--lime); transform: translateX(-12px) scale(1.04); box-shadow: 0 0 30px rgba(186,248,55,.25); }
.phase.hot b { color: var(--lime); }
.replay { margin-top: 14px; cursor: pointer; border: 1px solid var(--pink); color: var(--pink); background: transparent; border-radius: 12px; padding: 12px 16px; font-family: var(--mono); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.replay:hover { background: rgba(250,74,158,.12); }

/* ---------- S: toolbox ---------- */
.tools { margin-top: 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tool { border-radius: 22px; padding: 26px 24px; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--bounce), border-color .3s; cursor: default; }
.tool:hover { transform: translateY(-6px) rotate(1deg); border-color: var(--lime); }
.tool .e { font-size: 50px; }
.tool b { display: block; font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: -.02em; margin: 14px 0 8px; }
.tool span { font-size: 18px; color: var(--muted); line-height: 1.35; }
.tool code { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--lime); background: rgba(186,248,55,.08); padding: 4px 8px; border-radius: 6px; }

/* ---------- S: flip quiz ---------- */
.flips { margin-top: 46px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; perspective: 1400px; }
.flip { height: 470px; position: relative; cursor: pointer; }
.flip .inner { position: absolute; inset: 0; transition: transform .8s var(--bounce); transform-style: preserve-3d; }
.flip.on .inner, .flip.flipped .inner { transform: rotateY(180deg); }
.flip.f { opacity: 1; transform: none; }
.flip .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.flip .front { background: var(--card); }
.flip .front .e { font-size: 66px; }
.flip .front p { font-size: 26px; line-height: 1.3; margin: 22px 0 0; font-weight: 600; }
.flip .front small { margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.flip .back { transform: rotateY(180deg); }
.flip .back .v { font-family: var(--display); font-size: 48px; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; }
.flip .back p { font-size: 20px; line-height: 1.4; margin: 18px 0 0; }
.flip .back.go { background: var(--lime); color: var(--ink); }
.flip .back.care { background: var(--amber); color: var(--ink); }
.flip .back.stop { background: var(--pink); color: var(--paper); }

/* ---------- S: rules ---------- */
.rules { margin-top: 46px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.rule { border-radius: 22px; border: 1px solid var(--line); background: var(--card); padding: 28px 22px; }
.rule .n { font-family: var(--mono); color: var(--pink); font-size: 16px; }
.rule .e { font-size: 50px; margin: 10px 0; }
.rule b { display: block; font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.rule span { display: block; margin-top: 12px; font-size: 19px; color: var(--muted); line-height: 1.38; }
.rule kbd { font-size: 16px; color: var(--lime); border: 1px solid rgba(186,248,55,.5); border-radius: 6px; padding: 1px 7px; }

/* ---------- S: opencode ---------- */
.s-oc { display: grid; grid-template-columns: 1fr 640px; gap: 60px; align-items: center; }
.oc-logo { width: 620px; margin: 10px 0 34px; }
.facts { display: grid; gap: 14px; margin-top: 30px; }
.fact { display: flex; gap: 16px; align-items: center; font-size: 25px; }
.fact .e { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(186,248,55,.1); border: 1px solid rgba(186,248,55,.3); font-size: 24px; flex: 0 0 auto; }
.oc-tui { background: #0a0a0a; border: 1px solid #333; border-radius: 16px; padding: 26px; font-family: var(--mono); font-size: 17px; color: #ddd; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.oc-tui pre { margin: 0; font-family: inherit; color: #b7b1b1; font-size: 11px; line-height: 1.05; }
.oc-tui .row { display: flex; justify-content: space-between; margin-top: 18px; color: #888; }
.oc-tui .inp { margin-top: 20px; border: 1px solid #444; border-radius: 10px; padding: 14px 16px; color: #fff; }
.oc-tui .inp .cursor { display: inline-block; width: 10px; height: 20px; background: var(--lime); vertical-align: -4px; animation: blink 1s steps(1) infinite; }
.oc-tui .keys { margin-top: 16px; display: flex; gap: 22px; color: #777; font-size: 14px; }
.oc-tui .keys b { color: #ddd; font-weight: 400; }

/* ---------- S: install ---------- */
.tabs { display: flex; gap: 10px; margin: 40px 0 22px; }
.tab { cursor: pointer; padding: 14px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); font-family: var(--mono); font-size: 18px; letter-spacing: .06em; transition: all .25s; }
.tab:hover { border-color: var(--paper); }
.tab.sel { background: var(--lime); color: var(--ink); border-color: var(--lime); font-weight: 700; }
.pane { display: none; gap: 16px; }
.pane.sel { display: grid; animation: rise .45s var(--ease) both; }
.pane .note { font-size: 21px; color: var(--muted); line-height: 1.45; }
.pane .note b { color: var(--paper); }
.check-it { margin-top: 30px; display: flex; gap: 26px; align-items: center; }
.check-it .card { flex: 1; padding: 22px 26px; font-size: 21px; color: var(--muted); line-height: 1.45; }
.check-it .card b { color: var(--lime); }

/* ---------- S: first run ---------- */
.runsteps { margin-top: 40px; display: grid; gap: 16px; }
.rs { display: grid; grid-template-columns: 70px 640px 1fr; gap: 24px; align-items: center; }
.rs .n { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 22px; background: var(--pink); color: var(--paper); }
.rs:nth-child(odd) .n { background: var(--lime); color: var(--ink); }
.rs .what { font-size: 22px; color: var(--muted); line-height: 1.38; }
.rs .what b { color: var(--paper); }

/* ---------- S: cheat sheet ---------- */
.keys-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.key { border-radius: 20px; border: 1px solid var(--line); background: var(--card); padding: 26px 24px; transition: transform .3s var(--bounce); }
.key:hover { transform: translateY(-6px); }
.key kbd { display: inline-block; font-size: 30px; font-weight: 700; color: var(--ink); background: var(--lime); padding: 8px 16px; border-radius: 12px; box-shadow: 0 6px 0 #6f9a12; }
.key:nth-child(even) kbd { background: var(--pink); color: var(--paper); box-shadow: 0 6px 0 #a3255f; }
.key b { display: block; margin-top: 24px; font-size: 25px; }
.key span { display: block; margin-top: 8px; font-size: 18px; color: var(--muted); line-height: 1.35; }

/* ---------- S: quests ---------- */
.quests { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quest { border-radius: 26px; border: 2px solid var(--line); background: var(--card); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .35s var(--bounce); }
.quest:hover { transform: translateY(-8px) rotate(-.5deg); }
.quest .lvl { font-family: var(--mono); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.quest .e { font-size: 64px; margin-top: 10px; }
.quest h3 { font-size: 42px; text-transform: uppercase; margin: 14px 0 14px; letter-spacing: -.03em; }
.quest .prompt { flex: 1; font-family: var(--mono); font-size: 16.5px; line-height: 1.5; color: var(--paper); background: rgba(3,2,5,.65); border-radius: 14px; padding: 16px 18px; }
.quest .copy { margin-top: 16px; align-self: flex-start; }
.quest.q1 { border-color: rgba(126,200,255,.5); } .quest.q1 h3, .quest.q1 .lvl { color: var(--cyan); }
.quest.q2 { border-color: rgba(186,248,55,.5); } .quest.q2 h3, .quest.q2 .lvl { color: var(--lime); }
.quest.q3 { border-color: rgba(250,74,158,.5); } .quest.q3 h3, .quest.q3 .lvl { color: var(--pink); }

/* ---------- S: recipe ---------- */
.s-recipe { display: grid; grid-template-columns: 560px 1fr; gap: 56px; align-items: start; }
.ingredients { display: grid; gap: 14px; margin-top: 30px; }
.ing { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 16px; border: 2px solid; background: var(--card); }
.ing .e { font-size: 32px; }
.ing b { font-family: var(--display); font-size: 30px; text-transform: uppercase; letter-spacing: -.02em; }
.ing span { display: block; font-size: 17px; color: var(--muted); }
.ing.g { border-color: var(--lime); } .ing.g b { color: var(--lime); }
.ing.c { border-color: var(--cyan); } .ing.c b { color: var(--cyan); }
.ing.k { border-color: var(--amber); } .ing.k b { color: var(--amber); }
.ing.d { border-color: var(--pink); } .ing.d b { color: var(--pink); }
.built { margin-top: 30px; background: #07040a; border: 1px solid var(--line); border-radius: 20px; padding: 30px 32px; font-size: 27px; line-height: 1.55; min-height: 520px; }
.built .lbl { font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.built span { padding: 2px 6px; border-radius: 6px; }
.built .g { background: rgba(186,248,55,.18); } .built .c { background: rgba(126,200,255,.18); } .built .k { background: rgba(255,200,87,.2); } .built .d { background: rgba(250,74,158,.2); }
.built .bad { font-family: var(--mono); font-size: 20px; color: var(--muted); text-decoration: line-through; margin-bottom: 20px; }

/* ---------- S: users bars ---------- */
.bars { margin-top: 50px; display: grid; gap: 18px; }
.barrow { display: grid; grid-template-columns: 250px 1fr 150px; gap: 24px; align-items: center; }
.barrow .lab { font-size: 26px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.barrow .lab img { width: 32px; }
.barrow .track2 { height: 46px; position: relative; }
.barrow .bar { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--cyan), var(--pink)); width: 0; min-width: 6px; transition: width 1.6s var(--ease); }
.slide.active .barrow .bar { width: var(--w); }
.barrow .val { font-family: var(--mono); font-size: 24px; text-align: right; }
.barrow.gpt .bar { background: var(--lime); box-shadow: 0 0 20px var(--lime); }
.barrow.gpt .val, .barrow.gpt .lab { color: var(--lime); }
.magnify { position: absolute; left: -48px; top: -42px; width: 130px; height: 130px; border-radius: 50%; border: 5px solid var(--lime); pointer-events: none; opacity: 0; }
.magnify::after { content: ""; position: absolute; right: -36px; bottom: -14px; width: 54px; height: 10px; background: var(--lime); border-radius: 5px; transform: rotate(40deg); }
.slide.active .magnify { animation: zoomin .7s var(--bounce) 2.2s both, wobble 3s ease-in-out 3s infinite; }
@keyframes zoomin { from { opacity: 0; transform: scale(2.4); } to { opacity: 1; transform: none; } }
@keyframes wobble { 50% { transform: rotate(-8deg) scale(1.05); } }
.joke { position: absolute; left: 100px; top: -30px; font-family: var(--mono); font-size: 18px; color: var(--lime); white-space: nowrap; opacity: 0; }
.slide.active .joke { animation: rise .6s var(--ease) 2.8s both; }
.src { position: absolute; left: 104px; bottom: 96px; font-family: var(--mono); font-size: 13px; color: rgba(249,249,250,.4); letter-spacing: .04em; }

/* ---------- S: compress timeline ---------- */
.ctl { position: relative; margin-top: 120px; height: 440px; }
.ctl .axis { position: absolute; left: 0; right: 0; top: 200px; height: 4px; background: linear-gradient(90deg, rgba(249,249,250,.15), var(--lime) 60%, var(--pink)); border-radius: 2px; }
.ctl .ev { position: absolute; top: 0; width: 240px; margin-left: -120px; text-align: center; }
.ctl .ev .when { font-family: var(--mono); font-size: 16px; color: var(--lime); letter-spacing: .08em; }
.ctl .ev .what { font-size: 20px; line-height: 1.3; margin-top: 8px; color: var(--paper); }
.ctl .ev .what small { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; }
.ctl .ev .pin { position: absolute; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px #0b0309, 0 0 22px var(--lime); }
.ctl .ev.up { top: 0; } .ctl .ev.up .pin { top: 192px; }
.ctl .ev.down { top: 238px; } .ctl .ev.down .pin { top: -46px; }
.ctl .ev.hot .pin { background: var(--pink); box-shadow: 0 0 0 7px #0b0309, 0 0 30px var(--pink); animation: halpulse 1.6s ease-in-out infinite; }
.ctl .ev.hot .when { color: var(--pink); }
.ctl .gap { position: absolute; top: 212px; height: 22px; border: 2px solid rgba(249,249,250,.25); border-top: 0; border-radius: 0 0 10px 10px; }
.ctl .gaplbl { position: absolute; top: 240px; font-family: var(--mono); font-size: 13px; color: rgba(249,249,250,.45); transform: translateX(-50%); white-space: nowrap; }

/* ---------- S: now (grok bot / dots) ---------- */
.nowgrid { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.now { border-radius: 28px; padding: 34px 36px; border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden; }
.now .hd { display: flex; align-items: center; justify-content: space-between; }
.now .hd img { height: 46px; }
.now .ago { font-family: var(--mono); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.now h3 { font-size: 62px; text-transform: uppercase; margin: 26px 0 8px; letter-spacing: -.04em; }
.now .date { font-family: var(--mono); font-size: 17px; color: var(--muted); }
.now ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.now li { font-size: 22px; line-height: 1.35; padding-left: 34px; position: relative; }
.now li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px; }
.now.grok { border-color: rgba(249,249,250,.35); }
.now.grok .ago { background: var(--paper); color: var(--ink); }
.now.grok li::before { background: var(--paper); }
.now.dots { border-color: rgba(126,200,255,.5); }
.now.dots h3 { color: var(--cyan); }
.now.dots .ago { background: var(--cyan); color: var(--ink); }
.now.dots li::before { background: var(--cyan); border-radius: 50%; }
.now .deco { position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: .08; }
.common { margin-top: 26px; text-align: center; font-family: var(--display); font-size: 40px; text-transform: uppercase; letter-spacing: -.03em; }

/* ---------- S: evolution ---------- */
.evo { margin-top: 70px; display: flex; align-items: stretch; gap: 0; }
.stage-evo { flex: 1; text-align: center; padding: 0 12px; position: relative; }
.stage-evo + .stage-evo::before { content: "→"; position: absolute; left: -16px; top: 60px; font-size: 40px; color: var(--muted); }
.stage-evo .orb { width: 170px; height: 170px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 74px; border: 2px solid var(--line); background: var(--card); }
.stage-evo b { display: block; margin-top: 24px; font-family: var(--display); font-size: 40px; text-transform: uppercase; letter-spacing: -.03em; }
.stage-evo .rel { font-family: var(--mono); font-size: 16px; color: var(--lime); margin-top: 8px; letter-spacing: .06em; }
.stage-evo .eg { font-size: 18px; color: var(--muted); margin-top: 12px; line-height: 1.35; }
.stage-evo.s4 .orb { border-color: var(--cyan); box-shadow: 0 0 40px rgba(126,200,255,.3); }
.stage-evo.s5 .orb { border-color: var(--pink); border-style: dashed; color: var(--pink); font-family: var(--display); font-weight: 700; animation: halpulse2 2.4s ease-in-out infinite; }
@keyframes halpulse2 { 50% { box-shadow: 0 0 60px rgba(250,74,158,.55); transform: scale(1.05); } }
.stage-evo.s5 b { color: var(--pink); }
.evo-q { margin-top: 56px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.evo-q span { font-size: 22px; padding: 12px 20px; border-radius: 999px; border: 1px dashed rgba(250,74,158,.6); color: var(--paper); }

/* ---------- S: human ---------- */
.s-human { display: grid; grid-template-columns: 1fr 520px; gap: 40px; align-items: center; }
.words { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; max-width: 900px; }
.word { font-family: var(--display); font-size: 54px; text-transform: uppercase; letter-spacing: -.03em; padding: 12px 26px; border-radius: 20px; border: 2px solid; }
.word:nth-child(1) { color: var(--lime); } .word:nth-child(2) { color: var(--pink); } .word:nth-child(3) { color: var(--cyan); } .word:nth-child(4) { color: var(--amber); } .word:nth-child(5) { color: var(--paper); }
.word.f { transition: none; opacity: 0; transform: none; }
.word.f.on { opacity: 1; animation: wordin .7s var(--bounce) both, jiggle 5s ease-in-out .7s infinite; }
.word:nth-child(2).on { animation-delay: 0s, 1.5s; } .word:nth-child(3).on { animation-delay: 0s, 2.3s; } .word:nth-child(4).on { animation-delay: 0s, 1.1s; } .word:nth-child(5).on { animation-delay: 0s, 1.9s; }
@keyframes wordin { 0% { opacity: 0; transform: translateY(30px) scale(.7) rotate(-3deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes jiggle { 0%, 100% { transform: none; } 30% { transform: rotate(-.8deg) translateY(-3px); } 70% { transform: rotate(.8deg) translateY(2px); } }

/* ---------- S: end ---------- */
.s-end { display: grid; grid-template-columns: 1fr 470px; gap: 50px; align-items: center; }
.s-end h2 { font-size: 170px; }
.join { display: flex; gap: 28px; align-items: center; margin-top: 44px; }
.qr { width: 210px; height: 210px; background: #fff; border-radius: 22px; padding: 14px; flex: 0 0 auto; }
.qr img { width: 100%; height: 100%; display: block; }
.join .info { font-size: 24px; line-height: 1.6; }
.join .info code { color: var(--lime); font-size: 22px; }
.s-end .mascot { width: 440px; }

/* ---------- S: credits ---------- */
.credits { margin-top: 34px; columns: 2; column-gap: 50px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.credits div { break-inside: avoid; margin-bottom: 10px; }
.credits b { color: var(--paper); font-weight: 600; }
.credits a { color: var(--cyan); text-decoration: none; }
.credits a:hover { text-decoration: underline; }

/* sparkles burst */
.spark { position: fixed; z-index: 20; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

.rs .cmd { font-size: 19px; }
.oc-tui .sess { display: grid; gap: 10px; margin-top: 18px; font-size: 16px; line-height: 1.45; }
.oc-tui .sess .me { color: #fff; border-left: 3px solid var(--pink); padding-left: 12px; }
.oc-tui .sess .t { color: var(--cyan); }
.oc-tui .sess .a { color: #bbb; }

.cmd.plain { text-decoration: none; color: var(--paper); }
.cmd.plain b { color: var(--lime); }
a.cmd.plain:hover { border-color: var(--lime); }
.quest .why { margin-top: 14px; font-size: 17px; line-height: 1.4; color: var(--muted); padding-left: 14px; border-left: 3px solid currentColor; }
.quest.q1 .why { border-color: var(--cyan); } .quest.q2 .why { border-color: var(--lime); } .quest.q3 .why { border-color: var(--pink); }
