/* =========================================================
   GWC-BOX · tactical dark design system
   ========================================================= */
:root {
  --bg: #0a0b0d;
  --bg-2: #111215;
  --panel: #141518;
  --panel-2: #1a1c21;
  --border: #26282d;
  --border-soft: #1d1f24;
  --text: #ecebe6;
  --text-dim: #9a9ca2;
  --text-faint: #5b5e65;
  --accent: #ff6a1f;       /* tactical orange */
  --accent-dim: #c94c12;
  --signal: #6ee6e6;       /* signal cyan — sparingly */
  --danger: #ff3e3e;
  --ok: #a3e635;
  --grid-line: rgba(255,255,255,0.04);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --sans: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --cn: 'Noto Sans SC', 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--cn);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Global grid overlay (very subtle) */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

/* scanline effect on hero only — applied via .scanlines */
.scanlines::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- type utilities ---------- */
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.tag--accent {
  color: var(--accent);
  border-color: rgba(255,106,31,0.4);
  background: rgba(255,106,31,0.06);
}
.tag--signal { color: var(--signal); border-color: rgba(110,230,230,0.3); }

.display {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

/* container widths */
.wrap { width: min(1320px, 92vw); margin: 0 auto; position: relative; z-index: 2; }
.wrap-wide { width: min(1520px, 96vw); margin: 0 auto; position: relative; z-index: 2; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10,11,13,0.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #0a0b0d;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  position: relative;
}
.nav__logo-mark::before {
  content: ""; position: absolute;
  inset: 3px;
  border: 1px solid rgba(0,0,0,0.3);
}
.nav__links { display: flex; gap: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav__links a { color: var(--text-dim); transition: color .2s; }
.nav__links a:hover { color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__status {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  letter-spacing: 0.08em;
}
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: 0.4 } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  transition: all .2s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--primary {
  background: var(--accent); color: #0a0b0d; border-color: var(--accent);
  font-weight: 700;
}
.btn--primary:hover { background: #ff8042; color: #0a0b0d; border-color: #ff8042; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(800px 500px at 20% 10%, rgba(255,106,31,0.08), transparent 60%),
    radial-gradient(900px 600px at 80% 90%, rgba(110,230,230,0.05), transparent 60%),
    var(--bg);
}
.hero__corners {
  position: absolute; inset: 24px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__corner {
  position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--accent);
}
.hero__corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.hero__corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.hero__corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 200px);
  position: relative;
}

.hero__left, .hero__right {
  display: flex; flex-direction: column; gap: 24px;
}
.hero__title {
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-family: var(--sans);
}
.hero__title .glow {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255,106,31,0.4);
}
.hero__title .zh {
  font-family: var(--cn);
  font-weight: 900;
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-top: 8px;
}
.hero__sub {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
}

.hero__center {
  position: relative;
  display: grid; place-items: center;
  height: 560px;
}
.hero__mascot-bg {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
}
.hero__mascot-ring {
  position: absolute;
  width: 520px; height: 520px;
  border: 1px solid rgba(255,106,31,0.2);
  border-radius: 50%;
}
.hero__mascot-ring.r2 { width: 600px; height: 600px; border-style: dashed; opacity: 0.4; animation: rot 80s linear infinite; }
.hero__mascot-ring.r3 { width: 420px; height: 420px; border-color: rgba(110,230,230,0.15); }
@keyframes rot { to { transform: rotate(360deg); } }
.hero__mascot-crosshair {
  position: absolute;
  width: 560px; height: 560px;
}
.hero__mascot-crosshair::before,
.hero__mascot-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255,106,31,0.35);
}
.hero__mascot-crosshair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.hero__mascot-crosshair::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }

.hero__mascot {
  position: relative;
  width: 440px;
  max-width: 90%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}
@keyframes float {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-10px) }
}
.hero__mascot img { width: 100%; height: auto; display: block; }

.hero__mascot-badge {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(10,11,13,0.8);
  padding: 4px 8px;
  border: 1px solid rgba(255,106,31,0.4);
  z-index: 3;
}
.hero__mascot-badge.b1 { top: 12%; left: -10%; }
.hero__mascot-badge.b2 { top: 55%; right: -12%; }
.hero__mascot-badge.b3 { bottom: 8%; left: -4%; }

.hero__stats {
  border: 1px solid var(--border);
  background: rgba(20,21,24,0.6);
}
.hero__stat {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
}
.hero__stat:last-child { border-bottom: 0; }
.hero__stat-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--text-dim); text-transform: uppercase; }
.hero__stat-v { font-family: var(--sans); font-size: 22px; font-weight: 700; color: var(--text); }
.hero__stat-v .unit { font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-left: 4px; }

.hero__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
}
.hero__meta > div { padding: 14px 16px; background: var(--bg); }
.hero__meta-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--text-faint); text-transform: uppercase; }
.hero__meta-v { font-family: var(--mono); font-size: 13px; color: var(--text); margin-top: 4px; }

.hero__cta { display: flex; gap: 12px; margin-top: 8px; }

.hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-faint);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll .line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--accent), transparent); }

/* Hero corners for any panel */
.corners { position: relative; }
.corners::before, .corners::after,
.corners > .c-tr, .corners > .c-bl {
  content: "";
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--accent);
}
.corners::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corners::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- section headers ---------- */
.sec {
  position: relative;
  padding: 140px 0;
  border-top: 1px solid var(--border-soft);
}
.sec__head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 80px;
}
.sec__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.18em;
  display: flex; align-items: center; gap: 12px;
}
.sec__num::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}
.sec__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-family: var(--sans);
  max-width: 900px;
}
.sec__title .accent { color: var(--accent); }
.sec__sub {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin-top: 24px;
}

/* ---------- POSITIONING ---------- */
.val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
}
.val-card {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .25s;
}
.val-card:hover { background: var(--bg-2); }
.val-card__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.val-card__title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.val-card__desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 16px;
}
.val-card__glyph {
  margin-top: 24px;
  height: 48px;
  display: flex; align-items: center;
}

.val-quote {
  margin-top: 80px;
  padding: 40px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,106,31,0.04), transparent 60%);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.val-quote__text {
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.val-quote__text .accent { color: var(--accent); }
.val-quote__device { width: 200px; }
.val-quote__device img { width: 100%; display: block; }

/* ---------- MODES ---------- */
.modes {
  position: relative;
}
.modes__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
}
.modes__tabs {
  background: var(--bg);
  display: flex; flex-direction: column;
}
.modes__tab {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  padding: 28px 28px;
  color: var(--text-dim);
  cursor: pointer;
  position: relative;
  transition: all .25s;
}
.modes__tab:last-child { border-bottom: 0; }
.modes__tab-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.modes__tab-name {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  margin-top: 10px;
  color: var(--text-dim);
  letter-spacing: -0.01em;
  transition: color .2s;
}
.modes__tab-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 6px;
  text-transform: uppercase;
}
.modes__tab.is-active {
  background: var(--panel);
  color: var(--text);
}
.modes__tab.is-active::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.modes__tab.is-active .modes__tab-name { color: var(--accent); }
.modes__tab.is-active .modes__tab-head { color: var(--accent); }

.modes__panel {
  background: var(--bg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  min-height: 560px;
}
.modes__panel-left {
  display: flex; flex-direction: column; gap: 24px;
}
.modes__panel-title {
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.modes__panel-title .accent { color: var(--accent); }
.modes__panel-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 460px;
}
.modes__panel-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.modes__panel-list li {
  display: flex; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}
.modes__panel-list li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
}

.modes__panel-right {
  border-left: 1px solid var(--border-soft);
  padding-left: 40px;
  display: flex; flex-direction: column; gap: 24px;
}

.modes__demo {
  border: 1px solid var(--border);
  background: var(--bg-2);
  padding: 28px 24px;
  position: relative;
}
.modes__demo-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}

/* keys visualization */
.keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 260px;
  margin: 12px auto 24px;
}
.keys .key {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: var(--panel);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dim);
  position: relative;
  transition: all .12s;
}
.keys .key.pressed {
  background: var(--accent);
  color: #0a0b0d;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(255,106,31,0.5), inset 0 0 0 1px rgba(0,0,0,0.3);
  transform: translateY(2px);
}
.keys .key.spacer { visibility: hidden; }

/* output trace */
.trace {
  border: 1px solid var(--border);
  background: #000;
  padding: 16px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ok);
  max-height: 180px;
  overflow: hidden;
  position: relative;
}
.trace__line { white-space: nowrap; }
.trace__line .t { color: var(--text-faint); margin-right: 8px; }
.trace__line .k { color: var(--text); }
.trace__line .o { color: var(--accent); }
.trace__line .s { color: var(--signal); }

/* ---------- SPECS ---------- */
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
}
.specs__col { background: var(--bg); padding: 40px; }
.specs__col h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.specs__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
}
.specs__row:last-child { border-bottom: 0; }
.specs__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.specs__v { font-size: 14px; line-height: 1.55; color: var(--text); }
.specs__v small { display: block; color: var(--text-dim); font-size: 12px; margin-top: 4px; }

/* device showcase within specs */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 80px;
  align-items: center;
}
.showcase__panel {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 48px;
  text-align: center;
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.showcase__panel--dark { background: #0c0d0f; }
.showcase__panel--light { background: #e8e6e0; color: #0a0b0d; }
.showcase__panel img {
  max-width: 82%;
  max-height: 78%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
  transition: transform .3s ease-out;
}
.showcase__panel:hover img { transform: scale(1.04) rotate(-2deg); }
.showcase__label {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
}
.showcase__panel--light .showcase__label { color: #6b6e72; }
.showcase__meta {
  position: absolute; bottom: 20px; right: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--text-faint);
}
.showcase__panel--light .showcase__meta { color: #6b6e72; }

.colorpick {
  position: absolute; top: 16px; right: 16px;
  display: flex; gap: 6px;
}
.colorpick button {
  width: 24px; height: 24px; border: 1px solid var(--border); background: #fff;
  padding: 0;
}
.colorpick button.dark { background: #0c0d0f; border-color: #333; }
.colorpick button.active { outline: 2px solid var(--accent); outline-offset: 2px; }

/* device callouts */
.callouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border);
  margin-top: 80px;
}
.callout {
  background: var(--bg);
  padding: 28px 24px;
}
.callout__k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.callout__t {
  font-family: var(--sans); font-size: 18px; font-weight: 700; margin-top: 10px;
}
.callout__d {
  font-size: 13px; color: var(--text-dim); line-height: 1.6; margin-top: 10px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 980px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--border-soft);
  padding: 28px 0;
  cursor: pointer;
}
.faq__item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
}
.faq__q-text {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color .2s;
}
.faq__item:hover .faq__q-text { color: var(--accent); }
.faq__q-idx { font-family: var(--mono); font-size: 11px; color: var(--text-faint); letter-spacing: 0.12em; }
.faq__plus {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
  transition: all .25s;
}
.faq__item.is-open .faq__plus { background: var(--accent); color: #0a0b0d; border-color: var(--accent); transform: rotate(135deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, margin-top .35s ease;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
  max-width: 780px;
}
.faq__item.is-open .faq__a { max-height: 400px; margin-top: 18px; }

/* ---------- FOOTER ---------- */
.foot {
  border-top: 1px solid var(--border-soft);
  padding: 80px 0 40px;
  background: var(--bg);
  position: relative;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__brand-title { font-family: var(--sans); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.foot__brand-sub { color: var(--text-dim); font-size: 13px; max-width: 340px; line-height: 1.65; }
.foot__col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 16px;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot__col a { color: var(--text-dim); font-size: 13px; }
.foot__col a:hover { color: var(--accent); }
.foot__bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-faint);
}

/* ---------- TWEAKS ---------- */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 300px;
  background: rgba(17,18,21,0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  z-index: 100;
  transform: translateY(calc(100% + 32px));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.tweaks.is-open { transform: translateY(0); }
.tweaks__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-soft);
}
.tweaks__title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.tweaks__close { background: transparent; border: 0; color: var(--text-dim); font-family: var(--mono); cursor: pointer; }
.tweaks__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; }
.tweaks__row { display: flex; flex-direction: column; gap: 8px; }
.tweaks__row label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
}
.tweaks__swatches { display: flex; gap: 6px; }
.tweaks__swatches button {
  flex: 1; height: 28px; border: 1px solid var(--border); background: currentColor;
  padding: 0;
}
.tweaks__swatches button.active { outline: 2px solid var(--text); outline-offset: 2px; }
.tweaks__toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-size: 12px;
}
.tweaks__toggle button {
  background: transparent; border: 1px solid var(--border); color: var(--text-dim);
  padding: 4px 10px; font-family: var(--mono); font-size: 10px;
}
.tweaks__toggle button.on { background: var(--accent); color: #0a0b0d; border-color: var(--accent); }

/* keyboard listener banner */
.kb-banner {
  position: fixed; bottom: 24px; left: 24px;
  border: 1px solid var(--border);
  background: rgba(17,18,21,0.92);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  z-index: 50;
  display: flex; align-items: center; gap: 10px;
}
.kb-banner kbd {
  font-family: var(--mono);
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2px 6px;
  font-size: 10px;
  color: var(--accent);
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s }
.reveal[data-delay="2"] { transition-delay: .16s }
.reveal[data-delay="3"] { transition-delay: .24s }
.reveal[data-delay="4"] { transition-delay: .32s }

/* crosshair marker */
.xhair {
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
}
.xhair::before, .xhair::after {
  content: ""; position: absolute; background: var(--accent);
}
.xhair::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-0.5px); }
.xhair::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-0.5px); }

/* Responsive */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__center { height: 420px; }
  .sec__head { grid-template-columns: 1fr; }
  .val-grid { grid-template-columns: repeat(2, 1fr); }
  .modes__layout { grid-template-columns: 1fr; }
  .modes__panel { grid-template-columns: 1fr; padding: 32px; }
  .modes__panel-right { border-left: 0; padding-left: 0; border-top: 1px solid var(--border-soft); padding-top: 32px; }
  .specs { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .callouts { grid-template-columns: repeat(2,1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: 92vw; }
  .val-grid { grid-template-columns: 1fr; }
  .callouts { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero { padding: 100px 0 60px; }
  .sec { padding: 80px 0; }
}

/* ---- 移植补充 ---- */
.kbd{font-family:var(--mono);padding:2px 6px;border:1px solid var(--border);font-size:11px;color:var(--accent)}
@keyframes fadeflash{from{opacity:1}to{opacity:0}}
.val-card__glyph{display:flex;align-items:flex-end;min-height:40px}
.val-card__glyph.mono{color:var(--accent);font-size:11px;letter-spacing:2px;opacity:.65}
