/* =========================================================
   TrueOpen — dark compute / neon design system
   Palette derives from the 4-square logo mark.
   ========================================================= */

:root {
  --cyan: #22cad6;
  --green: #4fce7c;
  --amber: #ffb738;
  --violet: #8a75ff;
  --blue: #6ea8ff;

  --bg: #05070d;
  --bg-2: #070a12;
  --surface: #0b0f19;
  --surface-2: #0e1320;
  --surface-3: #11172699;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-2: rgba(255, 255, 255, 0.14);

  --text: #eef2f8;
  --text-dim: #98a3b5;
  --text-faint: #6b7688;

  --max: 1200px;
  --wide: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-ligatures: none; }

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(34, 202, 214, 0.3); color: #fff; }

/* ---------- Overlays ---------- */
.page-noise {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.scroll-progress { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,.05); }
.scroll-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber), var(--violet));
  box-shadow: 0 0 12px rgba(34,202,214,.6);
  transition: width 90ms linear;
}

.cursor-glow {
  position: fixed; z-index: 0; top: 0; left: 0; width: 520px; height: 520px;
  margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(34,202,214,.09), transparent 62%);
  transition: opacity 500ms var(--ease);
}

.skip-link {
  position: fixed; z-index: 80; top: 12px; left: 12px; padding: 10px 16px; border-radius: 8px;
  background: var(--cyan); color: #04222a; font-size: .85rem; font-weight: 700;
  transform: translateY(-200%); transition: transform 200ms var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; z-index: 40; top: 0; left: 0; width: 100%; height: 72px;
  display: flex; align-items: center; gap: 26px;
  padding: 0 clamp(18px, 3.4vw, 38px);
  border-bottom: 1px solid transparent;
  transition: background-color 320ms var(--ease), border-color 320ms var(--ease), height 320ms var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
  height: 62px;
  background: rgba(5,7,13,.74);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--hairline);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-word { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 22px; height: 22px; display: grid;
  grid-template-columns: repeat(2, 7.5px); grid-template-rows: repeat(2, 7.5px); gap: 3px;
  transform: rotate(45deg); transition: transform 700ms var(--ease);
}
.brand:hover .brand-mark { transform: rotate(225deg); }
.brand-mark span { display: block; border-radius: 1.5px; }
.brand-mark span:nth-child(1) { background: var(--cyan);   box-shadow: 0 0 10px rgba(34,202,214,.8); }
.brand-mark span:nth-child(2) { background: var(--green);  box-shadow: 0 0 10px rgba(79,206,124,.8); }
.brand-mark span:nth-child(3) { background: var(--amber);  box-shadow: 0 0 10px rgba(255,183,56,.8); }
.brand-mark span:nth-child(4) { background: var(--violet); box-shadow: 0 0 10px rgba(138,117,255,.8); }

.main-nav { display: flex; align-items: center; gap: 24px; font-size: .86rem; color: var(--text-dim); margin-right: auto; }
.main-nav a { position: relative; padding: 5px 0; white-space: nowrap; transition: color 200ms var(--ease); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0); transform-origin: left; transition: transform 320ms var(--ease);
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border: 1px solid var(--hairline-2); border-radius: 100px;
  background: rgba(255,255,255,.03); color: var(--text-dim);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .7rem;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.lang-switch:hover { color: var(--text); border-color: rgba(34,202,214,.5); background: rgba(34,202,214,.08); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 100px; border: 1px solid rgba(34,202,214,.42);
  background: rgba(34,202,214,.1); color: #d5f7fb;
  font-size: .8rem; font-weight: 650; white-space: nowrap;
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.header-cta:hover { background: rgba(34,202,214,.2); box-shadow: 0 8px 26px -12px rgba(34,202,214,.8); }

.nav-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { width: 19px; height: 1.5px; display: block; margin: 5.5px auto; background: var(--text); transition: transform 260ms var(--ease); }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.button {
  position: relative; min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 24px; border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  font-size: .94rem; font-weight: 650; overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease), background-color 240ms var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-primary {
  background: linear-gradient(135deg, var(--cyan), #14a9c4 55%, var(--violet));
  color: #04161c; font-weight: 750; box-shadow: 0 10px 34px -10px rgba(34,202,214,.55);
}
.button-primary > span { position: relative; z-index: 1; }
.button-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55), transparent 80%);
  transform: translateX(-120%) skewX(-16deg); transition: transform 760ms var(--ease);
}
.button-primary:hover { box-shadow: 0 16px 44px -10px rgba(34,202,214,.75); }
.button-primary:hover::before { transform: translateX(120%) skewX(-16deg); }

.button-glass {
  background: rgba(255,255,255,.035); border-color: var(--hairline-2); color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.button-glass:hover { border-color: rgba(34,202,214,.55); background: rgba(34,202,214,.09); box-shadow: 0 10px 30px -14px rgba(34,202,214,.6); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: max(700px, 98svh); display: flex; align-items: center; overflow: hidden;
  padding: 140px clamp(20px,5vw,56px) 110px; isolation: isolate;
}
.aurora { position: absolute; inset: 0; z-index: -4; overflow: hidden; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.aurora-a { width: 46vw; height: 46vw; top: -12%; right: -6%;  background: radial-gradient(circle, rgba(34,202,214,.55), transparent 68%); animation: drift1 26s ease-in-out infinite; }
.aurora-b { width: 40vw; height: 40vw; bottom: -16%; right: 14%; background: radial-gradient(circle, rgba(138,117,255,.55), transparent 68%); animation: drift2 32s ease-in-out infinite; }
.aurora-c { width: 30vw; height: 30vw; top: 24%; left: -8%;   background: radial-gradient(circle, rgba(79,206,124,.3), transparent 68%);  animation: drift3 28s ease-in-out infinite; }
.aurora-d { width: 22vw; height: 22vw; bottom: 6%; left: 18%;  background: radial-gradient(circle, rgba(255,183,56,.22), transparent 68%);  animation: drift1 34s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); }    50% { transform: translate(-6%,8%) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1.05); } 50% { transform: translate(8%,-10%) scale(.92); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); }    50% { transform: translate(10%,-6%) scale(1.15); } }

.hero-grid {
  position: absolute; inset: 0; z-index: -3; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(130% 110% at 70% 45%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(130% 110% at 70% 45%, black 25%, transparent 75%);
}
.network-canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(96deg, var(--bg) 0%, var(--bg) 24%, rgba(5,7,13,.88) 40%, rgba(5,7,13,.3) 56%, transparent 70%),
    radial-gradient(70% 60% at 16% 50%, rgba(5,7,13,.85) 10%, transparent 66%),
    linear-gradient(to top, var(--bg) 1%, transparent 22%);
}

.hero-content { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; }
.hero-eyebrow, .hero h1, .hero-statement, .hero-actions, .hero-legend { max-width: 790px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px 8px 12px;
  border: 1px solid var(--hairline-2); border-radius: 100px; background: rgba(255,255,255,.035);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text-dim); font-size: .7rem; letter-spacing: .14em;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,202,214,.7); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,206,124,.6); } 70% { box-shadow: 0 0 0 9px rgba(79,206,124,0); } 100% { box-shadow: 0 0 0 0 rgba(79,206,124,0); } }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2.4s var(--ease) infinite; }

.hero h1 { margin: 0; font-size: clamp(4.6rem, 12vw, 11rem); line-height: .85; font-weight: 900; letter-spacing: -.045em; }
.wordmark {
  background: linear-gradient(100deg, var(--cyan), var(--green) 26%, #fff 50%, var(--amber) 72%, var(--violet));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }

.hero-statement {
  margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: clamp(1.15rem, 1.9vw, 1.72rem); line-height: 1.3; font-weight: 600; letter-spacing: -.01em;
}
.hero-statement span:nth-child(1) { color: var(--cyan); }
.hero-statement span:nth-child(2) { color: #fff; }
.hero-statement span:nth-child(3) { color: var(--green); }
.hero-statement span:nth-child(4) { color: var(--amber); }
.hero-statement span:nth-child(5) { color: var(--violet); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.hero-legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-legend li {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px;
  border: 1px solid var(--hairline); border-radius: 100px; background: rgba(255,255,255,.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text-dim); font-size: .72rem;
}
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.legend-user  { background: var(--amber);  box-shadow: 0 0 12px rgba(255,183,56,.9); }
.legend-model { background: var(--violet); border-radius: 2px; box-shadow: 0 0 12px rgba(138,117,255,.9); }
.legend-gpu   { background: var(--cyan);   border-radius: 2px; box-shadow: 0 0 12px rgba(34,202,214,.9); }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--hairline-2); border-radius: 12px; }
.scroll-cue i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden; padding: 16px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: linear-gradient(90deg, rgba(34,202,214,.05), rgba(138,117,255,.05));
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track span { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .8rem; letter-spacing: .06em; color: var(--text-dim); white-space: nowrap; }
.ticker-track b { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(34,202,214,.9); flex: none; }
.ticker-track b:nth-of-type(2n) { background: var(--green);  box-shadow: 0 0 10px rgba(79,206,124,.9); }
.ticker-track b:nth-of-type(3n) { background: var(--amber);  box-shadow: 0 0 10px rgba(255,183,56,.9); }
.ticker-track b:nth-of-type(4n) { background: var(--violet); box-shadow: 0 0 10px rgba(138,117,255,.9); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section chrome ---------- */
.sec { position: relative; padding: clamp(80px, 10vw, 136px) clamp(20px,5vw,56px); }
.wrap { max-width: var(--max); margin: 0 auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  color: var(--cyan); font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .16em;
}
.kicker-tick { width: 24px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.kicker-violet { color: var(--violet); }
.kicker-violet .kicker-tick { background: linear-gradient(90deg, var(--violet), transparent); }

h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.9rem); line-height: 1.07; font-weight: 800; letter-spacing: -.035em; }
h2 em { font-style: normal; background: linear-gradient(100deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lede { max-width: 720px; margin: 22px 0 0; color: var(--text-dim); font-size: 1.02rem; line-height: 1.8; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- Evidence chips ---------- */
.ev-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ev-chip {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 8px 14px; border-radius: 100px; border: 1px solid var(--ec-b, var(--hairline-2));
  background: var(--ec-bg, rgba(255,255,255,.03)); color: var(--text-dim);
  font-size: .76rem; line-height: 1.4;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background-color 240ms var(--ease);
}
.ev-chip:hover { transform: translateY(-2px); border-color: var(--ec-c); background: var(--ec-bg2, rgba(255,255,255,.06)); }
.ev-chip b { color: var(--ec-c); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; font-weight: 500; letter-spacing: .04em; flex: none; }
.ev-chip i { font-style: normal; opacity: .55; flex: none; }

.ev-exp     { --ec-c: var(--green);  --ec-b: rgba(79,206,124,.34);  --ec-bg: rgba(79,206,124,.07);  --ec-bg2: rgba(79,206,124,.14); }
.ev-code    { --ec-c: var(--cyan);   --ec-b: rgba(34,202,214,.34);  --ec-bg: rgba(34,202,214,.07);  --ec-bg2: rgba(34,202,214,.14); }
.ev-paper   { --ec-c: var(--violet); --ec-b: rgba(138,117,255,.34); --ec-bg: rgba(138,117,255,.07); --ec-bg2: rgba(138,117,255,.14); }
.ev-spec    { --ec-c: var(--blue);   --ec-b: rgba(110,168,255,.34); --ec-bg: rgba(110,168,255,.07); --ec-bg2: rgba(110,168,255,.14); }
.ev-pending { --ec-c: var(--amber);  --ec-b: rgba(255,183,56,.3);   --ec-bg: rgba(255,183,56,.06);  --ec-bg2: rgba(255,183,56,.13); }

/* ---------- Home: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 16px; margin-top: 54px; }
.bento-cell {
  position: relative; display: flex; flex-direction: column; padding: 30px; overflow: hidden;
  border: 1px solid transparent; border-radius: 18px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 45%) border-box;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.cell-a { grid-column: span 5; } .cell-b { grid-column: span 7; }
.cell-c { grid-column: span 7; } .cell-d { grid-column: span 5; }
.cell-e { grid-column: span 12; }

.bento-cell::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(120% 90% at 100% 0%, var(--accent-soft, transparent), transparent 60%);
}
.cell-cyan   { --accent: var(--cyan);   --accent-soft: rgba(34,202,214,.12);  --accent-rgb: 34,202,214; }
.cell-violet { --accent: var(--violet); --accent-soft: rgba(138,117,255,.14); --accent-rgb: 138,117,255; }
.cell-green  { --accent: var(--green);  --accent-soft: rgba(79,206,124,.12);  --accent-rgb: 79,206,124; }
.cell-amber  { --accent: var(--amber);  --accent-soft: rgba(255,183,56,.12);  --accent-rgb: 255,183,56; }

.cell-glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  transition: opacity 320ms var(--ease);
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(var(--accent-rgb,34,202,214),.18), transparent 62%);
}
.bento-cell:hover .cell-glow, .rm-card:hover .cell-glow { opacity: 1; }
.bento-cell:hover { box-shadow: 0 30px 70px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--accent-rgb),.32) inset; }

.cell-index { position: relative; z-index: 1; display: block; margin-bottom: 16px; color: var(--accent); font-size: .74rem; letter-spacing: .14em; opacity: .85; }
.bento-cell h3 { position: relative; z-index: 1; margin: 0 0 12px; font-size: clamp(1.2rem,1.8vw,1.55rem); font-weight: 700; letter-spacing: -.02em; color: #fff; }
.bento-cell p { position: relative; z-index: 1; margin: 0; color: var(--text-dim); font-size: .95rem; line-height: 1.8; }
.is-feature { background-image: linear-gradient(var(--surface-2), var(--surface-2)), linear-gradient(150deg, rgba(138,117,255,.4), rgba(255,255,255,.02) 50%); }

.cell-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent, var(--cyan));
  font-size: .86rem; font-weight: 650; transition: gap 240ms var(--ease);
}
.tlink:hover { gap: 14px; }
.tlink .ar { transition: transform 240ms var(--ease); }

/* ---------- Home: flow steps ---------- */
.hsteps { margin: 48px 0 0; padding: 0; list-style: none; }
.hsteps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 34px; }
.hrail { position: relative; display: flex; justify-content: center; }
.hrail::before { content: ""; position: absolute; top: 54px; bottom: -34px; left: 50%; width: 1px; margin-left: -.5px; background: linear-gradient(180deg, var(--hairline-2), transparent); }
.hsteps li:last-child { padding-bottom: 0; }
.hsteps li:last-child .hrail::before { display: none; }
.hmark {
  position: relative; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid var(--hairline-2); border-radius: 14px; background: var(--surface);
  font-size: .9rem; font-weight: 700; color: var(--text-dim);
  transition: color 380ms var(--ease), border-color 380ms var(--ease), box-shadow 380ms var(--ease), transform 380ms var(--ease);
}
.hsteps li:nth-child(1) { --c: var(--cyan);   --crgb: 34,202,214; }
.hsteps li:nth-child(2) { --c: var(--blue);   --crgb: 110,168,255; }
.hsteps li:nth-child(3) { --c: var(--amber);  --crgb: 255,183,56; }
.hsteps li:nth-child(4) { --c: var(--violet); --crgb: 138,117,255; }
.hsteps li:nth-child(5) { --c: var(--green);  --crgb: 79,206,124; }
.hsteps li.is-active .hmark, .hsteps li:hover .hmark {
  color: var(--c); border-color: rgba(var(--crgb),.6);
  box-shadow: 0 0 0 4px rgba(var(--crgb),.09), 0 0 26px rgba(var(--crgb),.35);
  transform: translateY(-2px);
}
.hsteps h3 { margin: 0 0 8px; font-size: 1.24rem; font-weight: 700; letter-spacing: -.02em; }
.hsteps p { margin: 0 0 12px; color: var(--text-dim); font-size: .95rem; }
.chain {
  display: inline-block; padding: 7px 13px; border: 1px solid var(--hairline); border-radius: 8px;
  background: rgba(0,0,0,.34); color: var(--text-faint);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; line-height: 1.6;
}
.hsteps li.is-active .chain { color: var(--c); border-color: rgba(var(--crgb),.34); }

/* ---------- Home: verification ---------- */
.verify-sec { overflow: hidden; }
.verify-orb {
  position: absolute; z-index: -1; top: 6%; right: -14%; width: 46vw; height: 46vw; border-radius: 50%;
  filter: blur(110px); opacity: .4;
  background: radial-gradient(circle, rgba(138,117,255,.5), rgba(34,202,214,.2) 50%, transparent 70%);
}
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(40px,5vw,90px); align-items: start; }
.vcards { display: grid; gap: 16px; }
.vcard {
  position: relative; padding: 26px; border: 1px solid transparent; border-radius: 18px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 50%) border-box;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}
.vcard:hover { transform: translateY(-3px); }
.vcard.t-green:hover  { box-shadow: 0 24px 60px -34px rgba(79,206,124,.7); }
.vcard.t-violet:hover { box-shadow: 0 24px 60px -34px rgba(138,117,255,.7); }
.vcard h3 { margin: 14px 0 8px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.vcard p { margin: 0; color: var(--text-dim); font-size: .93rem; line-height: 1.8; }

.chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 100px; font-size: .68rem; letter-spacing: .1em; font-family: "JetBrains Mono", ui-monospace, monospace; }
.chip-green  { background: rgba(79,206,124,.12);  border: 1px solid rgba(79,206,124,.4);  color: var(--green); }
.chip-violet { background: rgba(138,117,255,.12); border: 1px solid rgba(138,117,255,.4); color: var(--violet); }
.chip-cyan   { background: rgba(34,202,214,.12);  border: 1px solid rgba(34,202,214,.4);  color: var(--cyan); }
.chip-amber  { background: rgba(255,183,56,.12);  border: 1px solid rgba(255,183,56,.4);  color: var(--amber); }

/* ---------- Home: roadmap ---------- */
.rm-flow { display: grid; grid-template-columns: minmax(230px,.85fr) 64px minmax(0,1.9fr); gap: 18px; margin-top: 52px; }
.rm-group { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rm-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px; overflow: hidden; width: 100%; flex: 1;
  border: 1px solid transparent; border-radius: 16px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.02) 50%) border-box;
  transition: transform 360ms var(--ease); --accent-rgb: 138,117,255;
}
.rm-card.is-current { --accent-rgb: 79,206,124; }
.rm-card:hover { transform: translateY(-4px); }
.rm-card strong { margin-top: auto; padding-top: 12px; font-size: 1.16rem; letter-spacing: -.02em; }
.rm-card small { color: var(--text-dim); font-size: .86rem; line-height: 1.65; }
.rm-link { position: relative; display: grid; place-items: center; }
.rm-link i { width: 100%; height: 1px; background: linear-gradient(90deg, rgba(79,206,124,.7), rgba(138,117,255,.7)); }
.rm-link b { position: absolute; color: var(--violet); font-size: 1.3rem; background: var(--bg); padding: 0 6px; }
.rm-next-items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; width: 100%; flex: 1; }

/* ---------- Home: scaling list ---------- */
.slist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.slist li {
  display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 22px; padding: 22px 24px;
  border: 1px solid var(--hairline); border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color 320ms var(--ease), transform 320ms var(--ease);
}
.slist li:hover { transform: translateX(6px); border-color: rgba(34,202,214,.42); }
.stag {
  display: grid; place-items: center; height: 34px; border: 1px solid var(--hairline-2); border-radius: 8px;
  background: rgba(0,0,0,.3); color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; letter-spacing: .06em;
}
.slist h3 { margin: 0 0 5px; font-size: 1.06rem; font-weight: 700; }
.slist p { margin: 0; color: var(--text-dim); font-size: .9rem; line-height: 1.7; }

/* ---------- Home: papers placeholder ---------- */
.papers-ph {
  position: relative; min-height: 220px; margin-top: 46px; display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; overflow: hidden; border: 1px dashed var(--hairline-2); border-radius: 18px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.014) 0 14px, transparent 14px 28px);
}
.scanline { position: absolute; left: 0; top: 0; width: 100%; height: 120px; background: linear-gradient(180deg, transparent, rgba(34,202,214,.09), transparent); animation: scan 4.5s linear infinite; }
@keyframes scan { 0% { transform: translateY(-140px); } 100% { transform: translateY(280px); } }
.papers-ph span { position: relative; color: var(--text-faint); font-size: .74rem; letter-spacing: .24em; }
.papers-ph p { position: relative; margin: 0; color: var(--text-dim); }

/* =========================================================
   DOC PAGES
   ========================================================= */
.doc-hero {
  position: relative; overflow: hidden; padding: 150px clamp(20px,5vw,56px) 54px;
  border-bottom: 1px solid var(--hairline);
}
.doc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(34,202,214,.16), transparent 62%),
    radial-gradient(700px 400px at 20% 120%, rgba(138,117,255,.14), transparent 64%);
}
.doc-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(120% 100% at 80% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(120% 100% at 80% 0%, black 10%, transparent 70%);
}
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--text-faint); font-size: .8rem; transition: color 200ms var(--ease); }
.crumb:hover { color: var(--cyan); }
.doc-hero h1 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; max-width: 17ch; }
.doc-hero .lede { margin-top: 20px; font-size: 1.06rem; }

.doc-layout {
  display: grid; grid-template-columns: 232px minmax(0,1fr); gap: clamp(32px,4vw,68px);
  max-width: var(--wide); margin: 0 auto; padding: 54px clamp(20px,5vw,56px) 110px;
}

.toc { position: sticky; top: 100px; align-self: start; max-height: calc(100svh - 130px); overflow-y: auto; }
.toc-title { margin: 0 0 14px; color: var(--text-faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--hairline); }
.toc a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--text-faint); font-size: .84rem; line-height: 1.5;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.toc a:hover { color: var(--text-dim); }
.toc a.is-active { color: var(--cyan); border-left-color: var(--cyan); }

.doc-body { min-width: 0; }
.doc-sec { padding-bottom: 56px; }
.doc-sec + .doc-sec { padding-top: 8px; }
.doc-sec h2 {
  margin: 0 0 20px; font-size: clamp(1.5rem, 2.3vw, 2.05rem); line-height: 1.2; font-weight: 750; letter-spacing: -.025em;
  scroll-margin-top: 96px;
}
.doc-sec h2 .h2-tick { display: inline-block; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); vertical-align: middle; margin-right: 12px; }
.doc-sec > p { margin: 0 0 16px; color: var(--text-dim); font-size: .97rem; line-height: 1.85; }
.doc-sec > p:last-child { margin-bottom: 0; }

/* lists */
.doc-ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc-ul li { position: relative; padding-left: 26px; color: var(--text-dim); font-size: .95rem; line-height: 1.8; }
.doc-ul li::before {
  content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 8px rgba(34,202,214,.7); transform: rotate(45deg);
}

/* note / callout */
.note {
  position: relative; margin: 0 0 18px; padding: 16px 18px 16px 20px;
  border: 1px solid var(--hairline); border-left: 2px solid var(--amber); border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,183,56,.05), rgba(255,255,255,.012));
  color: var(--text-dim); font-size: .92rem; line-height: 1.8;
}

/* tables */
.tbl-wrap { margin: 0 0 20px; overflow-x: auto; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
thead th {
  padding: 13px 18px; text-align: left; white-space: nowrap;
  background: rgba(255,255,255,.035); border-bottom: 1px solid var(--hairline-2);
  color: var(--text); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem;
  font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
tbody td { padding: 14px 18px; border-bottom: 1px solid var(--hairline); color: var(--text-dim); font-size: .91rem; line-height: 1.7; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color 200ms var(--ease); }
tbody tr:hover { background: rgba(34,202,214,.04); }
tbody td:first-child { color: var(--text); font-weight: 600; }

/* steps (doc) */
.dsteps { margin: 0 0 20px; padding: 0; list-style: none; }
.dsteps li { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding-bottom: 30px; }
.dsteps li:last-child { padding-bottom: 0; }
.drail { position: relative; display: flex; justify-content: center; }
.drail::before { content: ""; position: absolute; top: 46px; bottom: -30px; left: 50%; width: 1px; margin-left: -.5px; background: linear-gradient(180deg, var(--hairline-2), transparent); }
.dsteps li:last-child .drail::before { display: none; }
.dmark {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--hairline-2);
  border-radius: 12px; background: var(--surface); color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .78rem; font-weight: 500;
  transition: box-shadow 340ms var(--ease), border-color 340ms var(--ease);
}
.dsteps li.is-active .dmark { border-color: rgba(34,202,214,.6); box-shadow: 0 0 0 4px rgba(34,202,214,.08), 0 0 22px rgba(34,202,214,.3); }
.dtag { display: block; margin-bottom: 6px; color: var(--text-faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.dsteps h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.dsteps p { margin: 0 0 10px; color: var(--text-dim); font-size: .93rem; line-height: 1.8; }
.dmeta {
  display: block; padding: 9px 13px; border: 1px solid var(--hairline); border-left: 2px solid rgba(34,202,214,.5);
  border-radius: 8px; background: rgba(0,0,0,.3); color: var(--text-faint);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; line-height: 1.65;
}

/* evidence detail cards */
.evd { display: grid; gap: 16px; margin: 0 0 20px; }
.evd-card {
  position: relative; padding: 24px; border: 1px solid var(--ec-b, var(--hairline)); border-radius: 16px;
  background: var(--surface); scroll-margin-top: 96px;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.evd-card:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -38px rgba(0,0,0,.95); }
.evd-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: var(--ec-c); opacity: .7; }
.evd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.evd-label { padding: 4px 11px; border-radius: 100px; border: 1px solid var(--ec-b); background: var(--ec-bg); color: var(--ec-c); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .7rem; letter-spacing: .06em; }
.evd-kind { color: var(--text-faint); font-size: .74rem; }
.evd-date { margin-left: auto; color: var(--text-faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; }
.evd-card h3 { margin: 0 0 16px; font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.evd-rows { display: grid; gap: 10px; }
.evd-row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: baseline; }
.evd-row dt { color: var(--text-faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.evd-row dd { margin: 0; color: var(--text-dim); font-size: .91rem; line-height: 1.75; }
.evd-src { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--hairline); color: var(--text-faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; line-height: 1.6; }

/* delivery modes tabs */
.modes { margin: 0 0 20px; }
.mode-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border: 1px solid var(--hairline); border-radius: 12px; background: rgba(0,0,0,.3); }
.mode-tab {
  padding: 9px 18px; border: 0; border-radius: 9px; background: transparent; color: var(--text-dim);
  cursor: pointer; font-size: .84rem; font-weight: 600;
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}
.mode-tab:hover { color: var(--text); }
.mode-tab.is-active { background: rgba(34,202,214,.14); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(34,202,214,.34); }
.mode-panel[hidden] { display: none !important; }
.mode-panel h3 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; }
.mode-panel p { margin: 0 0 16px; color: var(--text-dim); font-size: .93rem; line-height: 1.8; }

pre {
  margin: 0; padding: 16px 18px; overflow-x: auto; border: 1px solid var(--hairline);
  border-left: 2px solid var(--cyan); border-radius: 10px; background: rgba(0,0,0,.42);
}
pre code { color: #9fe9f2; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .8rem; line-height: 1.75; white-space: pre; }

/* status strip */
.status-strip { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.status-item {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; min-width: 190px;
  border: 1px solid var(--hairline); border-radius: 12px; background: rgba(255,255,255,.02);
}
.status-item .sl { color: var(--text-faint); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.status-item .sv { color: var(--amber); font-size: .96rem; font-weight: 650; }

/* cta link block */
.doc-cta { margin: 4px 0 20px; }

/* sources */
.sources { margin-top: 12px; padding: 26px; border: 1px solid var(--hairline); border-radius: 16px; background: rgba(255,255,255,.018); }
.sources > p { margin: 0 0 16px; color: var(--text-dim); font-size: .92rem; line-height: 1.8; }
.src-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.src-list li { font-size: .88rem; }
.src-list a, .src-list span { display: inline-flex; align-items: baseline; gap: 8px; color: var(--text-dim); transition: color 200ms var(--ease); }
.src-list a:hover { color: var(--cyan); }
.src-list .ar { opacity: .5; font-size: .8em; }
.sources .note { margin: 16px 0 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 62px clamp(20px,5vw,56px) 44px; border-top: 1px solid var(--hairline); background: linear-gradient(180deg, rgba(34,202,214,.035), transparent 55%); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0,1fr)); gap: 40px; }
.footer-brand p { margin: 16px 0 0; color: var(--text-faint); font-size: .86rem; line-height: 1.7; max-width: 34ch; }
.footer-col h4 { margin: 0 0 14px; color: var(--text); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-dim); font-size: .88rem; transition: color 200ms var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-base { max-width: var(--max); margin: 44px auto 0; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-base p { margin: 0; color: var(--text-faint); font-size: .8rem; line-height: 1.7; max-width: 72ch; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: min(400px, calc(100vw - 48px));
  padding: 14px 18px; border: 1px solid var(--hairline-2); border-left: 2px solid var(--cyan); border-radius: 12px;
  background: rgba(11,15,25,.96); backdrop-filter: blur(14px); color: var(--text); font-size: .88rem;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.95);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .doc-layout { grid-template-columns: 1fr; }
  .toc {
    position: static; max-height: none; padding: 16px 18px; border: 1px solid var(--hairline);
    border-radius: 14px; background: rgba(255,255,255,.02); margin-bottom: 30px;
  }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .toc a { padding: 7px 13px; border: 1px solid var(--hairline); border-radius: 100px; margin-left: 0; }
  .toc a.is-active { border-color: rgba(34,202,214,.5); background: rgba(34,202,214,.08); }
}

@media (max-width: 1060px) {
  .main-nav {
    position: fixed; inset: 62px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 24px 26px; background: rgba(5,7,13,.98);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--hairline);
    max-height: calc(100svh - 62px); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--hairline); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .cell-a, .cell-b, .cell-c, .cell-d, .cell-e { grid-column: span 12; }
  .split { grid-template-columns: 1fr; }
  .rm-flow { grid-template-columns: 1fr; gap: 16px; }
  .rm-link { height: 40px; }
  .rm-link i { width: 1px; height: 100%; background: linear-gradient(180deg, rgba(79,206,124,.7), rgba(138,117,255,.7)); }
  .rm-link b { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  .hero { min-height: 0; padding: 116px 20px 84px; align-items: flex-start; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-statement { display: grid; gap: 7px; margin-top: 28px; font-size: clamp(1.1rem,5.2vw,1.42rem); }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; }
  .network-canvas { opacity: .48; }
  .scroll-cue { display: none; }

  .sec { padding: 72px 20px; }
  .bento { gap: 12px; margin-top: 40px; }
  .bento-cell { padding: 24px 20px; border-radius: 16px; }
  .hsteps li { grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 28px; }
  .hmark { width: 42px; height: 42px; border-radius: 12px; }
  .hrail::before { top: 46px; bottom: -28px; }
  .rm-next-items { grid-template-columns: 1fr; }
  .slist li { grid-template-columns: 70px 1fr; gap: 14px; padding: 18px; }
  .slist li:hover { transform: none; }

  .doc-hero { padding: 116px 20px 42px; }
  .doc-layout { padding: 32px 20px 84px; }
  .doc-sec { padding-bottom: 44px; }
  .evd-row { grid-template-columns: 1fr; gap: 3px; }
  .dsteps li { grid-template-columns: 38px 1fr; gap: 14px; }
  .dmark { width: 36px; height: 36px; border-radius: 10px; font-size: .7rem; }
  .drail::before { top: 38px; }
  .mode-tabs { display: flex; width: 100%; }
  .mode-tab { flex: 1; padding: 9px 10px; font-size: .8rem; }
  .sources { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .toast { right: 16px; left: 16px; bottom: 16px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .aurora i, .ticker-track, .scanline, .wordmark, .scroll-cue i, .status-dot, .pulse-dot { animation: none !important; }
  .wordmark { background-position: 40% 50%; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* =========================================================
   Layout revisions — two-column sections, nav CTA, page strip
   ========================================================= */

/* accented API item inside the header nav */
.nav-cta {
  padding: 7px 15px !important;
  border: 1px solid rgba(34, 202, 214, 0.42);
  border-radius: 100px;
  background: rgba(34, 202, 214, 0.1);
  color: #d5f7fb !important;
  font-weight: 650;
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover,
.nav-cta.is-active { background: rgba(34, 202, 214, 0.2); box-shadow: 0 8px 26px -12px rgba(34, 202, 214, 0.8); }

/* cross-page strip on doc pages */
.page-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-nav a {
  padding: 7px 14px; border: 1px solid var(--hairline); border-radius: 100px;
  background: rgba(255, 255, 255, 0.025); color: var(--text-dim); font-size: .8rem;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.page-nav a:hover { color: var(--text); border-color: rgba(34, 202, 214, .45); background: rgba(34, 202, 214, .08); }
.page-nav a.is-active { color: var(--cyan); border-color: rgba(34, 202, 214, .55); background: rgba(34, 202, 214, .12); }

/* heading-left / content-right */
.split-lead {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.35fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.lead-col { align-self: start; }
.split-lead .lead-col { position: sticky; top: 108px; }
.split-lead .hsteps { margin-top: 0; }

/* verification card process chain */
.vchain {
  display: inline-block; margin-bottom: 16px; padding: 7px 12px;
  border: 1px solid rgba(79, 206, 124, .32); border-radius: 8px;
  background: rgba(79, 206, 124, .07); color: var(--green);
  font-size: .72rem; line-height: 1.6; letter-spacing: .02em;
}
.t-violet .vchain { border-color: rgba(138, 117, 255, .34); background: rgba(138, 117, 255, .08); color: #b3a5ff; }

/* roadmap: label above a coloured top rule */
.rm-group { border-top: 2px solid var(--hairline-2); padding-top: 16px; gap: 16px; }
.rm-cur { border-top-color: var(--green); }
.rm-nextg { border-top-color: var(--violet); }
.rm-label {
  font-size: .72rem; letter-spacing: .1em; color: var(--text-dim);
}
.rm-cur .rm-label { color: var(--green); }
.rm-nextg .rm-label { color: var(--violet); }

/* economics money flow */
.money-flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; align-content: start; }
.money-flow li {
  padding: 22px 4px; border-bottom: 1px solid var(--hairline);
  transition: border-color 260ms var(--ease), padding-left 260ms var(--ease);
}
.money-flow li:first-child { border-top: 1px solid var(--hairline); }
.money-flow li:hover { border-bottom-color: rgba(34, 202, 214, .5); padding-left: 12px; }
.money-flow span { color: var(--text); font-size: 1.02rem; letter-spacing: .01em; }

/* papers box gets the CTA */
.papers-ph { margin-top: 0; }
.papers-ph .cell-foot { padding-top: 0; }

@media (max-width: 1060px) {
  .split-lead { grid-template-columns: 1fr; }
  .split-lead .lead-col { position: static; }
  .split-lead .hsteps { margin-top: 40px; }
}

@media (max-width: 700px) {
  .page-nav { gap: 6px; margin-top: 24px; }
  .page-nav a { padding: 6px 12px; font-size: .76rem; }
  .money-flow li { padding: 18px 2px; }
  .money-flow span { font-size: .95rem; }
}

/* Homepage explanatory copy */
.bento-cell p, .vcard p, .hsteps p { text-wrap: pretty; }

/* Readable FAQ, shared with structured data. */
.faq-list { margin-top: 32px; max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--hairline); padding: 8px 0; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; line-height: 1.6; }
.faq-item p { color: var(--text-dim); line-height: 1.85; margin: 0 0 20px; overflow-wrap: anywhere; }
/* Mobile layout: retain readable text and contain long technical content. */
.bento-cell, .lead-col, .vcard, .doc-body, .doc-layout > *, .slist li > div, .dsteps li > div, .hsteps li > div { min-width: 0; }
.ev-chip, .evd-src, .sources a, .doc-sec, .chain, .vchain { overflow-wrap: anywhere; }
.tbl-wrap, pre { max-width: 100%; -webkit-overflow-scrolling: touch; }
@media (max-width: 1060px) {
  .nav-toggle, .lang-switch { min-height: 44px; min-width: 44px; }
  .main-nav { top: 72px; max-height: calc(100svh - 72px); }
  .site-header.is-scrolled .main-nav { top: 62px; max-height: calc(100svh - 62px); }
}
@media (max-width: 700px) {
  .hero { padding-top: 100px; padding-bottom: 56px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 10px; margin-top: 28px; }
  .hero-actions .button { padding: 12px 10px; min-height: 52px; font-size: .86rem; text-align: center; }
  .hero-legend { margin-top: 24px; gap: 6px; }
  .hero-legend li { padding: 6px 8px; }
  .vcard { padding: 22px 18px; }
  .slist li { grid-template-columns: 1fr; gap: 12px; }
  .stag { width: max-content; min-width: 70px; padding: 0 12px; }
  .mode-tab, .page-nav a, .toc a { min-height: 44px; display: inline-flex; align-items: center; }
  .mode-tabs { flex-wrap: wrap; }
  .mode-tab { white-space: normal; }
  .site-footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .doc-hero h1 { overflow-wrap: anywhere; }
}

