/* ==========================================================================
   Blink — site stylesheet
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #05070c;
  --bg-2: #080c15;
  --surface: #0b111d;
  --surface-2: #101828;
  --line: rgba(163, 182, 222, 0.11);
  --line-2: rgba(163, 182, 222, 0.2);
  --line-3: rgba(163, 182, 222, 0.32);
  --text: #eef2f9;
  --text-2: #a4afc3;
  --text-3: #6b778f;
  --blue: #1f5eff;
  --blue-hover: #3a73ff;
  --blue-deep: #0b2a7a;
  --cyan: #2ee6f0;
  --amber: #f3aa3c;
  --danger: #ff6b6b;
  --success: #3ad29f;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
::selection { background: rgba(31, 94, 255, 0.55); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--blue); color: #fff; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-family: "Inter", var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--text-2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icons & buttons ---------- */
.icon { width: 1.1em; height: 1.1em; flex: none; }

.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 8px;
  background: var(--btn-bg);
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--blue); color: #fff; }
.btn-primary:hover { --btn-bg: var(--blue-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, 0.015); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.04); }
.btn-light { --btn-bg: #fff; color: #07101f; }
.btn-light:hover { --btn-bg: #dfe7f7; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 7px; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-3);
  font-size: 15px; color: var(--text);
  transition: border-color .2s, color .2s;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--cyan); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 7, 12, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-wordmark { width: 61px; height: 24px; }
.brand-sep { width: 1px; height: 16px; background: var(--line-2); }
.brand-tag { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.06em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 14px;
  font-size: 14.5px; color: var(--text-2);
  transition: color .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.is-active { color: var(--text); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 16px; height: 2px; margin-left: -8px;
  background: var(--cyan); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(8, 12, 20, 0.45); }
.lang-switch a { padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-3); line-height: 1.4; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.header-link { font-size: 14px; color: var(--text-2); transition: color .2s; }
.header-link:hover { color: var(--text); }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; border: 1px solid var(--line-2); border-radius: 8px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: rgba(5, 7, 12, 0.97);
  overflow-y: auto; padding: 24px 0 40px;
}
.mobile-nav nav > a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 22px; font-weight: 500;
}
.mobile-nav nav > a.is-active { color: var(--cyan); }
.mobile-nav-index { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.mobile-nav-foot { display: grid; gap: 12px; margin-top: 32px; }

@media (max-width: 1120px) {
  .main-nav, .header-link, .brand-sep, .brand-tag { display: none; }
  .header-actions { margin-left: auto; gap: 12px; }
  .nav-toggle { display: block; }
}
@media (max-width: 480px) {
  .header-actions .btn-sm { display: none; }
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: clamp(88px, 11vw, 148px) 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-tight { padding: clamp(64px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-2); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow-tight { margin-bottom: 14px; }
.eyebrow-idx { color: var(--cyan); }
.eyebrow-idx::after { content: ""; display: inline-block; width: 24px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-3); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px 72px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head.is-stacked { grid-template-columns: minmax(0, 760px); }
.section-title { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.22; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.section-title .dim { color: var(--text-3); }
.section-lead { font-size: 17px; color: var(--text-2); max-width: 560px; }
.section-head .section-lead { justify-self: end; }
.section-head .section-aside { justify-self: end; max-width: 560px; }
.section-head .section-aside .section-lead { margin-bottom: 24px; }
.section-more { margin-top: 40px; }
.section-head.is-stacked .section-lead { justify-self: start; margin-top: 24px; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head .section-lead, .section-head .section-aside { justify-self: start; }
}

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .od-strip { transition: none !important; }
}

/* ==========================================================================
   Home hero + network map
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: var(--header-h);
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(31, 94, 255, 0.20), transparent 65%),
    radial-gradient(700px 420px at 8% 40%, rgba(46, 230, 240, 0.05), transparent 70%),
    var(--bg);
}
.hero-grid, .page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(163, 182, 222, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(163, 182, 222, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 75%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.6) 40%, transparent 75%);
}
.hero-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-top: clamp(56px, 7vw, 96px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px; padding: 6px 12px 6px 8px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; color: var(--text-2);
}
.hero-kicker img { width: 20px; height: 20px; border-radius: 50%; }
.hero-kicker b { font-weight: 500; color: var(--text); }
.hero-title { font-size: clamp(34px, 5.6vw, 78px); line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; }
.hero-title span { display: block; text-wrap: balance; }
.hero-title .tone { color: #7f8ba3; }
.hero-lead { max-width: 580px; margin-top: 28px; font-size: clamp(16px, 1.3vw, 18px); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-facts { border-top: 1px solid var(--line-2); }
.hero-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-facts dt { font-size: 14px; color: var(--text-3); }
.hero-facts dd { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-facts dd small { margin-left: 4px; font-size: 14px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.odometer { display: inline-flex; align-items: flex-end; height: 1em; line-height: 1; vertical-align: -0.06em; font-variant-numeric: tabular-nums; }
.od-digit { position: relative; width: 1ch; height: 1em; overflow: hidden; }
.od-strip { display: block; transition: transform .65s cubic-bezier(.16, .84, .28, 1); }
.od-strip.is-instant { transition: none; }
.od-strip span { display: flex; height: 1em; align-items: center; justify-content: center; }
.od-sep { width: 0.45ch; text-align: center; }

.network { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.network.network-lead { margin-top: 0; }
.network-lead .network-bar { border-top: 0; padding-top: clamp(20px, 3vw, 36px); justify-content: flex-end; }
.network-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 0; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}
.network-status { display: flex; align-items: center; gap: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; }
.network-status .live { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); }
.network-status .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(46, 230, 240, 0.6); animation: live-pulse 2.4s infinite; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 240, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 240, 0); }
}

.network-stage { position: relative; max-width: 1720px; margin: 0 auto; }
.network-stage::before, .network-stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 2; pointer-events: none;
}
.network-stage::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.network-stage::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.network-canvas { width: 100%; height: auto; aspect-ratio: 300 / 142; }
.network-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }

.node-label {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: baseline; gap: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(46, 230, 240, 0.28); border-radius: 4px;
  background: rgba(5, 11, 22, 0.78);
  font-size: 12px; line-height: 1.5; color: var(--text); white-space: nowrap;
  transition: border-color .3s, box-shadow .3s, opacity .3s;
}
.node-label small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; color: var(--text-3); }
.node-label.is-hq { border-color: rgba(243, 170, 60, 0.55); }
.node-label.is-hq small { color: var(--amber); }
.node-label.is-active { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 230, 240, 0.12); }

.route-callout {
  position: absolute; left: 0; top: 0;
  padding: 6px 10px;
  border-left: 2px solid var(--cyan);
  background: rgba(5, 11, 22, 0.86);
  font-size: 12px; line-height: 1.45; white-space: nowrap;
  opacity: 0; transition: opacity .45s var(--ease);
}
.route-callout.is-visible { opacity: 1; }
.route-callout b { display: block; font-weight: 500; color: var(--text); }
.route-callout span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--cyan); }

.network-tooltip {
  position: absolute; left: 0; top: 0; z-index: 4;
  min-width: 180px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 8px;
  background: rgba(8, 13, 24, 0.95);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  font-size: 13px; line-height: 1.6;
  pointer-events: none; opacity: 0; transform: translateY(4px);
  transition: opacity .18s, transform .18s;
}
.network-tooltip.is-visible { opacity: 1; transform: none; }
.network-tooltip strong { display: block; font-size: 15px; font-weight: 600; }
.network-tooltip .tt-en { color: var(--text-3); font-size: 12px; }
.network-tooltip .tt-row { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--text-2); }
.network-tooltip .tt-row span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--text); }

.network-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.network-foot + .network-foot { border-top: 0; padding-top: 4px; }
.network-motto { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--text-3); }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line-2); border-radius: 6px;
  font-size: 13px; color: var(--text-2);
  transition: color .35s, border-color .35s, background-color .35s;
}
.type-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); transition: background-color .35s, box-shadow .35s; }
.type-chip.is-active { color: var(--text); border-color: rgba(46, 230, 240, 0.5); background: rgba(46, 230, 240, 0.06); }
.type-chip.is-active::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.route-readout { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); white-space: nowrap; }
.route-readout b { font-weight: 500; font-size: 13px; letter-spacing: 0.06em; color: var(--text); }
.route-readout .sep { width: 18px; height: 1px; background: var(--line-3); }

.network-legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12.5px; color: var(--text-3); }
.network-legend span { display: inline-flex; align-items: center; gap: 8px; }
.network-legend i { width: 8px; height: 8px; border-radius: 50%; }
.network-legend .lg-hq { background: var(--amber); box-shadow: 0 0 0 3px rgba(243, 170, 60, 0.2); }
.network-legend .lg-t1 { background: var(--cyan); }
.network-legend .lg-t2 { background: transparent; border: 1px solid #6f8fd6; }
.network-legend .lg-link { width: 18px; height: 1px; border-radius: 0; background: linear-gradient(to right, transparent, #5b86ff); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 36px 28px 40px 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-value { font-size: clamp(34px, 3.6vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-value small { margin-left: 6px; font-size: 0.38em; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
.stat-label { margin-top: 10px; font-size: 14px; color: var(--text-3); }

@media (max-width: 1024px) {
  .hero-top { grid-template-columns: 1fr; gap: 48px; }
  .hero-facts { max-width: 560px; }
  .network-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .node-label:not(.is-hq) { opacity: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .network-status .utc { display: none; }
  .route-callout { display: none; }
  .route-readout { white-space: normal; flex-wrap: wrap; }
}

/* ==========================================================================
   Content blocks
   ========================================================================== */

/* Eras */
.eras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.era { position: relative; padding: 36px 32px 8px 0; }
.era + .era { padding-left: 32px; border-left: 1px solid var(--line); }
.era::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.era + .era::before { left: 32px; }
.era-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-3); }
.era h3 { margin-top: 14px; font-size: 26px; font-weight: 600; }
.era p { margin-top: 10px; color: var(--text-2); }
.era.is-now::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(46, 230, 240, 0.16); }
.era.is-now .era-tag { color: var(--cyan); }
.era-quote { margin-top: 64px; padding: 36px 40px; border-left: 2px solid var(--blue); background: linear-gradient(90deg, rgba(31, 94, 255, 0.08), transparent 70%); }
.era-quote p { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.55; font-weight: 500; }
.era-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; color: var(--text-3); }
@media (max-width: 860px) {
  .eras { grid-template-columns: 1fr; border-top: 0; }
  .era, .era + .era { padding: 28px 0 28px 28px; border-left: 1px solid var(--line-2); }
  .era::before, .era + .era::before { top: 38px; left: -4px; }
}

/* Value chain */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: chain; }
.chain-step { position: relative; padding: 0 28px 0 0; }
.chain-step + .chain-step { padding-left: 28px; }
.chain-verb { display: flex; align-items: center; gap: 14px; font-size: 44px; font-weight: 600; letter-spacing: 0.08em; line-height: 1; }
.chain-verb::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to right, var(--line-3), transparent); }
.chain-step:last-child .chain-verb::after { display: none; }
.chain-step h3 { margin-top: 28px; font-size: 18px; font-weight: 600; }
.chain-step p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.chain-step .mono { display: block; margin-top: 22px; font-size: 11.5px; letter-spacing: 0.1em; color: var(--text-3); }
@media (max-width: 960px) {
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 0; }
  .chain-step:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  .chain { grid-template-columns: 1fr; }
  .chain-step, .chain-step + .chain-step { padding: 0; }
  .chain-verb::after { display: none; }
}

/* Architecture layers */
.arch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.arch-figure { position: relative; }
.arch-figure svg { width: 100%; height: auto; overflow: visible; }
.arch-figure .plate { fill: rgba(16, 26, 46, 0.9); stroke: rgba(120, 150, 210, 0.35); stroke-width: 1; }
.arch-figure .plate-top { fill: rgba(31, 94, 255, 0.22); stroke: rgba(90, 140, 255, 0.8); }
.arch-figure .plate-grid { stroke: rgba(120, 150, 210, 0.14); stroke-width: 1; }
.arch-figure .riser { stroke: rgba(46, 230, 240, 0.45); stroke-dasharray: 3 5; }
.arch-figure text { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; fill: #7c89a3; }
.arch-figure .node { fill: var(--cyan); }
.layers { border-top: 1px solid var(--line-2); }
.layer { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.layer-idx { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); padding-top: 4px; }
.layer h3 { font-size: 21px; font-weight: 600; }
.layer h3 small { margin-left: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; }
.layer p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 13px; color: var(--text-2); }
@media (max-width: 960px) {
  .arch { grid-template-columns: 1fr; gap: 48px; }
  .arch-figure { max-width: 460px; }
}

/* Spec grid (products etc.) */
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.spec-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spec-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spec {
  position: relative; display: flex; flex-direction: column;
  min-height: 260px; padding: 32px 32px 36px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.spec::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.spec:hover { background: rgba(255, 255, 255, 0.018); }
.spec:hover::before { transform: scaleX(1); }
.spec-idx { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.08em; }
.spec h3 { margin-top: 36px; font-size: 21px; font-weight: 600; line-height: 1.4; }
.spec h3 small { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }
.spec .spec-sub { margin-top: 14px; font-size: 15px; color: var(--text); }
.spec p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.spec-foot { margin-top: auto; padding-top: 24px; }
@media (max-width: 1024px) {
  .spec-grid, .spec-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .spec-grid, .spec-grid.cols-2, .spec-grid.cols-4 { grid-template-columns: 1fr; }
  .spec { min-height: 0; padding: 28px 24px; }
  .spec h3 { margin-top: 20px; }
}

/* Token summary */
.token-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.supply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.supply > div { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.supply > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.supply dt { font-size: 14px; color: var(--text-3); }
.supply dd { margin-top: 6px; font-size: clamp(30px, 3vw, 42px); font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.supply dd small { margin-left: 6px; font-size: 15px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }

.supply.is-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.supply.is-row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 860px) {
  .supply.is-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply.is-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
.supply + .donut-wrap { margin-top: 72px; }
.split-sticky .token-hero-coin { margin-top: 40px; }
.spec-grid.is-compact { margin-top: 56px; }
.spec-grid.is-compact .spec { min-height: 0; }
.spec-grid.is-compact .spec h3 { margin-top: 20px; }
.alloc-bar { display: flex; height: 56px; gap: 3px; margin-top: 8px; }
.alloc-bar span { position: relative; height: 100%; border-radius: 3px; transition: filter .2s; }
.alloc-bar span:hover { filter: brightness(1.2); }
.alloc-bar span em { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.alloc-list { margin-top: 28px; border-top: 1px solid var(--line); }
.alloc-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.alloc-list i { width: 10px; height: 10px; border-radius: 2px; transform: translateY(1px); }
.alloc-list b { font-weight: 500; }
.alloc-list span { margin-left: 10px; font-size: 14px; color: var(--text-3); }
.alloc-list strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.c-1 { background: #1f5eff; } .c-2 { background: #2ec5e6; } .c-3 { background: #3b4f86; } .c-4 { background: #6f86c4; } .c-5 { background: #9fb2de; }
@media (max-width: 960px) { .token-summary { grid-template-columns: 1fr; gap: 56px; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.phase { position: relative; padding: 36px 24px 0 0; }
.phase + .phase { padding-left: 24px; border-left: 1px solid var(--line); }
.phase::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border: 1px solid var(--cyan); border-radius: 50%; background: var(--bg); }
.phase + .phase::before { left: 24px; }
.phase-range { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--cyan); }
.phase h3 { margin-top: 12px; font-size: 18px; font-weight: 600; }
.phase ul { margin-top: 14px; }
.phase li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.phase li + li { margin-top: 6px; }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 5px; height: 1px; background: var(--text-3); }
.phase p { margin-top: 12px; font-size: 14px; color: var(--text-2); }
@media (max-width: 1100px) {
  .roadmap { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .phase:nth-child(4) { padding-left: 0; border-left: 0; }
  .phase:nth-child(4)::before { left: 0; }
  .phase:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 640px) {
  .roadmap { grid-template-columns: 1fr; border-top: 0; row-gap: 0; }
  .phase, .phase + .phase, .phase:nth-child(4) { padding: 26px 0 26px 26px; border-left: 1px solid var(--line-2); border-top: 0; }
  .phase::before, .phase + .phase::before, .phase:nth-child(4)::before { top: 34px; left: -5px; }
}

/* Gallery preview (home) */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; height: clamp(420px, 44vw, 620px); }
.mosaic a { position: relative; overflow: hidden; border-radius: 6px; background: var(--surface); }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(3, 6, 12, 0.85), transparent);
  font-size: 14px;
}
.mosaic figcaption span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-2); }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .mosaic a { aspect-ratio: 4 / 3; }
  .mosaic a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* HQ block */
.hq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.hq-info { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px); }
.hq-info h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.3; }
.hq-address { margin-top: 20px; font-size: 17px; }
.hq-address span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-3); }
.hq-meta { margin-top: 32px; border-top: 1px solid var(--line); }
.hq-meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hq-meta dt { color: var(--text-3); }
.hq-meta dd { text-align: right; }
.hq-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 32px; }
.hq-map { position: relative; isolation: isolate; min-height: 440px; background: #0a0e17; }
.hq-map .map-canvas { position: absolute; inset: 0; }
.hq-map-tag {
  position: absolute; left: 20px; top: 20px; z-index: 500;
  padding: 6px 10px; border-radius: 4px;
  background: rgba(5, 8, 14, 0.85); border: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-2);
}
@media (max-width: 960px) {
  .hq { grid-template-columns: 1fr; }
  .hq-map { min-height: 360px; order: -1; }
}

/* Download CTA */
.download {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(31, 94, 255, 0.22), transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(46, 230, 240, 0.08), transparent 70%),
    var(--surface);
}
.download-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 24px 60px -18px rgba(31, 94, 255, 0.6); }
.download h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; line-height: 1.3; }
.download p { margin-top: 12px; color: var(--text-2); max-width: 560px; }
.download-actions { display: grid; gap: 12px; min-width: 220px; }
.download-actions .btn { justify-content: flex-start; height: 56px; }
.download-actions .btn span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.download-actions .btn small { font-size: 11px; font-weight: 400; opacity: 0.75; }
.download-actions .btn .icon { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .download { grid-template-columns: 1fr; gap: 28px; }
  .download-icon { width: 80px; height: 80px; border-radius: 20px; }
  .download-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
}
@media (max-width: 480px) { .download-actions { grid-template-columns: 1fr; } }

/* Pillars / numbered list */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.pillar { padding: 32px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-idx { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.pillar h3 { margin-top: 16px; font-size: 19px; font-weight: 600; }
.pillar p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.pillar ul { margin-top: 12px; }
.pillar li { font-size: 14px; color: var(--text-2); padding: 6px 0; border-top: 1px solid var(--line); }
.pillar li:first-child { border-top: 0; }
.note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Steps (horizontal flow) */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.step-idx { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.step h3 { margin-top: 18px; font-size: 17px; font-weight: 600; }
.step p { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -9px; z-index: 1;
  width: 6px; height: 6px; border-top: 1px solid var(--line-3); border-right: 1px solid var(--line-3);
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split text block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; }
.split-sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.split-sticky .section-lead { margin-top: 24px; }
.split-sticky .section-lead + .section-lead { margin-top: 16px; }
.split-sticky .link-arrow { margin-top: 32px; }
.prose p { color: var(--text-2); font-size: 16.5px; line-height: 1.95; }
.prose p + p { margin-top: 1.2em; }
.prose strong { color: var(--text); font-weight: 500; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split-sticky { position: static; } }

/* Letter */
.letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.letter-lead { position: sticky; top: calc(var(--header-h) + 32px); }
.letter-quote { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.55; font-weight: 500; letter-spacing: -0.005em; }
.letter-quote::before { content: "“"; display: block; height: 48px; font-family: Georgia, serif; font-size: 88px; line-height: 1; color: var(--blue); }
.letter-body { padding-top: 56px; font-size: 16.5px; }
.letter-body p { color: var(--text-2); line-height: 1.95; }
@media (max-width: 960px) {
  .letter { grid-template-columns: 1fr; gap: 0; }
  .letter-lead { position: static; }
  .letter-body { padding-top: 40px; }
}
.letter-body p + p { margin-top: 1.2em; }
.letter-sign { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.letter-sign img { width: 40px; height: 40px; border-radius: 10px; }
.letter-sign b { display: block; color: var(--text); font-weight: 500; }

/* Pain points */
.pains { counter-reset: pain; border-top: 1px solid var(--line-2); }
.pain { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pain-idx { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.pain h3 { font-size: 20px; font-weight: 600; }
.pain p { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .pain { grid-template-columns: 48px minmax(0, 1fr); } .pain p { grid-column: 2; } }

/* Governance */
.gov { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gov-item { display: flex; flex-direction: column; min-height: 220px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.gov-item:first-child { border-color: rgba(31, 94, 255, 0.55); background: linear-gradient(180deg, rgba(31, 94, 255, 0.12), rgba(31, 94, 255, 0.02)); }
.gov-item .mono { font-size: 12px; color: var(--text-3); }
.gov-item h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.gov-item p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.flow span { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.flow i { width: 20px; height: 1px; background: var(--line-3); }
.principles { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 32px; font-size: 15px; color: var(--text-2); }
.principles span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--cyan); transform: translateY(-2px); }
@media (max-width: 1100px) { .gov { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gov { grid-template-columns: 1fr; } .gov-item { min-height: 0; } .flow i { display: none; } }

/* Dual columns (AI x Web3) */
.dual { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 32px; align-items: stretch; }
.dual-col { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.dual-col h3 { font-size: 22px; font-weight: 600; }
.dual-col h3 small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; margin-bottom: 8px; }
.dual-col ol { margin-top: 24px; border-top: 1px solid var(--line); }
.dual-col li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.dual-col li span { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); padding-top: 3px; }
.dual-core { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 148px; text-align: center; }
.dual-core .ring { display: grid; place-items: center; width: 132px; height: 132px; border: 1px solid rgba(46, 230, 240, 0.4); border-radius: 50%; box-shadow: inset 0 0 40px rgba(31, 94, 255, 0.25); font-size: 17px; font-weight: 600; line-height: 1.4; }
.dual-core small { font-size: 12px; color: var(--text-3); }
@media (max-width: 960px) { .dual { grid-template-columns: 1fr; } .dual-core { width: auto; flex-direction: row; } .dual-core .ring { width: 104px; height: 104px; font-size: 15px; } }

/* Loop (value cycle) */
.loop { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.loop li { position: relative; padding: 26px 22px; font-size: 15px; }
.loop li + li { border-left: 1px solid var(--line); }
.loop li span { display: block; margin-bottom: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--cyan); }
.loop li:last-child { background: rgba(31, 94, 255, 0.1); }
.loop-return { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13.5px; color: var(--text-3); }
.loop-return::before { content: ""; width: 28px; height: 10px; border: 1px solid var(--line-3); border-top: 0; border-radius: 0 0 6px 6px; }
@media (max-width: 1024px) { .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); } .loop li:nth-child(4) { border-left: 0; } .loop li:nth-child(n + 4) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .loop { grid-template-columns: 1fr; } .loop li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* Feature list (app features) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.feature { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.feature .mono { font-size: 12px; color: var(--text-3); padding-top: 4px; }
.feature h3 { font-size: 17px; font-weight: 600; }
.feature p { margin-top: 4px; font-size: 14.5px; color: var(--text-2); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Token page */
.token-hero-coin { width: 132px; height: 132px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 80px -20px rgba(31, 94, 255, 0.75); }
.donut-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; align-items: center; }
.donut { position: relative; }
.donut svg { width: 100%; height: auto; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 22; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center b { font-size: 40px; font-weight: 300; letter-spacing: -0.03em; }
.donut-center span { font-size: 13px; color: var(--text-3); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 16px 12px 16px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--text-3); text-transform: uppercase; font-family: var(--font-mono); border-bottom-color: var(--line-2); }
.table td:last-child, .table th:last-child { padding-right: 0; }
.table .pct { font-variant-numeric: tabular-nums; font-weight: 500; }
.table .swatch { display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 2px; }
.table .muted { color: var(--text-3); }
@media (max-width: 900px) { .donut-wrap { grid-template-columns: 1fr; } .donut { max-width: 320px; } }

.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rule-card { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.rule-card .mono { font-size: 12px; letter-spacing: 0.1em; color: var(--text-3); }
.rule-card h3 { margin-top: 12px; font-size: 22px; font-weight: 600; }
.rule-card p { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.window-clock { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 14px; }
.window-clock .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.window-clock.is-open .dot { background: var(--success); box-shadow: 0 0 0 4px rgba(58, 210, 159, 0.18); }
.window-clock b { font-weight: 500; }
.window-clock .mono { margin-left: auto; font-size: 13px; color: var(--text); letter-spacing: 0.04em; }
.window-times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.window-times div { padding: 14px 16px; border-radius: 6px; background: rgba(255, 255, 255, 0.025); }
.window-times span { display: block; font-size: 12.5px; color: var(--text-3); }
.window-times b { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { font-size: 12px; color: var(--text-3); width: 32px; flex: none; }
.faq summary .icon { margin-left: auto; width: 20px; height: 20px; color: var(--text-3); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--cyan); }
.faq .faq-body { padding: 0 52px 28px; color: var(--text-2); max-width: 860px; }
.faq .faq-body p + p { margin-top: 0.8em; }
@media (max-width: 560px) { .faq .faq-body { padding: 0 0 24px; } .faq summary { font-size: 16px; } }

/* Risk block */
.risk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(243, 170, 60, 0.28); border-radius: var(--radius); background: rgba(243, 170, 60, 0.035); }
.risk h2 { font-size: 26px; font-weight: 600; }
.risk .eyebrow { color: var(--amber); }
.risk-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 4px; }
.risk-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.risk p { margin-top: 20px; font-size: 14px; color: var(--text-2); }
@media (max-width: 860px) { .risk { grid-template-columns: 1fr; gap: 24px; } .risk-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 480px at 85% -20%, rgba(31, 94, 255, 0.18), transparent 65%), var(--bg);
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: clamp(40px, 6vw, 72px); font-size: 13px; color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.page-hero-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.page-title { font-size: clamp(32px, 5vw, 68px); line-height: 1.12; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.page-title .tone { color: #7f8ba3; }
.page-lead { font-size: 17px; color: var(--text-2); max-width: 520px; justify-self: end; }
.page-hero-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-2); }
.page-hero-meta > div { padding: 20px 20px 0 0; }
.page-hero-meta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.page-hero-meta dt { font-size: 13px; color: var(--text-3); }
.page-hero-meta dd { margin-top: 4px; font-size: 17px; font-weight: 500; }
@media (max-width: 860px) {
  .page-hero-body { grid-template-columns: 1fr; }
  .page-lead { justify-self: start; }
  .page-hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-meta > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .page-hero-meta > div:nth-child(n + 3) { margin-top: 20px; }
}

/* ==========================================================================
   Office gallery + lightbox
   ========================================================================== */
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.filters button { padding: 8px 14px; border-radius: 5px; font-size: 14px; color: var(--text-2); transition: background-color .2s, color .2s; }
.filters button:hover { color: var(--text); }
.filters button.is-active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.filters button sup { margin-left: 4px; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); vertical-align: 2px; }
.gallery-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-3); }

.gallery { columns: 3 320px; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin: 0 0 16px; }
.gallery-item[hidden] { display: none; }
.gallery-item button { display: block; width: 100%; text-align: left; }
.gallery-media { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--surface); }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.gallery-item button:hover .gallery-media img { transform: scale(1.035); }
.gallery-zoom {
  position: absolute; right: 12px; top: 12px;
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(5, 8, 14, 0.7); color: #fff;
  opacity: 0; transform: scale(0.9); transition: opacity .25s, transform .25s;
}
.gallery-zoom .icon { width: 18px; height: 18px; }
.gallery-item button:hover .gallery-zoom, .gallery-item button:focus-visible .gallery-zoom { opacity: 1; transform: none; }
.gallery-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 2px 4px; }
.gallery-caption b { font-size: 15px; font-weight: 500; }
.gallery-caption span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-3); white-space: nowrap; }
.gallery-caption p { flex-basis: 100%; }
.gallery-empty { padding: 80px 0; text-align: center; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: 8px; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(3, 5, 10, 0.985);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-top { display: flex; align-items: center; gap: 20px; padding: 16px clamp(16px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.lb-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--text-3); }
.lb-title { font-size: 15px; font-weight: 500; }
.lb-title span { margin-left: 12px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.lb-tools { display: flex; gap: 6px; margin-left: auto; }
.lb-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); transition: background-color .2s, border-color .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--line-3); }
.lb-btn .icon { width: 18px; height: 18px; }
.lb-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; user-select: none; }
.lb-img {
  max-width: calc(100vw - 160px); max-height: 100%;
  object-fit: contain; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
  cursor: zoom-in; will-change: transform;
}
.lb-stage.is-zoomed .lb-img { cursor: grab; transition: transform .08s linear; }
.lb-stage.is-dragging .lb-img { cursor: grabbing; }
.lb-img.is-loading { opacity: 0.35; filter: blur(6px); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(12, 18, 30, 0.8); }
.lb-prev { left: clamp(12px, 2vw, 28px); }
.lb-next { right: clamp(12px, 2vw, 28px); }
.lb-stage.is-zoomed .lb-nav { opacity: 0; pointer-events: none; }
.lb-bottom { padding: 14px clamp(16px, 3vw, 32px) 18px; border-top: 1px solid var(--line); }
.lb-caption { margin-bottom: 12px; font-size: 14px; color: var(--text-2); min-height: 1.5em; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.lb-thumbs button { flex: none; width: 76px; height: 52px; border-radius: 4px; overflow: hidden; opacity: 0.45; outline: 1px solid transparent; transition: opacity .2s, outline-color .2s; }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button:hover { opacity: 0.8; }
.lb-thumbs button.is-active { opacity: 1; outline: 1px solid var(--cyan); outline-offset: 2px; }
.lb-hint { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; }
body.lb-locked { overflow: hidden; }
@media (max-width: 760px) {
  .lb-img { max-width: 100vw; }
  .lb-nav { display: none; }
  .lb-hint { display: none; }
  .lb-title span { display: none; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.map-hero { position: relative; isolation: isolate; height: clamp(420px, 60vh, 640px); margin-top: var(--header-h); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a0e17; }
.map-hero .map-canvas { position: absolute; inset: 0; }
.map-card {
  position: absolute; z-index: 500; left: var(--gutter); bottom: 32px;
  width: min(420px, calc(100% - var(--gutter) * 2));
  padding: 24px 26px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: rgba(7, 11, 20, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.map-card .eyebrow { margin-bottom: 12px; }
.map-card-title { font-size: 22px; font-weight: 600; line-height: 1.35; }
.map-card address { margin-top: 10px; font-size: 15px; }
.map-card address span { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.map-card-coords { display: flex; gap: 16px; margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); }
.map-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.map-card-actions .btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
@media (min-width: 1360px) { .map-card { left: calc((100vw - var(--container)) / 2); } }
@media (max-width: 640px) {
  .map-hero { height: auto; display: flex; flex-direction: column; }
  .map-hero .map-canvas { position: relative; height: 360px; }
  .map-card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px var(--gutter) 24px; }
}

.map-canvas.leaflet-container { background: #0a0e17; font-family: var(--font-sans); }
.leaflet-layer.tiles-tint { filter: sepia(0.5) hue-rotate(180deg) saturate(1.5) brightness(0.72) contrast(1.08); }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center; color: var(--text-3); font-size: 14px; z-index: 400; }
.leaflet-container .leaflet-control-attribution { background: rgba(5, 8, 14, 0.7); color: #6b778f; font-size: 10px; }
.leaflet-container .leaflet-control-attribution a { color: #8fa0c0; }
.leaflet-bar a, .leaflet-bar a:hover { background: rgba(10, 15, 26, 0.92); color: var(--text); border-bottom-color: var(--line-2); }
.leaflet-bar { border: 1px solid var(--line-2) !important; box-shadow: none !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #0c1322; color: var(--text); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); border: 1px solid var(--line-2); }
.leaflet-popup-content { margin: 14px 16px; font-size: 13px; line-height: 1.6; }
.leaflet-popup-content b { display: block; font-size: 14px; }
.leaflet-container a.leaflet-popup-close-button { color: var(--text-3); }

.hq-marker { position: relative; }
.hq-marker-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--amber); border: 2px solid #1a1206; box-shadow: 0 0 0 2px rgba(243, 170, 60, 0.5), 0 0 18px rgba(243, 170, 60, 0.8); }
.hq-marker-pulse { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 1px solid rgba(243, 170, 60, 0.6); animation: hq-pulse 2.6s var(--ease) infinite; }
@keyframes hq-pulse { 0% { transform: scale(0.25); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.leaflet-tooltip.hq-tooltip { padding: 6px 10px; border: 1px solid rgba(243, 170, 60, 0.5); border-radius: 4px; background: rgba(8, 12, 20, 0.92); color: var(--text); font-size: 12.5px; box-shadow: none; }
.leaflet-tooltip.hq-tooltip::before { display: none; }
.leaflet-tooltip.hq-tooltip small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--amber); letter-spacing: 0.08em; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 72px; }
.contact-grid .section-lead { margin: 20px 0 40px; }
.contact-list { border-top: 1px solid var(--line-2); }
.contact-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-row .icon { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }
.contact-row dt { font-size: 13px; color: var(--text-3); }
.contact-row dd { margin-top: 4px; font-size: 16px; }
.contact-row dd span { display: block; font-size: 14px; color: var(--text-3); }
.contact-row dd a:hover { color: var(--cyan); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--text-2); transition: color .2s; }
.copy-btn:hover { color: var(--text); }
.copy-btn .icon { width: 15px; height: 15px; }
.copy-btn.is-done { color: var(--success); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 13.5px; color: var(--text-2); }
.field label em { font-style: normal; color: var(--cyan); margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--line-2); border-radius: 7px;
  background: var(--surface); color: var(--text);
  font-size: 15px; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder, .textarea::placeholder { color: #4f5a70; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.22); background: var(--surface-2); }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236b778f' stroke-width='1.6'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.textarea { min-height: 160px; resize: vertical; }
.field-error { margin-top: 6px; font-size: 13px; color: var(--danger); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: rgba(255, 107, 107, 0.6); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot p { font-size: 13px; color: var(--text-3); max-width: 420px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 7px; font-size: 14.5px; margin-bottom: 24px; }
.alert .icon { width: 18px; height: 18px; margin-top: 3px; }
.alert-success { border: 1px solid rgba(58, 210, 159, 0.4); background: rgba(58, 210, 159, 0.08); color: #bff3e0; }
.alert-error { border: 1px solid rgba(255, 107, 107, 0.4); background: rgba(255, 107, 107, 0.08); color: #ffd0d0; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 88px 0 36px; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; padding-bottom: 56px; }
.footer-brand p { margin-top: 20px; max-width: 340px; color: var(--text-3); line-height: 1.85; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { color: var(--text-2); }
.footer-social a:hover { color: var(--text); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-cols h3 { margin-bottom: 18px; font-size: 13px; font-weight: 500; color: var(--text); }
.footer-cols li + li { margin-top: 10px; }
.footer-cols a { color: var(--text-2); transition: color .2s; }
.footer-cols a:hover { color: var(--text); }
.footer-cols address { color: var(--text-2); line-height: 1.8; }
.footer-en { font-size: 12.5px; color: var(--text-3); }
.footer-contact { margin-top: 14px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; }
.footer-contact .icon { width: 14px; height: 14px; }
.footer-risk { padding: 28px 0; border-top: 1px solid var(--line); }
.footer-risk h3 { font-size: 12px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; }
.footer-risk p { margin-top: 10px; font-size: 12.5px; line-height: 1.9; color: var(--text-3); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--text); }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
}
