:root {
  --navy: #071426;
  --navy-2: #0b2139;
  --ink: #10233f;
  --blue: #54aeef;
  --blue-deep: #176fab;
  --mint: #54e6b3;
  --paper: #f4f7f8;
  --white: #ffffff;
  --muted: #627184;
  --line: #dce4e8;
  --shadow: 0 24px 80px rgba(7, 20, 38, .15);
  --max: 1240px;
  --font: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
.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: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--mint); color: var(--navy); font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px max(28px, calc((100vw - var(--max))/2)); background: rgba(244,247,248,.92); border-bottom: 1px solid rgba(16,35,63,.08); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand img { border-radius: 8px; }
.brand-word { font-size: 19px; letter-spacing: -.04em; }
.brand-word span { color: var(--blue-deep); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue-deep); transition: right .2s; }
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { right: 0; }
.nav-login { color: var(--blue-deep); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; background: none; border: 0; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--blue); border: 1px solid var(--blue); color: var(--navy); font-weight: 800; letter-spacing: -.01em; box-shadow: 0 10px 30px rgba(84,174,239,.18); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-3px); background: #74c2f6; box-shadow: 0 16px 36px rgba(84,174,239,.28); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-light { background: var(--white); border-color: var(--white); color: var(--navy); }
.button-mint { background: var(--mint); border-color: var(--mint); box-shadow: 0 10px 32px rgba(84,230,179,.18); }
.text-link { display: inline-flex; gap: 10px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-weight: 750; }

.hero { min-height: 780px; display: grid; grid-template-columns: .9fr 1.15fr; align-items: center; gap: 30px; max-width: 1440px; margin: 0 auto; padding: 78px 48px 92px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-left: max(0px, calc((100vw - var(--max))/2 - 48px)); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 30px; color: var(--blue-deep); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 36px; height: 2px; background: currentColor; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(64px, 7.2vw, 110px); line-height: .86; letter-spacing: -.075em; font-weight: 800; }
.hero h1 em { color: var(--blue-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lede { max-width: 600px; margin: 34px 0 30px; color: #415166; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.signal-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; color: var(--muted); font-size: 12px; font-family: var(--mono); list-style: none; }
.signal-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(84,230,179,.12); }
.hero-visual { position: relative; min-width: 0; }
.hero-image-wrap { position: relative; margin-right: -13vw; overflow: hidden; box-shadow: var(--shadow); clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 10%); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); pointer-events: none; }
.hero-image-wrap img { width: 100%; min-height: 610px; object-fit: cover; object-position: 57% center; animation: image-breathe 12s ease-in-out infinite alternate; }
.live-card { position: absolute; z-index: 4; min-width: 210px; padding: 17px 18px; background: rgba(255,255,255,.94); border-left: 3px solid var(--mint); box-shadow: 0 16px 46px rgba(7,20,38,.2); backdrop-filter: blur(10px); }
.live-card strong, .live-card small, .live-card span { display: block; }
.live-card strong { margin: 5px 0; font-size: 17px; }
.live-card small { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.live-label { color: var(--blue-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-card-a { left: -5%; bottom: 10%; animation: float-card 5s ease-in-out infinite; }
.live-card-b { right: 4%; top: 9%; border-color: var(--blue); animation: float-card 5.8s 1s ease-in-out infinite; }
.status-dot { width: 8px; height: 8px; margin-bottom: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(84,230,179,.16); }

.trust-strip { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 22px max(28px, calc((100vw - var(--max))/2)); overflow: hidden; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip > p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; color: var(--ink); font-size: 15px; font-weight: 750; }
.marquee span::after { content: ""; width: 4px; height: 4px; margin: 0 28px; border-radius: 50%; background: var(--blue); }

.section { padding: 120px max(28px, calc((100vw - var(--max))/2)); }
.section-intro { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 70px; }
.section-number { margin: 10px 0 0; color: var(--blue-deep); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-intro h2, .safety-heading h2 { margin: 0; font-size: clamp(42px, 5.1vw, 74px); line-height: 1.02; letter-spacing: -.055em; }
.section-intro > div > p { max-width: 660px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.platform-section { background: var(--paper); }
.ledger-stage { display: grid; grid-template-columns: 310px 1fr; min-height: 540px; margin-bottom: 70px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.ledger-sidebar { padding: 34px; border-right: 1px solid rgba(255,255,255,.09); }
.mini-label { margin: 0 0 10px; color: #8ba2b8; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.ledger-sidebar h3, .ledger-main h3 { margin: 0; font-size: 23px; }
.wallet-total { margin: 34px 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.wallet-total span, .wallet-total strong { display: block; }
.wallet-total span { margin-bottom: 6px; color: #8ba2b8; font-size: 12px; }
.wallet-total strong { font-size: 32px; letter-spacing: -.04em; }
.family-row { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; margin: 8px -15px; padding: 13px 15px; color: #a7b8c7; font-size: 12px; }
.family-row strong { grid-column: 2; color: var(--white); font-size: 14px; }
.family-row.active { background: #102c49; color: var(--white); }
.currency-mark { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(84,230,179,.5); border-radius: 50%; color: var(--mint); font-family: var(--mono); font-size: 10px; }
.ledger-main { display: flex; flex-direction: column; padding: 34px 42px; background: radial-gradient(circle at 100% 0, rgba(84,174,239,.13), transparent 38%); }
.ledger-topline { display: flex; justify-content: space-between; align-items: flex-start; }
.health { display: inline-flex; gap: 8px; align-items: center; color: #b8cad8; font-size: 11px; }
.health i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.holding-stack { display: grid; gap: 14px; margin: 48px 0; }
.holding { position: relative; display: grid; grid-template-columns: 1fr 130px 100px; align-items: center; gap: 20px; min-height: 72px; padding: 0 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.holding::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill); background: linear-gradient(90deg, rgba(84,174,239,.16), rgba(84,230,179,.03)); transform-origin: left; animation: fill-in 1.4s var(--delay) both; }
.holding > * { position: relative; }
.holding span { color: #a8bdce; font-size: 12px; }
.holding b { font-family: var(--mono); font-size: 12px; }
.holding em { color: var(--mint); font-family: var(--mono); font-size: 10px; font-style: normal; text-align: right; }
.flow-row { position: relative; display: grid; grid-template-columns: repeat(7, auto); align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 22px; background: rgba(255,255,255,.035); border-top: 1px solid rgba(255,255,255,.08); }
.flow-row div span, .flow-row div b { display: block; }
.flow-row div span { color: #7f97aa; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.flow-row div b { margin-top: 4px; font-size: 11px; }
.flow-row > i { width: 48px; height: 1px; background: #295174; }
.flow-pulse { position: absolute; top: 0; left: 6%; width: 34px; height: 2px; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: flow 4s linear infinite; }

.capability-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability { min-height: 380px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, transform .25s; }
.capability:hover { position: relative; z-index: 2; background: var(--white); transform: translateY(-5px); box-shadow: var(--shadow); }
.cap-index { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 40px; border: 1px solid var(--blue-deep); color: var(--blue-deep); font-family: var(--mono); font-size: 12px; }
.capability h3 { max-width: 390px; margin: 0 0 18px; font-size: 30px; letter-spacing: -.04em; }
.capability p { max-width: 520px; color: var(--muted); line-height: 1.65; }
.capability ul { margin: 26px 0 0; padding: 0; list-style: none; }
.capability li { position: relative; padding: 8px 0 8px 22px; font-size: 13px; font-weight: 700; }
.capability li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--mint); }

.architecture-section { background: var(--navy); color: var(--white); overflow: hidden; }
.section-intro.light .section-number, .eyebrow.light { color: var(--mint); }
.section-intro.light > div > p { color: #9fb0c0; }
.architecture-flow { position: relative; display: grid; grid-template-columns: 1fr 120px 1.15fr 120px 1fr; align-items: center; margin: 80px 0; }
.architecture-node { min-height: 190px; padding: 32px; border: 1px solid #25425d; }
.architecture-node span { color: var(--blue); font-family: var(--mono); font-size: 11px; }
.architecture-node b, .architecture-node small { display: block; }
.architecture-node b { margin: 36px 0 9px; font-size: 24px; }
.architecture-node small { color: #94a7b9; line-height: 1.5; }
.architecture-node.featured { position: relative; border-color: var(--mint); background: #0d2943; transform: scale(1.06); box-shadow: 0 0 0 12px rgba(84,230,179,.035); }
.architecture-node.featured::before { content: "CORE"; position: absolute; right: 18px; top: 18px; padding: 5px 7px; background: var(--mint); color: var(--navy); font-family: var(--mono); font-size: 9px; font-weight: 900; }
.architecture-line { position: relative; height: 1px; background: #31526d; }
.architecture-line i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: node-travel 2.2s linear infinite; }
.architecture-note { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 34px 0 0; border-top: 1px solid #244159; }
.architecture-note span { color: var(--mint); font-family: Georgia, serif; font-size: 25px; font-style: italic; }
.architecture-note p { max-width: 700px; margin: 0; color: #a5b7c6; line-height: 1.7; }

.use-cases-section { background: var(--white); }
.use-case-list { border-top: 1px solid var(--line); }
.use-case { display: grid; grid-template-columns: 70px 1fr 180px; gap: 30px; align-items: start; padding: 38px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.use-case:hover { padding-left: 18px; padding-right: 18px; background: var(--paper); }
.use-case > span { color: var(--blue-deep); font-family: var(--mono); font-size: 11px; }
.use-case h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.use-case p { max-width: 700px; margin: 10px 0 0; color: var(--muted); line-height: 1.65; }
.use-case > b { color: var(--blue-deep); font-size: 11px; letter-spacing: .08em; text-align: right; text-transform: uppercase; }

.developer-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; background: #0a1c31; color: var(--white); }
.developer-copy h2 { margin: 28px 0 22px; font-size: clamp(42px, 5vw, 68px); line-height: 1.03; letter-spacing: -.055em; }
.developer-copy > p:not(.section-number) { max-width: 520px; margin: 0 0 32px; color: #9fb1c0; line-height: 1.7; }
.code-window { overflow: hidden; background: #06111f; border: 1px solid #203b55; box-shadow: 0 28px 70px rgba(0,0,0,.3); }
.code-top { display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 16px; border-bottom: 1px solid #1b344d; }
.code-top > span { width: 8px; height: 8px; border-radius: 50%; background: #25445f; }
.code-top > span:nth-child(2) { background: var(--blue); }
.code-top > span:nth-child(3) { background: var(--mint); }
.code-top b { margin-left: 8px; color: #8da5b9; font-family: var(--mono); font-size: 10px; font-weight: 400; }
.code-top button { margin-left: auto; padding: 5px 8px; background: transparent; border: 1px solid #2c4d69; color: #a8bbc9; font-family: var(--mono); font-size: 9px; cursor: pointer; }
.code-window pre { min-height: 330px; margin: 0; padding: 30px; overflow-x: auto; color: #e8f1f6; font: 13px/1.9 var(--mono); tab-size: 2; }
.code-muted { color: #667f94; }.code-blue { color: #70c2ff; }.code-green { color: #70e3b9; }.code-gold { color: #f2c677; }
.code-result { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 16px 24px; background: #0b263b; border-top: 1px solid #1f415b; }
.code-result > span { color: var(--mint); font-weight: 900; }
.code-result code { color: #d9e7ef; font-family: var(--mono); font-size: 11px; }
.code-result small { color: #7691a5; font-family: var(--mono); font-size: 9px; }

.safety-section { background: var(--paper); }
.safety-heading { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 60px; }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.safety-item { min-height: 340px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.safety-item strong { display: block; color: var(--blue-deep); font: 400 76px/1 Georgia, serif; letter-spacing: -.06em; }
.safety-item span { display: block; max-width: 230px; margin: 20px 0 16px; font-size: 16px; font-weight: 800; }
.safety-item p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.cta-section { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; min-height: 640px; padding: 100px max(28px, calc((100vw - var(--max))/2)); overflow: hidden; background: var(--blue-deep); color: var(--white); }
.cta-section h2 { margin: 0; font-size: clamp(64px, 7vw, 100px); line-height: .9; letter-spacing: -.07em; }
.cta-section p:not(.eyebrow) { max-width: 580px; margin: 30px 0; color: #d1e7f5; font-size: 18px; line-height: 1.7; }
.light-link { color: var(--white); }
.cta-orbit { position: relative; display: grid; place-items: center; width: min(430px, 37vw); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.cta-orbit::before, .cta-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.cta-orbit::before { inset: 18%; }.cta-orbit::after { inset: 36%; }
.cta-orbit span { display: grid; place-items: center; width: 92px; height: 92px; z-index: 2; background: var(--navy); border: 1px solid var(--mint); color: var(--mint); font: 800 25px var(--mono); }
.cta-orbit i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--mint); transform-origin: 6px calc(215px + 6px); animation: orbit 8s linear infinite; }
.cta-orbit i:nth-child(2) { top: 18%; width: 9px; height: 9px; background: var(--white); transform-origin: 4px calc(137px + 4px); animation-duration: 5.5s; animation-direction: reverse; }
.cta-orbit i:nth-child(3) { top: 36%; width: 7px; height: 7px; background: var(--navy); transform-origin: 3px calc(59px + 3px); animation-duration: 3.5s; }

.site-footer { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding: 70px max(28px, calc((100vw - var(--max))/2)) 30px; background: var(--navy); color: var(--white); }
.footer-brand p { max-width: 320px; color: #8ea4b6; line-height: 1.6; }
.site-footer h3 { margin: 8px 0 20px; color: #8399aa; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer > div:not(.footer-brand) a { display: block; margin: 12px 0; color: #d2dce4; font-size: 13px; }
.site-footer > div:not(.footer-brand) a:hover { color: var(--mint); }
.footer-legal { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid #1f374d; color: #71879a; font-size: 11px; }

/* Documentation and help */
.subpage-hero { padding: 90px max(28px, calc((100vw - var(--max))/2)) 70px; background: var(--navy); color: var(--white); }
.subpage-hero .eyebrow { color: var(--mint); }
.subpage-hero h1 { max-width: 880px; margin: 0; font-size: clamp(56px, 7vw, 96px); line-height: .95; letter-spacing: -.065em; }
.subpage-hero > p:last-child { max-width: 720px; margin: 28px 0 0; color: #9fb1c0; font-size: 19px; line-height: 1.7; }
.doc-shell { display: grid; grid-template-columns: 270px minmax(0, 800px) 1fr; gap: 60px; max-width: 1440px; margin: 0 auto; padding: 60px 48px 110px; }
.doc-nav { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
.doc-nav h2 { margin: 0 0 18px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.doc-nav a { display: block; padding: 9px 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: 13px; }
.doc-nav a:hover, .doc-nav a.active { border-color: var(--blue-deep); color: var(--blue-deep); background: #eef5f8; }
.doc-content { min-width: 0; }
.doc-content section { scroll-margin-top: 110px; margin-bottom: 70px; }
.doc-content h2 { margin: 0 0 20px; font-size: 36px; letter-spacing: -.04em; }
.doc-content h3 { margin: 34px 0 12px; font-size: 21px; }
.doc-content p, .doc-content li { color: #48586b; line-height: 1.72; }
.doc-content ul { padding-left: 20px; }
.doc-content code:not(pre code) { padding: 2px 5px; background: #e6eef2; color: #0c527f; font-family: var(--mono); font-size: .86em; }
.doc-callout { margin: 24px 0; padding: 20px 22px; border-left: 4px solid var(--mint); background: #eaf8f3; }
.doc-callout strong { display: block; margin-bottom: 5px; }
.doc-code { position: relative; margin: 22px 0; overflow: hidden; background: #081827; color: #dfeaf0; }
.doc-code pre { margin: 0; padding: 24px; overflow-x: auto; font: 12px/1.8 var(--mono); }
.doc-code button { position: absolute; right: 12px; top: 12px; padding: 6px 9px; background: #102c46; border: 1px solid #2b4d69; color: #b8cad6; font-family: var(--mono); font-size: 9px; cursor: pointer; }
.doc-table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 13px; }
.doc-table th { padding: 11px 12px; background: var(--navy); color: var(--white); text-align: left; }
.doc-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table td:first-child { color: var(--blue-deep); font-family: var(--mono); font-weight: 700; }
.on-this-page { position: sticky; top: 100px; align-self: start; padding-left: 24px; border-left: 1px solid var(--line); }
.on-this-page h2 { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.on-this-page a { display: block; margin: 10px 0; color: var(--muted); font-size: 12px; }
.on-this-page a:hover { color: var(--blue-deep); }

.help-wrap { max-width: var(--max); margin: 0 auto; padding: 70px 28px 110px; }
.help-search { position: relative; max-width: 800px; margin: -100px 0 70px; padding: 12px; background: var(--white); box-shadow: var(--shadow); }
.help-search label { display: block; padding: 8px 12px 0; color: var(--blue-deep); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.help-search input { width: 100%; padding: 15px 52px 15px 12px; border: 0; outline: 0; color: var(--ink); font-size: 22px; }
.help-search::after { content: "/"; position: absolute; right: 28px; bottom: 24px; display: grid; place-items: center; width: 28px; height: 28px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 11px; }
.help-categories { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 80px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.help-category { min-height: 230px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.help-category .cap-index { margin-bottom: 28px; }
.help-category h2 { margin: 0 0 10px; font-size: 23px; }
.help-category p { color: var(--muted); line-height: 1.6; }
.help-category a { color: var(--blue-deep); font-size: 13px; font-weight: 800; }
.faq-layout { display: grid; grid-template-columns: 270px 1fr; gap: 70px; }
.faq-heading h2 { position: sticky; top: 110px; margin: 0; font-size: 44px; letter-spacing: -.05em; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button { display: grid; grid-template-columns: 1fr 28px; gap: 24px; width: 100%; padding: 26px 0; background: none; border: 0; text-align: left; font-size: 18px; font-weight: 800; cursor: pointer; }
.faq-item button span:last-child { color: var(--blue-deep); font-family: var(--mono); font-weight: 400; text-align: center; }
.faq-answer { display: none; max-width: 760px; padding: 0 50px 28px 0; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open button span:last-child { transform: rotate(45deg); }
.faq-item[hidden] { display: none; }
.support-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 90px; padding: 44px; background: var(--navy); color: var(--white); }
.support-card h2 { margin: 0 0 10px; font-size: 34px; }
.support-card p { margin: 0; color: #9fb0c0; }
.empty-state { display: none; padding: 30px 0; color: var(--muted); }
.empty-state.visible { display: block; }

.not-found { display: grid; place-items: center; min-height: 100vh; padding: 30px; background: var(--navy); color: var(--white); text-align: center; }
.not-found strong { display: block; color: var(--mint); font: 400 120px/1 Georgia, serif; }
.not-found h1 { margin: 20px 0 10px; font-size: 42px; }
.not-found p { margin-bottom: 30px; color: #9fb1c0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .16s; }

@keyframes image-breathe { from { transform: scale(1.005); } to { transform: scale(1.045); } }
@keyframes float-card { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fill-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes flow { 0% { left: 4%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 92%; opacity: 0; } }
@keyframes node-travel { from { left: 0; } to { left: calc(100% - 7px); } }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { padding-left: 0; }
  .hero-visual { max-width: 850px; margin-left: 14%; }
  .hero-image-wrap { margin-right: -15vw; }
  .developer-section { grid-template-columns: 1fr; }
  .architecture-flow { grid-template-columns: 1fr 70px 1.15fr 70px 1fr; }
  .doc-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .on-this-page { display: none; }
}

@media (max-width: 820px) {
  .site-header { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 71px 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 34px 24px; background: var(--paper); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-nav .button { margin-top: 22px; }
  .hero { min-height: auto; padding: 68px 24px 80px; }
  .hero h1 { font-size: clamp(58px, 17vw, 86px); }
  .hero-lede { font-size: 17px; }
  .hero-visual { margin: 30px 0 0 7%; }
  .hero-image-wrap { margin-right: -35%; }
  .hero-image-wrap img { min-height: 430px; }
  .live-card { min-width: 180px; }
  .live-card-b { display: none; }
  .trust-strip { grid-template-columns: 1fr; gap: 12px; }
  .section { padding: 85px 24px; }
  .section-intro, .safety-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { margin-bottom: 50px; }
  .ledger-stage { grid-template-columns: 1fr; }
  .ledger-sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .family-row { grid-template-columns: 38px 1fr auto; }
  .family-row strong { grid-column: 3; }
  .ledger-main { padding: 30px 20px; }
  .holding { grid-template-columns: 1fr auto; }
  .holding em { display: none; }
  .flow-row { grid-template-columns: repeat(4, 1fr); }
  .flow-row > i { display: none; }
  .capability-grid, .safety-grid { grid-template-columns: 1fr; }
  .architecture-flow { grid-template-columns: 1fr; gap: 18px; }
  .architecture-line { width: 1px; height: 50px; margin-left: 34px; }
  .architecture-line i { animation-name: node-travel-vertical; }
  .architecture-node.featured { transform: none; }
  .architecture-note { grid-template-columns: 1fr; }
  .use-case { grid-template-columns: 42px 1fr; }
  .use-case > b { grid-column: 2; text-align: left; }
  .developer-section { gap: 55px; }
  .code-window pre { font-size: 11px; }
  .code-result { grid-template-columns: 24px 1fr; }
  .code-result small { display: none; }
  .cta-section { grid-template-columns: 1fr; gap: 50px; }
  .cta-orbit { width: min(360px, 84vw); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-legal { grid-column: 1 / -1; }
  .doc-shell { grid-template-columns: 1fr; padding: 40px 24px 90px; }
  .doc-nav { position: static; display: flex; gap: 7px; overflow-x: auto; padding-bottom: 10px; }
  .doc-nav h2 { display: none; }
  .doc-nav a { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid var(--line); }
  .help-categories { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-heading h2 { position: static; }
  .support-card { grid-template-columns: 1fr; }
}

@keyframes node-travel-vertical { from { top: 0; } to { top: calc(100% - 7px); } }

@media (max-width: 520px) {
  .hero h1 { letter-spacing: -.065em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .signal-list { flex-direction: column; gap: 12px; }
  .live-card-a { left: -8%; bottom: 6%; }
  .section-intro h2, .safety-heading h2 { font-size: 42px; }
  .capability { padding: 30px 24px; }
  .use-case { grid-template-columns: 1fr; }
  .use-case > b { grid-column: 1; }
  .cta-section h2 { font-size: 62px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div, .footer-brand, .footer-legal { grid-column: 1; }
  .subpage-hero { padding: 65px 24px 110px; }
  .subpage-hero h1 { font-size: 56px; }
  .help-search { margin-top: -110px; }
}

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

.contact-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.contact-copy { position: sticky; top: 115px; }
.contact-copy h2 { max-width: 590px; margin: 20px 0 22px; font-size: clamp(48px, 5.5vw, 74px); line-height: 1; letter-spacing: -.058em; }
.contact-copy > p:not(.section-number) { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contact-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0; }
.contact-points span { display: flex; align-items: center; gap: 10px; padding: 15px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 750; }
.contact-points i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(84,230,179,.14); }
.contact-note { display: flex; align-items: center; gap: 15px; margin-top: 34px; padding: 22px; background: var(--navy); color: var(--white); }
.contact-note img { border-radius: 8px; }
.contact-note strong { font-size: 13px; }
.contact-note p { margin: 5px 0 0; color: #91a7b8; font-size: 11px; line-height: 1.55; }
.contact-form-card { padding: 48px; background: var(--white); box-shadow: var(--shadow); }
.contact-form-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.contact-form-card form > br { display: none; }
.contact-form-card label { display: block; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.contact-form-card label:nth-of-type(4), .contact-form-card label:nth-of-type(5), .contact-form-card label:nth-of-type(6) { grid-column: 1 / -1; }
.contact-form-card input:not([type="checkbox"]), .contact-form-card select, .contact-form-card textarea { width: 100%; margin-top: 9px; padding: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 0; color: var(--ink); font: 15px var(--font); }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { outline: 3px solid rgba(84,174,239,.25); border-color: var(--blue-deep); }
.contact-form-card textarea { min-height: 150px; resize: vertical; }
.contact-form-card label:has(input[type="checkbox"]) { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.6; }
.contact-form-card input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue-deep); }
.contact-form-card button[type="submit"] { grid-column: 1 / -1; min-height: 56px; padding: 0 24px; background: var(--blue); border: 0; color: var(--navy); font-weight: 850; text-align: left; cursor: pointer; transition: transform .2s, background .2s; }
.contact-form-card button[type="submit"] span { float: right; }
.contact-form-card button[type="submit"]:hover { transform: translateY(-2px); background: #74c2f6; }
.form-success { display: none; margin-bottom: 28px; padding: 20px; border-left: 4px solid var(--mint); background: #eaf8f3; }
.form-success.visible { display: block; }
.form-success strong { font-size: 17px; }
.form-success p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.form-success.visible + form { display: none; }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
  .contact-copy { position: static; }
  .contact-form-card { padding: 34px; }
}

@media (max-width: 560px) {
  .contact-points, .contact-form-card form { grid-template-columns: 1fr; }
  .contact-form-card label { grid-column: 1 / -1; }
  .contact-form-card { padding: 26px; }
}
