/* Valtu: multi-page site layer over site.css. Same palette and type; square, editorial; motion that
   respects prefers-reduced-motion. Everything decorative is aria-hidden in the markup. */
:root { --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --dark-bg: #0b0b0b; --dark-2: #141414; --dark-line: #242424; --dark-ink: #f5f5f5; --dark-ink-3: #9a9a9a; }

/* ---------- nav: mega menus ---------- */
.b-links { display: flex; align-items: center; gap: 4px; margin-left: 28px; font-size: 14.5px; color: var(--ink-2); }
.b-links > a, .b-dd-btn { height: 36px; display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; border: 0; background: none; color: var(--ink-2); transition: color 0.15s, background 0.15s; }
.b-links > a:hover, .b-dd-btn:hover, .b-dd.open .b-dd-btn { color: var(--ink); background: var(--bg-2); }
.b-links > a.on, .b-dd-btn.on { color: var(--ink); }
.b-dd-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 0.2s var(--ease); }
.b-dd.open .b-dd-btn svg { transform: rotate(180deg); }
.b-dd { position: relative; }
.b-mega { position: absolute; top: calc(100% + 14px); left: -12px; display: grid; grid-template-columns: 260px 260px 240px; gap: 8px; padding: 14px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s; }
.b-mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.b-mega-sm { grid-template-columns: 300px; }
.b-dd.open .b-mega { opacity: 1; visibility: visible; transform: none; }
.b-mega-col { display: grid; gap: 2px; align-content: start; }
.b-mega-h { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); padding: 6px 10px; }
.b-mega a { display: grid; gap: 2px; padding: 9px 10px; transition: background 0.15s; }
.b-mega a:hover, .b-mega a:focus-visible { background: var(--bg-2); }
.b-mega a b { font-weight: 400; color: var(--ink); font-size: 14.5px; }
.b-mega a span { color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.b-mega .b-mega-card { background: var(--ink); color: var(--bg); padding: 18px; align-content: end; gap: 8px; min-height: 180px; position: relative; overflow: hidden; }
.b-mega .b-mega-card:hover { background: var(--ink); }
.b-mega .b-mega-card b { color: var(--bg); font-family: var(--serif); font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.b-mega .b-mega-card span { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.b-mega-card::after { content: ""; position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; background: currentColor; opacity: 0.18;
  -webkit-mask: url("/site/favicon.svg") center / contain no-repeat; mask: url("/site/favicon.svg") center / contain no-repeat; }
.b-eyebrow { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.b-mega-card .b-eyebrow { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.b-nav .nav-cta { margin-left: auto; gap: 12px; }
.b-mobile .b-mega-h { padding: 16px 0 4px; border: 0; }
@media (max-width: 1180px) { .b-hide-sm { display: none !important; } }
@media (max-width: 1023px) { .b-links { display: none; } }

/* ---------- shared section scaffolding ---------- */
.b-sec { padding: 112px 0; border-top: 1px solid var(--line); }
.b-head { max-width: 760px; margin-bottom: 56px; }
.b-head.center { margin-inline: auto; text-align: center; }
.b-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.025em; margin-top: 12px; }
.b-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.03; letter-spacing: -0.03em; margin-top: 14px; }
.b-sub { color: var(--ink-3); font-size: 17.5px; line-height: 1.6; margin-top: 18px; max-width: 640px; }
.b-head.center .b-sub { margin-inline: auto; }
.eyebrow.center { text-align: center; }
.cta-row.left { justify-content: flex-start; }
.b-split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.btn.ghost { background: transparent; color: var(--ink); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn.ghost:hover { background: var(--bg-2); opacity: 1; }
.btn.inv { background: var(--dark-ink); color: var(--dark-bg); border-color: var(--dark-ink); }
.btn.outline.inv { background: transparent; color: var(--dark-ink); border-color: #3a3a3a; }
.btn.outline.inv:hover { background: #1b1b1b; }
.b-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.b-list li { display: flex; gap: 12px; color: inherit; opacity: 0.86; }
.b-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: currentColor; }

/* Scroll reveal: only once JS has said so (no-JS readers see everything). */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].shown { opacity: 1; transform: none; }

/* Hover spotlight that follows the pointer (set by brand.js). */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.25s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 7%, transparent), transparent 60%); }
[data-spot]:hover::before { opacity: 1; }

/* ---------- hero ---------- */
.b-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.b-grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); mask: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 75%); opacity: 0.7; }
.b-hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; min-height: 640px; padding: 72px 0 88px; }
.b-hero-copy .hero { width: auto; padding: 0; text-align: left; align-items: flex-start; }
.b-hero-copy .hero h1 { font-size: clamp(44px, 5.6vw, 76px); }
.b-hero-copy .cta-row { justify-content: flex-start; }
.b-hero-copy .lede { max-width: 560px; }
.b-hero-copy .hero > * { animation: b-rise 0.8s var(--ease) both; }
.b-hero-copy .hero > :nth-child(2) { animation-delay: 0.06s; } .b-hero-copy .hero > :nth-child(3) { animation-delay: 0.12s; }
.b-hero-copy .hero > :nth-child(4) { animation-delay: 0.18s; } .b-hero-copy .hero > :nth-child(5) { animation-delay: 0.24s; }
@keyframes b-rise { from { opacity: 0; transform: translateY(14px); } }

.b-hero-art { position: relative; height: 520px; }
.b-card { position: absolute; background: var(--bg); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.45); font-size: 13px; }
.b-card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.b-card-h span:first-child { color: var(--ink); }
.b-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ok); }
.b-live i { width: 6px; height: 6px; background: var(--ok); animation: b-blink 1.6s steps(2) infinite; }
@keyframes b-blink { 50% { opacity: 0.25; } }
.b-chip { font-size: 11px; padding: 2px 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.b-ledger { top: 24px; left: 0; right: 64px; animation: b-float 9s ease-in-out infinite; }
.b-ledger-rows { list-style: none; margin: 0; padding: 4px 0; }
.b-ledger-rows li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.b-ledger-rows li:last-child { border-bottom: 0; }
.b-ledger-rows img { width: 24px; height: 24px; border-radius: 50%; }
.b-ledger-rows span { display: grid; min-width: 0; }
.b-ledger-rows b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-ledger-rows em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.b-ledger-rows strong { font-weight: 400; font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.b-ledger-rows li.new { animation: b-row 0.6s var(--ease); }
@keyframes b-row { from { opacity: 0; transform: translateY(-10px); background: var(--bg-2); } }
.b-approve { right: 0; bottom: 8px; width: 330px; animation: b-float 9s ease-in-out -4.5s infinite; }
@keyframes b-float { 50% { transform: translateY(-8px); } }
.b-approvers { list-style: none; margin: 0; padding: 8px 16px; display: grid; gap: 2px; }
.b-approvers li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; color: var(--ink-3); transition: color 0.3s; }
.b-approvers i { width: 28px; height: 28px; display: grid; place-items: center; font-style: normal; font-size: 11px; border: 1px solid var(--line-2); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.b-approvers em { font-style: normal; font-size: 11.5px; }
.b-approvers li.ok { color: var(--ink); }
.b-approvers li.ok i { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.b-approvers li.ok em::before { content: "✓ "; color: var(--ok); }
.b-sealed { display: flex; align-items: center; gap: 8px; margin: 4px 16px 14px; padding: 10px 12px; border: 1px dashed var(--line-2); color: var(--ink-4); transition: all 0.4s var(--ease); }
.b-sealed svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.b-sealed.on { border-style: solid; border-color: var(--ink); color: var(--bg); background: var(--ink); }
/* No JS: show the finished state. */
html:not(.js) .b-approvers li { color: var(--ink); }
.b-quorum { position: absolute; left: -28px; bottom: 36px; width: 120px; height: 100px; }
.b-quorum i { position: absolute; width: 20px; height: 20px; background: var(--ink); animation: b-q 6s var(--ease) infinite; }
/* The mark: 5 squares in a V (4,9) (24,9) (9,14) (19,14) (14,19) on a 24-unit grid, scaled ×4. */
.b-quorum i:nth-child(1) { left: 0; top: 20px; --sx: -40px; --sy: -30px; }
.b-quorum i:nth-child(2) { left: 80px; top: 20px; --sx: 40px; --sy: -36px; animation-delay: 0.12s; }
.b-quorum i:nth-child(3) { left: 20px; top: 40px; --sx: -30px; --sy: 40px; animation-delay: 0.24s; }
.b-quorum i:nth-child(4) { left: 60px; top: 40px; --sx: 36px; --sy: 30px; animation-delay: 0.36s; }
.b-quorum i:nth-child(5) { left: 40px; top: 60px; --sx: 0; --sy: 50px; animation-delay: 0.48s; }
@keyframes b-q { 0%, 12% { transform: translate(var(--sx), var(--sy)) rotate(45deg) scale(0.6); opacity: 0; } 30%, 80% { transform: none; opacity: 1; } 100% { transform: translate(var(--sx), var(--sy)) rotate(45deg) scale(0.6); opacity: 0; } }

/* ---------- networks marquee ---------- */
.b-networks { padding: 48px 0 56px; border-bottom: 1px solid var(--line); overflow: hidden; }
.b-marquee { margin-top: 26px; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.b-marquee ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 56px; width: max-content; animation: b-marq 36s linear infinite; }
.b-marquee:hover ul { animation-play-state: paused; }
.b-marquee li { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--ink-2); white-space: nowrap; }
.b-marquee img { width: 26px; height: 26px; border-radius: 50%; filter: grayscale(1); transition: filter 0.2s; }
.b-marquee li:hover img { filter: none; }
@keyframes b-marq { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- money flow ---------- */
.b-flow { border: 1px solid var(--line); background: var(--bg); }
.b-flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.b-flow-steps li { position: relative; padding: 32px 24px 28px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; border-right: 1px solid var(--line); transition: background 0.5s var(--ease); }
.b-flow-steps li:last-child { border-right: 0; }
/* The line from this step's node to the next one; it fills in ink once the step is done. */
.b-flow-steps li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 38px; left: 38px; right: -24px; height: 2px;
  background: linear-gradient(var(--ink), var(--ink)) left / 100% 100% no-repeat, var(--line-2); transition: background-size 0.9s var(--ease); }
.b-node { position: relative; z-index: 2; width: 14px; height: 14px; margin-bottom: 14px; background: var(--ink); border: 2px solid var(--ink); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.b-flow-n { font: 12px var(--mono); font-style: normal; color: var(--ink-4); transition: color 0.3s; }
.b-flow-steps b { font-weight: 400; font-size: 17px; line-height: 1.3; }
.b-flow-steps span { color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.b-flow-out { justify-self: start; margin-top: 10px; font: 12px/1.4 var(--mono); padding: 6px 10px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.4s, border-color 0.3s, color 0.3s; }
/* Running (JS, motion allowed): steps ahead are hollow, the current one is lit. Without it, all show done. */
.b-flow.run li:not(.done):not(.on) .b-node { background: var(--bg); border-color: var(--line-2); }
.b-flow.run li:not(.done)::after { background-size: 0% 100%; }
.b-flow.run li:not(.done):not(.on) .b-flow-out { opacity: 0; }
.b-flow.run li:not(.done):not(.on) b, .b-flow.run li:not(.done):not(.on) span { opacity: 0.55; }
.b-flow-steps b, .b-flow-steps span { transition: opacity 0.4s; }
.b-flow-steps li.on { background: var(--bg-2); }
.b-flow-steps li.on .b-flow-n { color: var(--ink); }
.b-flow-steps li.on .b-node { animation: b-node 1.6s var(--ease) infinite; }
.b-flow-steps li.on .b-flow-out { border-color: var(--ink); color: var(--ink); animation: b-rise 0.5s var(--ease); }
@keyframes b-node { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 35%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }

/* ---------- bento ---------- */
.b-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.b-tile { display: grid; gap: 10px; align-content: start; padding: 28px; min-height: 230px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.2s; }
.b-tile.wide { grid-column: span 2; }
.b-tile b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; }
.b-tile:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.b-addr { display: grid; gap: 6px; margin-top: 12px; }
.b-addr code { font: 13px/1.6 var(--mono); padding: 8px 12px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-2); }
.js .b-addr code { clip-path: inset(0 100% 0 0); transition: clip-path 0.9s steps(24); }
.js .b-addr.shown code { clip-path: inset(0 0 0 0); }
.b-addr code:nth-child(2) { transition-delay: 0.5s !important; } .b-addr code:nth-child(3) { transition-delay: 1s !important; }
.b-confirm { font-family: var(--serif); font-size: 40px; letter-spacing: -0.02em; margin-top: 14px; }
.b-confirm [data-n] { display: inline-block; min-width: 1.2ch; }
.b-meter { height: 4px; background: var(--bg-3); }
.b-meter i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 0.4s var(--ease); }
.b-ticks { display: flex; gap: 8px; margin-top: 18px; }
.b-ticks i { width: 36px; height: 36px; border: 1px solid var(--line-2); position: relative; }
.b-ticks i::after { content: ""; position: absolute; inset: 7px; background: var(--ink); transform: scale(0); animation: b-tick 4.5s var(--ease) infinite; }
.b-ticks i:nth-child(2)::after { animation-delay: 0.5s; } .b-ticks i:nth-child(3)::after { animation-delay: 1s; }
@keyframes b-tick { 0%, 8% { transform: scale(0); } 20%, 80% { transform: scale(1); } 100% { transform: scale(0); } }
.b-gauge { height: 40px; margin-top: 18px; border: 1px solid var(--line-2); padding: 4px; }
.b-gauge i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 9px); animation: b-gas 5s var(--ease) infinite; transform-origin: left; }
@keyframes b-gas { 0% { transform: scaleX(0.92); } 45% { transform: scaleX(0.22); } 55% { transform: scaleX(0.22); } 75%, 100% { transform: scaleX(0.92); } }
.b-risk { margin-top: 18px; height: 40px; border: 1px solid var(--line-2); position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 12px; font: 12.5px var(--mono); color: var(--ok); }
.b-risk::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 10%, transparent), transparent); animation: b-scan 2.8s linear infinite; }
.b-risk span { margin-left: auto; }
.b-risk span::before { content: "risk score · "; color: var(--ink-3); }
@keyframes b-scan { from { left: -40%; } to { left: 100%; } }
.b-event { margin: 12px 0 0; font: 12.5px/1.9 var(--mono); padding: 12px 14px; border: 1px solid var(--line); background: var(--bg-2); overflow-x: auto; white-space: pre; color: var(--ink-2); }
.b-event .k { color: var(--ink); } .b-event .m { color: var(--ok); }

/* ---------- savings bars ---------- */
.b-bars { display: grid; border-top: 1px solid var(--line); }
.b-bar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 120px; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.b-bar span { display: grid; gap: 2px; }
.b-bar b { font-weight: 400; font-size: 17px; }
.b-bar em { font-style: normal; color: var(--ink-3); font-size: 14px; }
.b-bar > i { height: 10px; background: var(--bg-3); position: relative; }
.b-bar > i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink-3); transform-origin: left; transform: scaleX(1); transition: transform 1.2s var(--ease) 0.2s; }
.js .b-bars:not(.shown) .b-bar > i::after { transform: scaleX(0); }
.b-bar strong { font-weight: 400; text-align: right; color: var(--ink-3); white-space: nowrap; }
.b-bar.total b, .b-bar.total strong { font-family: var(--serif); font-size: 26px; color: var(--ink); letter-spacing: -0.015em; }
.b-bar.total > i::after { background: var(--ink); }

/* ---------- dark band ---------- */
.b-dark { background: var(--dark-bg); color: var(--dark-ink); padding: 120px 0; position: relative; overflow: hidden; }
.b-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask: radial-gradient(60% 70% at 80% 50%, #000, transparent 70%); mask: radial-gradient(60% 70% at 80% 50%, #000, transparent 70%); }
.b-dark .wrap { position: relative; }
.b-dark .eyebrow, .b-dark .b-sub { color: var(--dark-ink-3); }
.b-dark :focus-visible { outline-color: var(--dark-ink); }
.b-term { border: 1px solid var(--dark-line); background: #050505; font: 13px/1.85 var(--mono); box-shadow: 0 40px 100px -40px rgb(0 0 0 / 0.9); }
.b-term-h { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--dark-line); color: var(--dark-ink-3); font-size: 12px; }
.b-term-h i { width: 9px; height: 9px; background: #2a2a2a; }
.b-term-h span { margin-left: 8px; }
.b-term pre { margin: 0; padding: 18px 20px 22px; white-space: pre-wrap; word-break: break-all; color: #d0d0d0; min-height: 230px; }
.b-term .p { color: #6b6b6b; }
.b-term .ok { color: #3ccf87; display: inline-block; }
.js .b-term [data-line] { opacity: 0; transform: translateX(-6px); transition: opacity 0.35s, transform 0.35s var(--ease); }
.js .b-term [data-line].show { opacity: 1; transform: none; }

/* ---------- use cases ---------- */
.b-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.b-case { padding: 28px 24px 26px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); min-height: 280px; grid-template-rows: auto auto 1fr auto; }
.b-case:last-child { border-right: 0; }
.b-case b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; }
.b-case p { color: var(--ink-3); font-size: 14.5px; }
.b-more { font-size: 14px; color: var(--ink); transition: transform 0.2s var(--ease); }
.b-case:hover .b-more, .b-tile:hover .b-more { transform: translateX(4px); }

/* ---------- final CTA ---------- */
.b-final { padding: 120px 0; border-top: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.b-final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background-image: url("/site/favicon.svg"); background-size: contain; background-repeat: no-repeat; opacity: 0.035; pointer-events: none; }
.b-final .b-sub { margin-inline: auto; }

/* ---------- inner pages ---------- */
.b-page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 96px 0 80px; }
.b-page-hero .wrap { position: relative; }
.b-page-hero .b-sub { font-size: 19px; max-width: 720px; }
.b-page-hero.center { text-align: center; }
.b-page-hero.center .b-sub { margin-inline: auto; }
.b-page-hero.center .cta-row { justify-content: center; }
.b-page-hero .b-h1, .b-page-hero .b-sub, .b-page-hero .cta-row, .b-page-hero .eyebrow { animation: b-rise 0.8s var(--ease) both; }
.b-page-hero .b-h1 { animation-delay: 0.05s; } .b-page-hero .b-sub { animation-delay: 0.1s; } .b-page-hero .cta-row { animation-delay: 0.15s; }
.b-subnav { position: sticky; top: 68px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.b-subnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.b-subnav a { flex: none; padding: 14px 12px; font-size: 14px; color: var(--ink-3); border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.b-subnav a:hover { color: var(--ink); }
.b-subnav a.on { color: var(--ink); border-bottom-color: var(--ink); }
.b-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 104px 0; border-top: 1px solid var(--line); }
.b-feature:first-of-type { border-top: 0; }
.b-feature.flip > :first-child { order: 2; }
.b-feature .b-list li { opacity: 1; color: var(--ink-2); }
.b-feature .b-list li::before { background: var(--ink); }
.b-panel { border: 1px solid var(--line); background: var(--bg-2); padding: 22px; display: grid; gap: 12px; min-height: 300px; align-content: start; position: relative; overflow: hidden; }
.b-panel-h { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.b-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; }
.b-row em { font-style: normal; color: var(--ink-3); font-size: 12.5px; }
.b-row .mono { color: var(--ink-2); }
.b-tag { font-size: 11.5px; padding: 2px 8px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.b-tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.b-tag.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.b-tag.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.js .b-panel[data-stagger] > :not(.b-panel-h) { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .b-panel[data-stagger].shown > :not(.b-panel-h) { opacity: 1; transform: none; }
.b-panel[data-stagger] > :nth-child(3) { transition-delay: 0.12s !important; } .b-panel[data-stagger] > :nth-child(4) { transition-delay: 0.24s !important; }
.b-panel[data-stagger] > :nth-child(5) { transition-delay: 0.36s !important; } .b-panel[data-stagger] > :nth-child(6) { transition-delay: 0.48s !important; }
.b-panel[data-stagger] > :nth-child(7) { transition-delay: 0.6s !important; }

.b-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.b-grid3.b-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.b-grid3 > * { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.b-grid3 b { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
.b-grid3 p { color: var(--ink-3); font-size: 14.5px; }
.b-grid3 .b-ico { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; margin-bottom: 6px; }
.b-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.b-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.b-stats > div { padding: 28px 24px; border-right: 1px solid var(--line); display: grid; gap: 6px; }
.b-stats > div:last-child { border-right: 0; }
.b-stats strong { font-family: var(--serif); font-weight: 400; font-size: 44px; letter-spacing: -0.025em; line-height: 1.05; }
.b-stats span { color: var(--ink-3); font-size: 14px; }
.b-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b-quote { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; letter-spacing: -0.015em; max-width: 900px; }
.b-steps { list-style: none; counter-reset: st; padding: 0; margin: 0 0 0 14px; display: grid; gap: 0; border-left: 1px solid var(--line); }
.b-steps li { counter-increment: st; position: relative; padding: 0 0 28px 32px; display: grid; gap: 4px; }
.b-steps li::before { content: counter(st); position: absolute; left: -14px; top: 0; width: 27px; height: 27px; display: grid; place-items: center; font-size: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.b-steps b { font-weight: 400; font-size: 17px; }
.b-steps span { color: var(--ink-3); font-size: 14.5px; }
.b-cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--line); }
.b-cmp th, .b-cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.b-cmp th { font-weight: 400; color: var(--ink-3); background: var(--bg-2); }
.b-cmp td:first-child { color: var(--ink); width: 34%; }
.b-cmp td { color: var(--ink-2); }
.b-tablewrap { overflow-x: auto; }

/* ---------- contact ---------- */
.b-contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; padding: 88px 0 112px; align-items: start; }
.b-contact-side { display: grid; gap: 28px; position: sticky; top: 100px; }
.b-route { display: grid; gap: 0; border-top: 1px solid var(--line); }
.b-route > * { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; color: inherit; }
.b-route > *:hover b { text-decoration: underline; text-underline-offset: 4px; }
.b-route b { font-weight: 400; font-size: 16px; display: block; }
.b-route span { color: var(--ink-3); font-size: 13.5px; }
.b-route .b-ico { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; }
.b-route .arr { color: var(--ink-3); transition: transform 0.2s var(--ease); }
.b-route > *:hover .arr { transform: translateX(4px); color: var(--ink); }
.b-form { border: 1px solid var(--line); background: var(--bg); padding: 36px; display: grid; gap: 18px; box-shadow: 0 40px 80px -50px rgb(0 0 0 / 0.35); }
.b-form h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -0.015em; }
.b-form .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.b-field { display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.b-field input, .b-field select, .b-field textarea { width: 100%; font: 15px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); padding: 11px 12px; border-radius: 0; transition: border-color 0.15s, box-shadow 0.15s; appearance: none; -webkit-appearance: none; }
.b-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 34px; }
.b-field textarea { min-height: 130px; resize: vertical; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent); }
.b-field [aria-invalid="true"] { border-color: #c0392b; }
.b-field .req { color: var(--ink-4); }
.b-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); }
.b-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.b-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.b-form-err { color: #c0392b; font-size: 14px; }
.b-form-ok { display: grid; gap: 14px; justify-items: start; animation: b-rise 0.6s var(--ease); }
.b-form-ok .b-done { width: 48px; height: 48px; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
.b-form-ok .b-done svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: b-draw 0.6s var(--ease) 0.2s forwards; }
@keyframes b-draw { to { stroke-dashoffset: 0; } }
.b-form .btn[disabled] { opacity: 0.5; cursor: progress; }

/* ---------- legal ---------- */
.draft-banner { background: var(--warn-tint); color: var(--warn); text-align: center; font-size: 13.5px; padding: 10px 16px; border-bottom: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.b-legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; padding: 72px 0 112px; }
.b-legal nav { position: sticky; top: 100px; display: grid; gap: 4px; align-content: start; font-size: 14px; }
.b-legal nav a { color: var(--ink-3); padding: 4px 0; white-space: nowrap; }
.b-legal nav a:hover { color: var(--ink); }
.b-prose { max-width: 760px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.b-prose h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; margin: 48px 0 12px; scroll-margin-top: 100px; }
.b-prose h2:first-child { margin-top: 0; }
.b-prose p, .b-prose ul { margin: 0 0 14px; }
.b-prose ul { padding-left: 20px; }
.b-prose li { margin-bottom: 6px; }
.b-prose a { text-decoration: underline; text-underline-offset: 3px; }
.b-prose .b-fill { background: var(--warn-tint); color: var(--warn); padding: 0 4px; }

/* ---------- footer ---------- */
.b-foot-top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 48px; }
.b-foot-brand { display: grid; gap: 12px; align-content: start; }
.b-foot-brand p { color: var(--ink-3); }
.b-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); padding: 6px 12px; justify-self: start; }
.b-status i { width: 7px; height: 7px; background: var(--ok); animation: b-blink 2s steps(2) infinite; }
.b-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.b-foot-cols div { display: grid; gap: 10px; align-content: start; }
.b-foot-cols b { font-weight: 400; color: var(--ink-3); margin-bottom: 4px; }
.b-foot-cols a { color: var(--ink-2); }
.b-foot-cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .b-hero-row { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 64px 0 56px; gap: 40px; }
  .b-hero-art { height: 470px; max-width: 560px; width: 100%; margin-inline: auto; }
  .b-split, .b-feature, .b-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .b-feature.flip > :first-child { order: 0; }
  .b-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-cases, .b-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-case:nth-child(2n), .b-stats > div:nth-child(2n) { border-right: 0; }
  .b-case:nth-child(-n + 2), .b-stats > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  /* A vertical timeline: the line runs down from each node to the next. */
  .b-flow-steps { grid-template-columns: minmax(0, 1fr); }
  .b-flow-steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 24px 24px 64px; grid-template-rows: none; }
  .b-flow-steps li:last-child { border-bottom: 0; }
  .b-node { position: absolute; left: 24px; top: 28px; margin: 0; }
  .b-flow-steps li:not(:last-child)::after { top: 42px; bottom: -28px; left: 30px; right: auto; width: 2px; height: auto;
    background: linear-gradient(var(--ink), var(--ink)) top / 100% 100% no-repeat, var(--line-2); }
  .b-flow.run li:not(.done)::after { background-size: 100% 0%; }
  .b-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-contact-side { position: static; }
  .b-legal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .b-legal nav { position: static; grid-auto-flow: column; justify-content: start; overflow-x: auto; gap: 18px; scrollbar-width: none; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
  .b-foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .b-sec, .b-feature { padding: 72px 0; }
  .b-dark, .b-final { padding: 80px 0; }
  .b-head { margin-bottom: 36px; }
  .b-hero-art { height: 430px; }
  .b-ledger { right: 0; }
  .b-ledger-rows li:nth-child(n + 4) { display: none; }
  .b-approve { width: min(310px, 92%); }
  .b-quorum { display: none; }
  .b-bento, .b-cases, .b-stats, .b-grid3, .b-grid3.b-grid2 { grid-template-columns: minmax(0, 1fr); }
  .b-tile.wide { grid-column: auto; }
  .b-case, .b-stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .b-case:last-child, .b-stats > div:last-child { border-bottom: 0; }
  .b-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .b-bar > i { grid-column: 1 / -1; grid-row: 2; }
  .b-form { padding: 24px 18px; }
  .b-form .row2 { grid-template-columns: minmax(0, 1fr); }
  .b-page-hero { padding: 64px 0 56px; }
  .b-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-cmp th, .b-cmp td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .b-addr code, .js .b-term [data-line], .js .b-panel[data-stagger] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .b-bars .b-bar > i::after { transform: none !important; }
  .b-marquee ul { flex-wrap: wrap; justify-content: center; width: auto; }
  .b-marquee ul li[aria-hidden] { display: none; }
  .b-quorum i { opacity: 1; transform: none; }
  .b-form-ok .b-done svg { stroke-dashoffset: 0; }
}
/* Pages with a sub-nav: anchors land below both sticky bars (brand.js does the same for clicks). */
html:has(.b-subnav) { scroll-padding-top: 124px; }
.b-subnav .wrap { scroll-behavior: smooth; }

/* ---------- blog ---------- */
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.b-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.b-blog { padding: 48px 0 112px; display: grid; gap: 40px; }
.b-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.b-tags a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); text-transform: capitalize; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.b-tags a span { font-size: 12px; color: var(--ink-4); }
.b-tags a:hover { border-color: var(--ink); color: var(--ink); }
.b-tags a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.b-tags a[aria-current="page"] span { color: color-mix(in srgb, var(--bg) 60%, transparent); }

/* covers: tag and title on ink, with one of four patterns */
.b-cover { position: relative; overflow: hidden; background: #0d0d0d; color: #f5f5f5; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; aspect-ratio: 16 / 9; isolation: isolate; }
.b-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55; transition: transform 0.8s var(--ease); }
.b-cover.p1::before { background-image: linear-gradient(#ffffff14 1px, transparent 1px), linear-gradient(90deg, #ffffff14 1px, transparent 1px); background-size: 28px 28px; }
.b-cover.p2::before { background-image: radial-gradient(#ffffff2e 1.2px, transparent 1.6px); background-size: 16px 16px; }
.b-cover.p3::before { background-image: repeating-linear-gradient(135deg, #ffffff12 0 1px, transparent 1px 14px); }
.b-cover.p4::before { background-image: linear-gradient(90deg, transparent 0 62%, #ffffff10 62% 63%, transparent 63%), linear-gradient(transparent 0 58%, #ffffff10 58% 59%, transparent 59%); }
.b-cover-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #a3a3a3; }
.b-cover-t { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); line-height: 1.15; letter-spacing: -0.01em; max-width: 88%; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.b-cover-mark { position: absolute; right: 16px; bottom: 16px; width: 22px; height: 22px; fill: #f5f5f5; opacity: 0.8; }
.b-cover-lg { padding: clamp(20px, 3vw, 36px); }
.b-cover-lg .b-cover-t { font-size: clamp(24px, 3.4vw, 44px); max-width: 80%; }
.b-cover-lg .b-cover-mark { width: 30px; height: 30px; right: 28px; bottom: 28px; }
/* On the post itself the cover is a banner, so the article starts above the fold. */
.b-post .b-cover-lg { aspect-ratio: 21 / 7; }
@media (max-width: 640px) { .b-post .b-cover-lg { aspect-ratio: 16 / 8; } }
a:hover > .b-cover::before { transform: scale(1.06); }

.b-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.b-lead .b-h2 { margin-top: 10px; }
.b-lead .b-sub { font-size: 16.5px; }
.b-lead .b-more { display: inline-block; margin-top: 14px; }
.b-lead:hover .b-h2 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.b-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.b-post-card { display: grid; gap: 10px; align-content: start; }
.b-post-card .b-cover { margin-bottom: 6px; }
.b-post-card b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; letter-spacing: -0.012em; }
.b-post-card:hover b { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.b-post-ex { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.b-post-meta { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 13px; margin: 0; }
.b-empty { display: grid; gap: 10px; justify-items: start; padding: 56px 32px; border: 1px dashed var(--line-2); }
.b-empty b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.b-empty span { color: var(--ink-3); }

/* post */
.b-post-head { padding: 64px 0 40px; max-width: 880px; }
.b-post-head .b-h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 18px; }
.b-post-head .b-sub { font-size: 19px; max-width: 760px; }
.b-crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-3); text-transform: capitalize; }
.b-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.b-post-by { display: flex; gap: 12px; align-items: center; margin-top: 28px; }
.b-post-by b { font-weight: 500; display: block; }
.b-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-family: var(--serif); font-size: 18px; flex: none; }
.b-post-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; padding: 56px 0 40px; }
.b-post-side { position: sticky; top: 96px; align-self: start; display: grid; gap: 28px; }
.b-toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.b-toc .b-eyebrow { padding: 0 0 8px 14px; }
.b-toc a { padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.b-toc a:hover { color: var(--ink); }
.b-toc a.on { color: var(--ink); border-left-color: var(--ink); }
.b-share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.b-share .b-eyebrow { width: 100%; margin-bottom: 4px; }
.b-post-body { max-width: none; font-size: 17.5px; line-height: 1.75; }
.b-post-body h2, .b-post-body h3, .b-post-body h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -0.012em; scroll-margin-top: 100px; }
.b-post-body h2 { font-size: 30px; margin: 52px 0 14px; }
.b-post-body h3 { font-size: 23px; margin: 36px 0 10px; }
.b-post-body h4 { font-size: 19px; margin: 28px 0 8px; }
.b-post-body > :first-child { margin-top: 0; }
.b-post-body p, .b-post-body ul, .b-post-body ol, .b-post-body blockquote, .b-post-body pre, .b-post-body .b-tablewrap { margin: 0 0 20px; }
.b-post-body ul, .b-post-body ol { padding-left: 22px; }
.b-post-body li { margin-bottom: 8px; }
.b-post-body a { text-decoration: underline; text-underline-offset: 3px; }
.b-post-body code { font: 0.86em var(--mono); background: var(--bg-2); border: 1px solid var(--line); padding: 1px 5px; }
.b-post-body pre.code { font-size: 13.5px; }
.b-post-body pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.b-post-body blockquote { border-left: 3px solid var(--ink); padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink); }
.b-post-body blockquote p { margin: 0 0 8px; }
.b-post-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.b-post-body strong { font-weight: 600; color: var(--ink); }
.b-post-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0 56px; border-top: 1px solid var(--line); max-width: 1044px; }
.b-404 { min-height: 56vh; display: grid; align-items: center; }

@media (max-width: 1023px) {
  .b-lead, .b-post-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .b-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-post-side { position: static; order: 2; }
  .b-toc { display: none; }
}
@media (max-width: 640px) {
  .b-post-grid { grid-template-columns: minmax(0, 1fr); }
  .b-head-row { flex-direction: column; align-items: flex-start; }
  .b-post-head { padding: 40px 0 28px; }
  .b-post-body { font-size: 16.5px; }
  .b-post-body h2 { font-size: 26px; }
  .b-blog { padding: 32px 0 72px; }
  .b-tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .b-tags a { flex: none; }
}

/* Networks and coins (/networks, /networks/:key, /coins/:slug) */
.b-crumbs-n { text-transform: none; margin-bottom: 18px; flex-wrap: wrap; }
.b-crumbs-n span[aria-hidden] { color: var(--ink-4); }
.b-eyebrow-logo { display: inline-flex; align-items: center; gap: 10px; }
.b-eyebrow-logo img { width: 22px; height: 22px; border-radius: 50%; }
.b-net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.b-net-card { display: grid; gap: 10px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.15s; }
.b-net-card:hover { background: var(--bg-2); }
.b-net-h { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; }
.b-net-h b { font-weight: 400; }
.b-net-h img, .b-cmp img { width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.b-net-coins { color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.b-cmp td a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.b-cmp .num { text-align: right; white-space: nowrap; }
.b-addr { font: 12.5px/1.5 var(--mono); overflow-wrap: anywhere; }
.b-fine { color: var(--ink-3); font-size: 14px; margin-top: 14px; }
.b-fine a, .b-related a { text-decoration: underline; text-underline-offset: 3px; }
.b-note { margin-top: 16px; padding: 10px 14px; border: 1px solid var(--line-2); color: var(--ink-2); max-width: 640px; }
.b-related { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 15.5px; color: var(--ink-2); }
.b-related b { font-weight: 500; color: var(--ink); }
@media (max-width: 720px) { .b-cmp td:first-child { white-space: nowrap; } }

.b-social { display: flex; gap: 10px; margin-top: 16px; }
.b-social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-3); transition: color 0.15s, border-color 0.15s; }
.b-social a:hover { color: var(--ink); border-color: var(--ink-3); }
.b-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Glossary */
.b-gloss-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.b-gloss-cats a { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.b-gloss-cats a:hover { background: var(--bg-2); color: var(--ink); }
.b-gloss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 20px; }
.b-gloss-card { display: grid; align-content: start; gap: 8px; padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.15s; }
.b-gloss-card:hover { background: var(--bg-2); }
.b-gloss-card b { font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--ink); }
.b-gloss-card span { color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.b-gloss-az { columns: 4 200px; column-gap: 32px; }
.b-gloss-az div { break-inside: avoid; margin-bottom: 18px; display: grid; gap: 4px; }
.b-gloss-az b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.b-gloss-az a { color: var(--ink-2); font-size: 15px; }
.b-gloss-az a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.b-gloss-hero .eyebrow a { color: inherit; }
.b-gloss-hero .b-fine { margin-top: 10px; }
.b-prose code { overflow-wrap: anywhere; }

/* Guides and use cases */
.b-guide-tag { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4) !important; }
.b-guide-grid .b-gloss-card { padding: 26px 26px 28px; }
.b-post-body pre.code { overflow-x: auto; max-width: 100%; }
