:root {
  --bg: #081013;
  --bg-deep: #050b0d;
  --surface: #0d191d;
  --surface-2: #122328;
  --line: #20363c;
  --line-strong: #31525a;
  --text: #edf5f4;
  --muted: #91a7a9;
  --mint: #64e0ba;
  --mint-soft: #9df1d7;
  --mint-dark: #173d35;
  --amber: #f2bd62;
  --danger: #ff786f;
  --shell: 1232px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgb(100 224 186 / 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgb(100 224 186 / 0.026) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgb(51 114 101 / 0.2), transparent 28rem),
    var(--bg);
  background-size: 72px 72px, 72px 72px, auto, auto;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 20;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 12px 18px; color: var(--bg); background: var(--mint); font-weight: 800; }
.skip-link:focus { top: 20px; }

.site-header { position: relative; z-index: 30; border-bottom: 1px solid rgb(145 167 169 / 0.16); background: rgb(8 16 19 / 0.82); backdrop-filter: blur(16px); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.product-lockup { display: inline-flex; align-items: center; gap: 14px; }
.product-lockup img { width: 45px; height: 45px; filter: drop-shadow(0 0 18px rgb(100 224 186 / 0.2)); }
.product-lockup span { display: grid; gap: 1px; }
.product-lockup strong { font-size: 1rem; letter-spacing: 0.31em; line-height: 1.1; }
.product-lockup small { color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.17em; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { color: #bac9c9; font-size: 0.88rem; font-weight: 700; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--text); }
.primary-nav .nav-cta { padding: 11px 18px; border: 1px solid var(--mint); color: var(--text); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); color: var(--text); background: transparent; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: currentColor; }

.hero { min-height: 830px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr); align-items: center; gap: 44px; padding-block: 86px 64px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { margin: 0 0 24px; color: var(--mint); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.2em; }
.eyebrow { display: flex; align-items: center; gap: 14px; }
.eyebrow span { width: 32px; height: 1px; background: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; max-width: 850px; font-size: clamp(3.45rem, 6.6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.065em; }
h1 em, h2 em { color: var(--mint); font-style: normal; }
.hero-intro { max-width: 690px; margin-bottom: 30px; color: #b7c8c8; font-size: 1.13rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 22px; border: 1px solid var(--line-strong); font-size: 0.93rem; font-weight: 800; }
.button-primary { border-color: var(--mint); color: #061310; background: var(--mint); }
.button-primary:hover, .button-primary:focus-visible { background: var(--mint-soft); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--mint); }
.characteristics { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.characteristics li { padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.hero-visual { position: relative; min-height: 620px; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; left: 12%; top: 4%; border: 1px solid rgb(100 224 186 / 0.21); border-radius: 50%; box-shadow: inset 0 0 0 34px rgb(100 224 186 / 0.018), inset 0 0 0 35px rgb(100 224 186 / 0.08); }
.hero-visual::after { content: "PATH / POLICY / EVIDENCE"; position: absolute; right: 2%; top: 11%; color: rgb(145 167 169 / 0.55); font: 700 0.62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.21em; transform: rotate(90deg); transform-origin: right top; }
.hero-art { position: absolute; inset: 0 -10% 32px -12%; background: url("assets/charon-crossing.png") 64% 50% / cover no-repeat; mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 88%, transparent 100%); filter: saturate(0.9) contrast(1.05); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 16 19 / 0.08), rgb(8 16 19 / 0.5)); }
.route-state { position: absolute; left: 2%; right: 0; bottom: 0; min-height: 92px; display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; align-items: stretch; border: 1px solid var(--line-strong); background: rgb(7 15 17 / 0.92); backdrop-filter: blur(12px); }
.route-state > span { display: grid; align-content: center; gap: 2px; padding: 15px 20px; border-left: 1px solid var(--line); }
.route-state > span:first-child { border-left: 0; }
.route-state .state-title { font-size: 0.69rem; font-weight: 800; letter-spacing: 0.13em; }
.route-state small { color: var(--muted); font-size: 0.58rem; letter-spacing: 0.15em; }
.route-state strong { color: var(--mint); font-size: 0.8rem; letter-spacing: 0.06em; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-bottom-color: var(--line-strong); background: rgb(9 20 23 / 0.78); }
.metrics article { min-height: 132px; display: grid; align-content: center; gap: 3px; padding: 22px 26px; border-left: 1px solid var(--line); }
.metrics article:first-child { border-left: 0; }
.metrics strong { color: var(--mint); font-size: clamp(1.15rem, 1.7vw, 1.55rem); letter-spacing: -0.03em; }
.metrics span { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.11em; text-transform: uppercase; }

.section { padding-block: 150px; }
.section-heading { max-width: 760px; }
.section-heading.narrow { max-width: 820px; }
.section-heading h2 { margin-bottom: 28px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.03; letter-spacing: -0.055em; }
.section-heading > p:last-child { color: #aabdbd; font-size: 1.08rem; line-height: 1.8; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.62fr); align-items: end; gap: 80px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin-bottom: 4px; }

.principle-grid, .assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 74px; border-top: 1px solid var(--line); }
.numbered-card { min-height: 300px; padding: 30px 32px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(150deg, rgb(18 35 40 / 0.72), rgb(8 16 19 / 0.3)); }
.numbered-card:first-child { border-left: 1px solid var(--line); }
.card-number { display: block; margin-bottom: 78px; color: var(--mint); font: 800 0.71rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.14em; }
.numbered-card h3 { margin-bottom: 12px; font-size: 1.4rem; }
.numbered-card p { margin-bottom: 0; color: var(--muted); }

.section-contrast { position: relative; border-block: 1px solid var(--line); background: linear-gradient(135deg, rgb(15 31 35 / 0.94), rgb(5 12 14 / 0.96)); }
.section-contrast::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 45%, rgb(100 224 186 / 0.08), transparent 26rem); }
.path-layout { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr); gap: 86px; margin-top: 92px; }
.route-steps { padding: 0; margin: 0; list-style: none; }
.route-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.route-steps li:last-child { border-bottom: 1px solid var(--line); }
.route-steps > li > span { color: var(--mint); font: 800 0.72rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.route-steps strong { display: block; margin-bottom: 6px; font-size: 1.03rem; }
.route-steps p { margin-bottom: 0; color: var(--muted); }

.route-diagram { position: relative; min-height: 610px; padding: 34px; border: 1px solid var(--line-strong); background: rgb(4 11 13 / 0.68); overflow: hidden; }
.route-diagram::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(100 224 186 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(100 224 186 / 0.04) 1px, transparent 1px); background-size: 42px 42px; }
.diagram-label { position: relative; color: var(--muted); font: 800 0.63rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.15em; }
.source-stack, .gateway-stack { position: absolute; top: 105px; display: grid; gap: 20px; }
.source-stack { left: 34px; }
.gateway-stack { right: 34px; }
.source-stack span, .gateway-stack span { min-width: 145px; padding: 11px 13px; border: 1px solid var(--line); color: #bed0cf; background: var(--bg-deep); font: 700 0.66rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.gateway-stack span { min-width: 134px; color: var(--mint); }
.gateway-stack small { display: block; color: var(--muted); font-size: 0.55rem; letter-spacing: 0.12em; }
.gateway-stack .drop { color: var(--danger); }
.flow-line { position: absolute; left: 182px; top: 136px; width: calc(50% - 165px); height: 116px; border-top: 1px solid var(--mint); border-right: 1px solid var(--mint); }
.flow-line::before, .flow-line::after { content: ""; position: absolute; left: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.flow-line::before { top: -4px; }
.flow-line::after { top: 38px; }
.charon-node { position: absolute; left: 50%; top: 215px; width: 154px; height: 154px; display: grid; place-content: center; justify-items: center; border: 1px solid var(--mint); border-radius: 50%; background: #081416; transform: translateX(-50%); box-shadow: 0 0 55px rgb(100 224 186 / 0.13); }
.charon-node img { width: 76px; margin-bottom: 4px; }
.charon-node small { color: var(--muted); font-size: 0.52rem; letter-spacing: 0.16em; }
.charon-node strong { font-size: 0.76rem; letter-spacing: 0.18em; }
.branch-lines { position: absolute; right: 168px; top: 136px; width: calc(50% - 145px); height: 330px; border-top: 1px solid var(--mint); border-left: 1px solid var(--mint); }
.branch-lines::before { content: ""; position: absolute; right: -10px; top: -4px; width: 10px; height: 10px; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); transform: rotate(45deg); }
.branch-lines i { position: absolute; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.branch-lines i:nth-child(1) { top: 0; }
.branch-lines i:nth-child(2) { top: 63px; }
.branch-lines i:nth-child(3) { top: 126px; }
.route-diagram > p { position: absolute; left: 34px; right: 34px; bottom: 24px; margin: 0; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }

.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border: 1px solid var(--line); }
.control-grid article { min-height: 180px; display: grid; align-content: end; padding: 26px; border-left: 1px solid var(--line); background: rgb(13 25 29 / 0.6); }
.control-grid article:first-child { border-left: 0; }
.control-label { align-self: start; margin-bottom: 46px; color: var(--muted); font: 800 0.62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 0.14em; }
.control-grid strong { color: var(--mint); font-size: 1.55rem; }
.control-grid p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }
.config-note { max-width: 820px; margin: 25px 0 0; color: var(--muted); font-size: 0.9rem; }

.assurance-section { border-block: 1px solid var(--line); background: #071013; }
.assurance-grid { grid-template-columns: repeat(4, 1fr); }
.assurance-grid .numbered-card { min-height: 335px; }
.assurance-grid .numbered-card + .numbered-card { border-left: 0; }
.boundary-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; padding: 24px 28px; border: 1px solid var(--line); border-top: 0; color: var(--muted); background: rgb(100 224 186 / 0.025); font-size: 0.72rem; letter-spacing: 0.11em; }
.boundary-strip strong { margin-right: auto; color: var(--text); }

.identity-section { padding-block: 132px; overflow: hidden; }
.identity-grid { display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr); align-items: center; gap: 100px; }
.obol-stage { position: relative; min-height: 570px; display: grid; place-items: center; overflow: hidden; }
.obol-stage img { position: relative; z-index: 2; width: min(92%, 520px); filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.55)) drop-shadow(0 0 45px rgb(100 224 186 / 0.08)); }
.orbit { position: absolute; border: 1px solid rgb(100 224 186 / 0.16); border-radius: 50%; }
.orbit-one { width: 560px; height: 560px; }
.orbit-two { width: 700px; height: 700px; border-style: dashed; opacity: 0.4; }
.identity-facts { margin: 42px 0 0; border-top: 1px solid var(--line); }
.identity-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.identity-facts dt { color: var(--muted); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.identity-facts dd { margin: 0; }

.final-section { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 110px; padding-top: 90px; }
.release-mark { display: grid; gap: 12px; padding-top: 8px; border-top: 1px solid var(--mint); }
.release-mark span { color: var(--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.14em; }
.release-mark strong { color: var(--mint); font: 800 clamp(3rem, 6vw, 5.4rem)/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -0.06em; }
.platform-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 36px 0 0; list-style: none; }
.platform-list li { padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); background: #050b0d; }
.footer-inner { min-height: 220px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.publisher-link { display: inline-block; width: 210px; }
.publisher-link img { width: 210px; height: auto; margin-top: -10px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.76rem; }
.footer-inner > a:last-child { justify-self: end; color: var(--muted); font-size: 0.8rem; font-weight: 800; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 1050px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 90px; }
  .hero-copy { max-width: 790px; }
  .hero-visual { min-height: 600px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metrics article:nth-child(4) { border-top: 1px solid var(--line); }
  .split-heading { grid-template-columns: 1fr; gap: 30px; }
  .path-layout { grid-template-columns: 1fr; }
  .route-diagram { min-height: 580px; }
  .assurance-grid { grid-template-columns: repeat(2, 1fr); }
  .assurance-grid .numbered-card:nth-child(3) { border-left: 1px solid var(--line); }
  .identity-grid { gap: 40px; }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .header-inner { min-height: 78px; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; left: 16px; right: 16px; top: 77px; display: none; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); background: #081214; box-shadow: 0 20px 60px rgb(0 0 0 / 0.5); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 14px; }
  .primary-nav .nav-cta { border: 0; background: var(--surface-2); }
  .hero { padding-top: 72px; gap: 30px; }
  h1 { font-size: clamp(3rem, 14vw, 4.9rem); }
  .hero-visual { min-height: 500px; margin-inline: -16px; }
  .hero-art { inset: 0 -28% 34px -20%; background-position: 67% 50%; }
  .route-state { left: 16px; right: 16px; grid-template-columns: 1fr 1fr; }
  .route-state .state-title { grid-column: 1 / -1; min-height: 44px; border-bottom: 1px solid var(--line); }
  .route-state > span:nth-child(2) { border-left: 0; }
  .section { padding-block: 100px; }
  .section-heading h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .principle-grid, .assurance-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .numbered-card, .numbered-card:first-child, .assurance-grid .numbered-card:nth-child(3) { border-left: 1px solid var(--line); }
  .card-number { margin-bottom: 46px; }
  .control-grid { grid-template-columns: repeat(2, 1fr); }
  .control-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .control-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .identity-grid { grid-template-columns: 1fr; }
  .obol-stage { min-height: 420px; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 540px; height: 540px; }
  .final-section { grid-template-columns: 1fr; gap: 55px; }
  .release-mark { max-width: 240px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; text-align: center; }
  .publisher-link, .publisher-link img { width: 190px; margin-inline: auto; }
  .footer-inner > a:last-child { justify-self: center; }
}

@media (max-width: 560px) {
  .product-lockup small { display: none; }
  .hero-intro { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .metrics { grid-template-columns: 1fr; }
  .metrics article, .metrics article:nth-child(2), .metrics article:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .metrics article:first-child { border-top: 0; }
  .path-layout { margin-top: 60px; }
  .route-diagram { min-height: 690px; padding: 22px; }
  .source-stack, .gateway-stack { left: 22px; right: 22px; width: auto; }
  .source-stack { top: 82px; }
  .gateway-stack { top: 440px; grid-template-columns: 1fr; }
  .source-stack span, .gateway-stack span { width: 100%; }
  .flow-line, .branch-lines { display: none; }
  .charon-node { top: 275px; }
  .route-diagram > p { left: 22px; right: 22px; }
  .control-grid { grid-template-columns: 1fr; }
  .control-grid article, .control-grid article:nth-child(2), .control-grid article:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .control-grid article:first-child { border-top: 0; }
  .boundary-strip { align-items: flex-start; flex-direction: column; gap: 12px; }
  .identity-section { padding-block: 88px; }
  .obol-stage { min-height: 340px; }
  .identity-facts div { grid-template-columns: 1fr; gap: 4px; }
}
