/* TetraFi site styles. Fonts are self-hosted from /fonts. */
  @font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
  @font-face { font-family: "Geist"; src: url("/fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
  @font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
  :root {
    color-scheme: dark;
    --bg: #0d1526;
    --bg-2: #111b30;
    --panel: #142038;
    --panel-2: #1a2842;
    --line: rgba(150, 180, 255, 0.14);
    --line-2: rgba(150, 180, 255, 0.28);
    --text: #f1f5ff;
    --text-2: #b6bfd4;
    --text-3: #8290ac;
    --blue: #6b9cff;
    --blue-soft: rgba(107, 156, 255, 0.14);
    --cyan: #22d3ee;
    --cyan-2: #7ee9f7;
    --cyan-soft: rgba(34, 211, 238, 0.12);
    --ink: #04141a;
    --accent: var(--blue);
    --ok: #3ddc97;
    --warn: #f5b544;
    --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "Geist Mono", "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
    --max: 1200px;
    --gutter: clamp(20px, 3vw, 44px);
    --r: 12px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
  body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
  body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
    radial-gradient(55% 40% at 88% -5%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(45% 40% at -5% 30%, rgba(107,156,255,.14), transparent 60%),
    radial-gradient(60% 45% at 60% 110%, rgba(34,211,238,.08), transparent 60%),
    linear-gradient(180deg, #111c33 0%, var(--bg) 45%, #0a1120 100%); }
  body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .045; mix-blend-mode: overlay; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
  @media (prefers-reduced-motion: no-preference) { body::before { animation: breathe 18s ease-in-out infinite alternate; } }
  @keyframes breathe { to { background-position: 0 0, 0 0, 0 0, 0 0; filter: hue-rotate(-6deg) brightness(1.06); } }
  img { max-width: 100%; display: block; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  ul, ol { margin: 0; padding: 0; list-style: none; }
  :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
  h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
  h3 { font-size: 18px; letter-spacing: -0.015em; line-height: 1.3; }
  .wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

  /* labels: lowercase mono with an index, the site's own device */
  .lab { font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; color: var(--text-3); display: inline-flex; gap: 10px; align-items: baseline; }
  .lab i { font-style: normal; color: #04141a; background: var(--cyan); padding: 1px 5px; border-radius: 3px; font-weight: 500; font-size: 11px; }
  .lab.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); align-self: center; }
  .hi { color: var(--accent); }
  .sub { color: var(--text-2); font-size: 17px; line-height: 1.5; max-width: 54ch; }
  .lede { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 62ch; }

  /* buttons */
  .btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 8px; font-weight: 500; font-size: 14px; border: 1px solid var(--line-2); color: var(--text); background: transparent; transition: background .15s ease, border-color .15s ease, transform .15s ease; white-space: nowrap; cursor: pointer; font-family: inherit; }
  .btn { background: linear-gradient(180deg, rgba(150,180,255,.07), rgba(150,180,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
  .btn:hover { border-color: rgba(150,180,255,.45); background: linear-gradient(180deg, rgba(150,180,255,.12), rgba(150,180,255,.05)); }
  .btn.primary { background: linear-gradient(180deg, #47e2f6, #19c5e2); border-color: rgba(34,211,238,.9); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 26px rgba(34,211,238,.28); }
  .btn.primary:hover { background: linear-gradient(180deg, #5ee8f8, #22d3ee); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 32px rgba(34,211,238,.38); }
  .btn.primary .arr { color: var(--ink); opacity: .7; }
  .btn.sm { height: 36px; padding: 0 13px; font-size: 13px; }
  .btn .arr { font-family: var(--mono); color: inherit; opacity: .8; }

  /* nav */
  .nav { position: fixed; inset: 0 0 auto 0; z-index: 40; height: 64px; border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
  .nav.solid { background: rgba(13,21,38,.88); border-bottom-color: var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .nav.tuck { transform: translateY(-100%); }
  .nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; max-width: 1360px; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; }
  .brand b { color: var(--accent); font-weight: 600; }
  .mark { width: 22px; height: 22px; fill: var(--cyan); display: block; }
  .nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-2); }
  .nav-links a:hover { color: var(--text); }
  .nav-right { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 14px; }
  .nav-right .signin { color: var(--text-2); } .nav-right .signin:hover { color: var(--text); }
  @media (max-width: 900px) { .nav-links, .nav-right .signin { display: none; } }

  /* the opening: letterbox bars part on first load */
  .letterbox { display: none; }
  .js:not(.seen) .letterbox { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; animation: lbfail 0s 4.5s forwards; }
  .letterbox i { position: absolute; left: 0; right: 0; height: 50.5vh; background: #02050b; transition: transform 1.3s cubic-bezier(.77,0,.18,1); }
  .letterbox i:first-child { top: 0; transform-origin: 50% 0; }
  .letterbox i:last-child { bottom: 0; transform-origin: 50% 100%; }
  .letterbox.s1 i { transform: scaleY(.24); }
  .letterbox.s2 i { transform: scaleY(0); transition-duration: 1.1s; }
  @keyframes lbfail { to { visibility: hidden; } }
  @media (prefers-reduced-motion: reduce) { .js .letterbox { display: none !important; } }

  /* hero: the opening shot, the mark under a spotlight */
  .hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 104px 0 96px; overflow: hidden; --fx: 72%; --lit: 0; --hp: 0; }
  .hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(140,170,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(55% 65% at var(--fx) 46%, #000 10%, transparent 100%); mask-image: radial-gradient(55% 65% at var(--fx) 46%, #000 10%, transparent 100%); pointer-events: none; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(135% 105% at 58% 44%, transparent 56%, rgba(3,6,12,.62) 100%), linear-gradient(180deg, transparent 72%, rgba(6,10,20,.55)); }
  .hero-copy { position: relative; z-index: 3; width: 100%; }
  .hc { max-width: min(560px, 46vw); transform: translateY(calc(var(--hp) * -80px)); opacity: calc(1 - var(--hp) * 1.2); }
  .hero h1 { font-size: clamp(48px, 6.4vw, 100px); letter-spacing: -0.045em; line-height: 0.96; margin-top: 22px; }
  .hero h1 .ln { display: block; overflow: hidden; margin-bottom: -.16em; }
  .hero h1 .ln > span { display: block; padding-bottom: .16em; background: linear-gradient(180deg, #ffffff 30%, #bfd0f7); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 1.25s cubic-bezier(.16,.84,.2,1); }
  .hero h1 .ln + .ln > span { transition-delay: .13s; }
  .hero .sub { margin-top: 26px; }
  .hc > .lab, .hc > .sub, .hc > .cta-row, .hc > .facts { transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,.84,.2,1); }
  .hc > .sub { transition-delay: .32s; } .hc > .cta-row { transition-delay: .44s; } .hc > .facts { transition-delay: .56s; }
  .js .hero:not(.go) h1 .ln > span { transform: translateY(110%); animation: revealfail 0s 4.5s forwards; }
  .js .hero:not(.go) .hc > .lab, .js .hero:not(.go) .hc > .sub, .js .hero:not(.go) .hc > .cta-row, .js .hero:not(.go) .hc > .facts { opacity: 0; transform: translateY(16px); animation: revealfail 0s 4.5s forwards; }
  @keyframes revealfail { to { opacity: 1; transform: none; } }
  .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
  .facts { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 40px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
  .facts span { padding: 0 16px; border-left: 1px solid var(--line-2); }
  .facts span:first-child { padding-left: 0; border-left: 0; }
  .facts b { color: var(--text); font-weight: 500; margin-right: 6px; }

  .stage { position: absolute; inset: 0; z-index: 1; }
  .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; }
  .stage.live canvas { opacity: 1; }
  .stage .poster { position: absolute; left: var(--fx); top: 46%; width: min(240px, 20vw); transform: translate(-50%, -50%); transition: opacity 1s ease; }
  .stage.live .poster { opacity: 0; }
  .beam { position: absolute; left: var(--fx); top: -6%; width: min(820px, 62vw); height: 96%; transform: translateX(-50%); background: linear-gradient(180deg, rgba(126,233,247,.28), rgba(126,233,247,.07) 55%, transparent 86%); clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%); filter: blur(34px); opacity: calc(.38 + var(--lit) * .55); transition: opacity 1.2s ease; pointer-events: none; mix-blend-mode: screen; }
  .floor { position: absolute; left: var(--fx); top: 76%; width: min(700px, 52vw); height: 150px; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(34,211,238,.36), transparent 70%); filter: blur(12px); opacity: calc(.25 + var(--lit) * .75); transition: opacity 1.2s ease; pointer-events: none; }
  .vf { position: absolute; left: var(--fx); top: 46%; width: min(600px, 44vw); height: min(620px, 70vh); transform: translate(-50%, -50%); pointer-events: none; opacity: calc(1 - var(--hp) * 1.8); }
  .vf i { position: absolute; width: 20px; height: 20px; border: 0 solid rgba(126,233,247,.5); }
  .vf i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
  .vf i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
  .vf i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
  .vf i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
  .vf > span { position: absolute; top: 12px; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
  .vf > .vf-l { left: 30px; } .vf > .vf-r { right: 30px; }
  .vf b { color: var(--text-2); font-weight: 500; }
  .vf .rec { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); margin-right: 8px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .35; } }
  .subs { position: absolute; left: var(--fx); top: calc(46% + min(310px, 35vh) + 16px); width: min(600px, 44vw); transform: translateX(-50%); text-align: center; z-index: 3; opacity: calc(1 - var(--hp) * 1.8); }
  .sub-line { font-family: var(--mono); font-size: 13.5px; color: #e9f7ff; text-shadow: 0 2px 14px rgba(0,0,0,.7); transition: opacity .3s ease, transform .3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sub-line.swap { opacity: 0; transform: translateY(5px); }
  .sub-line i { font-style: normal; color: var(--cyan); margin-right: 12px; }
  .sub-line.ok i { color: var(--ok); }
  .reelbar { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
  .reelbar b { width: 46px; height: 3px; border-radius: 2px; background: rgba(150,180,255,.2); transition: background .4s ease, box-shadow .4s ease; }
  .reelbar b.on { background: var(--cyan); box-shadow: 0 0 10px rgba(34,211,238,.7); }
  .cue { position: absolute; z-index: 3; bottom: 26px; left: max(var(--gutter), calc(50vw - var(--max) / 2 + var(--gutter))); display: grid; justify-items: start; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--text-3); opacity: calc(1 - var(--hp) * 3); }
  .cue i { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); transform-origin: top; animation: cue 2.4s cubic-bezier(.6,0,.2,1) infinite; }
  @keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
  @media (max-width: 960px) {
    .hero { flex-direction: column; align-items: stretch; padding: 100px 0 40px; min-height: 0; --fx: 50%; }
    .hero-copy { order: 1; }
    .hc { max-width: 100%; }
    .stage { position: relative; inset: auto; order: 2; height: min(130vw, 580px); margin-top: 16px; }
    .vf { width: min(84vw, 400px); height: min(84vw, 400px); }
    .subs { top: calc(46% + min(42vw, 200px) + 14px); width: 92vw; }
    .beam { width: 120vw; } .floor { width: 96vw; top: 74%; }
    .vf > .vf-r, .cue { display: none; }
  }
  @media (max-width: 520px) { .sub-line { font-size: 12px; } }

  /* sections */
  section { padding-block: clamp(80px, 9vw, 130px); position: relative; }
  section::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(150,180,255,.38) 30%, rgba(34,211,238,.35) 70%, transparent); pointer-events: none; }
  section:nth-of-type(even) { background: linear-gradient(180deg, rgba(150,180,255,.045), rgba(150,180,255,0) 60%); }
  .head { display: grid; gap: 18px; max-width: 720px; }
  .head h2 { font-size: clamp(32px, 4vw, 54px); text-shadow: 0 2px 30px rgba(34,211,238,.12); }

  /* coverage: block bars, every block is ten pairs */
  .cov { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; margin-top: 56px; align-items: start; }
  .bbars { display: grid; gap: 14px; }
  .bbar { display: grid; grid-template-columns: 128px minmax(0, 1fr) 44px; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
  .bbar .cells { display: flex; gap: 4px; height: 16px; }
  .bbar .cells i { display: block; width: 22px; height: 16px; border-radius: 3px; background: rgba(34,211,238,.14); border: 1px solid rgba(34,211,238,.3); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.2,1), background .4s ease; }
  .bbar .cells i.half { width: 11px; }
  .cov.in .bbar .cells i { transform: scaleX(1); background: var(--cyan); border-color: var(--cyan); }
  .bbar b { color: var(--text); font-weight: 500; text-align: right; }
  .cov .note { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .kv { display: grid; border-top: 1px solid var(--line-2); }
  .kv > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .kv dt { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 3px; }
  .kv dd { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
  .kv dd b { color: var(--text); font-weight: 500; }
  .nets { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { font-family: var(--mono); font-size: 11.5px; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text-2); white-space: nowrap; }
  .chip.on { border-color: rgba(34,211,238,.5); color: var(--text); background: linear-gradient(180deg, rgba(34,211,238,.16), rgba(34,211,238,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  @media (max-width: 900px) { .cov { grid-template-columns: minmax(0, 1fr); gap: 40px; } .bbar { grid-template-columns: 110px minmax(0, 1fr) 40px; } .bbar .cells i { width: 14px; } .bbar .cells i.half { width: 7px; } }

  /* diagrams: everything drawn on the mark's own grid */
  .dia { position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, #172641, #121c33); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); }
  .dia::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(140,170,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.075) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 100%); pointer-events: none; }
  .dia svg { position: relative; display: block; width: 100%; height: auto; font-family: var(--mono); }
  .dia .cap { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
  .dia .cap b { color: var(--text-2); font-weight: 500; }
  .dia .blk { fill: #1b2a45; stroke: rgba(150,180,255,.36); stroke-width: 1; transition: fill .35s ease, stroke .35s ease, opacity .35s ease; }
  .dia .blk.on { fill: var(--cyan); stroke: var(--cyan); }
  .dia .blk.dim { fill: #101a2f; stroke: rgba(150,180,255,.2); }
  .dia .blk.ok { fill: rgba(61,220,151,.16); stroke: var(--ok); }
  .dia .blk.bad { fill: rgba(240,106,106,.16); stroke: #f06a6a; }
  .dia .blk.soft { fill: rgba(34,211,238,.08); stroke: rgba(34,211,238,.45); }
  .dia .frame { fill: none; stroke: rgba(140,170,255,.28); stroke-dasharray: 3 4; }
  .dia text { fill: var(--text-2); font-size: 11px; transition: fill .35s ease, opacity .35s ease; }
  .dia text.hd { fill: var(--text); font-weight: 500; font-size: 12px; }
  .dia text.lb { fill: var(--text-3); font-size: 10px; }
  .dia text.on { fill: #04141a; }
  .dia text.cy { fill: var(--cyan); }
  .dia text.ok { fill: var(--ok); }
  .dia text.bad { fill: #f06a6a; }
  .dia text.warn { fill: var(--warn); }
  .dia .ln { fill: none; stroke: rgba(140,170,255,.3); stroke-width: 1.2; transition: stroke .35s ease, opacity .35s ease; }
  .dia .ln.on { stroke: var(--cyan); }
  .dia .ln.ok { stroke: var(--ok); }
  .dia .flow { stroke-dasharray: 3 7; animation: dash 1.1s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -20; } }
  .dia .mv { transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
  .dia .fade { opacity: 0; }
  .dia .hide { opacity: 0; }
  .dia .pulse { animation: pulse 1.6s ease-in-out infinite; }
  @keyframes pulse { 50% { opacity: .45; } }
  .dia .tag { fill: rgba(34,211,238,.12); stroke: rgba(34,211,238,.5); }
  .dia .tag.ok { fill: rgba(61,220,151,.14); stroke: var(--ok); }
  .dia .tag.bad { fill: rgba(240,106,106,.14); stroke: #f06a6a; }
  .dia .tag.warn { fill: rgba(245,181,68,.14); stroke: var(--warn); }
  .dia .sig { fill: #dffaff; filter: drop-shadow(0 0 5px #22d3ee); opacity: 0; offset-rotate: 0deg; animation: travel 5.4s linear infinite; }
  .dia #k-sig1 { offset-path: path('M224 59 C 260 59, 260 140, 290 140 L426 140 L520 140'); }
  .dia #k-sig2 { offset-path: path('M224 139 L290 140 L426 140 L520 140'); animation-delay: 1.8s; }
  .dia #k-sig3 { offset-path: path('M224 219 C 260 219, 260 140, 290 140 L426 140 L520 140'); animation-delay: 3.6s; }
  @keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 4% { opacity: 1; } 30% { offset-distance: 100%; opacity: 1; } 33% { opacity: 0; offset-distance: 100%; } 100% { offset-distance: 100%; opacity: 0; } }

  /* platform: a pinned reel. the diagram holds the screen while the chapters scroll past */
  .reel { max-width: 1400px; margin: 48px auto 0; padding-inline: var(--gutter); }
  .reel-stick { display: none; }
  .chap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
  .chap .copy { display: grid; gap: 14px; }
  .chap h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
  .chap .copy > p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
  .chap .thumb { display: inline-grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 6px; padding: 8px; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(180deg, rgba(150,180,255,.08), rgba(150,180,255,.03)); cursor: zoom-in; max-width: 360px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .2s ease, transform .2s ease; }
  .chap .thumb:hover { border-color: rgba(34,211,238,.5); transform: translateY(-1px); }
  .chap .thumb img { width: 64px; height: 44px; object-fit: cover; object-position: top left; border-radius: 5px; border: 1px solid var(--line); }
  .chap .thumb span { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); line-height: 1.4; }
  .chap .thumb span b { display: block; color: var(--text); font-weight: 500; }
  .reel.pinned { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .reel.pinned .reel-chaps { grid-column: 1; grid-row: 1; }
  .reel.pinned .reel-stick { display: flex; grid-column: 2; grid-row: 1; position: sticky; top: 0; height: 100vh; flex-direction: column; justify-content: center; align-self: start; }
  .reel.pinned .chap { display: flex; flex-direction: column; justify-content: center; min-height: 92vh; border-top: 0; padding: 0; opacity: .2; transform: translateX(-10px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .reel.pinned .chap.on { opacity: 1; transform: none; }
  .reel-num { font-size: min(24vh, 220px); line-height: .78; font-weight: 500; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(126,233,247,.32); margin: 0 0 -5.5vh -6px; position: relative; z-index: 0; user-select: none; transition: opacity .25s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
  .reel-num.swap { opacity: 0; transform: translateY(14px); }
  .reel-dias { position: relative; z-index: 1; display: grid; }
  .reel-dias > .dia { grid-area: 1 / 1; opacity: 0; transform: translateY(16px) scale(.985); filter: blur(8px); transition: opacity .6s ease, transform 1s cubic-bezier(.2,.7,.2,1), filter .7s ease; pointer-events: none; }
  .reel-dias > .dia.on { opacity: 1; transform: none; filter: none; pointer-events: auto; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -30px rgba(34,211,238,.35); }
  .reel-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
  .reel-bar b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--text-3); padding-top: 10px; border-top: 2px solid rgba(150,180,255,.18); cursor: pointer; transition: color .3s ease, border-color .3s ease; }
  .reel-bar b.done { border-top-color: rgba(34,211,238,.4); }
  .reel-bar b.on { color: var(--text); border-top-color: var(--cyan); }
  .pts { display: grid; gap: 8px; }
  .pts li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .pts li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(34,211,238,.6); }
  .pts li b { color: var(--text); font-weight: 500; }
  @media (max-width: 960px) { .chap { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
  @media (max-width: 600px) { .dia { overflow-x: auto; scrollbar-width: none; } .dia::-webkit-scrollbar { display: none; } .dia svg { min-width: 560px; } .dia .cap { min-width: 560px; } .record .dia svg { min-width: 760px; } .record .dia { max-height: none; } }

  /* the credits: networks, stablecoins and providers, each shown with its official mark */
  .eco { padding-block: 56px 60px; }
  .credits { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid var(--line); }
  .cr { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .grps { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 56px; }
  .grp { display: grid; gap: 6px; }
  .grp .cap { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
  .grp .crl { flex-wrap: nowrap; }
  .crk { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
  .crl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
  .lg { display: inline-flex; align-items: center; gap: 9px; height: 30px; font-weight: 500; font-size: 15.5px; letter-spacing: -0.01em; color: var(--text-2); white-space: nowrap; transition: color .25s ease; }
  .lg .ic { width: 20px; height: 20px; flex: none; display: block; opacity: .7; transition: opacity .25s ease; }
  .lg.coin .ic { width: 22px; height: 22px; opacity: 1; }
  .lg .plate { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
  .lg .plate img { width: 14px; height: auto; display: block; }
  .lg:hover { color: var(--text); }
  .lg:hover .ic { opacity: 1; }
  .lg.mk { height: 36px; }
  .mk img { height: var(--h, 24px); width: auto; display: block; filter: brightness(0) invert(1); opacity: .72; transition: filter .35s ease, opacity .35s ease; }
  .mk:hover img { filter: none; opacity: 1; }
  .eco .note { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
  .eco.rvp .lg { opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), color .25s ease; }
  .eco.rvp.in .lg { opacity: 1; transform: none; }
  @media (max-width: 900px) { .cr { grid-template-columns: minmax(0, 1fr); gap: 12px; } .crk-p { display: none; } .grps { flex-direction: column; align-items: flex-start; gap: 16px; } .grp .crl { flex-wrap: wrap; } .lg { font-size: 14.5px; height: 28px; } .crl { gap: 10px 22px; } .mk img { height: calc(var(--h, 24px) * .88); } }

  /* the manifesto: words light up as you scroll */
  .mani { height: 250vh; padding: 0; background: none !important; }
  .mani::before { display: none; }
  .mani-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
  .mani-stick::before { content: ""; position: absolute; left: 50%; top: 50%; width: 80vw; height: 80vh; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(34,211,238,.07), transparent 70%); pointer-events: none; }
  .mani .wrap { position: relative; width: 100%; }
  .mani-text { margin-top: 26px; font-size: clamp(30px, 4vw, 60px); line-height: 1.14; letter-spacing: -0.035em; font-weight: 500; max-width: 18em; text-wrap: pretty; }
  .mani-text em { font-style: normal; }
  .mani-text .w { color: rgba(241,245,255,.13); transition: color .35s ease, text-shadow .35s ease; }
  .mani-text .w.on { color: var(--text); }
  .mani-text em .w.on { color: var(--cyan); text-shadow: 0 0 26px rgba(34,211,238,.4); }
  @media (max-width: 760px) { .mani { height: 220vh; } }
  @media (prefers-reduced-motion: reduce) { .mani { height: auto; padding-block: 120px; } .mani-stick { position: static; height: auto; } }

  /* shared collateral network */
  .pill { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--warn); border: 1px solid rgba(245,181,68,.45); background: rgba(245,181,68,.08); padding: 1px 7px; border-radius: 999px; }
  .pool { margin-top: 52px; }
  .pool svg { min-height: 0; }
  .pool .pb { transition: transform 1.15s cubic-bezier(.2,.7,.2,1); }
  .pool .dimmed { opacity: .28; transition: opacity .6s ease; }
  .pool .undim { opacity: 1; transition: opacity .6s ease; }
  .lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
  .lanes > div { border: 1px solid var(--line-2); border-radius: 12px; padding: 18px 18px 20px; background: linear-gradient(180deg, rgba(150,180,255,.07), rgba(150,180,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); display: grid; gap: 8px; align-content: start; }
  .lanes .k { font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  .lanes h3 { font-size: 17px; }
  .lanes p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .quote { margin: 56px 0 0; max-width: 60ch; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -0.015em; color: var(--text); }
  .quote span { color: var(--text-2); }
  .rules { margin-top: 40px; }
  @media (max-width: 960px) { .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .lanes { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 600px) { .pool svg { min-width: 760px; } .pool .cap { min-width: 760px; } }

  .why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 44px; border-top: 1px solid var(--line-2); }
  .why3 > div { padding: 22px 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
  .why3 b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
  .why3 span { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
  .why3 i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  @media (max-width: 900px) { .why3 { grid-template-columns: minmax(0, 1fr); } }

  .depo { margin-top: 56px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, #172641, #121c33); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); overflow: hidden; }
  .depo .tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .depo .tabs::-webkit-scrollbar { display: none; }
  .depo [role=tab] { flex: 0 0 auto; font: 500 13.5px var(--sans); color: var(--text-2); background: transparent; border: 1px solid transparent; border-radius: 9px; padding: 9px 14px; cursor: pointer; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
  .depo [role=tab]:hover { color: var(--text); background: rgba(150,180,255,.06); }
  .depo [role=tab][aria-selected=true] { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
  .tp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px; padding: 28px 28px 30px; }
  .tp[hidden] { display: none; }
  .flowrow { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
  .flowrow div { border: 1px solid rgba(34,211,238,.4); background: rgba(34,211,238,.07); border-radius: 8px; padding: 8px 12px; display: grid; gap: 2px; }
  .flowrow div i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
  .flowrow div b { font-weight: 500; font-size: 13.5px; }
  .flowrow > span { align-self: center; font-family: var(--mono); color: var(--cyan); }
  .tp h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--text-3); margin: 0 0 8px; letter-spacing: 0.01em; }
  .tp .pain { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  .tp .side { display: grid; gap: 14px; align-content: start; }
  .tp .why { border: 1px solid rgba(34,211,238,.35); border-radius: 12px; padding: 16px 18px; background: linear-gradient(180deg, rgba(34,211,238,.1), rgba(34,211,238,.03)); }
  .tp .why p { color: var(--text); font-size: 14.5px; line-height: 1.55; }
  .tp .note { border-left: 2px solid var(--line-2); padding-left: 14px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
  .tp .note b { color: var(--text); font-weight: 500; }
  @media (max-width: 900px) { .tp { grid-template-columns: minmax(0, 1fr); padding: 22px 18px 24px; gap: 22px; } }

  .mkt { margin-top: 72px; }
  .mkt h3, .grow h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.025em; }
  .mkt-figs { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 40px; margin-top: 28px; align-items: start; }
  .fig b { display: block; font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
  .fig > span { display: block; margin: 8px 0 16px; color: var(--text-2); font-size: 14px; }
  .fig.later b { color: var(--cyan-2); }
  .units { display: grid; grid-template-columns: repeat(var(--cols, 37), 12px); gap: 3px; }
  .units i { width: 12px; height: 12px; border-radius: 2px; background: rgba(34,211,238,.3); transform: scale(0); transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .25s ease, background .25s ease; }
  .units.now i { background: var(--cyan); }
  .mkt.in .units i { transform: scale(1); }
  .units.hl i { opacity: .14; }
  .units.hl i.on { opacity: 1; background: var(--cyan); }
  .mkt-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14.5px; }
  .mkt-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--text-3); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line-2); }
  .mkt-table td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); color: var(--text-2); font-variant-numeric: tabular-nums; }
  .mkt-table td:not(:first-child) { white-space: nowrap; }
  @media (max-width: 560px) { .mkt-table { font-size: 13px; } .mkt-table td { padding-right: 10px; } }
  .mkt-table td:first-child { color: var(--text); }
  .mkt-table th:not(:first-child), .mkt-table td:not(:first-child) { text-align: right; }
  .mkt-table tbody tr[data-k] { cursor: default; transition: background .2s ease; }
  .mkt-table tbody tr[data-k]:hover, .mkt-table tbody tr[data-k]:focus { background: rgba(34,211,238,.07); outline: none; }
  .mkt-table tr.sep td { color: var(--text-3); }
  .mkt .note { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); line-height: 1.6; max-width: 90ch; }
  @media (max-width: 900px) { .mkt-figs { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

  .grow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 72px; align-items: start; }
  .boot { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line-2); }
  .boot > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
  .boot .ic { display: flex; flex-wrap: wrap; gap: 3px; width: 96px; }
  .boot .ic i { width: 9px; height: 9px; border-radius: 2px; background: rgba(34,211,238,.2); transition: background .3s ease; }
  .grow.in .boot .ic i { background: var(--cyan); }
  .boot h4 { margin: 0 0 4px; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; }
  .boot p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .grow .tag { margin-top: 18px; font-size: 17px; letter-spacing: -0.01em; color: var(--cyan-2); }
  .grow .adapters { margin-top: 22px; }
  .grow .pts { margin-top: 18px; }
  .fine { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: var(--text-3); max-width: 100ch; }
  @media (max-width: 900px) { .grow { grid-template-columns: minmax(0, 1fr); gap: 48px; } }

  /* rack focus: sections come into focus as they enter */
  .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,.84,.2,1), filter 1s ease; }
  .rv.fx { filter: blur(10px); }
  .rv.in { opacity: 1; transform: none; filter: none; }

  /* evidence chain strip */
  .record { margin-top: 48px; }
  .record .dia svg { max-height: 220px; }
  .frame { margin: 24px 0 0; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; background: var(--panel); cursor: zoom-in; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); }
  .frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
  .frame figcaption { padding: 10px 14px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--line); }

  /* comparison ledger + spec sheet */
  .cmp { width: 100%; border-collapse: collapse; margin-top: 52px; font-size: 14.5px; }
  .cmp th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--text-3); padding: 0 20px 14px 0; border-bottom: 1px solid var(--line-2); }
  .cmp th.us { color: var(--cyan); }
  .cmp td { vertical-align: top; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); line-height: 1.5; }
  .cmp td:first-child { color: var(--text); font-weight: 500; width: 15%; }
  .cmp td.us { color: var(--text); background: linear-gradient(90deg, rgba(34,211,238,.07), rgba(34,211,238,0)); padding-left: 16px; }
  .cmp th.us { padding-left: 16px; }
  @media (max-width: 720px) { .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; } .cmp thead { display: none; } .cmp tr { padding: 14px 0; border-bottom: 1px solid var(--line); } .cmp td { border: 0; padding: 4px 0; } .cmp td:first-child { width: auto; font-family: var(--mono); font-size: 12px; color: var(--text-3); font-weight: 400; } .cmp td:not(:first-child)::before { content: "trading system"; display: block; font-family: var(--mono); font-size: 11px; color: var(--text-3); margin: 8px 0 2px; } .cmp td.us::before { content: "tetrafi"; color: var(--cyan); } }
  .spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 64px 0 0; border-top: 1px solid var(--line-2); }
  .spec > div { padding: 24px 0 26px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
  .spec dt { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .spec dd { margin: 0; }
  .spec dd b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; color: var(--cyan-2); }
  .spec dd span { display: block; color: var(--text-2); font-size: 14px; line-height: 1.5; margin-top: 6px; }
  @media (max-width: 900px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .spec { grid-template-columns: minmax(0, 1fr); } }

  /* developers */
  .dev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .dev .pts { margin-top: 26px; }
  .console { border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(180deg, #172641, #121c33); overflow: hidden; font-family: var(--mono); font-size: 12.5px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); }
  .console .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--text-3); font-size: 11.5px; }
  .console .top b { color: var(--text-2); font-weight: 500; }
  .console pre { margin: 0; padding: 16px 18px; overflow-x: auto; line-height: 1.65; color: var(--text-2); font-family: inherit; }
  .console .s { color: var(--cyan-2); } .console .n { color: #ffd489; } .console .c { color: var(--text-3); } .console .kw { color: #c792ea; }
  .console .ev { border-top: 1px solid var(--line); padding: 14px 18px 16px; display: grid; gap: 7px; background: rgba(0,0,0,.14); }
  .console .ev div { display: grid; grid-template-columns: 76px 178px minmax(0, 1fr); gap: 14px; opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease; color: var(--text-2); }
  .console .ev div.on { opacity: 1; transform: none; }
  .console .ev div i { font-style: normal; color: var(--text-3); }
  .console .ev div b { color: var(--text); font-weight: 500; }
  .console .ev div.ok b { color: var(--ok); }
  .console .ev div span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 900px) { .dev { grid-template-columns: minmax(0, 1fr); gap: 36px; } .console .ev div { grid-template-columns: 70px minmax(0, 1fr); } .console .ev div span { display: none; } }

  /* custody */
  .cust { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 56px; }
  .cust .rows { display: grid; gap: 18px; }
  .cust .row { display: grid; gap: 8px; }
  .cust .row h3 { font-size: 16px; }
  .cust .row p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .cust .frame img { aspect-ratio: 16 / 7.5; }
  @media (max-width: 900px) { .cust { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

  /* desks and roadmap rows */
  .list { margin-top: 52px; border-top: 1px solid var(--line-2); }
  .list > div { display: grid; grid-template-columns: 250px minmax(0, 1fr) 230px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
  .list h3 { font-size: 17px; }
  .list p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; max-width: 60ch; }
  .list a.more, .list .st { font-family: var(--mono); font-size: 12px; color: var(--accent); justify-self: end; text-align: right; white-space: nowrap; }
  .list .st { color: var(--warn); }
  .list a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
  .list .chips { margin-top: 8px; }
  @media (max-width: 760px) { .list > div { grid-template-columns: minmax(0, 1fr); gap: 8px; } .list a.more, .list .st { justify-self: start; text-align: left; } }

  /* cta: the closing shot */
  .cta { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; text-align: center; padding: 120px 0; overflow: hidden; --cp: 0; }
  .cta::before { content: ""; position: absolute; left: 50%; bottom: -20%; width: 120vw; height: 70%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 100%, rgba(34,211,238,.18), transparent 70%); pointer-events: none; }
  .cta .beam { left: 50%; top: -12%; height: 112%; width: min(980px, 86vw); opacity: calc(.25 + var(--cp) * .6); }
  .cta .wm { position: absolute; left: 50%; top: 50%; width: min(92vh, 780px); transform: translate(-50%, -50%) rotate(calc(-14deg + var(--cp) * 14deg)) scale(calc(.84 + var(--cp) * .16)); opacity: .5; pointer-events: none; z-index: 1; }
  .cta .wm rect { fill: rgba(34,211,238,.05); stroke: rgba(34,211,238,.32); stroke-width: .6; }
  .cta .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
  .cta h2 { font-size: clamp(52px, 9.4vw, 156px); letter-spacing: -0.05em; line-height: .95; margin-top: 22px; padding-bottom: .14em; margin-bottom: -.14em; background: linear-gradient(180deg, #ffffff 30%, #bfd0f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .cta .sub { margin: 26px auto 0; }
  .cta .cta-row { justify-content: center; }
  footer { border-top: 1px solid var(--line); padding: 56px 0 44px; font-size: 13.5px; color: var(--text-2); background: linear-gradient(180deg, rgba(8,13,24,0), rgba(8,13,24,.7)); }
  .fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
  .fgrid h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-3); margin-bottom: 14px; letter-spacing: 0.01em; }
  .fgrid li { margin-bottom: 9px; } .fgrid li a:hover { color: var(--text); }
  .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; display: grid; gap: 6px; }
  @media (max-width: 760px) { .fgrid { grid-template-columns: 1fr 1fr; } }

  /* lightbox */
  .lb { border: 1px solid var(--line-2); border-radius: 12px; padding: 0; background: #142038; max-width: min(1400px, 94vw); box-shadow: 0 40px 120px rgba(0,0,0,.7); }
  .lb::backdrop { background: rgba(8,13,24,.86); backdrop-filter: blur(6px); }
  .lb img { max-height: 88vh; width: auto; max-width: 100%; }
  .lb button { position: absolute; top: 10px; right: 10px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(7,8,12,.8); color: var(--text); font: 500 13px var(--sans); cursor: pointer; }

  /* ---------- pages ---------- */
  main.page[hidden] { display: none !important; }
  section[id], article[id], header[id] { scroll-margin-top: 72px; }

  /* nav: where you are, and the phone menu */
  .nav-links a { position: relative; transition: color .2s ease; }
  .nav-links a[aria-current=page] { color: var(--text); }
  .nav-links a[aria-current=page]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px rgba(34,211,238,.6); }
  .menu-btn { display: none; position: relative; width: 40px; height: 36px; border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(180deg, rgba(150,180,255,.07), rgba(150,180,255,.02)); cursor: pointer; padding: 0; }
  .menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; border-radius: 1px; background: var(--text); transition: transform .3s ease, top .3s ease; }
  .menu-btn i:first-child { top: 13px; } .menu-btn i:last-child { top: 21px; }
  .menu-btn[aria-expanded=true] i:first-child { top: 17px; transform: rotate(45deg); }
  .menu-btn[aria-expanded=true] i:last-child { top: 17px; transform: rotate(-45deg); }
  .nav.open { background: rgba(9,14,26,.97); border-bottom-color: var(--line); transform: none; }
  .menu { position: fixed; inset: 64px 0 0 0; z-index: 39; background: rgba(9,14,26,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow-y: auto; padding: 8px 0 40px; }
  .menu[hidden] { display: none; }
  .menu .wrap { display: grid; }
  .menu a[data-nav] { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); animation: menuIn .55s cubic-bezier(.16,.84,.2,1) both; }
  .menu a[data-nav] i { grid-row: span 2; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--cyan); padding-top: 7px; }
  .menu a[data-nav] b { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
  .menu a[data-nav] span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .menu a[aria-current=page] b { color: var(--cyan-2); }
  .menu a[data-nav]:nth-child(2) { animation-delay: .04s; } .menu a[data-nav]:nth-child(3) { animation-delay: .08s; } .menu a[data-nav]:nth-child(4) { animation-delay: .12s; } .menu a[data-nav]:nth-child(5) { animation-delay: .16s; } .menu a[data-nav]:nth-child(6) { animation-delay: .2s; } .menu a[data-nav]:nth-child(7) { animation-delay: .24s; }
  .menu-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(10px); } }
  body.menu-open { overflow: hidden; }
  @media (max-width: 900px) { .menu-btn { display: block; } .nav-right { gap: 10px; } }
  @media (min-width: 901px) { .menu { display: none !important; } }

  /* page hero: each inner page opens on its own shot, the mark under the light */
  .phero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; padding: 150px 0 80px; overflow: hidden; --fx: 76%; --lit: .55; --hp: 0; }
  .phero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(140,170,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(50% 60% at var(--fx) 44%, #000 10%, transparent 100%); mask-image: radial-gradient(50% 60% at var(--fx) 44%, #000 10%, transparent 100%); pointer-events: none; }
  .phero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(130% 100% at 60% 40%, transparent 55%, rgba(3,6,12,.55) 100%), linear-gradient(180deg, transparent 70%, rgba(6,10,20,.5)); }
  .phero { --mw: min(560px, 42vw); }
  .phero .ph-mark { position: absolute; left: var(--fx); top: 44%; width: var(--mw); height: auto; z-index: 1; pointer-events: none; transform: translate(-50%, -50%) translateY(calc(var(--hp) * 80px)) rotate(calc(var(--hp) * 6deg)); filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); transition: opacity 1.6s ease, scale 1.9s cubic-bezier(.16,.84,.2,1), filter 1.4s ease; animation: markFloat 7s ease-in-out infinite alternate; }
  @keyframes markFloat { from { translate: 0 0; } to { translate: 0 -12px; } }
  .phero .floor { top: calc(44% + var(--mw) * .34); width: min(640px, 48vw); opacity: .55; }
  .phero .wrap { position: relative; z-index: 3; width: 100%; }
  .phc { max-width: 680px; transform: translateY(calc(var(--hp) * -60px)); opacity: calc(1 - var(--hp) * 1.1); }
  .phero h1 { font-size: clamp(44px, 5.8vw, 92px); letter-spacing: -0.045em; line-height: .98; margin-top: 20px; }
  .phero h1 .ln { display: block; overflow: hidden; margin-bottom: -.16em; }
  .phero h1 .ln > span { display: block; padding-bottom: .16em; background: linear-gradient(180deg, #ffffff 30%, #bfd0f7); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 1.2s cubic-bezier(.16,.84,.2,1); }
  .phero h1 .ln > span.hl { background: linear-gradient(180deg, #b4ccff 15%, #6b9cff 95%); -webkit-background-clip: text; background-clip: text; }
  .phero h1 .ln:nth-child(2) > span { transition-delay: .12s; } .phero h1 .ln:nth-child(3) > span { transition-delay: .24s; }
  .phero .sub { margin-top: 24px; }
  .phc > .lab, .phc > .sub, .phc > .chapters, .phc > .cta-row { transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,.84,.2,1); }
  .phc > .sub { transition-delay: .3s; } .phc > .chapters, .phc > .cta-row { transition-delay: .42s; }
  .js .phero:not(.go) h1 .ln > span { transform: translateY(110%); animation: revealfail 0s 3s forwards; }
  .js .phero:not(.go) .phc > :not(h1) { opacity: 0; transform: translateY(16px); animation: revealfail 0s 3s forwards; }
  .js .phero:not(.go) .ph-mark { opacity: 0; scale: .9; filter: blur(10px); }
  .chapters { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .chapters a { display: inline-flex; gap: 8px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line-2); transition: color .2s ease, border-color .2s ease; }
  .chapters a i { font-style: normal; color: var(--cyan); }
  .chapters a:hover { color: var(--text); border-top-color: var(--cyan); }
  .ph-strip, .ph-cap { position: absolute; z-index: 3; left: var(--fx); top: calc(44% + var(--mw) * .3 + 18px); transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: var(--text-3); white-space: nowrap; opacity: calc(1 - var(--hp) * 1.6); }
  .ph-strip { display: flex; gap: 6px; }
  .ph-strip b { width: 76px; padding-top: 8px; font-weight: 400; border-top: 2px solid rgba(150,180,255,.2); animation: stepOn 6.4s linear infinite; }
  .ph-strip b:nth-child(2) { animation-delay: 1.6s; } .ph-strip b:nth-child(3) { animation-delay: 3.2s; } .ph-strip b:nth-child(4) { animation-delay: 4.8s; }
  @keyframes stepOn { 0%, 100% { color: var(--text-3); border-top-color: rgba(150,180,255,.2); } 4%, 22% { color: var(--text); border-top-color: var(--cyan); } 32% { color: var(--text-3); border-top-color: rgba(34,211,238,.35); } }
  .ph-cap::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); margin-right: 8px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
  .phero.split { align-items: center; min-height: 92vh; min-height: 92svh; padding-bottom: 72px; --fx: 70%; }
  .phero.split .ph-mark { display: none; }
  .phgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .phero.split .phc { max-width: none; }
  .phero.split h1 { font-size: clamp(40px, 4.4vw, 70px); }
  .phero.split .console { position: relative; z-index: 3; transition: opacity 1.2s ease .35s, transform 1.4s cubic-bezier(.16,.84,.2,1) .35s; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -30px rgba(34,211,238,.35); }
  .js .phero.split:not(.go) .console { opacity: 0; transform: translateY(24px) scale(.98); animation: revealfail 0s 3s forwards; }
  @media (max-width: 960px) {
    .phero { min-height: 0; flex-direction: column; align-items: stretch; padding: 118px 0 36px; --fx: 50%; }
    .phero .wrap { order: 1; }
    .phero .ph-mark { order: 2; position: relative; left: auto; top: auto; transform: none; width: min(80vw, 420px); margin: 18px auto -24px; }
    .phero .floor { display: none; }
    .ph-strip, .ph-cap { display: none; }
    .phc { max-width: 100%; }
    .phgrid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .phero.split { min-height: 0; }
  }

  /* home: four stages in four cards, a light running along the top */
  .tour { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; padding-top: 14px; }
  .tour::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(150,180,255,.16); }
  .tour::after { content: ""; position: absolute; left: 0; top: -1px; width: 25%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--cyan) 40%, #dffaff 60%, transparent); box-shadow: 0 0 16px rgba(34,211,238,.7); animation: tourRun 6.4s linear infinite; }
  @keyframes tourRun { 0% { transform: translateX(-60%); opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { transform: translateX(400%); opacity: 0; } }
  .tour li { --d: 0s; }
  .tour li:nth-child(2) { --d: 1.6s; } .tour li:nth-child(3) { --d: 3.2s; } .tour li:nth-child(4) { --d: 4.8s; }
  .tour li > a { display: grid; align-content: start; gap: 10px; height: 100%; padding: 22px 20px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, rgba(150,180,255,.07), rgba(150,180,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .25s ease, transform .25s ease; animation: tgCard 6.4s var(--d) linear infinite; }
  .tour li > a:hover { border-color: rgba(34,211,238,.55); transform: translateY(-2px); }
  @keyframes tgCard { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.05); } 5%, 22% { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(34,211,238,.45), 0 18px 50px -24px rgba(34,211,238,.45); } 32% { box-shadow: inset 0 1px 0 rgba(255,255,255,.05); } }
  .tour .tg { width: 64px; height: 36px; margin-bottom: 6px; overflow: visible; }
  .tour .tg rect { fill: rgba(34,211,238,.08); stroke: rgba(34,211,238,.45); stroke-width: 1; }
  .tour .tg .b.on { fill: var(--cyan); stroke: var(--cyan); }
  .tour .tg .l { fill: none; stroke: rgba(140,170,255,.4); stroke-width: 1.2; stroke-dasharray: 3 4; }
  .tour .tg .d { fill: #dffaff; filter: drop-shadow(0 0 4px #22d3ee); opacity: 0; animation: tgDot 6.4s var(--d) linear infinite; }
  @keyframes tgDot { 0% { transform: translateX(0); opacity: 0; } 4% { opacity: 1; } 20% { transform: translateX(26px); opacity: 1; } 24%, 100% { transform: translateX(26px); opacity: 0; } }
  .tour .tg.grid rect { animation: tgCell 6.4s linear infinite; animation-delay: var(--d); }
  .tour .tg.grid rect:nth-child(2) { animation-delay: calc(var(--d) + .09s); } .tour .tg.grid rect:nth-child(3) { animation-delay: calc(var(--d) + .18s); } .tour .tg.grid rect:nth-child(4) { animation-delay: calc(var(--d) + .27s); } .tour .tg.grid rect:nth-child(5) { animation-delay: calc(var(--d) + .36s); } .tour .tg.grid rect:nth-child(6) { animation-delay: calc(var(--d) + .45s); } .tour .tg.grid rect:nth-child(7) { animation-delay: calc(var(--d) + .54s); } .tour .tg.grid rect:nth-child(8) { animation-delay: calc(var(--d) + .63s); } .tour .tg.grid rect:nth-child(9) { animation-delay: calc(var(--d) + .72s); }
  @keyframes tgCell { 0%, 100% { fill: rgba(34,211,238,.08); stroke: rgba(34,211,238,.45); } 3%, 18% { fill: rgba(61,220,151,.3); stroke: var(--ok); } 28% { fill: rgba(34,211,238,.08); stroke: rgba(34,211,238,.45); } }
  .tour .tg.bars rect:nth-child(3), .tour .tg.lock .e { animation: tgBest 6.4s var(--d) linear infinite; }
  @keyframes tgBest { 0%, 100% { fill: rgba(34,211,238,.08); } 6%, 22% { fill: var(--cyan); stroke: var(--cyan); } 32% { fill: rgba(34,211,238,.08); } }
  .tour li > a > i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  .tour h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
  .tour p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .tour .go { margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
  #glance .cta-row { margin-top: 36px; }
  @media (max-width: 960px) { .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tour::before, .tour::after { display: none; } .tour { padding-top: 0; } }
  @media (max-width: 560px) { .tour { grid-template-columns: minmax(0, 1fr); } }

  /* home: the page cards */
  .explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
  .xc { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 290px; padding: 24px 22px 22px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, #172641, #111a2f); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -40px rgba(0,0,0,.8); overflow: hidden; isolation: isolate; transition: border-color .25s ease, transform .3s cubic-bezier(.2,.7,.2,1); }
  .xc::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(140,170,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140,170,255,.06) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(90% 80% at 100% 100%, #000 10%, transparent 80%); mask-image: radial-gradient(90% 80% at 100% 100%, #000 10%, transparent 80%); pointer-events: none; }
  .xc:hover { border-color: rgba(34,211,238,.5); transform: translateY(-3px); }
  .xc .k { font-family: var(--mono); font-size: 11.5px; color: var(--cyan); display: inline-flex; gap: 8px; align-items: center; }
  .xc h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.15; }
  .xc p { color: var(--text-2); font-size: 14px; line-height: 1.5; max-width: 42ch; }
  .xc .go { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
  .xc .go .arr { display: inline-block; transition: transform .3s ease; }
  .xc:hover .go .arr { transform: translateX(4px); }
  .xc .xv { display: block; margin-top: 6px; }
  .xc.big { grid-column: span 2; padding-right: 50%; min-height: 330px; }
  .xc.big .shot-v { position: absolute; right: -3%; bottom: -14%; width: 52%; margin: 0; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; transform: rotate(-3deg); box-shadow: 0 30px 60px rgba(0,0,0,.6); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .xc.big .shot-v img { width: 100%; height: auto; }
  .xc.big:hover .shot-v { transform: rotate(-1deg) translateY(-8px); }
  .blocks-v { display: grid !important; grid-template-columns: repeat(12, 12px); gap: 3px; }
  .blocks-v i { width: 12px; height: 12px; border-radius: 2px; background: rgba(34,211,238,.16); transition: background .5s ease; }
  .blocks-v i.on, .xc:hover .blocks-v i:nth-child(3n) { background: var(--cyan); }
  .code-v { font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--text-3); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: rgba(0,0,0,.18); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .code-v b { color: var(--text-2); font-weight: 500; } .code-v em { font-style: normal; color: var(--text-2); } .code-v em.ok { color: var(--ok); }
  .chips-v { display: flex !important; flex-wrap: wrap; gap: 6px; }
  @media (max-width: 960px) { .explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 640px) { .explore { grid-template-columns: minmax(0, 1fr); } .xc.big { grid-column: auto; padding-right: 22px; } .xc.big .shot-v { position: relative; right: auto; bottom: auto; width: 100%; transform: none; margin-top: 10px; } .xc.big:hover .shot-v { transform: none; } }

  /* the next page, one tap away */
  .nextpage { display: block; position: relative; border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(34,211,238,.06), rgba(34,211,238,0) 60%); transition: background .3s ease; }
  .nextpage .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k a" "t a" "d a"; row-gap: 6px; padding-block: 48px 50px; }
  .np-k { grid-area: k; font-family: var(--mono); font-size: 12px; color: var(--cyan); }
  .np-t { grid-area: t; font-size: clamp(40px, 6vw, 88px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
  .np-d { grid-area: d; color: var(--text-2); font-size: 16px; }
  .np-a { grid-area: a; align-self: center; font-family: var(--mono); font-size: clamp(34px, 4vw, 58px); color: var(--cyan); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .nextpage:hover { background: linear-gradient(90deg, rgba(34,211,238,.12), rgba(34,211,238,0) 70%); }
  .nextpage:hover .np-a { transform: translateX(10px); }

  /* inner pages close on a shorter shot */
  .cta.compact { min-height: 0; padding: clamp(96px, 11vw, 150px) 0; }
  .cta.compact h2 { font-size: clamp(44px, 7.4vw, 116px); }
  .cta.compact .wm { width: min(70vh, 560px); }

  /* security */
  .posture-sec { padding-block: 40px 56px; }
  .posture-sec::before { display: none; }
  .posture { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line-2); }
  .posture > div { padding: 22px 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
  .posture i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  .posture b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
  .posture span { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .comp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; margin-top: 52px; align-items: center; }
  .checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .checks li { position: relative; display: grid; gap: 4px; align-content: start; min-height: 92px; padding: 14px 14px 16px; border: 1px solid rgba(150,180,255,.3); border-radius: 10px; background: #172641; transition: border-color .45s ease, background .45s ease; }
  .checks li::after { content: ""; position: absolute; right: 12px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: rgba(150,180,255,.25); transition: background .45s ease, box-shadow .45s ease; transition-delay: inherit; }
  .checks i { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
  .checks b { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
  .checks span { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
  .checks.in li { border-color: rgba(61,220,151,.55); background: linear-gradient(180deg, rgba(61,220,151,.11), rgba(61,220,151,.03)); }
  .checks.in li::after { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
  .checks li:nth-child(2) { transition-delay: .12s; } .checks li:nth-child(3) { transition-delay: .24s; } .checks li:nth-child(4) { transition-delay: .36s; } .checks li:nth-child(5) { transition-delay: .48s; } .checks li:nth-child(6) { transition-delay: .6s; } .checks li:nth-child(7) { transition-delay: .72s; } .checks li:nth-child(8) { transition-delay: .84s; } .checks li:nth-child(9) { transition-delay: .96s; }
  .acc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
  .acc .pts { margin-top: 24px; }
  .acc .frame { margin: 0; }
  .frame.wide img { aspect-ratio: auto; }
  @media (max-width: 960px) { .posture { grid-template-columns: repeat(2, minmax(0, 1fr)); } .comp, .acc { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
  @media (max-width: 560px) { .posture { grid-template-columns: minmax(0, 1fr); } .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* developers */
  .caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
  .caps > div { display: grid; gap: 10px; align-content: start; padding: 22px 20px 24px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, rgba(150,180,255,.07), rgba(150,180,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
  .caps i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  .caps h3 { font-size: 18px; }
  .caps p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .shots.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
  .shots.two .frame { margin: 0; }
  .shots.two .frame img { aspect-ratio: 16 / 10; }
  @media (max-width: 960px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 760px) { .shots.two { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 560px) { .caps { grid-template-columns: minmax(0, 1fr); } }

  /* solutions: three ways in */
  .ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
  .ways a { display: grid; gap: 10px; align-content: start; padding: 22px 20px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, rgba(150,180,255,.07), rgba(150,180,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); transition: border-color .25s ease, transform .25s ease; }
  .ways a:hover { border-color: rgba(34,211,238,.5); transform: translateY(-2px); }
  .ways i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  .ways h3 { font-size: 19px; }
  .ways p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .ways .go { margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
  #connect .frame { margin-top: 32px; }
  #connect .frame img { aspect-ratio: 16 / 8; }
  @media (max-width: 860px) { .ways { grid-template-columns: minmax(0, 1fr); } }

  /* solutions: who settles here, one business at a time */
  .segs { display: grid; grid-template-columns: 300px minmax(0, 1fr); margin-top: 52px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, #172641, #111a2f); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); overflow: hidden; scroll-margin-top: 84px; }
  .seg-rail { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-right: 1px solid var(--line); background: rgba(4,8,18,.22); }
  .seg-rail [role=tab] { position: relative; z-index: 1; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 3px; align-items: baseline; width: 100%; padding: 13px 14px 13px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); font: inherit; text-align: left; cursor: pointer; transition: color .3s ease, background .3s ease; }
  .seg-rail [role=tab] i { grid-row: span 2; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--cyan); transition: color .3s ease; }
  .seg-rail [role=tab] b { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; line-height: 1.3; }
  .seg-rail [role=tab] > span { font-family: var(--mono); font-size: 10.5px; color: var(--text-3); transition: color .3s ease; }
  .seg-rail [role=tab]:hover { color: var(--text); background: rgba(150,180,255,.05); }
  .seg-rail [role=tab][aria-selected=true] { color: var(--ink); background: transparent; }
  .segs:not(.glide-on) .seg-rail [role=tab][aria-selected=true] { background: var(--cyan); }
  .seg-rail [role=tab][aria-selected=true] i, .seg-rail [role=tab][aria-selected=true] > span { color: rgba(4,20,26,.72); }
  .seg-rail [role=tab][aria-selected=true] .pill { color: var(--ink); border-color: rgba(4,20,26,.35); background: rgba(4,20,26,.08); }
  .seg-glide { position: absolute; z-index: 0; left: 0; top: 0; width: var(--gw, 0); height: var(--gh, 0); transform: translate(var(--gx, 0), var(--gy, 0)); border-radius: 10px; background: linear-gradient(180deg, #47e2f6, #19c5e2); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 12px 34px -12px rgba(34,211,238,.7); opacity: 0; pointer-events: none; }
  .glide-on .seg-glide { opacity: 1; transition: transform .55s cubic-bezier(.2,.7,.2,1), width .55s cubic-bezier(.2,.7,.2,1), height .55s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
  .seg-panels { position: relative; min-width: 0; }
  .seg { display: grid; align-content: start; padding: 34px 38px 34px; }
  .seg[hidden] { display: none; }
  .seg:focus-visible { outline: 2px solid var(--cyan); outline-offset: -6px; border-radius: 12px; }
  .seg-for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .seg-t { margin-top: 12px; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.035em; line-height: 1.08; max-width: 30ch; }
  .seg-t span { display: block; padding-bottom: .08em; background: linear-gradient(180deg, #b4ccff 15%, #6b9cff 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .seg-lead { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 64ch; }
  .ledger { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 14.5px; }
  .ledger th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--text-3); padding: 0 18px 11px 22px; border-bottom: 1px solid var(--line-2); }
  .ledger th.us { color: var(--cyan); }
  .ledger td { vertical-align: top; padding: 13px 18px 13px 22px; border-bottom: 1px solid var(--line); line-height: 1.45; background-repeat: no-repeat; background-position: 0 19px; background-size: 9px 9px; }
  .ledger td.was { width: 45%; color: var(--text-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9'%3E%3Crect x='.5' y='.5' width='8' height='8' rx='2' fill='none' stroke='%238290ac'/%3E%3C/svg%3E"); }
  .ledger td.now { color: var(--text); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9'%3E%3Crect width='9' height='9' rx='2' fill='%2322d3ee'/%3E%3C/svg%3E"); }
  .ledger tr.later td.now, .all-later .ledger td.now { color: var(--text-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9'%3E%3Crect x='.5' y='.5' width='8' height='8' rx='2' fill='%23f5b544' fill-opacity='.14' stroke='%23f5b544' stroke-dasharray='2 1.5'/%3E%3C/svg%3E"); }
  .ledger .pill { margin-left: 6px; white-space: nowrap; vertical-align: 1px; }
  .seg-note { margin-top: 16px; color: var(--text-3); font-size: 13.5px; line-height: 1.55; max-width: 72ch; }
  .seg-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 16px 32px; align-items: start; margin-top: 24px; }
  .seg-net { color: var(--text-2); font-size: 14.5px; line-height: 1.55; border-left: 2px solid rgba(34,211,238,.55); padding-left: 14px; }
  .seg-net b { color: var(--text); font-weight: 500; }
  .seg .chips { justify-content: flex-end; }
  .seg a.chip { transition: border-color .2s ease, color .2s ease, background .2s ease; }
  .seg a.chip:hover { border-color: rgba(34,211,238,.6); color: var(--text); background: rgba(34,211,238,.06); }
  /* use cases: keywords, challenge / solution / outcome, and what each audience adopts */
  .seg-alias { position: absolute; width: 0; height: 0; overflow: hidden; }
  .seg .seg-kw { justify-content: flex-start; margin-top: 16px; }
  .chip.soon { color: var(--warn); border-color: rgba(245,181,68,.4); }
  .why3.seg-cso { margin-top: 24px; gap: 0 26px; }
  .seg-cso > div { padding: 16px 0 18px; }
  .seg-cso span { font-size: 14px; }
  .seg-cso span b { font-size: inherit; letter-spacing: normal; font-weight: 500; color: var(--text); }
  .seg-cso .pill { margin-left: 4px; white-space: nowrap; }
  .ledger b { font-weight: 500; }
  .ledger td.was b { color: var(--text-2); }
  .seg-adopt { margin-top: 26px; }
  .seg-adopt-h { font-family: var(--mono); font-size: 11.5px; color: var(--cyan); }
  .seg-adopt .list { margin-top: 10px; }
  .seg-adopt .list > div { grid-template-columns: 210px minmax(0, 1fr) 110px; gap: 18px; padding: 13px 0; }
  .seg-adopt .list h4 { font-size: 15px; font-weight: 500; }
  .seg-adopt .list p { font-size: 14px; }
  .list .st.live { color: var(--cyan); }
  .seg .seg-links { justify-content: flex-start; margin-top: 22px; }
  @media (max-width: 1180px) { .why3.seg-cso { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 760px) { .seg-adopt .list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
  .seg.tp-in > * { animation: segIn .6s cubic-bezier(.16,.84,.2,1) both; }
  .seg.tp-in > :nth-child(2) { animation-delay: .04s; } .seg.tp-in > :nth-child(3) { animation-delay: .08s; } .seg.tp-in > :nth-child(n+4) { animation-delay: .12s; }
  .seg.tp-in tbody tr { animation: rowIn .55s cubic-bezier(.16,.84,.2,1) both; }
  .seg.tp-in tbody tr:nth-child(1) { animation-delay: .14s; } .seg.tp-in tbody tr:nth-child(2) { animation-delay: .2s; } .seg.tp-in tbody tr:nth-child(3) { animation-delay: .26s; } .seg.tp-in tbody tr:nth-child(4) { animation-delay: .32s; } .seg.tp-in tbody tr:nth-child(5) { animation-delay: .38s; }
  @keyframes segIn { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }
  @keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }
  @media (max-width: 900px) {
    .segs { grid-template-columns: minmax(0, 1fr); }
    .seg-rail { flex-direction: row; gap: 4px; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .seg-rail::-webkit-scrollbar { display: none; }
    .seg-rail [role=tab] { flex: 0 0 auto; width: auto; display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 13px; }
    .seg-rail [role=tab] > span { display: none; }
    .seg-rail [role=tab] b { flex-wrap: nowrap; font-size: 13.5px; white-space: nowrap; }
    .seg { padding: 26px 20px 28px; }
    .seg-foot { grid-template-columns: minmax(0, 1fr); }
    .seg .chips { justify-content: flex-start; }
  }
  @media (max-width: 640px) {
    .ledger thead { display: none; }
    .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; }
    .ledger tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .ledger td { width: auto !important; border: 0; padding: 2px 0 2px 18px; background-position: 0 5px; }
    .ledger td.now { padding-top: 10px; background-position: 0 13px; }
    .ledger td::before { content: "today"; display: block; font-family: var(--mono); font-size: 10.5px; line-height: 15px; color: var(--text-3); }
    .ledger td.now::before { content: "with tetrafi"; color: var(--cyan); }
    .ledger tr.later td.now::before, .all-later .ledger td.now::before { content: "with tetrafi · coming soon"; color: var(--warn); }
    .ledger tr.later .pill, .all-later .ledger .pill { display: none; }
  }

  /* solutions: one network, and what each member brings to it */
  .web { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; margin-top: 52px; --dwell: 4600ms; }
  .dia.web-dia { position: relative; aspect-ratio: 1.16; overflow: hidden; }
  .dia.web-dia svg.web-lines { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; }
  .web-dia .ch { fill: none; stroke: rgba(140,170,255,.13); stroke-width: 1; transition: opacity .4s ease; }
  .web-dia .ch.hide { opacity: 0; }
  .web-dia .ln.hot { stroke: #dffaff; stroke-width: 2.2; }
  .web-dia .sig { animation: webSig 2.2s cubic-bezier(.45,0,.55,1) infinite; }
  @keyframes webSig { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 72% { offset-distance: 100%; opacity: 1; } 80%, 100% { offset-distance: 100%; opacity: 0; } }
  .web-core { position: absolute; left: 50%; top: 50%; width: 14%; max-width: 80px; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; filter: drop-shadow(0 0 22px rgba(34,211,238,.45)); }
  .web-core::before { content: ""; position: absolute; inset: -70%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(34,211,238,.2), transparent 70%); animation: corePulse 4.6s ease-in-out infinite; }
  .dia .web-core svg { position: relative; display: block; width: 100%; height: auto; min-width: 0; }
  .web-core rect { fill: #0f2f44; stroke: var(--cyan); stroke-width: 1.4; }
  @keyframes corePulse { 50% { transform: scale(1.14); opacity: .55; } }
  .web-nodes { position: absolute; inset: 0; }
  .wn { position: absolute; display: grid; gap: 2px; justify-items: start; max-width: 156px; padding: 9px 12px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #16233d; color: var(--text-2); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 30px -14px rgba(0,0,0,.8); transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease, opacity .5s ease; }
  .web-dia:not(.ready) .wn { position: static; }
  .js .web-dia:not(.ready) .wn { opacity: 0; }
  .wn i { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--cyan); transition: color .35s ease; }
  .wn b { font-weight: 500; font-size: 13.5px; line-height: 1.25; letter-spacing: -0.01em; }
  .wn:hover { border-color: rgba(34,211,238,.5); color: var(--text); }
  .wn.later { border-style: dashed; }
  .wn.to, .wn.hot { border-color: rgba(34,211,238,.6); color: var(--text); background: linear-gradient(180deg, rgba(34,211,238,.16), rgba(34,211,238,.05)), #16233d; }
  .wn.on { border-style: solid; border-color: var(--cyan); background: linear-gradient(180deg, #47e2f6, #19c5e2); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 40px -6px rgba(34,211,238,.65); }
  .wn.on i { color: rgba(4,20,26,.7); }
  .web-card { display: grid; align-content: start; padding-top: 18px; }
  .web-info { display: grid; gap: 12px; align-content: start; }
  .web-info + .web-info { margin-top: 28px; }
  .js .web-info { display: none; margin-top: 0; }
  .js .web-info.on { display: grid; animation: segIn .55s cubic-bezier(.16,.84,.2,1) both; }
  .web-info .k { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--cyan); }
  .web-info h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; line-height: 1.12; }
  .gives { display: grid; margin-top: 4px; border-top: 1px solid var(--line-2); }
  .gives li { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: 14px; padding: 11px 8px 11px 22px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; transition: background .2s ease; }
  .gives li::before { content: "→"; position: absolute; left: 0; top: 11px; font-family: var(--mono); color: var(--cyan); }
  .gives li:hover { background: rgba(34,211,238,.05); }
  .gives b { font-weight: 500; color: var(--text); }
  .gives span { color: var(--text-2); }
  .web-also { color: var(--text-2); font-size: 14px; line-height: 1.5; }
  .web-info .more { margin-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
  .web-info .more:hover { text-decoration: underline; text-underline-offset: 4px; }
  .web-bar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; }
  .web-bar b { position: relative; height: 17px; cursor: pointer; }
  .web-bar b::before, .web-bar b::after { content: ""; position: absolute; left: 0; top: 7px; height: 3px; border-radius: 2px; }
  .web-bar b::before { right: 0; background: rgba(150,180,255,.18); }
  .web-bar b::after { width: 0; background: var(--cyan); box-shadow: 0 0 10px rgba(34,211,238,.6); }
  .web-bar b.done::after { width: 100%; background: rgba(34,211,238,.4); box-shadow: none; }
  .web-bar b.on::after { width: 100%; }
  .web.auto .web-bar b.on::after { animation: webFill var(--dwell) linear both; }
  @keyframes webFill { from { width: 0; } }
  @media (max-width: 960px) { .web { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
  @media (max-width: 600px) {
    .dia.web-dia { aspect-ratio: .74; }
    .wn { max-width: 96px; padding: 7px 8px 7px; border-radius: 8px; }
    .wn b { font-size: 11.5px; }
    .wn i { display: none; }
    .gives li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  }
  @media (max-width: 360px) { .wn { max-width: 84px; padding: 6px 7px; } .wn b { font-size: 11px; } }

  /* solutions: why join, and the model it follows */
  .why-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
  .n96 { margin: 0; padding: 26px 26px 20px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(180deg, #172641, #111a2f); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); }
  .n96-top { display: flex; align-items: flex-end; gap: 16px; }
  .n96-top b { font-size: clamp(56px, 6vw, 84px); font-weight: 500; letter-spacing: -0.05em; line-height: .86; color: var(--cyan-2); text-shadow: 0 0 40px rgba(34,211,238,.3); }
  .n96-top span { padding-bottom: 3px; color: var(--text-2); font-size: 14.5px; line-height: 1.35; }
  .n96-grid { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; margin-top: 24px; }
  .n96-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 8px rgba(34,211,238,.35); transition: background .45s ease, box-shadow .45s ease, transform .45s ease; }
  .n96-grid i.off { background: rgba(34,211,238,.1); box-shadow: none; transform: scale(.8); }
  .n96-grid i.keep { background: #dffaff; box-shadow: 0 0 14px rgba(34,211,238,.9); }
  .n96-leg { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
  .n96-leg span:last-child { color: var(--text-2); }
  .n96 figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; line-height: 1.55; }
  .n96 figcaption a { color: var(--accent); white-space: nowrap; }
  .n96 figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .why4 { margin-top: 56px; }
  @media (max-width: 960px) { .why-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

  /* platform: netting, in design */
  .netx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; margin-top: 52px; scroll-margin-top: 88px; }
  .netx-copy { display: grid; gap: 14px; align-content: start; }
  .netx-copy h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; line-height: 1.08; }
  .netx-copy > p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 48ch; }
  .netx .pts { margin-top: 4px; }
  .dia text.amt { fill: var(--text); font-size: 11.5px; font-weight: 500; paint-order: stroke; stroke: #16233c; stroke-width: 4px; stroke-linejoin: round; }
  .dia text.amt.ok { fill: var(--ok); }
  .dia .ln.dimln { opacity: .2; }
  .dia .ln.net { stroke-width: 2.4; }
  #next .list { margin-top: 48px; }
  @media (max-width: 960px) { .netx { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
  @media (max-width: 600px) { .dia.netdia { overflow: hidden; } .dia.netdia svg, .dia.netdia .cap { min-width: 0; } .netdia text.hd { font-size: 18px; } .netdia text.lb { font-size: 15.5px; } .netdia text.amt { font-size: 20px; stroke-width: 6px; } .netdia #nt-res text { font-size: 18px; } .netdia .cap { flex-direction: column; gap: 2px; } }

  /* whitepaper: the paper in full, with its contents alongside */
  .wp-hero { min-height: 0; align-items: center; padding: 136px 0 76px; --fx: 76%; }
  .wp-hgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: center; }
  .wp-hero .phc { max-width: 700px; }
  .wp-hero h1 { font-size: clamp(40px, 5vw, 78px); }
  .wp-meta { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
  .wp-meta span { padding: 0 14px; border-left: 1px solid var(--line-2); }
  .wp-meta span:first-child { padding-left: 0; border-left: 0; }
  .phc > .wp-meta { transition: opacity 1s ease .36s, transform 1.2s cubic-bezier(.16,.84,.2,1) .36s; }
  .wp-cover { position: relative; z-index: 3; display: block; justify-self: center; width: min(100%, 330px); perspective: 1400px; transition: opacity 1.2s ease .3s, transform 1.4s cubic-bezier(.16,.84,.2,1) .3s; }
  .wp-cover img { width: 100%; height: auto; border-radius: 6px; transform: rotateY(-16deg) rotateX(5deg) rotateZ(1deg); transform-origin: 60% 50%; box-shadow: -30px 40px 80px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(150,180,255,.2), 0 0 90px -30px rgba(34,211,238,.45); transition: transform .8s cubic-bezier(.2,.7,.2,1); animation: coverFloat 7s ease-in-out infinite alternate; }
  .wp-cover:hover img { transform: rotateY(-4deg) rotateX(2deg) rotateZ(0deg) translateY(-6px); }
  @keyframes coverFloat { to { translate: 0 -10px; } }
  .js .phero:not(.go) .wp-cover { opacity: 0; transform: translateY(24px); }
  .wp-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 45; pointer-events: none; }
  .wp-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #6b9cff); box-shadow: 0 0 10px rgba(34,211,238,.6); transform-origin: 0 50%; transform: scaleX(0); }
  .wp-body { padding-top: clamp(56px, 6vw, 88px); }
  .wp-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
  .wp-side { position: sticky; top: 88px; }
  .wp-toc { display: grid; gap: 14px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: none; padding-right: 4px; }
  .wp-toc::-webkit-scrollbar { display: none; }
  .wp-toc .lab em { font-style: normal; color: var(--cyan); }
  .wp-toc ol, .wp-toc-m ol { display: grid; gap: 1px; }
  .wp-toc li a, .wp-toc-m li a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; padding: 6px 8px; border-left: 2px solid transparent; font-size: 13px; line-height: 1.35; color: var(--text-3); transition: color .2s ease, border-color .2s ease, background .2s ease; }
  .wp-toc li a i, .wp-toc-m li a i { font-style: normal; font-family: var(--mono); font-size: 11px; padding-top: 1px; }
  .wp-toc-back { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
  .wp-toc-back li a { grid-template-columns: minmax(0, 1fr); padding-left: 38px; }
  .wp-toc li a:hover, .wp-toc-m li a:hover { color: var(--text); }
  .wp-toc li a.on, .wp-toc-m li a.on { color: var(--text); border-left-color: var(--cyan); background: linear-gradient(90deg, rgba(34,211,238,.1), transparent); }
  .wp-toc li a.on i, .wp-toc-m li a.on i { color: var(--cyan); }
  .wp-toc .btn { justify-self: start; margin-top: 4px; }
  .wp-toc-m { display: none; }
  .wp { max-width: 740px; font-size: 17px; line-height: 1.72; color: var(--text-2); }
  .wp p { margin: 0 0 18px; }
  .wp b { color: var(--text); font-weight: 500; }
  .wp a:not(.btn) { color: #a9c3ff; text-decoration: underline; text-decoration-color: rgba(107,156,255,.4); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
  .wp a:not(.btn):hover { color: var(--text); text-decoration-color: var(--cyan); }
  .wps { position: relative; }
  .wp h2 { display: flex; align-items: baseline; gap: 14px; margin: 76px 0 20px; font-size: clamp(28px, 3vw, 40px); color: var(--text); scroll-margin-top: 96px; }
  .wp h2 i { flex: none; font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0; color: #04141a; background: var(--cyan); padding: 2px 6px; border-radius: 3px; transform: translateY(-.5em); }
  .wp h3 { margin: 40px 0 12px; font-size: 21px; color: var(--text); scroll-margin-top: 96px; }
  .wp .wp-ul { display: grid; gap: 10px; margin: 0 0 22px; }
  .wp .wp-ul li { position: relative; padding-left: 24px; }
  .wp .wp-ul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(34,211,238,.5); }
  .wp .wp-ol { display: grid; gap: 12px; margin: 0 0 22px; counter-reset: wpo; }
  .wp .wp-ol li { position: relative; padding-left: 46px; counter-increment: wpo; }
  .wp .wp-ol li::before { content: counter(wpo, decimal-leading-zero); position: absolute; left: 0; top: .3em; padding: 1px 5px; border: 1px solid rgba(34,211,238,.45); border-radius: 4px; font-family: var(--mono); font-size: 12px; line-height: 1.4; color: var(--cyan); }
  .wps[data-sec="summary"] { padding: 4px 34px 14px; border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, #172641, #111a2f); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.7); }
  .wps[data-sec="summary"] h2 { margin-top: 26px; }
  .wps[data-sec="about"] { margin-top: 72px; padding: 4px 30px 16px; border: 1px solid rgba(34,211,238,.4); border-radius: 18px; background: linear-gradient(180deg, rgba(34,211,238,.09), rgba(34,211,238,.02)); }
  .wps[data-sec="about"] h2 { margin-top: 26px; font-size: clamp(24px, 2.4vw, 32px); }
  .wps.bm:not([data-sec="about"]) { font-size: 14.5px; line-height: 1.65; color: var(--text-3); }
  .wps.bm:not([data-sec="about"]) h2 { margin-top: 56px; font-size: 22px; }
  .wps[data-sec="sources"] .wp-ul li::before { background: rgba(150,180,255,.45); box-shadow: none; }
  .wp-table { margin: 24px 0 30px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, rgba(150,180,255,.05), rgba(150,180,255,.015)); scrollbar-width: thin; }
  .wp-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
  .wp-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--text-3); padding: 12px 14px 10px; border-bottom: 1px solid var(--line-2); background: rgba(4,8,18,.25); }
  .wp-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
  .wp-table tr:last-child td { border-bottom: 0; }
  .wp-table td:first-child { color: var(--text); font-weight: 500; }
  .wp-table.c4 table { min-width: 600px; }
  .wp-table.c5 table, .wp-table.c6 table { min-width: 760px; }
  .wp-fig { position: relative; margin: 30px 0 34px; }
  .wp-fig-h { display: grid; gap: 4px; margin-bottom: 14px; }
  .wp-fig-h b { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
  .wp-fig-h span { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
  .wp-src { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
  .hbars { display: grid; gap: 2px; padding: 18px 18px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, #172641, #121c33); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
  .hb, .hb-axis { display: grid; grid-template-columns: 124px minmax(0, 1fr); align-items: center; gap: 12px; }
  .hb { min-height: 30px; border-radius: 6px; outline: none; cursor: default; }
  .hb:focus-visible { box-shadow: 0 0 0 2px rgba(34,211,238,.6); }
  .hb-l { font-size: 13.5px; color: var(--text-2); text-align: right; white-space: nowrap; }
  .hbars { --k: 1; }
  .hb-t { position: relative; height: 30px; background: linear-gradient(90deg, rgba(150,180,255,.16) 0 1px, transparent 1px) 0 0 / calc(28% * var(--k)) 100% repeat-x; }
  .hb-t i { position: absolute; left: 0; top: 7px; height: 16px; width: calc(var(--w) * var(--k)); border-radius: 0 4px 4px 0; background: #61779f; transition: width 1s cubic-bezier(.2,.7,.2,1), filter .2s ease; }
  .hb.hi .hb-t i { background: var(--cyan); box-shadow: 0 0 16px -4px rgba(34,211,238,.6); }
  .hb-t b { position: absolute; top: 50%; left: calc(var(--w) * var(--k) + 8px); transform: translateY(-50%); font-weight: 400; font-size: 12.5px; color: var(--text-2); white-space: nowrap; transition: opacity .4s ease .75s; }
  .hb.hi .hb-t b { color: var(--text); font-weight: 500; }
  .js .hbars:not(.in) .hb-t i { width: 0; }
  .js .hbars:not(.in) .hb-t b { opacity: 0; }
  .hbars .hb:nth-child(2) i { transition-delay: .06s; } .hbars .hb:nth-child(3) i { transition-delay: .12s; } .hbars .hb:nth-child(4) i { transition-delay: .18s; } .hbars .hb:nth-child(5) i { transition-delay: .24s; } .hbars .hb:nth-child(6) i { transition-delay: .3s; } .hbars .hb:nth-child(7) i { transition-delay: .36s; } .hbars .hb:nth-child(8) i { transition-delay: .42s; } .hbars .hb:nth-child(9) i { transition-delay: .48s; }
  .hb.hot .hb-t i, .hb:focus-visible .hb-t i { filter: brightness(1.25); }
  .hb-axis { margin-top: 6px; }
  .hb-ticks { position: relative; height: 16px; }
  .hb-ticks b { position: absolute; top: 0; left: calc(var(--x) * var(--k)); transform: translateX(-50%); font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--text-3); white-space: nowrap; }
  .hb-ticks b:first-child { transform: none; }
  .hb-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 !important; font-size: 13.5px; color: var(--text-2); }
  .hb-note i { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--cyan); }
  .hb-tip { position: absolute; z-index: 5; display: grid; gap: 1px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(9,14,26,.96); box-shadow: 0 10px 30px rgba(0,0,0,.5); transform: translate(-50%, calc(-100% - 6px)); opacity: 0; transition: opacity .15s ease; white-space: nowrap; pointer-events: none; }
  .hb-tip.on { opacity: 1; }
  .hb-tip b { font-size: 14px; font-weight: 600; color: var(--text); }
  .hb-tip span { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
  .wp-data { margin-top: 10px; font-size: 13px; }
  .wp-data summary { width: max-content; cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--accent); }
  .wp-data table { min-width: 320px; margin-top: 10px; border-collapse: collapse; }
  .wp-data th, .wp-data td { padding: 6px 16px 6px 0; text-align: left; border-bottom: 1px solid var(--line); }
  .wp-data th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--text-3); }
  .wp-data th:not(:first-child), .wp-data td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
  .wp-data tr.tot td { color: var(--text); font-weight: 500; }
  .dia.runfig { overflow: hidden; }
  .dia.runfig svg { min-width: 0; font-family: var(--sans); }
  .runfig text.hd { font-size: 14px; }
  .runfig text.lb { font-size: 11.5px; }
  .dia .blk.warn { fill: rgba(245,181,68,.14); stroke: var(--warn); }
  .dia .blk.commit { fill: rgba(34,211,238,.1); stroke: rgba(34,211,238,.65); stroke-width: 1.6; }
  .dia .blk.commit.on { fill: var(--cyan); stroke: var(--cyan); }
  .dia .ah { fill: rgba(140,170,255,.5); }
  .dia .ah.on { fill: var(--cyan); }
  .wp-end { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
  .xc.wide { grid-column: 1 / -1; min-height: 250px; padding-right: 44%; }
  .xc.wide .wp-thumb { position: absolute; right: 8%; top: 28px; width: 21%; max-width: 230px; margin: 0; transform: rotate(-6deg) translateY(8px); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .xc.wide .wp-thumb img { width: 100%; height: auto; border-radius: 5px; box-shadow: -20px 30px 60px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(150,180,255,.2); }
  .xc.wide:hover .wp-thumb { transform: rotate(-3deg) translateY(0); }
  @media (max-width: 1180px) and (min-width: 901px) { .nav .wrap { gap: 20px; } .nav-links { gap: 16px; font-size: 13.5px; } }
  @media (max-width: 1099px) {
    .wp-grid { grid-template-columns: minmax(0, 1fr); }
    .wp-side { display: none; }
    .wp-toc-m { display: block; margin-bottom: 40px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(150,180,255,.04); }
    .wp-toc-m summary { padding: 14px 18px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); cursor: pointer; list-style: none; }
    .wp-toc-m summary::-webkit-details-marker { display: none; }
    .wp-toc-m summary::after { content: "+"; float: right; color: var(--cyan); }
    .wp-toc-m[open] summary::after { content: "−"; }
    .wp-toc-m ol { padding: 0 10px 10px; }
    .wp-toc-m .wp-toc-back { margin: 0 10px 12px; padding: 8px 0 0; }
  }
  @media (max-width: 960px) {
    .wp-hero { padding: 116px 0 40px; }
    .wp-hgrid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .wp-cover { width: min(62vw, 260px); }
  }
  @media (max-width: 640px) {
    .wp { font-size: 16px; line-height: 1.68; }
    .wp h2 { margin-top: 60px; }
    .wps[data-sec="summary"], .wps[data-sec="about"] { padding: 2px 18px 8px; }
    .wp .wp-ol li { padding-left: 40px; }
    .wp-table.c3 table { min-width: 540px; }
    .hb, .hb-axis { grid-template-columns: 90px minmax(0, 1fr); gap: 8px; }
    .hb-l { font-size: 12px; }
    .hbars { padding: 14px 10px 10px; --k: .8; }
    .runfig text.hd { font-size: 19px; }
    .runfig .nt { display: none; }
    .runfig .tt { transform: translateY(8px); }
    .runfig text.br { font-size: 15px; }
    .xc.wide { padding-right: 22px; }
    .xc.wide .wp-thumb { position: relative; right: auto; top: auto; width: 46%; margin: 8px 0 4px; transform: rotate(-4deg); }
  }

  /* moving between pages: the frame closes to a slit and opens on the next page */
  @view-transition { navigation: auto; }
  .nav { view-transition-name: tf-nav; }
  ::view-transition { background: #02050b; }
  ::view-transition-old(root) { animation: tfCut .32s cubic-bezier(.7,0,.84,0) both; }
  ::view-transition-new(root) { animation: tfOpen .56s cubic-bezier(.16,1,.3,1) .26s both; }
  ::view-transition-group(tf-nav) { animation-duration: .3s; }
  @keyframes tfCut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(49.6% 0 49.6% 0); filter: brightness(.5); } }
  @keyframes tfOpen { from { clip-path: inset(49.6% 0 49.6% 0); filter: brightness(.5); } to { clip-path: inset(0 0 0 0); filter: none; } }
  .pg-out main.page { opacity: 0; filter: blur(6px); transition: opacity .26s ease, filter .26s ease; }
  .pg-in main.page { animation: pgIn .55s cubic-bezier(.16,1,.3,1) both; }
  @keyframes pgIn { from { opacity: 0; filter: blur(6px); } }
  @media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(*) { animation: none !important; } }

  h1[tabindex="-1"]:focus { outline: none; }

  /* whitepaper, Version 1.0: night hero and a paper reading layout, from the standalone paper (2026-09-29).
     Scoped to .wpv so the paper's light theme never reaches the rest of the site. */
  .wpv { --night: #0d1526; --on-night: #f1f5ff; --on-night-2: #b6bfd4; --on-night-3: #8290ac; --line-night: rgba(150,180,255,.14); --ink-on-cyan: #04141a;
    --paper: #f6f8fc; --surface: #ffffff; --ink: #0d1526; --ink-2: #44516a; --ink-3: #5f6b84; --rule: #d9e0ec; --rule-soft: #e8edf6; --link: #2856c8; --link-hover: #183d9a; --head: #eef2f9;
    --wpv-max: 1200px; --wpv-gutter: clamp(20px, 3vw, 44px); --measure: 42rem; }
  .wpv-wrap { max-width: var(--wpv-max); margin: 0 auto; padding: 0 var(--wpv-gutter); }
  .wpv-night { background: var(--night); color: var(--on-night); }
  .wpv-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 8px; font: 500 14px/1 var(--sans); white-space: nowrap; }
  .wpv-btn.primary { background: linear-gradient(180deg, #47e2f6, #19c5e2); border: 1px solid rgba(34,211,238,.9); color: var(--ink-on-cyan); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 8px 26px rgba(34,211,238,.28); }
  .wpv-btn.primary:hover { background: linear-gradient(180deg, #5ee8f8, #22d3ee); }
  .wpv-hero { padding: calc(64px + clamp(56px, 8vw, 104px)) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
  .wpv-hero .wpv-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: center; }
  .wpv-hero h1 { margin: 0; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.03; font-weight: 600; letter-spacing: -0.028em; max-width: 16ch; text-wrap: balance; }
  .wpv-sub { margin: 22px 0 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; color: var(--on-night-2); max-width: 40ch; }
  .wpv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
  .wpv-version { color: var(--on-night-3); font-size: 14px; }
  .wpv-art { width: 100%; height: auto; }
  .wpv-art .g { stroke: rgba(150,180,255,.26); stroke-width: 1; }
  .wpv-art .n { stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; }
  .wpv-art circle { fill: var(--on-night); }
  .wpv-paper { background: var(--paper); color: var(--ink); font-size: 1.0625rem; line-height: 1.65; font-feature-settings: "kern"; -webkit-font-smoothing: auto; }
  .wpv-paper :focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
  .wpv-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: 96px; }
  .wpv-toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; font-size: 14px; line-height: 1.4; padding-right: 4px; }
  .wpv-toc h2 { font-size: 14px; font-weight: 600; letter-spacing: normal; line-height: 1.4; margin: 0 0 12px; color: var(--ink); }
  .wpv-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
  .wpv-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); }
  .wpv-toc a:hover { color: var(--ink); }
  .wpv-toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--link); font-weight: 500; }
  .wpv .toc-mobile { display: none; }
  .wpv-alias { display: block; height: 0; position: relative; top: 3.6rem; scroll-margin-top: 88px; }
  .wpv-article { max-width: var(--measure); min-width: 0; }
  .wpv-article h2 { font-size: clamp(1.6rem, 2.4vw, 1.95rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.016em; margin: 3.6rem 0 1.1rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); text-wrap: balance; scroll-margin-top: 88px; }
  .wpv-article > h2:first-child, .wpv .toc-mobile + h2, .wpv .toc-mobile + .wpv-alias + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
  .wpv .toc-mobile + .wpv-alias { top: 0; }
  .wpv-article h3 { font-size: 1.28rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin: 2.4rem 0 .7rem; scroll-margin-top: 88px; }
  .wpv-article p { margin: 0 0 1.1em; }
  .wpv-article ul, .wpv-article ol { margin: 0 0 1.2em; padding-left: 1.35em; }
  .wpv-article ul { list-style: disc; } .wpv-article ol { list-style: decimal; }
  .wpv-article li { margin: .45em 0; padding-left: .2em; }
  .wpv-article li::marker { color: var(--ink-3); }
  .wpv-article strong { font-weight: 600; }
  .wpv-article a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
  .wpv-article a:hover { color: var(--link-hover); }
  .wpv .table-wrap { margin: 1.6rem 0 1.8rem; overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; }
  .wpv table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
  .wpv th, .wpv td { text-align: left; vertical-align: top; padding: .7rem .85rem; border-bottom: 1px solid var(--rule-soft); }
  .wpv thead th { background: var(--head); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .wpv tbody tr:last-child td { border-bottom: 0; }
  .wpv td p, .wpv th p { margin: 0; }
  .wpv .fig { margin: 2rem 0 2.2rem; padding: 14px 14px 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; }
  .wpv .fig img { width: 100%; height: auto; }
  .wpv .fig figcaption { margin-top: 10px; padding: 0 4px; font-size: .85rem; line-height: 1.45; color: var(--ink-3); }
  .wpv-foot .wpv-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--line-night); }
  .wpv-foot p { margin: 0; color: var(--on-night-2); font-size: 15px; }
  .wpv-foot a:not(.wpv-btn) { color: var(--on-night); text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 1023px) {
    .wpv-hero .wpv-wrap { grid-template-columns: minmax(0, 1fr); }
    .wpv-art { display: none; }
    .wpv-layout { grid-template-columns: minmax(0, 1fr); }
    .wpv-toc { display: none; }
    .wpv .toc-mobile { display: block; margin: 0 0 2.2rem; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); }
    .wpv .toc-mobile summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 15px; }
    .wpv .toc-mobile ol { margin: 0; padding: 0 16px 14px 34px; font-size: 15px; list-style: decimal; }
    .wpv .toc-mobile li { margin: 6px 0; }
    .wpv .toc-mobile a { color: var(--ink-2); text-decoration: none; }
    .wpv-article { max-width: none; }
  }
  @media (max-width: 560px) { .wpv-paper { font-size: 1rem; } }
