/* ─────────────────────────────────────────────────────────────
   B88M · 八八 — shared design system (landing + app)
   Pure black · Roboto Mono (Noto Sans SC for 中文) · neutral gray
   accent · chrome "shiny" pills with a conic ring and a glare sweep.
   ───────────────────────────────────────────────────────────── */
@property --shine-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #000;
  --panel: #0a0a0a;
  --panel-2: #111;
  --fg: #fff;
  --fg-2: rgba(255, 255, 255, .65);
  --fg-3: rgba(255, 255, 255, .4);
  --fg-4: rgba(255, 255, 255, .22);
  --surface: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --accent: #9ca3af;
  --glow: rgba(255, 255, 255, .16);
  --up: #d8dde3;
  --warn: #c9c9c9;
  --mono: "Roboto Mono", "Noto Sans SC", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  /* per-language multipliers — never em (em compounds on nested display type) */
  --k: 1;
  --ls: 1;
  --t-display: calc(clamp(26px, 3.6vw, 52px) * var(--k));
  --t-h2: calc(clamp(24px, 3vw, 40px) * var(--k));
  --t-h3: calc(18px * var(--k));
  --t-stat: clamp(26px, 3vw, 40px);
  --t-body: 13px;
  --t-nav: 13px;
  --maxw: 1340px;
  --gut: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
:root[lang="zh"] { --k: .94; --ls: 0; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--mono); font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--mono); }
::selection { background: #fff; color: #000; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.col { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: fixed; top: -64px; left: 50%; transform: translateX(-50%); z-index: 200; padding: 10px 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 600; transition: top .2s ease; }
.skip-link:focus-visible { top: 16px; }

/* ── status dot ─────────────────────────────────────────────── */
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--glow); animation: dot-pulse 2.6s infinite; flex: none; }
.dot.is-live { background: #fff; }
.dot.is-off { background: #444; animation: none; box-shadow: none; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ── shiny pill ─────────────────────────────────────────────── */
.shiny { position: relative; display: inline-flex; padding: 1.5px; border-radius: 999px; border: 0; cursor: pointer;
  background: conic-gradient(from var(--shine-angle), #242424, #d3d2d3 25%, #242424 50%, #d3d2d3 75%, #242424);
  animation: shine-spin 4.5s linear infinite; }
@keyframes shine-spin { to { --shine-angle: 360deg; } }
.shiny__inner { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
  background: var(--panel); color: var(--fg); border-radius: 999px; padding: 16px 48px; font-family: var(--mono); font-weight: 600;
  font-size: 13px; letter-spacing: calc(.2em * var(--ls)); text-transform: uppercase; white-space: nowrap; transition: background .2s ease; width: 100%; }
:root[lang="zh"] .shiny__inner { letter-spacing: .3em; }
.shiny:hover .shiny__inner { background: #141414; }
.shiny__inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-130%); animation: glare 4.5s ease-in-out infinite;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.18) 47%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.18) 53%, transparent 65%); }
@keyframes glare { 0%, 100% { transform: translateX(-130%); } 55%, 65% { transform: translateX(130%); } }
.shiny--sm .shiny__inner { padding: 12px 24px; font-size: 11px; letter-spacing: .18em; }
.shiny--block { display: flex; width: 100%; }
.shiny[disabled], .shiny.is-disabled { animation: none; background: #2a2a2a; cursor: not-allowed; }
.shiny[disabled] .shiny__inner::after, .shiny.is-disabled .shiny__inner::after { animation: none; display: none; }
.shiny[disabled] .shiny__inner { color: var(--fg-3); }

.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--fg); font-family: var(--mono); font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, border-color .2s ease; white-space: nowrap; }
.ghost:hover { background: rgba(255,255,255,.1); border-color: var(--fg-3); }
.ghost[disabled] { opacity: .4; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  .shiny, .shiny__inner::after, .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── language toggle: one button naming only the other language ── */
.lang-toggle { height: 40px; min-width: 52px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #fff;
  font-family: "Noto Sans SC", var(--mono); font-size: 13px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s; }
.lang-toggle:hover { background: rgba(255,255,255,.1); border-color: var(--fg-3); }
.nav.stuck .lang-toggle { border-color: #ffffff38; }
:root[lang="zh"] .en-only, :root:not([lang="zh"]) .zh-only { display: none !important; }
.brand-zh { display: inline-flex; align-items: center; gap: 10px; }
.brand-zh img { height: 20px; width: auto; display: block; }
.brand-zh span { font-family: "Noto Sans SC", sans-serif; font-weight: 600; font-size: 19px; letter-spacing: .12em; line-height: 1; }
.footer-brand .brand-zh img { height: 24px; }
.footer-brand .brand-zh span { font-size: 22px; }
.footer-mark--zh { width: 60% !important; }
.lang { display: inline-flex; align-items: center; height: 40px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.lang button { height: 32px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--fg-3); font-size: 12px; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--fg); color: #000; }
.lang button:not([aria-pressed="true"]):hover { color: var(--fg); }

/* ── NAV: transparent bar → frosted pill once scrolled ─────── */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; width: calc(100% - 2 * var(--gut)); max-width: 1680px;
  display: flex; align-items: center; justify-content: space-between; padding: 8px; border: 1px solid transparent; border-radius: 999px;
  transition: max-width 460ms var(--ease), background 360ms ease, border-color 360ms ease, box-shadow 360ms ease, padding 360ms ease; }
.nav.stuck { max-width: 1340px; padding: 8px 8px 8px 22px; background: #ffffff30; border-color: #ffffff38; box-shadow: 0 14px 44px rgba(0,0,0,.3);
  -webkit-backdrop-filter: blur(32px); backdrop-filter: blur(32px); }
.nav .brand { display: flex; align-items: center; padding-left: 12px; position: relative; }
.brand-logo { height: 21px; width: auto; display: block; }
.brand-logo--symbol { display: none; }
.nav .right { display: flex; align-items: center; gap: 22px; }
.nav .links { display: flex; align-items: center; gap: 28px; }
.nav .links a { font-size: var(--t-nav); font-weight: 500; letter-spacing: .3px; color: var(--fg-2); transition: color .22s ease; }
.nav .links a:hover { color: var(--fg); }
.nav .launch { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: rgba(255,255,255,.06);
  border: 1px solid var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: background .22s ease, color .22s ease, border-color .22s ease; }
.nav .launch:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.nav.stuck .launch { background: #fff; border-color: #fff; color: #000; }
.nav.stuck .launch:hover { background: rgba(255,255,255,.85); }
.nav.stuck .lang { border-color: #ffffff38; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 16px; height: 16px; }
.drawer { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 0 32px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { font-size: 28px; font-weight: 500; letter-spacing: -.02em; color: var(--fg-2); }
.drawer a:hover { color: #fff; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; text-align: center; overflow: hidden; }
.hero__text { position: absolute; left: 50%; top: 35%; transform: translate(-50%, -50%); z-index: 1; width: 100%; padding: 0 var(--gut); }
#hero-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
#hero-field canvas { display: block; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 48% at 50% 50%, rgba(0,0,0,.55), rgba(0,0,0,0) 70%),
    linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 72%, #000 100%); }
.status { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 40px; }
.hero h1 { font-weight: 500; font-size: var(--t-display); line-height: 1.08; letter-spacing: calc(-.04em * var(--ls)); margin: 0; white-space: nowrap; }
:root[lang="zh"] .hero h1 { font-weight: 600; letter-spacing: .02em; }
.rotw { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: inherit; padding-bottom: .06em; }
.rotw__sizer { visibility: hidden; display: block; }
.rotw__word { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform .66s cubic-bezier(.34, 1.45, .5, 1), opacity .5s ease; }
.hero .sub { font-size: calc(clamp(18px, 2.2vw, 26px) * var(--k)); line-height: 1.4; letter-spacing: .01em; color: var(--fg-2); margin: 28px 0 0; }
.hero .actions { position: absolute; left: 50%; top: 54.5%; transform: translate(-50%, -50%); z-index: 1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.hero-docs { height: 50px; padding: 0 26px; }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1; display: flex; justify-content: center; gap: 28px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.hero__foot b { color: var(--fg-2); font-weight: 500; }

/* ── MARQUEE (works-with rail) ─────────────────────────────── */
.rail { padding: 110px 0; border-top: 1px solid var(--line); }
.rail .lab { text-align: center; font-size: 11px; letter-spacing: .08em; color: var(--fg-2); margin: 0 0 44px; }
.marquee { position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.marquee__track { display: flex; align-items: center; width: max-content; gap: 64px; animation: marquee 42s linear infinite; }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__track span { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: #fff; opacity: .35; white-space: nowrap; transition: opacity .22s ease; display: inline-flex; align-items: center; gap: 12px; }
.marquee__track span i { width: 7px; height: 7px; border-radius: 99px; background: currentColor; opacity: .6; }
.marquee__track span.is-center, .marquee__track span:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; } }

/* ── SECTION scaffolding ───────────────────────────────────── */
.sect { padding: 120px 0; }
.sect-line { border-top: 1px solid var(--line); }
.sect-head { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 48px; text-align: center; }
.section-k { display: flex; align-items: center; gap: 12px; justify-content: center; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-3); margin: 0; }
.section-k::before, .section-k::after { content: ""; width: 30px; height: 1px; background: var(--line); }
.head2 { font-weight: 600; font-size: var(--t-h2); line-height: 1.1; letter-spacing: calc(-.02em * var(--ls)); margin: 0; text-align: center; }
.lede { font-size: 13px; line-height: 1.7; color: var(--fg-2); max-width: 60ch; margin: 0 auto; text-align: center; }

/* ── ARENA tabs + art ──────────────────────────────────────── */
.tabs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); align-items: stretch; gap: 64px; margin-top: 48px; }
.tabs-art { display: grid; }
.tabs-art img { grid-area: 1 / 1; width: 100%; height: 100%; max-height: 520px; object-fit: contain; opacity: 0; visibility: hidden; transition: opacity .32s ease; }
.tabs-art img.is-active { opacity: 1; visibility: visible; }
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); }
.tab { padding: 0 2px 14px; margin-bottom: -1px; background: none; border: 0; border-bottom: 1px solid transparent; font-weight: 600; font-size: 20px;
  letter-spacing: -.01em; color: var(--fg-3); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.tab:hover { color: var(--fg-2); }
.tab.is-active { color: var(--fg); border-bottom-color: var(--fg); }
.tab-body { display: grid; }
.tab-panel { grid-column: 1; grid-row: 1; visibility: hidden; opacity: 0; transition: opacity .3s ease; }
.tab-panel.is-active { visibility: visible; opacity: 1; }
.block { padding: 24px 0; }
.block + .block { border-top: 1px solid var(--line); }
.block h3 { font-weight: 500; font-size: var(--t-h3); letter-spacing: calc(-.02em * var(--ls)); margin: 0 0 10px; display: flex; gap: 14px; align-items: baseline; }
.block h3 small { font-size: 11px; color: var(--fg-3); letter-spacing: .16em; font-weight: 400; }
.block p { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 0; }

/* live trio under the tabs */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 64px auto 0; padding-top: 48px; border-top: 1px solid var(--line); }
.trio__col { display: flex; flex-direction: column; align-items: center; padding: 8px 24px; text-align: center; }
.trio__col + .trio__col { border-left: 1px solid var(--line); }
.trio__col h3 { font-weight: 600; font-size: 17px; margin: 0; height: 24px; line-height: 24px; white-space: nowrap; }
.trio__col p { font-size: 12px; color: var(--fg-2); margin: 6px 0 22px; }
.trio__num { font-size: var(--t-stat); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 38px; padding: 0 14px; background: #141414;
  border: 1px solid var(--line); border-radius: 8px; font-size: 12px; letter-spacing: .04em; color: var(--fg-2); }

/* ── FLAGSHIP: device stands up while pinned ───────────────── */
.flagship { padding: 0; overflow-x: clip; }
.flagship-runway { position: relative; height: 190vh; }
.flagship-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.flagship .head2 { margin: 0 auto 48px; padding: 0 var(--gut); white-space: nowrap; }
.flagship-grid { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 860px) minmax(230px, 1fr); align-items: center; gap: 48px; }
.feat-col { display: flex; flex-direction: column; gap: 64px; }
.feat { display: flex; flex-direction: column; gap: 12px; max-width: 34ch; will-change: opacity, transform; }
.feat-col.right .feat { margin-left: auto; }
.feat .ic { width: 56px; height: 56px; margin-bottom: 8px; }
.feat .ic svg { width: 56px; height: 56px; display: block; }
.feat h3 { font-weight: 500; font-size: var(--t-h3); letter-spacing: calc(-.02em * var(--ls)); margin: 0; }
.feat p { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.device { position: relative; border: 4px solid #2a2a2a; border-radius: 26px; background: var(--panel); padding: 10px;
  box-shadow: 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a;
  transform: perspective(1300px) rotateX(var(--rot, 0deg)) scale(var(--sc, 1)); transform-origin: center; will-change: transform; backface-visibility: hidden; }
.device::before { content: ""; position: absolute; inset: -30% -10%; z-index: -1; background: radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,.1), rgba(0,0,0,0) 70%); filter: blur(40px); }
.screen { border-radius: 14px; overflow: hidden; background: #050505; font-family: var(--sans); aspect-ratio: 16 / 10; display: flex; flex-direction: column; }
.scr-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--fg-3); }
.scr-top img { height: 12px; }
.scr-top .t { color: var(--fg-3); }
.scr-top .t.on { color: #fff; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; }
.scr-top .sp { margin-left: auto; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 99px; color: #fff; font-family: var(--mono); letter-spacing: .1em; font-size: 10px; }
.scr-tape { display: flex; gap: 22px; padding: 8px 16px; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--fg-3); white-space: nowrap; overflow: hidden; font-family: var(--mono); }
.scr-body { flex: 1; padding: 10px 16px; overflow: hidden; }
.scr-row { display: grid; grid-template-columns: 26px 1.4fr 1fr 1fr 60px; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11px; }
.scr-row.h { color: var(--fg-3); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.scr-row .av { width: 22px; height: 22px; border-radius: 99px; background: #1a1a1a; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 9px; overflow: hidden; }
.scr-row .av img { width: 100%; height: 100%; object-fit: cover; }
.scr-row .bar { height: 3px; background: #1d1d1d; border-radius: 9px; overflow: hidden; }
.scr-row .bar i { display: block; height: 100%; background: #fff; }
.scr-row .j { justify-self: end; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 9px; letter-spacing: .1em; font-family: var(--mono); }
.scr-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--fg-3); font-size: 12px; text-align: center; font-family: var(--mono); }
.scr-empty img { height: 34px; opacity: .8; }

/* ── LAYERS: chrome coin over three glass slabs ────────────── */
.layers { position: relative; overflow: hidden; }
.layers::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 46%, #000, transparent 78%); mask-image: radial-gradient(ellipse 72% 66% at 50% 46%, #000, transparent 78%); }
.layers .col { position: relative; z-index: 1; }
.layer-cols { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(300px, 400px) minmax(220px, 1fr); gap: 40px; align-items: stretch; margin-top: 40px; }
.layer-col { position: relative; }
.pillar { display: flex; flex-direction: column; max-width: 34ch; transition: opacity .3s ease; cursor: default; }
.pillar.is-dim { opacity: .3; }
.layer-col.left .pillar { position: absolute; right: 0; align-items: flex-end; text-align: right; transform: translateY(-50%); }
.layer-col.left .pillar[data-i="0"] { top: 34%; }
.layer-col.left .pillar[data-i="2"] { top: 76%; }
.layer-col.right .pillar { position: absolute; left: 0; top: 55%; transform: translateY(-50%); }
.pillar__k { font-size: 11px; letter-spacing: .2em; color: var(--fg-3); margin-bottom: 10px; }
.pillar h3 { font-weight: 600; font-size: calc(20px * var(--k)); margin: 0 0 12px; }
.pillar p { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.pillar .addr { margin-top: 12px; font-size: 11px; color: var(--fg-3); letter-spacing: .04em; }
.pillar .addr a { border-bottom: 1px solid var(--line-2); color: var(--fg-2); }
.stack { position: relative; width: 340px; height: 620px; margin: 0 auto; }
.stack__coin { position: absolute; left: 50%; top: 0; width: 260px; transform: translateX(-50%); z-index: 4; pointer-events: none; animation: coin 7s ease-in-out infinite; }
@keyframes coin { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
.stack__layer { position: absolute; left: 50%; width: 300px; transform: translateX(-50%); opacity: .42; transition: opacity .3s ease; cursor: pointer; }
.stack__layer img { width: 100%; display: block; will-change: transform; pointer-events: none; }
.stack__layer span { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%) scaleY(.58) rotate(-30deg); font-size: 13px; letter-spacing: .3em; color: #fff; opacity: .7; white-space: nowrap; pointer-events: none; }
.stack__layer[data-i="0"] { top: 130px; z-index: 3; }
.stack__layer[data-i="1"] { top: 255px; z-index: 2; }
.stack__layer[data-i="2"] { top: 380px; z-index: 1; }
.stack__layer.is-active { opacity: 1; }
.stack__layer.is-dim { opacity: .14; }
.layer-mobile { display: none; }

/* ── NUMBERS grid ──────────────────────────────────────────── */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--bg); padding: 44px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.cell .idx { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cell .big { white-space: nowrap; font-size: clamp(22px, 2.5vw, 40px); font-weight: 500; letter-spacing: -.03em; margin-top: auto; font-variant-numeric: tabular-nums; }
.cell h3 { font-weight: 500; font-size: var(--t-h3); margin: 0; }
.cell p { font-size: 13px; line-height: 1.65; color: var(--fg-2); margin: 0; }

/* ── LIVE rail (latest launches, straight from chain) ──────── */
.live-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.live-intro { display: flex; flex-direction: column; padding: 44px 32px; background: var(--panel); border: 1px solid var(--line); }
.live-intro .head2 { text-align: left; }
.live-intro p { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 16px 0 0; }
.live-intro .ctrl { display: flex; gap: 12px; margin-top: auto; padding-top: 32px; }
.arrow { width: 44px; height: 44px; border-radius: 999px; padding: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); transition: background .2s ease, border-color .2s ease; }
.arrow:hover { background: rgba(255,255,255,.1); border-color: var(--fg-3); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow svg { width: 16px; height: 16px; }
.live-rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.live-rail::-webkit-scrollbar { display: none; }
.lcard { flex: 0 0 300px; scroll-snap-align: start; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; transition: border-color .2s ease, transform .3s var(--ease); }
.lcard:hover { border-color: var(--line-2); transform: translateY(-2px); }
.lcard__img { aspect-ratio: 16 / 10; background: #0d0d0d; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.lcard__img img { width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 999px; filter: grayscale(1) contrast(1.05); border: 1px solid var(--line-2); }
.lcard__b { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.lcard__b .tk { font-size: 11px; letter-spacing: .16em; color: var(--fg-3); }
.lcard__b h3 { margin: 0; font-size: 17px; font-weight: 500; }
.lcard__b .m { font-size: 12px; color: var(--fg-2); display: flex; justify-content: space-between; }
.empty-card { flex: 1 1 auto; min-height: 280px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 40px; color: var(--fg-2); font-size: 13px; line-height: 1.7; }
.empty-card img { height: 30px; opacity: .7; }

/* ── END CTA ───────────────────────────────────────────────── */
.endcta { text-align: center; padding: 160px 0; position: relative; overflow: hidden; }
.endcta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 60%); }
.endcta-h { font-weight: 600; font-size: var(--t-h2); line-height: 1.15; letter-spacing: calc(-.02em * var(--ls)); margin: 0 0 44px; position: relative; }
.endcta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; position: relative; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer { position: relative; border-top: 1px solid var(--line); padding-top: 110px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 56px; }
.footer-brand img { height: 24px; display: block; }
.footer-brand p { font-size: 12px; color: var(--fg-3); margin: 20px 0 0; line-height: 1.7; max-width: 36ch; }
.fcol { min-width: 150px; }
.fcol h4 { font-weight: 500; font-size: 15px; margin: 0 0 22px; }
.fcol a, .fcol span { display: block; font-size: 13px; color: var(--fg-2); margin-bottom: 16px; transition: color .2s ease, transform .2s var(--ease); }
.fcol a:hover { color: #fff; transform: translateY(-1px); }
.fcol span { color: var(--fg-3); }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); margin-top: 72px; padding-top: 36px; font-size: 12px; color: var(--fg-3); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--fg-2); display: inline-flex; transition: color .16s ease; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-mark { margin-top: 80px; pointer-events: none; height: 26vw; overflow: hidden; }
.footer-mark img { display: block; margin: 0 auto; width: 97%; opacity: .14; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav .links { display: none; }
  .menu-btn { display: grid; }
  .flagship-runway { height: auto; }
  .flagship-sticky { position: static; height: auto; padding: 110px 0; }
  .flagship .head2 { white-space: normal; }
  .flagship-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .device { order: -1; transform: none; }
  .feat-col { flex-direction: row; gap: 40px; flex-wrap: wrap; justify-content: center; }
  .feat { flex: 1 1 240px; align-items: center; text-align: center; opacity: 1 !important; transform: none !important; }
  .feat-col.right .feat { margin-left: 0; }
  .layer-cols { display: none; }
  .layer-mobile { display: flex; flex-direction: column; align-items: center; margin-top: 28px; }
  .layer-mobile .stack { width: 300px; height: 540px; }
  .layer-mobile .stack__layer { width: 264px; }
  .layer-mobile .stack__layer[data-i="0"] { top: 110px; }
  .layer-mobile .stack__layer[data-i="1"] { top: 222px; }
  .layer-mobile .stack__layer[data-i="2"] { top: 334px; }
  .layer-mobile .stack__coin { width: 220px; }
  .layer-mobile .pillar { align-items: center; text-align: center; max-width: 460px; min-height: 170px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .live-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .tabs-grid { grid-template-columns: 1fr; gap: 40px; }
  .tabs-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .tabs { flex-wrap: wrap; gap: 20px; }
  .tab { font-size: 17px; }
  .trio { grid-template-columns: 1fr; gap: 36px; }
  .trio__col + .trio__col { border-left: 0; border-top: 1px solid var(--line); padding-top: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; }
  .nav .right { gap: 8px; }
  .nav .launch { display: none; }
  .nav.stuck .launch { display: inline-flex; height: 38px; padding: 0 14px; font-size: 11px; }
  .nav .brand { padding-left: 4px; }
  .brand-logo { height: 18px; }
  .nav.stuck .brand-logo--full, .nav.stuck .brand-zh { display: none !important; }
  .nav.stuck .brand-logo--symbol { display: block; }
  .lang button { min-width: 38px; padding: 0 9px; }
  .hero h1 { white-space: normal; }
  .hero .actions { top: 58%; flex-direction: column; gap: 14px; }
  .hero__foot { flex-wrap: wrap; gap: 10px 18px; padding: 0 16px; }
  .sect { padding: 88px 0; }
  .grid4 { grid-template-columns: 1fr; }
  .cell { min-height: 0; }
  .scr-row { grid-template-columns: 22px 1.3fr 1fr 52px; }
  .scr-row > :nth-child(4) { display: none; }
  .lcard { flex-basis: 78%; }
  .endcta { padding: 110px 0; }
}

.nav-x { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--fg-2); border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.nav-x:hover { color: #fff; border-color: var(--line-2); }
.nav-x svg { width: 16px; height: 16px; }
.footer-bar .footer-social { align-items: center; gap: 18px; }
@media (max-width: 600px) { .nav-x { display: none; } }
