:root {
  color-scheme: light;
  --ink: #000000;
  --ink-soft: #161616;
  --paper: #ffffff;
  --mist: #fdf0df;
  --line: #ded5c9;
  --accent: #000000;
  --brand: #000000;
  --brand-bright: #fdf0df;
  --brand-soft: #fdf0df;
  --white: #ffffff;
  --text-muted: rgba(0,0,0,.64);
  --text-soft: rgba(0,0,0,.56);
  --text-faint: rgba(0,0,0,.5);
  --input: #ffffff;
  --button-bg: #000000;
  --button-hover: #161616;
  --button-text: #ffffff;
  --panel: #000000;
  --panel-soft: #101010;
  --panel-alt: #1d1d1d;
  --on-panel: #ffffff;
  --on-cream: #000000;
  --logo-filter: none;
  --logo-blend: multiply;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #fdf0df;
  --ink-soft: #ffffff;
  --paper: #080808;
  --mist: #171512;
  --line: #403930;
  --accent: #fdf0df;
  --brand: #ffffff;
  --brand-bright: #fdf0df;
  --brand-soft: #28231d;
  --text-muted: rgba(253,240,223,.72);
  --text-soft: rgba(253,240,223,.58);
  --text-faint: rgba(253,240,223,.5);
  --input: #121212;
  --button-bg: #fdf0df;
  --button-hover: #ffffff;
  --button-text: #000000;
  --panel: #000000;
  --panel-soft: #101010;
  --panel-alt: #1d1d1d;
  --on-panel: #fdf0df;
  --on-cream: #000000;
  --logo-filter: invert(1) sepia(.16) saturate(.65);
  --logo-blend: screen;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1180px, 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; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 172px; height: auto; filter: var(--logo-filter); mix-blend-mode: var(--logo-blend); }
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 700; }
.nav-links a, .nav-cta { transition: color .2s ease; }
.nav-links a:hover, .nav-cta:hover { color: var(--accent); }
.nav-cta { font-size: 14px; font-weight: 800; display: flex; gap: 8px; align-items: center; }

.hero { min-height: 730px; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 72px; padding-block: 86px 104px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 30px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--brand-soft); }
.hero h1 { font-size: clamp(58px, 6vw, 88px); line-height: .94; letter-spacing: -.07em; margin: 0; max-width: 760px; }
.hero-line { display: inline; }
.hero-accent { color: var(--ink); display: inline-block; background: var(--brand-soft); padding: .02em .09em .08em; margin-top: .08em; }
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--text-muted); max-width: 590px; margin: 30px 0 34px; }
.microcopy { color: var(--text-soft); font-size: 12px; margin: 12px 0 0; }

.signup-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; max-width: 560px; position: relative; }
.signup-form input[type="email"] { height: 58px; min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--input); color: var(--ink); padding: 0 18px; outline: none; transition: border .2s, box-shadow .2s, background-color .25s ease, color .25s ease; }
.signup-form input[type="email"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--brand-soft); }
.signup-form button { height: 58px; border: 0; border-radius: 4px; background: var(--button-bg); color: var(--button-text); padding: 0 22px; font-weight: 800; cursor: pointer; display: flex; align-items: center; gap: 18px; transition: transform .2s, background .2s, color .2s; }
.signup-form button:hover { transform: translateY(-2px); background: var(--button-hover); }
.signup-form button:disabled { cursor: wait; opacity: .72; transform: none; }
.form-status { grid-column: 1 / -1; min-height: 18px; margin: 2px 0 -20px; font-size: 12px; font-weight: 700; }
.form-status.success { color: var(--ink); }
.form-status.error { color: var(--ink); text-decoration: underline; }
.signup-success { grid-column: 1 / -1; min-height: 72px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--mist); outline: none; animation: signup-reveal .36s ease both; }
.signup-success[hidden] { display: none; }
.signup-success:focus-visible { box-shadow: 0 0 0 3px var(--brand-soft); }
.success-mark { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--button-bg); color: var(--button-text); font-size: 18px; font-weight: 800; }
.signup-success strong, .signup-success small { display: block; }
.signup-success strong { font-size: 15px; line-height: 1.2; }
.signup-success small { margin-top: 5px; color: var(--text-soft); font-size: 12px; line-height: 1.35; }
.signup-form.is-success { grid-template-columns: 1fr; }
.signup-form.is-success > input[type="email"], .signup-form.is-success > button, .signup-form.is-success > .form-status { display: none; }
.signup-form.is-success + .microcopy { display: none; }
@keyframes signup-reveal { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

.network-card { height: 555px; border-radius: 10px; position: relative; overflow: hidden; color: var(--on-panel); background: var(--panel); box-shadow: 0 34px 90px rgba(0,0,0,.2); isolation: isolate; }
.network-card::before { content: ""; position: absolute; inset: auto -90px -100px auto; width: 360px; height: 360px; border-radius: 50%; background: var(--brand-bright); filter: blur(110px); opacity: .2; z-index: -1; }
.network-card::after { content: ""; position: absolute; width: 210px; height: 210px; left: -80px; top: -60px; background: var(--brand-bright); filter: blur(110px); opacity: .12; border-radius: 50%; z-index: -1; }
.network-grid, .statement-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 94%); z-index: -1; }
.live-label { position: absolute; left: 24px; top: 22px; font: 700 10px/1 monospace; letter-spacing: .16em; color: rgba(255,255,255,.76); display: flex; align-items: center; gap: 8px; }
.live-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 9px var(--brand-bright); }
.node { position: absolute; display: flex; align-items: center; gap: 10px; z-index: 2; }
.node-a { left: 26px; top: 105px; }
.node-b { right: 28px; top: 115px; }
.node-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); border-radius: 5px; font: 800 12px/1 monospace; color: var(--brand-bright); }
.node b, .node small { display: block; }
.node b { font-size: 12px; }
.node small { color: rgba(255,255,255,.56); font-size: 10px; margin-top: 3px; }
.network-core { width: 130px; height: 130px; border: 1px solid rgba(253,240,223,.28); border-radius: 50%; position: absolute; top: 124px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; }
.core-coin { width: 70px; height: 70px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--white); box-shadow: 0 0 54px rgba(253,240,223,.28); }
.core-coin img { width: 100%; height: 100%; object-fit: cover; }
.core-orbit { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.orbit-one { inset: -23px; }
.orbit-two { inset: -52px; border-style: dashed; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.settlement-path { position: absolute; top: 175px; height: 1px; background: linear-gradient(90deg, transparent, rgba(253,240,223,.8), transparent); }
.path-a { left: 125px; right: 55%; }
.path-b { left: 55%; right: 135px; }
.settlement-path i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 12px var(--brand-bright); animation: travel 2.3s ease-in-out infinite; }
.path-b i { animation-delay: 1.15s; }
@keyframes travel { from { left: 0; opacity: 0; } 15%,85% { opacity: 1; } to { left: calc(100% - 7px); opacity: 0; } }
.payment-event { position: absolute; left: 50%; top: 305px; transform: translateX(-50%); width: min(350px, calc(100% - 48px)); background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.13); border-radius: 6px; padding: 20px; backdrop-filter: blur(12px); }
.payment-event > div { display: flex; justify-content: space-between; color: var(--brand-bright); font: 700 9px/1 monospace; letter-spacing: .12em; }
.payment-event time { color: rgba(255,255,255,.55); }
.payment-event strong { display: block; font: 800 38px/1.1 Arial,sans-serif; letter-spacing: -.04em; margin: 18px 0 7px; }
.payment-event p { margin: 0; color: rgba(255,255,255,.55); font: 10px/1.4 monospace; }
.coverage-chip { position: absolute; bottom: 68px; padding: 8px 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 4px; font: 700 9px/1 monospace; color: rgba(255,255,255,.72); }
.coverage-chip span { color: var(--brand-bright); }
.chip-one { left: 40px; }
.chip-two { right: 40px; }
.network-footer { position: absolute; bottom: 0; left: 0; right: 0; height: 42px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; align-items: center; padding: 0 22px; color: rgba(255,255,255,.45); font: 8px/1 monospace; letter-spacing: .08em; }
.network-footer b { color: rgba(255,255,255,.72); }

.role-strip { border-block: 1px solid var(--line); background: var(--mist); }
.role-inner { min-height: 84px; display: flex; align-items: center; gap: 40px; }
.role-inner > p { margin: 0; font-size: 12px; color: var(--text-soft); white-space: nowrap; }
.role-list { flex: 1; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; font-weight: 800; }
.role-list span { display: flex; align-items: center; }
.role-list span::before { content: "✦"; color: var(--accent); margin-right: 8px; font-size: 8px; }

.shift { padding-block: 140px; }
.section-kicker { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.shift-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 90px; align-items: end; margin-top: 26px; }
.shift-heading h2, .layers h2, .updates h2, .statement h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; margin: 0; }
.shift-heading p, .layers-copy > p, .updates-panel > div > p { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 80px; }
.capability { min-height: 390px; padding: 28px 32px 36px 0; position: relative; border-right: 1px solid var(--line); }
.capability + .capability { padding-left: 32px; }
.capability:last-child { border-right: 0; }
.cap-number { color: var(--text-faint); font: 10px/1 monospace; }
.cap-glyph { height: 106px; display: flex; align-items: end; gap: 9px; margin: 42px 0 38px; }
.cap-glyph span { display: block; width: 22px; background: var(--brand-soft); border: 1px solid var(--brand); border-radius: 2px; }
.cap-glyph span:nth-child(1) { height: 46px; }
.cap-glyph span:nth-child(2) { height: 76px; background: var(--brand); }
.cap-glyph span:nth-child(3) { height: 102px; background: var(--brand-bright); border-color: var(--ink); }
.capability:nth-child(1) .cap-glyph { align-items: center; gap: 10px; }
.capability:nth-child(1) .cap-glyph span { margin: 0; transform: none; border-radius: 2px; }
.capability:nth-child(1) .cap-glyph span:nth-child(1) { width: 58px; height: 58px; background: var(--brand-soft); }
.capability:nth-child(1) .cap-glyph span:nth-child(2) { width: 58px; height: 58px; background: var(--brand); }
.capability:nth-child(1) .cap-glyph span:nth-child(3) { width: 58px; height: 58px; background: var(--brand-bright); border-color: var(--ink); }
.capability:nth-child(2) .cap-glyph { align-items: center; }
.capability:nth-child(2) .cap-glyph span { border-radius: 50%; height: 22px; }
.capability:nth-child(2) .cap-glyph span:nth-child(2) { width: 52px; height: 52px; }
.capability:nth-child(2) .cap-glyph span:nth-child(3) { width: 84px; height: 84px; }
.capability:nth-child(3) .cap-glyph { align-items: center; }
.capability:nth-child(3) .cap-glyph span { width: 60px; height: 60px; transform: rotate(45deg); background: transparent; }
.capability:nth-child(3) .cap-glyph span:nth-child(2) { margin-left: -34px; background: var(--brand); }
.capability:nth-child(3) .cap-glyph span:nth-child(3) { margin-left: -34px; background: var(--brand-bright); }
.capability h3 { font-size: 21px; letter-spacing: -.025em; margin: 0 0 14px; }
.capability p { color: var(--text-muted); line-height: 1.6; font-size: 14px; max-width: 310px; margin: 0; }

.layers { background: var(--panel); color: var(--on-panel); padding-block: 126px; position: relative; overflow: hidden; }
.layers::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; background: var(--brand-bright); filter: blur(200px); opacity:.1; right:-180px; bottom:-260px; }
.layers-inner { display: grid; grid-template-columns: .65fr 1fr; gap: 95px; align-items: center; position: relative; }
.layers-copy > p { color: rgba(255,255,255,.64); margin: 28px 0; max-width: 430px; }
.layers-copy .section-kicker { color: var(--brand-bright); margin: 0 0 28px; }
.text-link { font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 7px; }
.text-link span { color: var(--brand-bright); }
.stack { position: relative; padding-bottom: 76px; }
.stack-card { border: 1px solid rgba(255,255,255,.15); background: var(--panel-soft); border-radius: 8px; padding: 36px; min-height: 300px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.trust-card { position: relative; z-index: 2; margin-left: 55px; }
.rail-card { margin: -22px 55px 0 0; transform: translateY(76px); background: var(--panel-alt); }
.stack-label { font: 700 9px/1 monospace; letter-spacing: .14em; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 11px; }
.stack-label span { color: var(--brand-bright); }
.stack-card h3 { font-size: 26px; margin: 34px 0 12px; letter-spacing: -.03em; }
.stack-card p { color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.6; max-width: 500px; }
.stack-tags { display: flex; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.stack-tags span { padding: 8px 10px; background: rgba(253,240,223,.08); border: 1px solid rgba(253,240,223,.2); color: var(--brand-bright); border-radius: 3px; font: 700 9px/1 monospace; }
.rail-flow { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.rail-flow i { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; display: grid; place-items: center; font: 800 11px/1 monospace; font-style: normal; }
.rail-flow span { flex: 1; height: 1px; background: var(--brand-bright); opacity: .55; }
.rail-flow b { width: 62px; height: 34px; background: var(--brand-bright); color: var(--on-cream); border-radius: 17px; display: grid; place-items: center; font-size: 10px; }

.principles { padding-block: 140px; }
.principle-list { margin-top: 40px; border-top: 1px solid var(--line); }
.principle-list article { display: grid; grid-template-columns: 70px 1.1fr 1fr; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); min-height: 122px; }
.principle-list span { color: var(--accent); font: 10px/1 monospace; }
.principle-list h3 { font-size: 22px; letter-spacing: -.025em; margin: 0; }
.principle-list p { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }

.statement { min-height: 620px; background: var(--panel); color: var(--on-panel); display: grid; place-items: center; position: relative; overflow: hidden; }
.statement::before { content:"E"; position:absolute; right:-1vw; bottom:-22vw; font: 800 54vw/1 Arial,sans-serif; color: var(--brand-bright); opacity:.07; }
.statement-grid { opacity: .55; }
.statement-inner { position: relative; }
.statement h2 { max-width: 920px; font-size: clamp(50px, 7vw, 92px); }
.statement h2 span { color: var(--brand-bright); }

.updates { padding-block: 120px; }
.updates-panel { padding: 70px; background: var(--mist); border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 90px; }
.updates h2 { font-size: clamp(44px, 5vw, 62px); margin: 20px 0; }
.updates-form .signup-form { grid-template-columns: 1fr; }
.updates-form .signup-form button { justify-content: space-between; }
.updates-form .form-status { grid-column: 1; margin-bottom: -18px; }
.updates-form .signup-success { background: var(--input); }

.footer { border-top: 1px solid var(--line); min-height: 190px; padding-block: 40px; display: grid; grid-template-columns: auto 1fr minmax(300px, .8fr) auto; align-items: start; gap: 42px; font-size: 11px; color: var(--text-soft); }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 144px; }
.footer-tagline { margin: 0; line-height: 1.5; }
.legal { line-height: 1.5; margin: 0; }
.copyright { white-space: nowrap; margin: 0; }
.footer-controls { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.theme-toggle { appearance: none; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); min-height: 32px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 10px; font-weight: 800; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--accent); background: var(--mist); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle-dot { width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 50%; background: var(--ink); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .network-card { width: min(640px, 100%); margin-inline: auto; }
  .shift-heading, .layers-inner, .updates-panel { grid-template-columns: 1fr; gap: 48px; }
  .shift-heading p { max-width: 590px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(2) { border-right: 0; }
  .capability:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .capability:nth-child(4) { border-top: 1px solid var(--line); }
  .layers-copy { max-width: 620px; }
  .footer { grid-template-columns: auto 1fr auto; }
  .footer .legal { grid-column: 2 / 4; }
  .footer-controls { grid-column: 3; grid-row: 1; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 1180px); }
  .nav { height: 76px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 12px; }
  .hero { min-height: auto; padding-block: 64px 72px; gap: 56px; }
  .hero h1 { font-size: clamp(52px, 14.2vw, 68px); line-height: .92; }
  .hero-line { display: block; white-space: nowrap; }
  .hero-accent { display: inline-block; margin-top: .12em; white-space: nowrap; }
  .hero-lede { font-size: 17px; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form button { justify-content: space-between; }
  .form-status { grid-column: 1; }
  .network-card { height: 570px; }
  .node b { display: none; }
  .node-a { left: 18px; }
  .node-b { right: 18px; }
  .path-a { left: 60px; }
  .path-b { right: 60px; }
  .coverage-chip { bottom: 58px; font-size: 8.5px; }
  .chip-one { left: 18px; }
  .chip-two { right: 18px; }
  .role-inner { display: block; min-height: 0; padding-block: 30px 34px; }
  .role-inner > p { font-size: 11px; font-weight: 700; }
  .role-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; gap: 18px 28px; }
  .role-list span { font-size: 11px; }
  .role-list span::before { flex: 0 0 10px; margin-right: 9px; text-align: center; }
  .shift, .principles { padding-block: 90px; }
  .capability-grid { grid-template-columns: 1fr; margin-top: 60px; }
  .capability, .capability + .capability { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0 42px; }
  .capability:nth-child(3), .capability:nth-child(4) { border-top: 0; }
  .capability:last-child { border-bottom: 0; }
  .layers { padding-block: 90px; }
  .trust-card { margin-left: 18px; }
  .rail-card { margin-right: 18px; }
  .stack-card { padding: 28px; }
  .principle-list article { grid-template-columns: 38px 1fr; padding-block: 28px; }
  .principle-list p { grid-column: 2; }
  .statement { min-height: 540px; }
  .updates { padding-block: 72px; }
  .updates-panel { padding: 34px 24px; }
  .footer { min-height: 0; padding-block: 32px 36px; grid-template-columns: 1fr auto; align-items: center; gap: 0 20px; }
  .footer-brand img { width: 138px; }
  .footer-tagline { grid-column: 1 / -1; margin-top: 26px; }
  .footer .legal { grid-column: 1 / -1; margin-top: 8px; max-width: 540px; }
  .footer-controls { grid-row: 1; grid-column: 2; gap: 12px; }
  .theme-toggle { min-height: 30px; padding: 5px 9px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-two, .settlement-path i, .signup-success { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
