@font-face { font-family: "Instrument Serif"; src: url(/fonts/is-regular.woff2) format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/fonts/is-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/fonts/intertight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jbmono.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --void: #030407;
  --void-2: #0A0C12;
  --void-3: #11141D;
  --ink: #F3EFE6;
  --dim: rgba(243, 239, 230, .58);
  --faint: rgba(243, 239, 230, .32);
  --line: rgba(243, 239, 230, .12);
  --line-2: rgba(243, 239, 230, .2);
  --solar: #FF5A1F;
  --gold: #FFC94D;
  --ion: #5B74FF;
  --cyan: #5CF2D6;
  --rose: #FF3D6E;
  --serif: "Instrument Serif", "Songti SC", "Noto Serif SC", "STSong", serif;
  --sans: "Inter Tight", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--ink);
  font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.booting { overflow: hidden; }
::selection { background: var(--solar); color: var(--void); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
code { font-family: var(--mono); font-size: .92em; }
.mono { font-family: var(--mono); letter-spacing: .08em; font-size: 11px; text-transform: uppercase; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
main, .foot { position: relative; z-index: 2; }

/* ─────────── atmosphere ─────────── */
#cosmos { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(255, 90, 31, .10), transparent 60%),
    radial-gradient(100% 70% at 50% 50%, transparent 40%, rgba(3, 4, 7, .85) 100%);
}
.grain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; opacity: .07; mix-blend-mode: overlay; }
.glow-cursor {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: 1;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 120, 60, .16), rgba(91, 116, 255, .06) 40%, transparent 68%);
  transform: translate3d(-999px, -999px, 0); will-change: transform;
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 70; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--solar), var(--gold), var(--cyan)); }

/* ─────────── boot ─────────── */
.boot {
  position: fixed; inset: 0; z-index: 100; background: var(--void); display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.boot.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.boot-inner { width: min(520px, 80vw); }
.boot-num { font: 800 clamp(80px, 16vw, 200px)/.85 var(--sans); letter-spacing: -.06em; display: flex; align-items: flex-start; }
.boot-num i { font-style: normal; font-size: .3em; color: var(--solar); margin: .2em 0 0 .1em; }
.boot-line { margin-top: 22px; color: var(--dim); }
.boot-bar { height: 1px; background: var(--line); margin-top: 14px; overflow: hidden; }
.boot-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--solar), var(--gold)); transition: width .12s linear; }

/* ─────────── nav ─────────── */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px; padding: 18px var(--pad);
  transition: background .4s, backdrop-filter .4s, padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(3, 4, 7, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font: 800 15px/1 var(--sans); letter-spacing: .22em; }
.brand-orb { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--solar); display: grid; place-items: center; position: relative; box-shadow: 0 0 22px rgba(255, 90, 31, .5); }
.brand-orb i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.brand-orb::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 90, 31, .35); animation: orbit-ping 2.6s var(--ease) infinite; }
@keyframes orbit-ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.nav-live { display: flex; gap: 8px; margin-right: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--dim); white-space: nowrap; }
.pill b { color: var(--ink); font-weight: 600; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(92, 242, 214, .7); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(92, 242, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 242, 214, 0); } }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a { color: var(--dim); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 10px 18px; border-radius: 99px; background: var(--ink); color: var(--void) !important; font: 600 13px/1 var(--mono); letter-spacing: .04em; }
.nav-cta:hover { background: var(--gold); }

/* ─────────── hero ─────────── */
.hero {
  min-height: 100vh; min-height: 100svh; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) clamp(36px, 6vh, 72px);
}
.hero-meta { position: absolute; top: 96px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; color: var(--faint); }
.hero-title { margin: 0; line-height: .82; font-weight: 400; }
.ht-pre { display: block; font: italic 400 clamp(28px, 4.4vw, 72px)/1 var(--serif); color: var(--dim); padding-left: .06em; overflow: hidden; }
.ht-pre em { display: inline-block; }
.ht-mega { display: block; overflow: hidden; padding: .04em 0 .02em; }
.ht-mega-in {
  display: block; font: 900 clamp(64px, 15.6vw, 330px)/.82 var(--sans); letter-spacing: -.052em; margin-left: -.04em;
  background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, #FFD9A8 46%, var(--solar) 52%, var(--ink) 60%, var(--ink) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s 2.2s var(--ease) infinite;
}
@keyframes sheen { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.ht-cn { display: flex; gap: .02em; justify-content: flex-end; font: 900 clamp(44px, 9vw, 180px)/1 var(--sans); letter-spacing: -.02em; margin-top: -.12em; overflow: hidden; }
.ht-cn span { display: inline-block; }
.ht-cn .dot { color: var(--solar); }

/* intro choreography */
.ht-pre em, .ht-mega-in, .ht-cn span { transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero-foot > *, .hero-meta, .scroll-cue { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
body.ready .ht-pre em, body.ready .ht-mega-in, body.ready .ht-cn span { transform: none; }
body.ready .ht-mega-in { transition-delay: .08s; }
body.ready .ht-cn span:nth-child(1) { transition-delay: .26s; }
body.ready .ht-cn span:nth-child(2) { transition-delay: .32s; }
body.ready .ht-cn span:nth-child(3) { transition-delay: .38s; }
body.ready .ht-cn span:nth-child(4) { transition-delay: .44s; }
body.ready .ht-cn span:nth-child(5) { transition-delay: .5s; }
body.ready .hero-foot > *, body.ready .hero-meta, body.ready .scroll-cue { opacity: 1; transform: none; }
body.ready .hero-foot > :nth-child(1) { transition-delay: .6s; }
body.ready .hero-foot > :nth-child(2) { transition-delay: .72s; }
body.ready .hero-meta, body.ready .scroll-cue { transition-delay: .9s; }

.hero-foot { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 40px; align-items: end; margin-top: clamp(28px, 5vh, 56px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero-lede { margin: 0; font-size: clamp(16px, 1.35vw, 20px); color: var(--dim); max-width: 34em; }
.hero-lede b { color: var(--ink); font-weight: 600; }
.install-label { display: flex; align-items: center; gap: 10px; color: var(--faint); margin-bottom: 10px; }
.install-label i { width: 24px; height: 1px; background: var(--solar); }
.install-line {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 20px 22px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(var(--void-2), var(--void-2)) padding-box, conic-gradient(from var(--a, 0deg), var(--solar), var(--gold), var(--ion), var(--cyan), var(--solar)) border-box;
  border: 1px solid transparent; animation: spin-border 6s linear infinite;
  box-shadow: 0 20px 80px -20px rgba(255, 90, 31, .35);
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --a: 360deg; } }
.install-prompt { color: var(--solar); font: 700 20px/1 var(--mono); }
.install-line code { flex: 1; font-size: clamp(13px, 1.1vw, 16px); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.install-copy { padding: 7px 11px; border-radius: 8px; background: var(--ink); color: var(--void); font-weight: 700; }
.install-line:hover .install-copy { background: var(--gold); }
.install-agents { margin-top: 12px; color: var(--faint); font-size: 10px; }
.scroll-cue { position: absolute; right: var(--pad); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--faint); writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 80px; background: linear-gradient(var(--ink), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--solar); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* ─────────── stream ─────────── */
.stream { position: relative; border-block: 1px solid var(--line); background: rgba(3, 4, 7, .7); backdrop-filter: blur(6px); display: flex; align-items: stretch; overflow: hidden; }
.stream-label { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px 0 var(--pad); border-right: 1px solid var(--line); color: var(--ink); background: var(--void); z-index: 2; }
.stream-track { display: flex; gap: 0; padding: 0; min-height: 64px; align-items: stretch; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.call { flex: none; display: flex; align-items: center; gap: 14px; padding: 0 26px; border-right: 1px solid var(--line); font: 12px/1 var(--mono); white-space: nowrap; animation: call-in .7s var(--ease) both; }
.call .t { color: var(--faint); }
.call .tool { color: var(--ink); }
.call .who { color: var(--ion); }
.call .who.you { color: var(--gold); }
.call .ok { color: var(--cyan); }
.call .bad { color: var(--rose); }
.call .ms { color: var(--dim); }
@keyframes call-in { from { opacity: 0; transform: translateX(-40px); background: rgba(255, 90, 31, .25); } to { opacity: 1; transform: none; background: transparent; } }

/* ─────────── numbers ─────────── */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--void); border-bottom: 1px solid var(--line); }
.num { padding: clamp(40px, 7vw, 96px) var(--pad) clamp(32px, 5vw, 64px); border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.num:last-child { border-right: 0; }
.num::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--solar), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.num.in::before { transform: none; }
.num-v { font: 800 clamp(48px, 6.6vw, 120px)/.9 var(--sans); letter-spacing: -.06em; display: flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.num-v small { font-size: .4em; color: var(--solar); letter-spacing: 0; margin: 0 .08em; }
.num-k { margin-top: 18px; color: var(--ink); line-height: 1.8; }
.num-k span { color: var(--faint); letter-spacing: .02em; text-transform: none; font-family: var(--sans); font-size: 13px; }

/* ─────────── section scaffolding ─────────── */
section { position: relative; }
.sec-head { padding: 0 var(--pad); max-width: 1500px; }
.sec-no { color: var(--solar); display: block; margin-bottom: 22px; }
.sec-title { margin: 0; font: 800 clamp(44px, 7.2vw, 128px)/.92 var(--sans); letter-spacing: -.05em; }
.sec-title em { color: var(--gold); letter-spacing: -.01em; }
.sec-sub { color: var(--dim); max-width: 40em; margin: 26px 0 0; font-size: clamp(15px, 1.2vw, 18px); }
.sec-sub code { color: var(--ink); background: var(--void-3); padding: 2px 6px; border-radius: 4px; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.split.in .w > span { transform: none; }

/* ─────────── verbs (pinned) ─────────── */
.verbs { height: 340vh; background: var(--void); }
.verbs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding: 108px var(--pad) 40px; }
.verbs-head { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.verbs-head .sec-no { margin: 0; }
.verbs-head .sec-title { font-size: clamp(30px, 3.6vw, 60px); }
.verbs-stage { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; min-height: 0; }
.verbs-words { position: relative; height: 100%; min-height: 320px; }
.vw { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.vw-n { color: var(--solar); opacity: 0; transition: opacity .6s; }
.vw.on .vw-n { opacity: 1; }
.vw-w {
  font: 900 clamp(64px, 11vw, 220px)/.86 var(--sans); letter-spacing: -.055em; margin: 12px 0 0 -.05em;
  -webkit-text-stroke: 1.5px var(--line-2); color: transparent;
  background: linear-gradient(90deg, var(--ink), var(--ink)) no-repeat 0 0 / 0% 100%; -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.1s var(--ease), transform 1.1s var(--ease), opacity .8s;
  transform: translateY(40px); opacity: 0;
}
.vw-cn { font: 700 clamp(24px, 2.6vw, 44px)/1 var(--sans); color: var(--gold); margin-top: 18px; opacity: 0; transform: translateY(20px); transition: all .9s var(--ease) .1s; }
.vw p { max-width: 30em; color: var(--dim); font-size: clamp(15px, 1.15vw, 18px); margin: 18px 0 0; opacity: 0; transform: translateY(20px); transition: all .9s var(--ease) .18s; }
.vw.on .vw-w { background-size: 100% 100%; transform: none; opacity: 1; }
.vw.on .vw-cn, .vw.on p { opacity: 1; transform: none; }
.vw.past .vw-w { transform: translateY(-40px); opacity: 0; }
.verbs-term {
  border-radius: 18px; background: rgba(10, 12, 18, .82); border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(91, 116, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden; backdrop-filter: blur(10px); max-height: 100%; display: flex; flex-direction: column;
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--faint); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.term-bar i:nth-child(1) { background: var(--rose); }
.term-bar i:nth-child(2) { background: var(--gold); }
.term-bar i:nth-child(3) { background: var(--cyan); }
.term-bar span { margin-left: 10px; text-transform: none; letter-spacing: .02em; }
.term-body { margin: 0; padding: 22px; font-size: clamp(11.5px, .9vw, 13.5px); line-height: 1.7; text-transform: none; letter-spacing: 0; white-space: pre-wrap; word-break: break-all; min-height: 340px; overflow: hidden; color: var(--dim); }
.term-body .p { color: var(--solar); }
.term-body .c { color: var(--ink); }
.caret { display: inline-block; width: .6em; height: 1.1em; background: var(--solar); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.verbs-rail { position: relative; display: flex; justify-content: space-between; margin-top: 24px; padding-top: 14px; color: var(--faint); }
.verbs-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.verbs-rail i { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: linear-gradient(90deg, var(--solar), var(--gold)); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--solar); }

/* ─────────── exchange ─────────── */
.exchange { padding: clamp(100px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); background: linear-gradient(var(--void), rgba(3, 4, 7, .55) 30%, rgba(3, 4, 7, .55) 70%, var(--void)); }
.ask { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin: clamp(40px, 6vw, 80px) var(--pad) 0; padding-bottom: 14px; border-bottom: 2px solid var(--line-2); position: relative; }
.ask::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--solar), var(--gold), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.ask:focus-within::after { transform: none; }
.ask-glyph { width: clamp(28px, 3.4vw, 54px); height: clamp(28px, 3.4vw, 54px); border-radius: 50%; border: 3px solid var(--solar); position: relative; flex: none; }
.ask-glyph::after { content: ""; position: absolute; width: 40%; height: 3px; background: var(--solar); right: -30%; bottom: -8%; transform: rotate(45deg); border-radius: 2px; }
.ask input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--ink); font: 800 clamp(34px, 6.4vw, 112px)/1.1 var(--sans); letter-spacing: -.045em; caret-color: var(--solar); }
.ask input::placeholder { color: rgba(243, 239, 230, .16); }
.ask input::-webkit-search-cancel-button { display: none; }
.ask-count { color: var(--faint); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px var(--pad) 0; }
.chips button { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14px; color: var(--dim); transition: all .25s var(--ease); }
.chips button:hover { color: var(--void); background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; padding: clamp(32px, 4vw, 56px) var(--pad) 0; perspective: 1400px; }
.card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; text-align: left; border-radius: 20px; padding: 26px 24px 22px; min-height: 250px;
  display: flex; flex-direction: column; background: rgba(13, 15, 22, .78); border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .4s;
  animation: card-in .9s var(--ease) both; overflow: hidden; backdrop-filter: blur(6px);
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 140, 70, .18), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(255, 140, 70, .45); box-shadow: 0 30px 80px -30px rgba(255, 90, 31, .4); transition: transform .12s linear, border-color .3s, box-shadow .4s; }
.card:hover::before { opacity: 1; }
@keyframes card-in { from { opacity: 0; transform: translateY(50px) rotateX(-14deg); } }
.card-top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); }
.card-cat { padding: 5px 9px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: var(--dim); }
.card h3 { margin: 30px 0 4px; font: 700 clamp(24px, 2vw, 30px)/1.05 var(--sans); letter-spacing: -.03em; transform: translateZ(30px); }
.card-id { font: 12px/1 var(--mono); color: var(--solar); }
.card p { color: var(--dim); font-size: 14.5px; margin: 14px 0 22px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font: 12px/1.3 var(--mono); }
.card-price b { font: 700 18px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.card-price small { color: var(--faint); margin-left: 4px; }
.hl { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
.hl i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.hl.h-healthy i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hl.h-stable i { background: var(--ion); box-shadow: 0 0 10px var(--ion); }
.hl.h-degraded i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hl.h-outage i { background: var(--rose); box-shadow: 0 0 10px var(--rose); }
.hl small { display: block; color: var(--faint); text-transform: none; letter-spacing: 0; }
.fitbar { position: absolute; left: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--solar), var(--gold)); }
.empty { grid-column: 1 / -1; padding: 60px 0; color: var(--dim); font-size: 18px; }

/* ─────────── ignite / console ─────────── */
.ignite { padding: clamp(80px, 10vw, 160px) 0; background: linear-gradient(var(--void), rgba(3, 4, 7, .6) 25%, rgba(3, 4, 7, .6) 75%, var(--void)); }
.console {
  margin: clamp(40px, 6vw, 80px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: rgba(8, 10, 15, .86); backdrop-filter: blur(14px);
  box-shadow: 0 60px 160px -40px rgba(255, 90, 31, .28), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.console-in { padding: clamp(22px, 3vw, 40px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span { color: var(--faint); display: flex; justify-content: space-between; align-items: center; }
.field button { color: var(--solar); font: inherit; letter-spacing: inherit; }
.field.grow { flex: 1; }
select, textarea {
  width: 100%; background: var(--void); color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; outline: 0;
  font: 14px/1.6 var(--mono); padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(-45deg, transparent 50%, var(--dim) 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select:focus, textarea:focus { border-color: var(--solar); box-shadow: 0 0 0 4px rgba(255, 90, 31, .14); }
textarea { min-height: 200px; resize: vertical; flex: 1; }
.console-desc { margin: 0; color: var(--dim); font-size: 14.5px; }
.schema { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--void); border: 1px dashed var(--line-2); color: var(--dim); max-height: 220px; overflow: auto; text-transform: none; letter-spacing: 0; white-space: pre; }
.console-fire { display: flex; align-items: center; gap: 26px; margin-top: 6px; }
.fire { width: 128px; height: 128px; position: relative; flex: none; border-radius: 50%; }
.fire svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.fire-track { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.fire-ring { fill: none; stroke: var(--solar); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 352; transition: stroke-dashoffset .5s var(--ease); filter: drop-shadow(0 0 6px var(--solar)); }
.fire:hover .fire-ring { stroke-dashoffset: 250; }
.fire.busy .fire-ring { stroke-dashoffset: 260; animation: whirl .9s linear infinite; transform-origin: 60px 60px; }
@keyframes whirl { to { transform: rotate(360deg); } }
.fire-core {
  position: absolute; inset: 12px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #FF9A5C, var(--solar) 45%, #B92E05 100%);
  box-shadow: 0 0 60px rgba(255, 90, 31, .55), inset 0 -8px 20px rgba(0, 0, 0, .35), inset 0 6px 14px rgba(255, 220, 180, .45);
  transition: transform .25s var(--ease), box-shadow .3s;
}
.fire-core b { font: 900 26px/1 var(--sans); letter-spacing: .06em; color: #fff; }
.fire-core small { color: rgba(255, 255, 255, .7); margin-top: 6px; font-size: 10px; }
.fire:hover .fire-core { box-shadow: 0 0 100px rgba(255, 90, 31, .85), inset 0 -8px 20px rgba(0, 0, 0, .35), inset 0 6px 14px rgba(255, 220, 180, .45); }
.fire:active .fire-core { transform: scale(.93); }
.console-price { color: var(--faint); line-height: 1.9; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.console-price b { color: var(--ink); font: 700 30px/1 var(--sans); letter-spacing: -.03em; display: block; margin-bottom: 6px; }
.console-out { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { padding: 18px 24px; color: var(--faint); position: relative; letter-spacing: .1em; }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 2px; background: var(--solar); box-shadow: 0 0 10px var(--solar); }
.readout { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 24px; border-bottom: 1px solid var(--line); color: var(--faint); text-transform: none; letter-spacing: .02em; font-size: 12px; min-height: 48px; align-items: center; }
.readout b { color: var(--ink); font-weight: 600; }
.readout .ok { color: var(--cyan); }
.readout .err { color: var(--rose); }
.terminal { margin: 0; flex: 1; padding: 22px 24px; min-height: 460px; max-height: 620px; overflow: auto; font-size: 13px; line-height: 1.65; color: var(--dim); text-transform: none; letter-spacing: 0; white-space: pre-wrap; word-break: break-word; }
.terminal .muted { color: var(--faint); }
.j-k { color: var(--ion); }
.j-s { color: #FFD9A8; }
.j-n { color: var(--cyan); }
.j-b { color: var(--rose); }
.j-u { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(255, 201, 77, .35); }
.shock { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; pointer-events: none; opacity: 0; }
.shock.go { animation: shock 1.1s var(--ease); }
.shock.go.err { --sc: var(--rose); }
@keyframes shock { 0% { opacity: .9; transform: scale(0); box-shadow: 0 0 0 2px var(--sc, var(--cyan)), 0 0 60px var(--sc, var(--cyan)); } 100% { opacity: 0; transform: scale(40); box-shadow: 0 0 0 .3px var(--sc, var(--cyan)), 0 0 4px var(--sc, var(--cyan)); } }

/* ─────────── manifesto ─────────── */
.manifesto { padding: clamp(120px, 18vw, 280px) var(--pad); background: var(--void); }
.mani-text { margin: 0; font: 800 clamp(40px, 7vw, 128px)/1.04 var(--sans); letter-spacing: -.05em; max-width: 16ch; }
.mani-text .ch { color: rgba(243, 239, 230, .1); transition: color .25s; }
.mani-text .ch.lit { color: var(--ink); }
.mani-text em .ch.lit { color: var(--solar); }
.mani-text em { display: block; margin-top: .2em; font-size: 1.15em; letter-spacing: -.02em; }

/* ─────────── connect ─────────── */
.connect { padding: clamp(80px, 10vw, 160px) 0; background: var(--void); }
.gates { display: flex; gap: 14px; margin: clamp(40px, 6vw, 80px) var(--pad) 0; height: clamp(440px, 52vw, 560px); }
.gate {
  flex: 1; position: relative; border-radius: 24px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, var(--void-3), var(--void-2)); transition: flex 1s var(--ease), border-color .4s; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 2.6vw, 36px);
}
.gate::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(255, 90, 31, .22), transparent 60%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.gate:nth-child(2)::after { background: radial-gradient(80% 60% at 100% 0%, rgba(91, 116, 255, .28), transparent 60%); }
.gate:nth-child(3)::after { background: radial-gradient(80% 60% at 100% 0%, rgba(92, 242, 214, .2), transparent 60%); }
.gate:hover, .gate.open { flex: 2.4; border-color: var(--line-2); }
.gate:hover::after, .gate.open::after { opacity: 1; }
.gate-n { font: 900 clamp(90px, 12vw, 200px)/.8 var(--sans); letter-spacing: -.06em; -webkit-text-stroke: 1.5px var(--line-2); color: transparent; transition: color .6s, -webkit-text-stroke-color .6s; }
.gate:hover .gate-n, .gate.open .gate-n { color: var(--ink); }
.gate-tag { color: var(--solar); }
.gate h3 { font: 800 clamp(24px, 2.4vw, 38px)/1.05 var(--sans); letter-spacing: -.03em; margin: 12px 0 0; }
.gate p { color: var(--dim); font-size: 15px; margin: 14px 0 0; max-width: 34em; }
.gate p code { color: var(--ink); background: rgba(255, 255, 255, .06); padding: 1px 6px; border-radius: 4px; }
.gate p, .snip { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.gate:hover p, .gate.open p, .gate:hover .snip, .gate.open .snip { opacity: 1; transform: none; transition-delay: .25s; }
.snip { margin-top: 20px; display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 14px 16px; border-radius: 12px; background: var(--void); border: 1px solid var(--line-2); }
.snip code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.snip .mono { color: var(--solar); }
.snip:hover { border-color: var(--solar); }

/* ─────────── roadmap ─────────── */
.next { padding: clamp(60px, 8vw, 120px) 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--void); }
.next-label { padding: 0 var(--pad) 28px; color: var(--faint); }
.next-row { overflow: hidden; }
.next-track { display: flex; align-items: center; gap: .4em; width: max-content; font: 900 clamp(56px, 9vw, 160px)/1.1 var(--sans); letter-spacing: -.04em; white-space: nowrap; will-change: transform; }
.next-track span { -webkit-text-stroke: 1.5px rgba(243, 239, 230, .35); color: transparent; transition: color .3s, -webkit-text-stroke-color .3s; }
.next-track span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.next-track i { font-style: normal; color: var(--solar); font-size: .4em; }
.next-row.rev .next-track span { -webkit-text-stroke: 0; color: rgba(243, 239, 230, .9); }
.next-row.rev .next-track span:hover { color: var(--cyan); }

/* ─────────── FAQ ─────────── */
.faq { padding: clamp(80px, 10vw, 160px) 0; background: var(--void); }
.faq-list { margin: clamp(32px, 5vw, 64px) var(--pad) 0; border-top: 1px solid var(--line); max-width: 1200px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 600 clamp(19px, 2vw, 30px)/1.25 var(--sans); letter-spacing: -.02em; transition: color .25s, padding .4s var(--ease); }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--gold); padding-left: 12px; }
summary i { width: 22px; height: 22px; position: relative; flex: none; }
summary i::before, summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details p { margin: 0; padding: 0 0 30px; color: var(--dim); max-width: 46em; font-size: 16px; animation: fade-up .6s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(-8px); } }

/* ─────────── footer ─────────── */
.foot { background: var(--void); padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; border-top: 1px solid var(--line); }
.foot-cta { padding: 0 var(--pad); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.foot-kicker { color: var(--solar); }
.foot-install { display: flex; align-items: center; gap: 18px; padding: 20px 26px; border-radius: 99px; background: var(--ink); color: var(--void); max-width: 100%; transition: background .3s, box-shadow .3s; }
.foot-install:hover { background: var(--gold); box-shadow: 0 0 80px rgba(255, 201, 77, .5); }
.foot-install code { font-size: clamp(13px, 1.4vw, 18px); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot-install .mono { font-weight: 700; }
.foot-mark {
  --fx: 50%; --fy: 50%;
  font: 900 clamp(52px, 15.4vw, 310px)/.8 var(--sans); letter-spacing: -.06em; text-align: center; margin: clamp(60px, 8vw, 120px) 0 clamp(24px, 3vw, 40px); white-space: nowrap; margin-left: -.04em;
  background: radial-gradient(28vw circle at var(--fx) var(--fy), var(--solar), var(--gold) 30%, rgba(243, 239, 230, .08) 62%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.foot-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px var(--pad) 0; border-top: 1px solid var(--line); color: var(--faint); }
.foot-row a:hover { color: var(--ink); }

/* ─────────── toast ─────────── */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; padding: 13px 20px; border-radius: 99px; background: var(--ink); color: var(--void); font-weight: 700; transition: all .45s var(--ease); pointer-events: none; text-transform: none; letter-spacing: .02em; font-size: 12.5px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); max-width: 90vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ─────────── responsive ─────────── */
@media (max-width: 1180px) {
  .hide-md { display: none !important; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .vw-n { opacity: 1; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .install { min-width: 0; }
  .scroll-cue { display: none; }
  .verbs { height: auto; }
  .verbs-sticky { position: static; height: auto; padding-top: 100px; }
  .verbs-stage { grid-template-columns: 1fr; }
  .verbs-words { height: auto; min-height: 0; display: grid; gap: 40px; margin-top: 30px; }
  .vw { position: static; }
  .vw .vw-w, .vw .vw-cn, .vw p { opacity: 1; transform: none; background-size: 100% 100%; }
  .verbs-rail { display: none; }
  .console { grid-template-columns: 1fr; }
  .console-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .terminal { min-height: 320px; }
  .gates { flex-direction: column; height: auto; }
  .gate { min-height: 0; }
  .gate p, .snip { opacity: 1; transform: none; }
  .gate-n { color: var(--ink); font-size: 64px; margin-bottom: 20px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .nav { gap: 12px; }
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .brand-word { display: none; }
  .ht-mega-in { font-size: 14.6vw; }
  .nav-live .pill { padding: 6px 10px; }
  .stream-label { font-size: 10px; }
  .hero { padding-top: 110px; }
  .ht-cn { justify-content: flex-start; margin-top: .1em; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .num { padding: 34px 20px 26px; }
  .stream-label { padding: 0 14px; }
  .console-fire { gap: 18px; }
  .fire { width: 104px; height: 104px; }
  .foot-install { border-radius: 16px; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .glow-cursor { display: none; }
}

/* ─────────── language toggle ─────────── */
.lang { position: relative; display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 99px; font: 600 12px/1 var(--mono); }
.lang span { position: relative; z-index: 1; width: 34px; padding: 8px 0; text-align: center; color: var(--dim); transition: color .35s; }
.lang span.on { color: var(--void); }
.lang i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 34px; border-radius: 99px; background: var(--gold); transition: transform .45s var(--ease); box-shadow: 0 0 18px rgba(255, 201, 77, .45); }
body.zh .lang i { transform: translateX(34px); }
.lang:hover { border-color: var(--gold); }
main, .foot, .nav-links a, .nav-live { transition: opacity .26s, filter .26s; }
body.swapping main, body.swapping .foot, body.swapping .nav-links a, body.swapping .nav-live { opacity: 0; filter: blur(8px); }
body:not(.zh) .ht-cn { letter-spacing: -.045em; }
@media (max-width: 640px) { .lang span { width: 30px; } .lang i { width: 30px; } body.zh .lang i { transform: translateX(30px); } }
.readout a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
