:root {
  --ink: #07110f;
  --ink-soft: #0d1916;
  --paper: #f4f5ef;
  --paper-warm: #eceee6;
  --white: #fff;
  --slate: #50605b;
  --slate-light: #81908b;
  --line: rgba(7, 17, 15, 0.12);
  --line-dark: rgba(255, 255, 255, 0.13);
  --mint: #86e8c5;
  --mint-bright: #b4f6dd;
  --mint-deep: #155e4b;
  --cyan: #7dd8dc;
  --amber: #d9aa65;
  --danger: #aa5a4e;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 24px 80px rgba(7, 17, 15, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
  --sans: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
code, pre { font-family: var(--mono); }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 15, 0.88);
  border-color: var(--line-dark);
  backdrop-filter: blur(20px);
}
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 720; letter-spacing: -.03em; font-size: 17px; }
.brand > span > span { color: var(--mint); }
.brand-mark { width: 30px; height: 30px; }
.brand-mark path:first-child { fill: rgba(134, 232, 197, .12); stroke: var(--mint); stroke-width: 1.7; }
.brand-mark path:last-child { fill: none; stroke: var(--mint-bright); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.desktop-nav a, .text-link { transition: color .2s ease; }
.desktop-nav a:hover, .text-link:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 21px; border: 1px solid transparent; border-radius: 10px;
  font-weight: 650; font-size: 15px; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 8px; }
.button-light { color: var(--ink); background: white; }
.button-primary { color: var(--ink); background: var(--mint); box-shadow: 0 10px 32px rgba(134, 232, 197, .16); }
.button-primary:hover { background: var(--mint-bright); }
.button-ghost { color: white; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-button { display: none; width: 40px; height: 40px; border: 0; background: transparent; position: relative; }
.menu-button span { position: absolute; left: 10px; right: 10px; height: 1px; background: white; transition: transform .2s ease, top .2s ease; }
.menu-button span:first-child { top: 15px; }
.menu-button span:last-child { top: 24px; }
.menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

.hero {
  position: relative; min-height: 860px; padding-top: 74px; overflow: hidden;
  color: white; background: #050b0a;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 280px;
  background: linear-gradient(180deg, transparent, #050b0a 86%); pointer-events: none;
}
.hero-media {
  position: absolute; inset: 0; background-image:
    linear-gradient(90deg, rgba(5,11,10,.8) 0%, rgba(5,11,10,.45) 37%, rgba(5,11,10,.02) 75%),
    linear-gradient(180deg, rgba(5,11,10,.15), rgba(5,11,10,.75)),
    url("trust-boundary-hero.webp");
  background-size: cover; background-position: 56% center; opacity: .92;
}
.hero-grid {
  position: absolute; inset: 0; opacity: .11; mask-image: linear-gradient(to bottom, black, transparent 76%);
  background-image: linear-gradient(rgba(134,232,197,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(134,232,197,.35) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-inner { min-height: 650px; position: relative; z-index: 2; display: grid; grid-template-columns: 1.14fr .7fr; align-items: center; gap: 100px; padding: 92px 0 54px; }
.hero-copy { max-width: 720px; }
.eyebrow, .kicker { font-size: 13px; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid rgba(134,232,197,.24); border-radius: 999px; color: var(--mint-bright); background: rgba(3,18,14,.38); backdrop-filter: blur(10px); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(134,232,197,.12); }
.hero h1 { margin: 24px 0 24px; max-width: 800px; font-size: clamp(50px, 5.7vw, 76px); line-height: 1.08; letter-spacing: -.055em; font-weight: 620; }
.hero h1 em { color: var(--mint-bright); font-style: normal; }
.hero-copy > p { max-width: 660px; margin: 0; color: rgba(255,255,255,.67); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: rgba(255,255,255,.56); font-size: 14px; }
.mini-shield { display: grid; place-items: center; width: 19px; height: 21px; color: var(--mint); font-size: 11px; background: rgba(134,232,197,.11); clip-path: polygon(50% 0, 100% 17%, 91% 73%, 50% 100%, 9% 73%, 0 17%); }

.proof-card {
  width: 360px; justify-self: end; padding: 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 20px;
  background: linear-gradient(145deg, rgba(13,29,25,.74), rgba(8,17,15,.66));
  box-shadow: 0 32px 100px rgba(0,0,0,.46); backdrop-filter: blur(18px); transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
}
.proof-card-top { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.proof-card-title { display: flex; align-items: center; gap: 8px; font: 600 12px var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.72); }
.proof-card-title span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.proof-card-time { font: 11px var(--mono); color: rgba(255,255,255,.4); }
.proof-status { display: flex; align-items: center; gap: 13px; padding: 20px 0; }
.proof-check { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(134,232,197,.35); border-radius: 50%; color: var(--mint); background: rgba(134,232,197,.1); }
.proof-status strong, .proof-status small { display: block; }
.proof-status strong { font-size: 16px; }
.proof-status small { margin-top: 5px; color: rgba(255,255,255,.46); font: 11px var(--mono); }
.proof-fields { margin: 0; padding: 4px 0 10px; }
.proof-fields div { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; }
.proof-fields dt { color: rgba(255,255,255,.46); font-size: 13px; }
.proof-fields dd { margin: 0; color: rgba(255,255,255,.82); font: 12px var(--mono); }
.verified-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--mint); }
.proof-hash { margin-top: 8px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(0,0,0,.2); }
.proof-hash span { display: block; margin-bottom: 5px; color: rgba(255,255,255,.38); font: 10px var(--mono); }
.proof-hash code { color: var(--cyan); font-size: 12px; }

.trust-strip { position: relative; z-index: 3; min-height: 118px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.trust-strip > div { position: relative; display: grid; align-content: center; gap: 6px; padding-left: 38px; border-right: 1px solid var(--line-dark); }
.trust-strip > div:first-child { border-left: 1px solid var(--line-dark); }
.trust-strip span { position: absolute; top: 25px; left: 16px; color: rgba(134,232,197,.42); font: 9px var(--mono); }
.trust-strip strong { font-size: 14px; letter-spacing: -.01em; }
.trust-strip small { color: rgba(255,255,255,.46); font-size: 12px; }

.section { padding: 118px 0; }
.section-heading { margin-bottom: 54px; }
.section-heading.narrow { max-width: 720px; margin-inline: auto; text-align: center; }
.kicker { margin-bottom: 17px; color: var(--mint-deep); }
.section h2, .cta-section h2, .evidence-section h2 { margin: 0; font-size: clamp(37px, 4vw, 56px); line-height: 1.12; letter-spacing: -.048em; font-weight: 620; }
.section-heading p, .verification-intro > p, .evidence-copy > p, .support-copy > p, .cta-panel > div > p { color: var(--slate); line-height: 1.85; font-size: 17px; }
.section-heading.narrow > p { max-width: 610px; margin: 18px auto 0; }
.split-heading { display: grid; grid-template-columns: 1.2fr .72fr; align-items: end; gap: 100px; }
.split-heading p { margin: 0; }

.problem-section { background: var(--paper); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.problem-card { min-height: 380px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.problem-card.muted { color: #53605c; background: #e7e9e2; }
.problem-card.trusted { color: white; background: var(--ink); box-shadow: var(--shadow); }
.card-label { display: inline-flex; padding: 6px 9px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(7,17,15,.06); }
.trusted .card-label { color: var(--mint); background: rgba(134,232,197,.1); }
.uncertain-path, .certain-path { display: grid; grid-template-columns: auto 1fr 44px 1fr auto; align-items: center; gap: 10px; margin: 48px 0 42px; color: var(--slate-light); font: 11px var(--mono); }
.trusted .certain-path { color: rgba(255,255,255,.47); }
.uncertain-path i, .certain-path i { height: 1px; background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px); }
.uncertain-path b, .certain-path b { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(7,17,15,.13); border-radius: 50%; font-size: 18px; }
.certain-path b { color: var(--mint); border-color: rgba(134,232,197,.25); background: rgba(134,232,197,.08); }
.problem-card h3 { margin: 0 0 22px; font-size: 23px; letter-spacing: -.03em; }
.problem-card ul { margin: 0; padding: 0; list-style: none; }
.problem-card li { position: relative; padding: 9px 0 9px 25px; font-size: 15px; }
.cross-list li::before, .check-list li::before { position: absolute; left: 0; top: 8px; }
.cross-list li::before { content: "×"; color: #a2766e; }
.check-list li::before { content: "✓"; color: var(--mint); }
.check-list li { color: rgba(255,255,255,.62); }

.architecture-section { background: #e9ece5; }
.architecture-panel {
  display: grid; grid-template-columns: 1fr .48fr 1fr .48fr 1.18fr .48fr 1fr; align-items: center;
  min-height: 276px; padding: 38px; border: 1px solid rgba(7,17,15,.13); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.arch-node { display: flex; flex-direction: column; align-items: center; text-align: center; }
.node-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(7,17,15,.14); border-radius: 17px; background: #f8f9f4; box-shadow: 0 10px 30px rgba(7,17,15,.08); }
.arch-node strong { font-size: 15px; }
.arch-node small { margin-top: 6px; color: var(--slate); font-size: 12px; }
.user-icon span { width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50% 50% 44% 44%; position: relative; }
.user-icon span::after { content: ""; position: absolute; left: -7px; right: -7px; top: 25px; height: 12px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 20px 20px 0 0; }
.gateway-icon { display: flex; gap: 4px; align-items: center; justify-content: center; }
.gateway-icon i { width: 8px; height: 28px; border-radius: 3px; background: var(--ink); opacity: .75; }
.gateway-icon i:nth-child(2) { height: 38px; background: var(--mint-deep); }
.tap-node { position: relative; padding: 26px 10px 20px; border: 1px solid rgba(21,94,75,.2); border-radius: 20px; background: rgba(134,232,197,.08); }
.tap-node .node-icon { background: var(--ink); color: var(--mint); border-color: var(--ink); }
.tap-icon { font: 700 22px var(--mono); }
.confidential-tag { position: absolute; top: -10px; padding: 5px 9px; border-radius: 4px; color: var(--mint-deep); background: #d5eadf; font: 700 9px var(--mono); letter-spacing: .08em; }
.cloud-icon span { width: 34px; height: 15px; border: 1.5px solid var(--ink); border-radius: 20px; position: relative; }
.cloud-icon span::before, .cloud-icon span::after { content: ""; position: absolute; bottom: -1px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0; background: #f8f9f4; }
.cloud-icon span::before { left: 4px; width: 15px; height: 17px; }
.cloud-icon span::after { right: 3px; width: 12px; height: 12px; }
.arch-link { display: flex; flex-direction: column; align-items: center; color: var(--slate-light); }
.arch-link span { margin-bottom: 9px; font: 10px var(--mono); white-space: nowrap; }
.arch-link i { width: 100%; height: 1px; position: relative; background: currentColor; }
.arch-link i::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 5px solid currentColor; border-top: 3px solid transparent; border-bottom: 3px solid transparent; }
.arch-link.active { color: var(--mint-deep); }
.principle-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-step { padding: 32px 26px 34px; border-right: 1px solid var(--line); }
.principle-step:last-child { border-right: 0; }
.principle-step > span { color: var(--mint-deep); font: 10px var(--mono); }
.principle-step h3 { margin: 19px 0 12px; font-size: 18px; }
.principle-step p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.8; }

.verification-section { color: white; background: var(--ink); position: relative; overflow: hidden; }
.verification-section::before { content: ""; position: absolute; width: 550px; height: 550px; left: -220px; top: 80px; border-radius: 50%; background: rgba(48,136,111,.16); filter: blur(100px); }
.verification-layout { display: grid; grid-template-columns: .78fr 1.15fr; gap: 128px; align-items: start; position: relative; }
.verification-intro { position: sticky; top: 130px; }
.verification-intro .kicker { color: var(--mint); }
.verification-intro > p { color: rgba(255,255,255,.52); margin: 22px 0 32px; }
.profile-switch { display: flex; width: max-content; padding: 4px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.04); }
.profile-switch button { border: 0; padding: 10px 14px; border-radius: 7px; color: rgba(255,255,255,.54); background: transparent; cursor: pointer; font-size: 13px; }
.profile-switch button.active { color: var(--ink); background: var(--mint); }
.profile-note { margin-top: 15px; padding: 14px; border-left: 2px solid var(--mint); background: rgba(255,255,255,.035); }
.profile-note strong, .profile-note span { display: block; }
.profile-note strong { color: var(--mint-bright); font: 12px var(--mono); }
.profile-note span { margin-top: 6px; color: rgba(255,255,255,.5); font-size: 12px; }
.verification-timeline { margin: 0; padding: 0; list-style: none; }
.verification-timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 25px; padding: 0 0 55px; }
.verification-timeline li::after { content: ""; position: absolute; left: 23px; top: 49px; bottom: 5px; width: 1px; background: linear-gradient(var(--mint-deep), rgba(255,255,255,.08)); }
.verification-timeline li:last-child::after { display: none; }
.verification-timeline li > span { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(134,232,197,.32); border-radius: 50%; color: var(--mint); background: rgba(134,232,197,.07); font: 13px var(--mono); }
.verification-timeline small { color: var(--mint); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.verification-timeline h3 { margin: 10px 0 12px; font-size: 22px; letter-spacing: -.025em; }
.verification-timeline p { margin: 0; color: rgba(255,255,255,.56); font-size: 15px; line-height: 1.85; }
.verification-timeline code, .stream-warning code { padding: 2px 5px; border-radius: 4px; color: var(--mint-bright); background: rgba(134,232,197,.08); font-size: .88em; }

.evidence-section { padding: 100px 0; color: white; background: #0a1412; border-top: 1px solid var(--line-dark); }
.evidence-grid { display: grid; grid-template-columns: .74fr 1.2fr; align-items: center; gap: 100px; }
.evidence-copy .kicker { color: var(--mint); }
.evidence-copy > p { color: rgba(255,255,255,.5); }
.inline-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; padding-bottom: 4px; color: var(--mint); border-bottom: 1px solid rgba(134,232,197,.35); font-size: 15px; font-weight: 650; }
.claims-window { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: #07100e; box-shadow: 0 36px 90px rgba(0,0,0,.3); }
.window-bar { height: 45px; display: flex; align-items: center; gap: 6px; padding: 0 15px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); }
.window-bar > span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.17); }
.window-bar small { margin-left: auto; color: rgba(255,255,255,.38); font: 10px var(--mono); }
.claims-window pre { margin: 0; padding: 29px 30px; overflow: auto; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.9; }
.c-key { color: #8ccbd0; }.c-value { color: #b6e6d3; }.c-num { color: #d8b177; }.c-dim { color: rgba(255,255,255,.28); }
.window-status { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.52); font: 10px var(--mono); background: rgba(255,255,255,.02); }
.window-status span { color: var(--mint); }.window-status i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.2); }

.scope-section { background: #e9ece5; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scope-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.52); }
.scope-card.can { border-top: 3px solid var(--mint-deep); }
.scope-card.cannot { border-top: 3px solid #9d6d61; }
.scope-title { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.scope-title > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--mint-deep); background: rgba(21,94,75,.1); }
.cannot .scope-title > span { color: #8b594f; background: rgba(139,89,79,.1); }
.scope-title small { color: var(--slate-light); font: 8px var(--mono); letter-spacing: .12em; }
.scope-title h3 { margin: 5px 0 0; font-size: 21px; }
.scope-card ul { margin: 0; padding: 0; list-style: none; }
.scope-card li { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.scope-card li strong { font-size: 14px; }.scope-card li span { color: var(--slate); font-size: 14px; line-height: 1.65; }
.stream-warning { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; margin-top: 18px; padding: 22px 25px; border: 1px solid rgba(184,125,74,.22); border-radius: 14px; background: rgba(217,170,101,.08); }
.warning-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #936a36; border: 1px solid rgba(147,106,54,.3); font: 600 14px var(--mono); }
.stream-warning strong { font-size: 15px; }.stream-warning p { margin: 7px 0 0; color: var(--slate); font-size: 14px; line-height: 1.75; }
.stream-warning code { color: #68502f; background: rgba(147,106,54,.1); }

.support-section { background: var(--paper); }
.support-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: 90px; align-items: start; }
.support-copy > p { margin-top: 20px; }
.support-table { border-top: 1px solid var(--ink); }
.support-row { min-height: 70px; display: grid; grid-template-columns: 1fr 1.25fr 76px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.support-row code { color: var(--slate); font-size: 11px; }
.support-row b { width: max-content; padding: 5px 8px; border-radius: 5px; color: var(--mint-deep); background: rgba(21,94,75,.08); font-size: 11px; }
.support-row.header-row { min-height: 44px; color: var(--slate-light); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }

.cta-section { padding: 20px 0 100px; background: var(--paper); }
.cta-panel { min-height: 340px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .7fr; align-items: center; gap: 70px; padding: 62px; border-radius: var(--radius-lg); color: white; background: var(--ink); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .kicker { color: var(--mint); }
.cta-panel > div > p { max-width: 660px; color: rgba(255,255,255,.5); }
.cta-links { display: flex; flex-direction: column; gap: 10px; }
.cta-glow { position: absolute; z-index: 0; width: 520px; height: 520px; right: -190px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(73,191,157,.25), transparent 68%); }

.site-footer { padding: 74px 0 24px; color: rgba(255,255,255,.52); background: #050b0a; }
.footer-main { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 65px; padding-bottom: 60px; }
.footer-brand p { margin: 18px 0 0; font-size: 14px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; font-size: 13px; }
.footer-links strong { margin-bottom: 5px; color: white; font-size: 13px; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line-dark); font: 11px var(--mono); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

/* Documentation pages */
.docs-body { background: #f5f6f1; }
.docs-hero { padding: 150px 0 64px; color: white; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.docs-hero .breadcrumbs { display: flex; gap: 8px; margin-bottom: 28px; color: rgba(255,255,255,.48); font-size: 14px; }
.docs-hero .breadcrumbs a:hover { color: var(--mint); }
.docs-hero h1 { max-width: 800px; margin: 0; font-size: clamp(42px, 5vw, 66px); line-height: 1.08; letter-spacing: -.05em; font-weight: 620; }
.docs-hero p { max-width: 760px; margin: 22px 0 0; color: rgba(255,255,255,.62); font-size: 19px; line-height: 1.85; }
.docs-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; color: rgba(255,255,255,.46); font: 12px var(--mono); }
.docs-shell { display: grid; grid-template-columns: 250px minmax(0, 770px); gap: 90px; align-items: start; padding: 64px 0 120px; }
.docs-sidebar { position: sticky; top: 108px; }
.docs-sidebar strong { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.docs-sidebar nav { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.docs-sidebar a { padding: 9px 0 9px 16px; color: var(--slate); font-size: 14px; line-height: 1.5; }
.docs-sidebar a:hover, .docs-sidebar a.active { color: var(--mint-deep); border-left: 1px solid var(--mint-deep); margin-left: -1px; }
.docs-sidebar .sidebar-card { margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.sidebar-card small, .sidebar-card strong { display: block; }
.sidebar-card small { color: var(--slate-light); font: 10px var(--mono); }.sidebar-card strong { margin: 7px 0 10px; font-size: 14px; }.sidebar-card a { padding: 0; color: var(--mint-deep); font-weight: 650; }
.docs-content { min-width: 0; }
.docs-content > section { padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.docs-content > section:last-child { border-bottom: 0; }
.docs-content h2 { margin: 0 0 22px; font-size: 35px; letter-spacing: -.035em; }
.docs-content h3 { margin: 34px 0 13px; font-size: 22px; letter-spacing: -.02em; }
.docs-content p, .docs-content li { color: #3f4e49; font-size: 17px; line-height: 1.85; }
.docs-content ul, .docs-content ol { padding-left: 22px; }
.docs-content li { margin: 6px 0; }
.docs-content a:not(.button) { color: var(--mint-deep); text-decoration: underline; text-decoration-color: rgba(21,94,75,.3); text-underline-offset: 3px; }
.docs-content code:not(pre code) { padding: 2px 5px; border: 1px solid rgba(7,17,15,.08); border-radius: 4px; color: #285f51; background: #e9eee9; font-size: .88em; }
.code-block { position: relative; margin: 18px 0 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; background: #091310; }
.code-block pre { margin: 0; padding: 24px 54px 24px 24px; overflow: auto; color: #d2ded9; font-size: 14px; line-height: 1.75; }
.copy-button { position: absolute; top: 10px; right: 10px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.05); cursor: pointer; font-size: 12px; }
.copy-button:hover { color: white; border-color: rgba(255,255,255,.25); }
.callout { display: grid; grid-template-columns: 30px 1fr; gap: 14px; margin: 22px 0; padding: 18px; border: 1px solid rgba(21,94,75,.18); border-radius: 12px; background: rgba(134,232,197,.08); }
.callout.warning { border-color: rgba(170,90,78,.2); background: rgba(170,90,78,.07); }
.callout .callout-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--mint-deep); border: 1px solid rgba(21,94,75,.25); font: 700 11px var(--mono); }
.callout.warning .callout-icon { color: var(--danger); border-color: rgba(170,90,78,.28); }
.callout strong { display: block; margin-bottom: 6px; font-size: 16px; }
.callout p { margin: 0; font-size: 15px; line-height: 1.75; }
.step-heading { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: center; margin-bottom: 18px; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--mint-deep); background: rgba(21,94,75,.1); font: 12px var(--mono); }
.step-heading h2 { margin: 0; }
.check-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.check-table th, .check-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.check-table th { color: var(--slate-light); font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.check-table td { color: var(--slate); line-height: 1.7; }
.check-table td:first-child { color: var(--ink); font-weight: 650; }
.doc-next { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 25px; border-radius: 14px; color: white; background: var(--ink); }
.doc-next strong, .doc-next span { display: block; }.doc-next span { margin-top: 7px; color: rgba(255,255,255,.45); font-size: 14px; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .hero-inner { gap: 40px; grid-template-columns: 1fr .56fr; }
  .proof-card { width: 320px; }
  .verification-layout { gap: 70px; }
  .support-layout { gap: 50px; }
  .docs-shell { grid-template-columns: 210px minmax(0, 1fr); gap: 55px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .desktop-only { display: none; }
  .menu-button { display: block; }
  .mobile-nav { display: flex; position: fixed; inset: 74px 0 auto; max-height: 0; overflow: hidden; flex-direction: column; padding: 0 24px; background: rgba(7,17,15,.98); transition: max-height .25s ease, padding .25s ease; }
  .mobile-nav.open { max-height: calc(100vh - 74px); padding-block: 16px 24px; border-top: 1px solid var(--line-dark); }
  .mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
  .hero { min-height: 940px; }
  .hero-media { opacity: .58; background-position: 68% center; }
  .hero-inner { grid-template-columns: 1fr; align-content: center; padding-top: 90px; }
  .hero-copy { max-width: 630px; }
  .proof-card { width: 100%; max-width: 440px; justify-self: start; transform: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div { min-height: 92px; border-bottom: 1px solid var(--line-dark); }
  .section { padding: 84px 0; }
  .problem-grid, .scope-grid, .split-heading, .verification-layout, .evidence-grid, .support-layout, .cta-panel { grid-template-columns: 1fr; }
  .split-heading { gap: 22px; }
  .architecture-panel { grid-template-columns: 1fr; gap: 14px; }
  .arch-link { width: 1px; height: 38px; flex-direction: row; justify-self: center; }
  .arch-link span { display: none; }.arch-link i { height: 100%; width: 1px; }.arch-link i::after { right: -3px; top: auto; bottom: 0; transform: rotate(90deg); }
  .principle-steps { grid-template-columns: 1fr 1fr; }
  .principle-step:nth-child(2) { border-right: 0; }.principle-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .verification-intro { position: static; }
  .support-layout { gap: 36px; }
  .cta-panel { padding: 42px; gap: 30px; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-links:last-child { display: none; }
  .docs-shell { grid-template-columns: 1fr; padding-top: 38px; }
  .docs-sidebar { position: static; }
  .docs-sidebar nav { display: grid; grid-template-columns: 1fr 1fr; }
  .docs-sidebar .sidebar-card { display: none; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { height: 66px; }
  .site-header .button-small { display: none; }
  .mobile-nav { inset: 66px 0 auto; }
  .hero { min-height: 920px; padding-top: 66px; }
  .hero-inner { min-height: 730px; padding-top: 68px; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 16px; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .proof-card { padding: 16px; }
  .trust-strip { margin-top: 28px; }
  .trust-strip > div { padding-left: 28px; }.trust-strip span { display: none; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 38px; }
  .section h2, .cta-section h2, .evidence-section h2 { font-size: 36px; }
  .problem-grid, .scope-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 25px; min-height: 350px; }
  .uncertain-path, .certain-path { grid-template-columns: auto 1fr 36px 1fr auto; font-size: 9px; }
  .uncertain-path b, .certain-path b { width: 36px; height: 36px; }
  .architecture-panel { padding: 30px 22px; }
  .principle-steps { grid-template-columns: 1fr; }
  .principle-step, .principle-step:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .verification-layout, .evidence-grid { gap: 60px; }
  .claims-window pre { padding: 22px 18px; font-size: 11px; }
  .scope-card { padding: 24px; }
  .scope-card li { grid-template-columns: 1fr; gap: 5px; }
  .stream-warning { grid-template-columns: 1fr; }
  .support-row { grid-template-columns: 1fr auto; padding: 14px 0; }
  .support-row code, .support-row.header-row { display: none; }
  .cta-panel { padding: 34px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 9px; }
  .docs-hero { padding-top: 120px; }
  .docs-hero h1 { font-size: 42px; }
  .docs-sidebar nav { grid-template-columns: 1fr; }
  .docs-content h2 { font-size: 30px; }
  .check-table { display: block; overflow-x: auto; }
  .doc-next { grid-template-columns: 1fr; }
}

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