﻿:root {
      --bg: #071314;
      --surface: #0d2021;
      --surface-2: #122b2a;
      --fg: #f4f4f4;
      --muted: #c6c6c6;
      --subtle: #8d8d8d;
      --border: #244442;
      --accent: #d98a24;
      --accent-strong: #f1b04d;
      --blue: #78a9ff;
      --green: #24a148;
      --font-display: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
      --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
      --font-mono: "IBM Plex Mono", Menlo, Courier, monospace;
      --container: 1440px;
      --gutter: 32px;
      --nav-h: 56px;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background:
        radial-gradient(circle at 72% 8%, color-mix(in oklch, var(--green) 14%, transparent) 0 18rem, transparent 34rem),
        radial-gradient(circle at 8% 30%, color-mix(in oklch, var(--blue) 10%, transparent) 0 16rem, transparent 32rem),
        linear-gradient(180deg, color-mix(in oklch, var(--surface-2) 42%, var(--bg)), var(--bg) 48rem);
      color: var(--fg);
      font-family: var(--font-body);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    p, h1, h2, h3 { margin: 0; }
    p { text-wrap: pretty; }
    h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
    .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
    .topnav {
      position: sticky;
      top: 0;
      z-index: 30;
      height: var(--nav-h);
      background: color-mix(in oklch, var(--bg) 88%, transparent);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner { height: var(--nav-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
    .brand { display: flex; align-items: center; gap: 12px; min-width: 176px; font-weight: 600; letter-spacing: .16px; }
    .brand-mark { width: 32px; height: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
    .brand-mark span { background: var(--accent); }
    .nav-links { display: flex; align-items: center; gap: 18px; overflow: hidden; white-space: nowrap; color: var(--muted); font-size: 14px; letter-spacing: .16px; }
    .nav-links a:hover, .nav-links a.active { color: var(--fg); }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: space-between;
      min-height: 48px;
      padding: 14px 18px 14px 16px;
      border: 1px solid transparent;
      border-radius: 0;
      background: transparent;
      color: var(--fg);
      font-size: 14px;
      letter-spacing: .16px;
    }
    .btn::after { content: "→"; margin-left: 32px; }
    .btn-primary { background: var(--accent); color: var(--bg); }
    .btn-secondary { border-color: color-mix(in oklch, var(--green) 46%, var(--border)); background: color-mix(in oklch, var(--green) 10%, var(--surface)); }
    .btn-outline { border-color: var(--border); background: color-mix(in oklch, var(--surface) 72%, transparent); }
    .section { padding: 88px 0; border-top: 1px solid var(--border); }
    .section-header { display: grid; grid-template-columns: minmax(0, .82fr) minmax(280px, .52fr); gap: 48px; align-items: end; margin-bottom: 40px; }
    .eyebrow {
      margin-bottom: 16px;
      color: var(--accent-strong);
      font-family: var(--font-mono);
      font-size: 12px;
      line-height: 16px;
      letter-spacing: .32px;
      text-transform: uppercase;
    }
    h1 { max-width: 820px; font-size: clamp(56px, 6.4vw, 104px); line-height: .98; font-weight: 300; }
    h2 { font-size: clamp(34px, 3.2vw, 54px); line-height: 1.15; font-weight: 300; }
    h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
    .lead { color: var(--muted); font-size: 18px; line-height: 30px; max-width: 820px; }
    .body-copy { display: grid; gap: 16px; color: var(--muted); font-size: 16px; line-height: 26px; }
    .meta { color: var(--subtle); font-family: var(--font-mono); font-size: 12px; letter-spacing: .32px; }
    .hash { font-family: var(--font-mono); color: var(--blue); font-variant-numeric: tabular-nums; }
    .tags, .hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 4px 10px;
      border: 1px solid var(--border);
      background: color-mix(in oklch, var(--surface-2) 86%, transparent);
      color: var(--muted);
      font-size: 12px;
      letter-spacing: .16px;
    }
    .tag.hot { border-color: color-mix(in oklch, var(--accent) 42%, var(--border)); color: var(--accent-strong); background: color-mix(in oklch, var(--accent) 10%, var(--surface)); }
    .state {
      display: inline-flex;
      align-items: center;
      min-height: 24px;
      padding: 2px 8px;
      border: 1px solid color-mix(in oklch, var(--green) 42%, var(--border));
      background: color-mix(in oklch, var(--green) 10%, var(--surface));
      color: color-mix(in oklch, var(--green) 82%, var(--fg));
      font-size: 12px;
      white-space: nowrap;
    }
    .state.warn { border-color: color-mix(in oklch, var(--accent) 42%, var(--border)); background: color-mix(in oklch, var(--accent) 10%, var(--surface)); color: var(--accent-strong); }
    .state.blue { border-color: color-mix(in oklch, var(--blue) 42%, var(--border)); background: color-mix(in oklch, var(--blue) 10%, var(--surface)); color: var(--blue); }
    .hero { min-height: calc(100vh - var(--nav-h)); padding: 80px 0 96px; display: flex; align-items: center; border-top: 0; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(560px, .9fr); gap: 56px; align-items: center; }
    .hero-copy { display: flex; flex-direction: column; gap: 28px; }
    .adline { display: grid; grid-template-columns: 4px 1fr; max-width: 760px; border: 1px solid color-mix(in oklch, var(--accent) 34%, var(--border)); background: color-mix(in oklch, var(--accent) 10%, var(--surface)); }
    .adline::before { content: ""; background: var(--accent); }
    .adline strong { display: block; padding: 18px 20px; color: var(--fg); font-size: 26px; line-height: 34px; font-weight: 400; }
    .browser {
      min-height: 720px;
      border: 1px solid var(--border);
      background:
        linear-gradient(90deg, color-mix(in oklch, var(--border) 42%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in oklch, var(--border) 34%, transparent) 1px, transparent 1px),
        color-mix(in oklch, var(--surface) 90%, transparent);
      background-size: 48px 48px, 48px 48px, auto;
      overflow: hidden;
    }
    .browser-top, .explorer-toolbar {
      min-height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 0 16px;
      border-bottom: 1px solid var(--border);
      background: color-mix(in oklch, var(--surface-2) 72%, transparent);
    }
    .live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: .16px; }
    .live::before { content: ""; width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 0 6px color-mix(in oklch, var(--green) 14%, transparent); }
    .browser-body { display: grid; gap: 16px; padding: 16px; }
    .browser-metrics, .explorer-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
    .metric {
      min-height: 118px;
      padding: 16px;
      background: radial-gradient(circle at 100% 0, color-mix(in oklch, var(--green) 11%, transparent) 0 7rem, transparent 13rem), var(--surface);
    }
    .metric strong, .explorer-stat strong {
      display: block;
      color: var(--accent-strong);
      font-family: var(--font-mono);
      font-weight: 400;
      font-variant-numeric: tabular-nums;
    }
    .metric strong { margin-top: 18px; font-size: 32px; line-height: 36px; }
    .chain-visual { display: grid; grid-template-columns: .82fr 1fr; gap: 16px; }
    .chain-map, .hash-panel {
      min-height: 230px;
      border: 1px solid var(--border);
      background: color-mix(in oklch, var(--surface-2) 82%, transparent);
      padding: 16px;
    }
    .chain-map {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(90deg, color-mix(in oklch, var(--border) 38%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in oklch, var(--border) 28%, transparent) 1px, transparent 1px),
        color-mix(in oklch, var(--surface-2) 82%, transparent);
      background-size: 32px 32px;
    }
    .chain-line { position: absolute; left: 42px; right: 42px; top: 50%; height: 1px; background: color-mix(in oklch, var(--blue) 58%, var(--border)); }
    .chain-node {
      position: absolute;
      top: 50%;
      width: 84px;
      min-height: 84px;
      display: grid;
      place-items: center;
      padding: 10px;
      transform: translateY(-50%);
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--muted);
      font-size: 12px;
      text-align: center;
    }
    .chain-node:nth-child(2) { left: 5%; }
    .chain-node:nth-child(3) { left: 28%; border-color: color-mix(in oklch, var(--blue) 44%, var(--border)); }
    .chain-node:nth-child(4) { left: 51%; border-color: color-mix(in oklch, var(--green) 44%, var(--border)); }
    .chain-node:nth-child(5) { left: 74%; border-color: color-mix(in oklch, var(--accent) 44%, var(--border)); color: var(--accent-strong); }
    .hash-list { display: grid; gap: 10px; margin-top: 18px; }
    .hash-row {
      display: grid;
      grid-template-columns: 94px 1fr auto;
      gap: 10px;
      align-items: center;
      padding: 10px;
      background: color-mix(in oklch, var(--bg) 42%, transparent);
      border-left: 2px solid var(--border);
      color: var(--muted);
      font-size: 13px;
    }
    .hash-row.hot { border-color: var(--accent); }
    .mini-table { border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
    .mini-head, .mini-row { display: grid; grid-template-columns: .8fr .9fr 1fr .8fr; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 12px; }
    .mini-head { color: var(--subtle); font-family: var(--font-mono); letter-spacing: .32px; background: color-mix(in oklch, var(--surface-2) 86%, transparent); text-transform: uppercase; }
    .mini-row { color: var(--muted); }
    .statement, .ecosystem { display: grid; grid-template-columns: .72fr 1fr; gap: 1px; border: 1px solid var(--border); background: var(--border); }
    .statement-copy, .statement-visual, .ecosystem-copy, .network { background: var(--surface); padding: 32px; }
    .statement-visual { min-height: 420px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
    .proof-card, .tile {
      padding: 24px;
      background:
        linear-gradient(90deg, color-mix(in oklch, var(--border) 26%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in oklch, var(--border) 20%, transparent) 1px, transparent 1px),
        var(--surface);
      background-size: 32px 32px;
    }
    .proof-card .index, .tile .index, .flow-step .index {
      display: block;
      margin-bottom: 28px;
      color: var(--accent-strong);
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: .32px;
    }
    .proof-card p, .tile p, .flow-step p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 22px; }
    .flow { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
    .flow-step { position: relative; min-height: 176px; padding: 20px; background: var(--surface); }
    .flow-step:not(:last-child)::after {
      content: "→";
      position: absolute;
      top: 50%;
      right: -15px;
      z-index: 2;
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      transform: translateY(-50%);
      background: var(--blue);
      color: var(--bg);
      font-family: var(--font-mono);
    }
    .explorer { border: 1px solid var(--border); background: var(--surface); }
    .explorer-stat { min-height: 150px; padding: 20px; background: radial-gradient(circle at 100% 0, color-mix(in oklch, var(--blue) 10%, transparent) 0 7rem, transparent 13rem), var(--surface); }
    .explorer-stat strong { margin: 26px 0 10px; font-size: clamp(34px, 3.3vw, 54px); line-height: 1; }
    .table-wrap { overflow-x: auto; }
    table { width: 100%; min-width: 1180px; border-collapse: collapse; font-size: 13px; }
    th, td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
    th { color: var(--subtle); font-family: var(--font-mono); font-size: 12px; letter-spacing: .32px; font-weight: 400; background: color-mix(in oklch, var(--bg) 34%, var(--surface)); }
    td { color: var(--muted); }
    td strong { color: var(--fg); font-weight: 400; }
    .action-link { color: var(--accent-strong); font-family: var(--font-mono); font-size: 12px; }
    .grid-6, .layer-grid { display: grid; gap: 1px; border: 1px solid var(--border); background: var(--border); }
    .grid-6 { grid-template-columns: repeat(6, 1fr); }
    .layer-grid { grid-template-columns: repeat(4, 1fr); }
    .tile { min-height: 236px; }
    .layer-card { min-height: 290px; padding: 24px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; }
    .layer-level { color: var(--accent-strong); font-family: var(--font-mono); font-size: 13px; letter-spacing: .32px; }
    .layer-card p { color: var(--muted); font-size: 14px; line-height: 22px; }
    .network-map {
      position: relative;
      min-height: 520px;
      overflow: hidden;
      background:
        linear-gradient(90deg, color-mix(in oklch, var(--border) 42%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in oklch, var(--border) 34%, transparent) 1px, transparent 1px);
      background-size: 40px 40px;
    }
    .network-map::before, .network-map::after {
      content: "";
      position: absolute;
      inset: 16% 16%;
      border: 1px solid color-mix(in oklch, var(--blue) 42%, var(--border));
      transform: rotate(18deg);
    }
    .network-map::after { inset: 24% 10%; border-color: color-mix(in oklch, var(--green) 46%, var(--border)); transform: rotate(-16deg); }
    .network-node {
      position: absolute;
      z-index: 2;
      min-width: 124px;
      padding: 10px 12px;
      border: 1px solid var(--border);
      background: color-mix(in oklch, var(--surface-2) 92%, transparent);
      color: var(--muted);
      font-size: 13px;
      line-height: 18px;
    }
    .network-node.core {
      left: 50%;
      top: 50%;
      min-width: 154px;
      transform: translate(-50%, -50%);
      border-color: color-mix(in oklch, var(--accent) 50%, var(--border));
      color: var(--accent-strong);
      text-align: center;
    }
    .nn1 { left: 7%; top: 12%; }
    .nn2 { right: 8%; top: 14%; }
    .nn3 { left: 8%; bottom: 18%; }
    .nn4 { right: 8%; bottom: 16%; }
    .nn5 { left: 38%; top: 6%; }
    .nn6 { left: 40%; bottom: 6%; }
    .nn7 { right: 36%; top: 73%; }
    .cta { background: color-mix(in oklch, var(--surface-2) 72%, var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .cta-box { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 48px 0; }
    footer { padding: 48px 0 40px; color: var(--muted); background: var(--bg); }
    .footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .6fr); gap: 32px; }
    footer h3 { margin-bottom: 14px; color: var(--fg); font-size: 16px; }
    footer a, footer p { display: block; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
    .copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
    @media (max-width: 1180px) {
      .nav-links { display: none; }
      .hero-grid, .statement, .chain-visual, .ecosystem { grid-template-columns: 1fr; }
      .flow { grid-template-columns: repeat(4, 1fr); }
      .grid-6 { grid-template-columns: repeat(3, 1fr); }
      .layer-grid, .explorer-stats, .browser-metrics { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 820px) {
      :root { --gutter: 20px; }
      .section { padding: 56px 0; }
      .hero { padding: 48px 0 64px; }
      .section-header, .statement-visual, .flow, .grid-6, .layer-grid, .explorer-stats, .browser-metrics, .mini-head, .mini-row, .cta-box, .footer-grid { grid-template-columns: 1fr; }
      .browser-top, .explorer-toolbar { align-items: flex-start; flex-direction: column; padding: 14px 16px; }
      .browser { min-height: auto; }
      .flow-step:not(:last-child)::after { display: none; }
      .chain-map { min-height: 420px; }
      .chain-line { display: none; }
      .chain-node { position: relative; inset: auto; transform: none; width: auto; min-height: 72px; margin: 8px; }
      .network-map { min-height: 620px; }
      .network-map::before, .network-map::after { display: none; }
      .network-node { position: relative; inset: auto; transform: none; display: block; margin: 10px; }
      .network-node.core { left: auto; top: auto; transform: none; }
    }
