/* ============================================================
   TLAY — The Trust Layer for the Machine Economy
   Design system: refined dark-tech, signal-green accent
   ============================================================ */

/* Self-hosted fonts — Space Grotesk / IBM Plex Sans / IBM Plex Mono (latin + latin-ext) */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibmplexmono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibmplexmono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibmplexmono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibmplexmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibmplexsans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibmplexsans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibmplexsans-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibmplexsans-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibmplexsans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibmplexsans-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/spacegrotesk-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/spacegrotesk-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/spacegrotesk-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/spacegrotesk-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/spacegrotesk-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/spacegrotesk-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/spacegrotesk-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/spacegrotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* core palette — deep cool near-black */
  --bg:        #07090c;
  --bg-2:      #0b0e13;
  --surface:   #0f131a;
  --surface-2: #141923;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  --text:      #e7eaee;
  --text-dim:  #9aa2ad;
  --text-faint:#5f6772;

  /* brand accent — TLAY royal blue (tweakable) */
  --accent:    #2f72c9;
  --accent-2:  #4c8fe0;
  --accent-dim: rgba(47,114,201,0.16);
  --accent-glow: rgba(47,114,201,0.34);

  /* official dark-background (reversed) logo colors — exact, do not tint */
  --logo-link: #ffffff;  /* white woven chain */
  --logo-dot:  #dddddd;  /* light-gray isolated nodes */
  --logo-word: #ffffff;  /* white TLAY wordmark */

  --display: 'Space Grotesk', sans-serif;
  --body: 'IBM Plex Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(96px, 13vh, 168px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
}

/* ambient page grain / vignette */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(58,214,160,0.06), transparent 60%),
    radial-gradient(100% 60% at 100% 100%, rgba(58,214,160,0.04), transparent 55%);
  pointer-events: none; z-index: 0;
}

::selection { background: var(--accent); color: #04140e; }

a { color: inherit; text-decoration: none; }

/* ---------- layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); position: relative; z-index: 1; }
.section { padding-block: var(--sec); position: relative; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* eyebrow / mono label */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--accent); opacity: 0.6;
}
.eyebrow .idx { color: var(--text-faint); }

/* headings */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(40px, 6.4vw, 88px); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -0.03em; }
.h-md { font-size: clamp(24px, 3vw, 38px); }
.lede { font-size: clamp(18px, 2vw, 23px); color: var(--text-dim); line-height: 1.55; max-width: 62ch; }
.lede strong { color: var(--text); font-weight: 600; }
.accent { color: var(--accent); }
.muted { color: var(--text-dim); }

p + p { margin-top: 1.1em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gut);
  background: rgba(7,9,12,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7,9,12,0.82); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: 19px; }
.brand .mark {
  width: 28px; height: 28px; display: grid; place-items: center; position: relative;
}
.brand .mark svg { width: 28px; height: 28px; }
.tlay-mark { color: var(--accent); display: block; }
.brand { gap: 0; flex-shrink: 0; margin-right: 8px; }
@media (max-width: 1120px) { .nav-links { gap: 15px; } .nav-links a { font-size: 12px; } }
.tlay-logo { display: block; height: 27px; width: auto; }
.footer .tlay-logo { height: 34px; }
.brand-stacked { display: inline-block; }
.tlay-logo-stacked { display: block; height: 96px; width: auto; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { font-size: 13px; color: var(--text-dim); transition: color .2s; font-family: var(--mono); letter-spacing: 0.01em; white-space: nowrap; flex-shrink: 0; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; white-space: nowrap;
  padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--text); transition: all .2s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.03em;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  transition: all .22s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #04140e; font-weight: 500; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arr { transition: transform .22s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.hero .wrap { z-index: 2; }
.hero-grid-fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg) 96%); z-index: 1; pointer-events: none; }
.hero-inner { max-width: 980px; }
.hero h1 { margin: 20px 0 30px; }
.hero .lede { margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* status ticker */
.ticker {
  margin-top: 56px; display: inline-flex; align-items: center; gap: 0;
  font-family: var(--mono); font-size: 13px; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: rgba(15,19,26,0.5); backdrop-filter: blur(4px);
}
.ticker .cell { padding: 11px 18px; display: flex; align-items: center; gap: 9px; }
.ticker .cell + .cell { border-left: 1px solid var(--line); }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); }
.ticker .cell.active .dot { animation: ping 1.6s ease-out infinite; }
.ticker .cell.active { color: var(--text); }
.ticker .sep { color: var(--text-faint); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- generic two-col ---------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 48px; } }
.col-sticky { position: sticky; top: 120px; }

/* ---------- THE GAP — cannot list ---------- */
.cannot { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.cannot .row {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s;
}
.cannot .row:hover { padding-left: 8px; }
.cannot .num { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.cannot .row h3 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 500; margin-bottom: 8px; }
.cannot .row p { color: var(--text-dim); font-size: 16px; max-width: 60ch; }
.gap-statement { font-family: var(--display); font-weight: 500; font-size: clamp(20px,2.4vw,28px); line-height: 1.35; letter-spacing: -0.02em; margin-top: 52px; max-width: 30ch; }
.gap-statement .accent { font-weight: 600; }

/* ---------- BoAT — chip card ---------- */
.boat-card {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  padding: 38px; overflow: hidden;
}
.pcba {
  position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 28px;
  border: 1px solid var(--line-2);
  background: radial-gradient(130% 120% at 28% 18%, #11161e, #070a0e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 50px rgba(0,0,0,0.45);
}
.pcba svg { width: 100%; height: auto; display: block; }
.pcba .trace-live { stroke-dasharray: 7 13; animation: traceFlow 1.3s linear infinite; }
.pcba .trace-live.d2 { animation-delay: .65s; }
@keyframes traceFlow { to { stroke-dashoffset: -40; } }
.pcba .key {
  position: absolute; bottom: 14px; left: 16px;
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  background: rgba(7,10,14,0.72); backdrop-filter: blur(4px);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px;
}
.pcba .key .lock {
  width: 11px; height: 11px; border-radius: 2px; position: relative;
  border: 1.5px solid var(--accent); border-top: 0; margin-top: 4px;
}
.pcba .key .lock::before {
  content: ""; position: absolute; left: 50%; top: -5px; transform: translateX(-50%);
  width: 7px; height: 7px; border: 1.5px solid var(--accent); border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.boat-attrs { display: grid; gap: 2px; }
.boat-attrs .attr { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.boat-attrs .attr:first-child { border-top: 0; }
.boat-attrs .attr .k { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; min-width: 132px; padding-top: 2px; text-transform: uppercase; }
.boat-attrs .attr .v { font-size: 15px; color: var(--text-dim); }
.boat-attrs .attr .v b { color: var(--text); font-weight: 600; }

/* ============================================================
   HASHANCHOR — cloud backbone pipeline (investor view)
   ============================================================ */
.ha-stage { margin-top: 8px; }
.ha-stage > svg { width: 100%; height: auto; display: block; }
.ha-rail { stroke: var(--line-2); stroke-width: 2; }
.ha-rail-live { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 2 12; stroke-linecap: round; opacity: 0.85; animation: haFlow 1.1s linear infinite; }
@keyframes haFlow { to { stroke-dashoffset: -14; } }
.ha-station .ha-bg { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; }
.ha-station .ha-glow { opacity: 0; transition: opacity .4s; }
.ha-station.lit .ha-glow { opacity: 1; }
.ha-station.lit .ha-bg { stroke: var(--accent); fill: var(--surface-2); }
.ha-token { opacity: 0; }
.ha-token.run { opacity: 1; }
.ha-token.forged circle:first-child { fill: #d65b5b; }
.ha-token.forged circle:last-child { stroke: #d65b5b; }
.ha-reject-path { opacity: 0; }
.ha-reject { opacity: 0; }
.ha-anchor { opacity: 0; transition: opacity .4s; }
.ha-anchor.show { opacity: 1; }
.ha-reject.show, .ha-reject-path.show { opacity: 1; }

.ha-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 820px) { .ha-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ha-steps { grid-template-columns: 1fr; } }
.ha-step { border-top: 2px solid var(--line); padding-top: 16px; }
.ha-step .ha-n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.ha-step h4 { font-family: var(--display); font-size: 19px; font-weight: 500; margin: 10px 0 8px; letter-spacing: -0.01em; }
.ha-step p { font-size: 14.5px; color: var(--text-dim); }

.ha-trustless { margin-top: 56px; border: 1px solid var(--accent-dim); border-radius: 16px; background: linear-gradient(160deg, var(--accent-dim), transparent 70%); padding: 32px 36px; }
.ha-trustless-head { display: flex; gap: 18px; align-items: flex-start; }
.ha-seal { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); position: relative; margin-top: 2px; }
.ha-seal::after { content: ""; position: absolute; left: 11px; top: 18px; width: 8px; height: 14px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.ha-trustless-title { font-family: var(--display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 6px; }
.ha-trustless-head p { color: var(--text-dim); font-size: 15.5px; max-width: 64ch; }
.ha-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ha-check { font-family: var(--mono); font-size: 12.5px; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; display: inline-flex; align-items: center; gap: 9px; }
.ha-check::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ---------- VALUE STACK ---------- */
.stack { display: grid; gap: 14px; }
.tier {
  position: relative; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); padding: 26px 30px; cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s;
  overflow: hidden;
}
.tier::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s;
}
.tier:hover, .tier.open { border-color: var(--line-2); background: var(--surface-2); }
.tier.open::after { transform: scaleY(1); }
.tier-head { display: flex; align-items: center; gap: 20px; }
.tier .lvl { font-family: var(--mono); font-size: 12px; color: var(--text-faint); letter-spacing: 0.1em; min-width: 38px; }
.tier .name { font-family: var(--display); font-size: clamp(20px,2.3vw,26px); font-weight: 500; flex: 1; letter-spacing: -0.02em; }
.tier .tag { font-family: var(--mono); font-size: 11px; color: var(--accent); border: 1px solid var(--accent-dim); padding: 4px 10px; border-radius: 999px; background: var(--accent-dim); }
.tier .chev { color: var(--text-faint); transition: transform .3s; }
.tier.open .chev { transform: rotate(180deg); }
.tier-body { max-height: 0; overflow: hidden; transition: max-height .4s ease, margin .4s ease; }
.tier.open .tier-body { max-height: 220px; margin-top: 16px; }
.tier-body p { color: var(--text-dim); font-size: 15.5px; max-width: 66ch; }
.stack-note { margin-top: 26px; font-family: var(--mono); font-size: 13px; color: var(--text-faint); display: flex; align-items: center; gap: 12px; }
.stack-note .up { color: var(--accent); }

/* ---------- THE LOOP (interactive) ---------- */
.loop-stage { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px,6vw,90px); align-items: center; margin-top: 30px; }
@media (max-width: 920px) { .loop-stage { grid-template-columns: 1fr; gap: 40px; } }
.loop-viz { position: relative; aspect-ratio: 1/1; max-width: 480px; width: 100%; margin: 0 auto; }
.loop-viz svg { width: 100%; height: 100%; overflow: visible; }
.loop-node {
  cursor: pointer;
}
.loop-node circle.bg { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.5; transition: stroke .3s, fill .3s; }
.loop-node.active circle.bg { stroke: var(--accent); fill: var(--surface-2); }
.loop-node .ring { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; }
.loop-node.active .ring { opacity: 1; }
.loop-label { font-family: var(--mono); font-size: 14px; fill: var(--text-dim); text-anchor: middle; transition: fill .3s; letter-spacing: 0.04em; }
.loop-node.active .loop-label { fill: var(--text); }
.loop-sub { font-family: var(--mono); font-size: 10px; fill: var(--text-faint); text-anchor: middle; letter-spacing: 0.06em; }
.loop-path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.loop-progress { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--accent-glow)); }
.loop-center { font-family: var(--display); fill: var(--text-faint); text-anchor: middle; }

.loop-detail { min-height: 220px; }
.loop-detail .flow-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.loop-detail h3 { font-size: clamp(26px,3vw,38px); margin-bottom: 16px; }
.loop-detail p { color: var(--text-dim); max-width: 52ch; }
.loop-detail .powered { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.loop-detail .powered b { color: var(--text); font-weight: 500; }
.loop-steps { display: flex; gap: 8px; margin-top: 30px; }
.loop-steps button {
  flex: 1; background: transparent; border: 0; border-top: 2px solid var(--line);
  padding: 12px 4px 0; text-align: left; cursor: pointer; color: var(--text-faint);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; transition: all .25s;
}
.loop-steps button.active { border-top-color: var(--accent); color: var(--accent); }
.loop-steps button:hover { color: var(--text-dim); }

.loop-detail .fade-swap { animation: fadeSwap .4s ease; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- MACHINE FINANCE — flow steps ---------- */
.fin-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
@media (max-width: 860px) { .fin-flow { grid-template-columns: 1fr; } }
.fin-step {
  position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px;
  background: var(--surface); overflow: hidden;
}
.fin-step .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 22px; display: block; }
.fin-step .from-to { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.2; }
.fin-step .from-to .arr { color: var(--accent); margin: 0 6px; }
.fin-step p { font-size: 14.5px; color: var(--text-dim); }
.fin-step .glyph { position: absolute; top: 24px; right: 24px; opacity: 0.5; }
.fin-arc { margin-top: 40px; padding: 30px 34px; border: 1px solid var(--accent-dim); border-radius: 14px; background: var(--accent-dim); }
.fin-arc p { font-family: var(--display); font-size: clamp(19px,2.2vw,26px); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; max-width: 46ch; }

/* ---------- TRUST LADDER ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
@media (max-width: 760px){ .trust-grid { grid-template-columns: 1fr; } }
.trust-tier { border: 1px solid var(--line); border-radius: 14px; padding: 30px; background: var(--surface); position: relative; }
.trust-tier.high { border-color: var(--accent-dim); }
.trust-tier .badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.trust-tier.high .badge { color: var(--accent); }
.trust-tier h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.trust-tier p { color: var(--text-dim); font-size: 15px; }
.trust-tier .bars { display: flex; gap: 4px; margin-top: 22px; }
.trust-tier .bars i { height: 6px; flex: 1; border-radius: 3px; background: var(--line-2); }
.trust-tier.low .bars i:nth-child(-n+2) { background: var(--accent); opacity: 0.55; }
.trust-tier.high .bars i { background: var(--accent); }
.trust-meaning { margin-top: 30px; font-family: var(--mono); font-size: 14px; color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.trust-meaning b { color: var(--accent); font-weight: 500; }
.trust-meaning .arr { color: var(--text-faint); }

/* ---------- SOME — layers ---------- */
.some-layers { display: grid; gap: 14px; margin-top: 40px; }
.layer { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; padding: 26px 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .3s, border-color .3s; }
@media (max-width: 700px){ .layer { grid-template-columns: 1fr; gap: 10px; } }
.layer:hover { transform: translateX(6px); border-color: var(--line-2); }
.layer .lname { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.layer .lname small { display: block; font-family: var(--mono); font-size: 11px; color: var(--text-faint); font-weight: 400; letter-spacing: 0.06em; margin-top: 4px; }
.layer .ldesc { color: var(--text-dim); font-size: 15.5px; }
.layer .ldesc b { color: var(--text); font-weight: 600; }

.some-closer { text-align: center; margin-top: var(--sec); }
.some-closer .big { font-family: var(--display); font-weight: 600; font-size: clamp(34px,5.5vw,74px); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto; }
.some-closer .big em { font-style: normal; color: var(--accent); }
.some-acronym { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; color: var(--text-faint); text-transform: uppercase; margin-top: 30px; }

/* ---------- footer / final CTA ---------- */
.final-cta { text-align: center; padding-block: var(--sec); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.final-cta::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 60% at 50% 0%, var(--accent-dim), transparent 70%); pointer-events:none; }
.final-cta h2 { margin-bottom: 30px; }
.footer { border-top: 1px solid var(--line); padding: 50px var(--gut) 60px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer .brand { font-size: 24px; }
.footer-tag { color: var(--text-faint); font-family: var(--mono); font-size: 12px; margin-top: 14px; max-width: 30ch; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; color: var(--text-dim); font-size: 14px; padding: 5px 0; transition: color .2s; white-space: nowrap; line-height: 1.5; }
.footer-col a:hover { color: var(--accent); }
.footer-base { max-width: var(--maxw); margin: 40px auto 0; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--text-faint); }

/* ---------- reveal animation ----------
   NOTE: opacity is an INSTANT toggle (no transition) so revealed content is
   never stuck mid-fade if the compositor throttles transitions. Only the
   transform slides, which degrades gracefully (snaps) if paused. */
.reveal { opacity: 0; transform: translateY(22px); transition: transform .75s cubic-bezier(.16,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* section number watermark */
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head .h-lg { margin-top: 4px; }
.sec-head p { margin-top: 22px; }

/* ============================================================
   FUSION blocks — pulled from the live product site
   ============================================================ */

/* ---- stats band ---- */
.statband { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statband .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .statband .wrap { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 40px 4px 40px 28px; border-left: 1px solid var(--line); position: relative; }
.stat:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px) {
  .stat { padding: 28px 4px 28px 24px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.stat .num { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat .num span { color: var(--accent); }
.stat .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-dim); margin-top: 14px; line-height: 1.4; }

/* ---- 4-tier architecture strip ---- */
.tiers-strip { margin-top: 64px; }
.tiers-strip .strip-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tiers-strip .strip-head b { color: var(--accent); font-weight: 500; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
.tierbox { border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; background: var(--surface); position: relative; overflow: hidden; }
.tierbox .tn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-faint); }
.tierbox .tname { font-family: var(--display); font-size: 19px; font-weight: 500; margin: 12px 0 4px; }
.tierbox .tkb { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tierbox .tbar { height: 5px; border-radius: 3px; background: var(--accent); margin-top: 18px; opacity: 0.9; }

/* ---- use cases ---- */
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 760px) { .uc-grid { grid-template-columns: 1fr; } }
.uc { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: var(--surface); transition: border-color .25s, transform .25s; }
.uc:hover { border-color: var(--line-2); transform: translateY(-3px); }
.uc .uc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.uc h3 { font-size: 24px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.uc p { color: var(--text-dim); font-size: 15px; max-width: 50ch; }
.uc .uc-meta { margin-top: 20px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 8px; }
.uc .uc-meta span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }

/* ---- partners / ecosystem ---- */
.partners { border-top: 1px solid var(--line); }
.partner-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); text-align: center; margin-bottom: 40px; }
.partner-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 900px) { .partner-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .partner-wall { grid-template-columns: repeat(2, 1fr); } }
.partner { background: var(--bg); display: grid; place-items: center; padding: 26px 18px; min-height: 84px; cursor: pointer; }
.partner img { max-height: 30px; max-width: 124px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.6; transition: opacity .22s; }
.partner img.lg { max-height: 44px; max-width: 168px; }
.partner:hover { background: var(--surface); }
.partner:hover img { opacity: 1; }
.chains-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.chip-tag { font-family: var(--mono); font-size: 12px; color: var(--text-dim); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 15px 7px 8px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: border-color .2s, color .2s; }
.chip-tag:hover { border-color: var(--accent); color: var(--text); }
.chip-ico { width: 18px; height: 18px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }

/* chains vs coins — two distinct bordered groups */
.eco-split { margin-top: 44px; display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; }
.eco-group { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 18px; align-items: center; flex: 1 1 380px; max-width: 640px; }
.eco-group.eco-assets { flex: 0 1 300px; }
.eco-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.eco-group .chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.assets-note { text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); margin-top: 30px; opacity: 0.7; }
