/* Note Systems: Build on Note page. Robinhood green is the accent of this surface only. */

:root {
  --rh: var(--rh-green, #00C805);
  --rh-2: #5FE36A;
  --rh-3: #CFFFD2;
  --rh-glow: rgba(0, 200, 5, 0.55);
  --rh-glow-soft: rgba(0, 200, 5, 0.12);
  --rh-ink: #000000;
  --rh-ink-2: #0E0F10;
  --rh-ink-3: #1B1D1F;
  --rh-text-2: #9DA3A7;
}

.bd .site-header { position: sticky; top: 0; }
.bd-eyebrow { color: var(--rh-2); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.bd-eyebrow--rh svg { color: var(--rh-2); }
.bd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Hero ---------- */
.bd-hero { position: relative; padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.bd-hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 90%; pointer-events: none;
  background: radial-gradient(50% 60% at 78% 40%, var(--rh-glow-soft), transparent 70%);
}
.bd-hero__inner { position: relative; display: grid; min-width: 0; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.bd-title { font-size: clamp(40px, 5.2vw, 76px); }
.bd-sub { margin-top: 22px; max-width: 34em; }
.bd-proof { display: flex; gap: clamp(20px, 3vw, 40px); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); list-style: none; }
.bd-proof li { display: grid; gap: 4px; }
.bd-proof .t-num { font-size: 26px; color: var(--text-1); }

/* Stack figure */
.bd-stack { position: relative; display: grid; gap: 0; padding: 24px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); margin: 0; }
.bd-stack::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 200, 5, 0.10) inset, 0 0 60px -20px var(--rh-glow); }
.bd-stack__layer { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); }
.bd-stack__layer--you { border-style: dashed; background: transparent; }
.bd-stack__layer--vault { border-color: rgba(0, 200, 5, 0.45); box-shadow: 0 0 24px -8px var(--rh-glow); }
.bd-stack__layer--chain { background: var(--rh-ink); border-color: rgba(255, 255, 255, 0.10); }
.bd-stack__tag { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--text-1); white-space: nowrap; }
.bd-stack__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.bd-stack__chips span { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap; }
.bd-stack__layer--chain .bd-stack__chips span { border-color: rgba(255, 255, 255, 0.16); }
.bd-stack__code { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--rh-3); background: rgba(0, 200, 5, 0.08); padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.bd-stack__feather { color: var(--text-1); flex: none; }
.bd-stack__tag--link { text-decoration: none; border-bottom: 1px solid rgba(0, 200, 5, 0.45); transition: border-color 300ms var(--ease); }
.bd-stack__tag--link:hover { border-color: var(--rh-2); color: var(--rh-3); }
.bd-stack__link { position: relative; height: 22px; margin: 0 auto; width: 2px; background: var(--line-strong); }
.bd-stack__link i { position: absolute; left: -2px; top: -4px; width: 6px; height: 6px; border-radius: 50%; background: var(--rh); box-shadow: 0 0 8px 2px var(--rh-glow); animation: bd-drop 2.4s var(--ease) infinite; }
.bd-stack__link:nth-of-type(4) i { animation-delay: 0.3s; }
.bd-stack__link:nth-of-type(6) i { animation-delay: 0.6s; }
.bd-stack__link:nth-of-type(8) i { animation-delay: 0.9s; }
.bd-stack__link:nth-of-type(10) i { animation-delay: 1.2s; }
@keyframes bd-drop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }

/* ---------- Status strip ---------- */
.bd-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; }
.bd-status li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-1); font-size: 14px; color: var(--text-2); }
.bd-status b { color: var(--text-1); font-weight: 600; }
.bd-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.bd-dot--live { background: var(--rh); box-shadow: 0 0 10px 1px var(--rh-glow); }
.bd-dot--soon { background: var(--brass); box-shadow: 0 0 10px 1px var(--brass-dim); }

/* ---------- Three ways in ---------- */
.bd-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bd-path { position: relative; display: grid; gap: 14px; padding: 28px 24px 24px; overflow: hidden; }
.bd-path::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--rh), transparent 70%); opacity: 0; transition: opacity 500ms var(--ease); }
.bd-path:hover::before { opacity: 1; }
.bd-path__n { font-family: var(--font-mono); font-size: 12px; color: var(--rh-2); letter-spacing: 0.06em; }
.bd-path .t-body { min-height: 4.6em; }
.bd-code { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px 14px; border-radius: var(--r-md); background: var(--rh-ink); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; color: var(--text-1); overflow-x: auto; }
.c-fn { color: var(--rh-2); }
.c-arg { color: var(--text-2); }
.bd-path__for { color: var(--text-3); }

/* ---------- Economics ---------- */
.bd-flow { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.bd-flow .t-lead { margin-top: 18px; }
.bd-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.bd-kpis > div { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.bd-kpis dd { margin: 0; }
.bd-kpis dd.t-num { font-size: 30px; color: var(--text-1); margin: 4px 0 2px; }
.bd-kpis dd small { font-size: 18px; color: var(--text-2); margin-left: 2px; }
.bd-flowchart { margin: 0; padding: 20px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); }
.bd-flowchart svg { display: block; width: 100%; height: auto; }
.fl-node rect { fill: var(--surface-2); stroke: var(--line-strong); }
.fl-node--vault rect { stroke: rgba(0, 200, 5, 0.55); }
.fl-node--fee rect { stroke: var(--brass); }
.fl-node--you rect { fill: rgba(0, 200, 5, 0.10); stroke: var(--rh); }
.fl-node--holders rect { stroke-dasharray: 4 4; }
.fl-t1 { font-family: var(--font-display); font-weight: 700; font-size: 14px; fill: var(--text-1); }
.fl-t2 { font-family: var(--font-body); font-size: 11.5px; fill: var(--text-2); }
.fl-edges path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.fl-pulses circle { fill: var(--rh); filter: drop-shadow(0 0 6px var(--rh-glow)); }
.fl-pulses .fl-pulse--coupon { fill: var(--rh-2); }
.fl-pulses .fl-pulse--fee { fill: var(--brass); filter: drop-shadow(0 0 6px var(--brass)); }

/* ---------- Design study ---------- */
.bd-study { position: relative; }
.bd-study::before { content: ""; position: absolute; inset: 10% 0 auto 0; height: 60%; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, var(--rh-glow-soft), transparent 70%); }
.bd-study .wrap { position: relative; }
.bd-study__head { text-align: left; }
.bd-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; margin-top: 8px; }
.bd-phone { margin: 0; display: grid; gap: 16px; justify-items: center; }
.bd-phone figcaption { font-size: 14px; line-height: 1.5; color: var(--text-2); max-width: 32ch; text-align: center; }
.bd-phone figcaption b { display: block; color: var(--text-1); font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.bd-phone figcaption code { font-family: var(--font-mono); font-size: 12.5px; color: var(--rh-3); }
.bd-phone:nth-child(2) { transform: translateY(28px); }

/* Robinhood-style device: black glass, thin bezel, green accent */
.rh {
  position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 19.2;
  background: var(--rh-ink); color: #FFFFFF; border-radius: 40px; padding: 14px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 6px #0B0C0E, 0 0 0 7px rgba(255, 255, 255, 0.10), 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px var(--rh-glow);
  font-family: var(--font-body); font-size: 12px; line-height: 1.35; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.rh__status { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; padding: 0 6px; }
.rh__sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.rh__sig i { display: block; width: 3px; background: #fff; border-radius: 1px; }
.rh__sig i:nth-child(1) { height: 4px; } .rh__sig i:nth-child(2) { height: 7px; } .rh__sig i:nth-child(3) { height: 10px; }
.rh__top { display: flex; align-items: center; gap: 10px; margin-top: 6px; color: #fff; }
.rh__search { flex: 1; height: 28px; border-radius: 14px; background: var(--rh-ink-3); color: var(--rh-text-2); display: flex; align-items: center; padding: 0 12px; font-size: 12px; }
.rh__ticker { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.rh__logo { flex: none; border-radius: 50%; }
.rh__name { font-weight: 600; font-size: 13px; }
.rh__sym, .rh__label { color: var(--rh-text-2); font-size: 11px; }
.rh__label { margin-top: 8px; }
.rh__price { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.rh__chg { color: var(--rh); font-size: 12px; font-weight: 600; }
.rh__chg span { color: var(--rh-text-2); font-weight: 400; }
.rh__chart { width: 100%; height: 70px; display: block; margin-top: 2px; }
.rh__chart--sm { height: 46px; }
.rh__line { fill: none; stroke: var(--rh); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--rh-glow)); }
.rh__dash { stroke: rgba(255, 255, 255, 0.28); stroke-dasharray: 2 4; }
.rh__ranges { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; color: var(--rh-text-2); padding: 0 4px; }
.rh__ranges .is-on { color: var(--rh); border-bottom: 2px solid var(--rh); padding-bottom: 2px; }
.rh__module { margin-top: auto; background: var(--rh-ink-2); border: 1px solid rgba(0, 200, 5, 0.35); border-radius: 16px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 0 24px -10px var(--rh-glow); }
.rh__module-head { display: flex; align-items: center; gap: 8px; }
.rh__pill { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #000; background: var(--rh); border-radius: 999px; padding: 2px 7px; }
.rh__module-title { font-weight: 600; font-size: 13px; }
.rh__module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rh__module-grid div { display: grid; gap: 1px; }
.rh__module-grid b { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.rh__module-grid span { font-size: 9.5px; color: var(--rh-text-2); }
.rh__module-note { font-size: 10.5px; color: var(--rh-text-2); margin: 0; }
.rh__btn { display: grid; place-items: center; height: 36px; border-radius: 18px; background: var(--rh); color: #000; font-weight: 700; font-size: 13px; border: 0; width: 100%; pointer-events: none; }
.rh--sheet { justify-content: flex-end; }
.rh__dim { opacity: 0.28; display: grid; gap: 4px; }
.rh__sheet { position: relative; margin: auto -18px -18px; padding: 10px 18px 18px; background: var(--rh-ink-3); border-radius: 26px 26px 40px 40px; display: grid; gap: 6px; border-top: 1px solid rgba(255, 255, 255, 0.10); }
.rh__grab { width: 36px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); margin: 0 auto 4px; }
.rh__sheet-title { font-weight: 700; font-size: 15px; font-family: var(--font-display); }
.rh__sheet-sub { font-size: 11px; color: var(--rh-text-2); }
.rh__amount { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; margin-top: 6px; line-height: 1; }
.rh__amount span { color: var(--rh-text-2); }
.rh__amount-sub { font-size: 10.5px; color: var(--rh-text-2); }
.rh__terms { display: grid; gap: 5px; margin: 8px 0 6px; font-size: 11px; }
.rh__terms div { display: flex; justify-content: space-between; gap: 8px; }
.rh__terms dt { color: var(--rh-text-2); }
.rh__terms dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.rh__terms dd span { color: var(--rh-text-2); font-weight: 400; }
.rh__fine { font-size: 9.5px; color: var(--rh-text-2); margin: 2px 0 0; }
.rh__kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.rh__kv div { display: flex; justify-content: space-between; font-size: 11px; }
.rh__kv span { color: var(--rh-text-2); }
.rh__kv b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rh__section { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; margin-top: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.rh__section span { color: var(--rh-text-2); font-weight: 500; }
.rh__pos { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.rh__pos--note { padding: 9px 10px; margin: 6px -6px 0; border-radius: 12px; background: var(--rh-ink-2); border: 1px solid rgba(0, 200, 5, 0.35); box-shadow: 0 0 24px -12px var(--rh-glow); }
.rh__pos-main { display: grid; gap: 1px; flex: 1; min-width: 0; }
.rh__pos-main b { font-size: 12.5px; font-weight: 600; }
.rh__pos-main span { font-size: 10.5px; color: var(--rh-text-2); }
.rh__pos-val { display: grid; gap: 1px; text-align: right; font-variant-numeric: tabular-nums; }
.rh__pos-val b { font-size: 12.5px; font-weight: 600; }
.rh__pos-val span { font-size: 10.5px; }
.up { color: var(--rh); }
.rh__strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.rh__strip div { display: grid; gap: 1px; padding: 6px 8px; border-radius: 10px; background: var(--rh-ink-2); }
.rh__strip span { font-size: 9px; color: var(--rh-text-2); text-transform: uppercase; letter-spacing: 0.04em; }
.rh__strip b { font-size: 11.5px; font-weight: 600; }

/* Under the hood */
.bd-hood { margin-top: clamp(48px, 6vw, 80px); padding: 28px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); }
.bd-hood__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin-top: 8px; }
.bd-hood__steps li { display: flex; gap: 12px; align-items: flex-start; }
.bd-hood__steps li > div { display: grid; gap: 6px; min-width: 0; }
.bd-hood__steps b { font-family: var(--font-display); font-size: 16px; color: var(--text-1); }
.bd-hood__steps code { font-family: var(--font-mono); font-size: 12px; color: var(--rh-3); word-break: break-word; }
.bd-hood__steps .t-small code { color: var(--text-1); }
.bd-hood__n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; color: #000; background: var(--rh); box-shadow: 0 0 12px -2px var(--rh-glow); }
.bd-disclaimer { margin-top: 24px; color: var(--text-3); max-width: 78ch; }

/* ---------- Built with ---------- */
.bd-with { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bd-with__list { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; list-style: none; }
.bd-with__list svg { display: block; color: var(--text-1); opacity: 0.6; transition: opacity 400ms var(--ease); }
.bd-with__list li:hover svg { opacity: 1; }

/* ---------- Get started ---------- */
.bd-start { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.bd-start .t-lead { margin-top: 18px; }
.bd-checklist { list-style: none; counter-reset: step; display: grid; }
.bd-checklist li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: step; }
.bd-checklist li:last-child { border-bottom: 1px solid var(--line); }
.bd-checklist li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--rh-2); }
.bd-checklist b { font-family: var(--font-display); font-size: 17px; color: var(--text-1); }
.bd-checklist span { grid-column: 2; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.bd-checklist code { grid-column: 3; grid-row: 1; font-family: var(--font-mono); font-size: 12px; color: var(--rh-3); background: rgba(0, 200, 5, 0.08); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }

/* ---------- Build pages: Overview / SDK ---------- */
.bd-tabs__wrap { padding-top: 22px; }
.bd-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.bd-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; color: var(--text-2); text-decoration: none; transition: color 200ms var(--ease), background 200ms var(--ease); }
.bd-tab:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }
.bd-tab[aria-current="page"] { color: var(--rh-3); background: rgba(0, 200, 5, 0.12); box-shadow: inset 0 0 0 1px rgba(0, 200, 5, 0.35); }
.bd-tab[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rh-2); box-shadow: 0 0 8px var(--rh-glow); }
.bd-tab:focus-visible { outline: 2px solid var(--rh-2); outline-offset: 2px; }
.bd-tabs__wrap + .bd-hero { padding-top: clamp(40px, 6vw, 80px); }
.bd-sdk--page { padding-top: clamp(40px, 6vw, 80px); }
.bd-sdk--page .bd-sdk__head { max-width: 52em; }
.bd-sdk--page .bd-sdk__title { margin-top: 14px; }

/* ---------- SDK: one call, six stages ---------- */
.bd-sdk { position: relative; }
.bd-sdk::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; pointer-events: none; background: radial-gradient(45% 50% at 20% 30%, var(--rh-glow-soft), transparent 70%); }
.bd-sdk .wrap { position: relative; }
.bd-sdk__head { max-width: 46em; }
.bd-sdk__head .t-lead { margin-top: 18px; }
.bd-sdk__pkg { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--rh-3); background: rgba(0, 200, 5, 0.08); padding: 4px 8px; border-radius: 6px; }
.c-kw { color: #B8C0FF; }
.c-num { color: var(--brass); }
.c-str { color: var(--rh-3); }
.c-cm { color: var(--text-3); }

/* Pipeline panel */
.bd-pipe {
  --cycle: 7.2s;
  position: relative; margin: clamp(36px, 4vw, 56px) 0 0; padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r-lg); border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 28px 100%,
    radial-gradient(60% 50% at 50% 100%, rgba(0, 200, 5, 0.10), transparent 70%),
    var(--rh-ink);
  box-shadow: var(--shadow-1), 0 0 80px -30px var(--rh-glow); overflow: hidden;
}
.bd-pipe__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }

/* Code card */
.bd-pipe__call { min-width: 0; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, 0.10); background: var(--rh-ink-2); overflow: hidden; }
.bd-pipe__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.bd-pipe__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.bd-pipe__bar em { margin-left: 8px; font-style: normal; font-family: var(--font-mono); font-size: 11.5px; color: var(--rh-text-2); }
.bd-pipe__code { margin: 0; padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--text-1); overflow: hidden; white-space: pre; }
.bd-pipe__code .pl { display: block; opacity: 0; transform: translateY(4px); }
.bd-pipe.is-in .bd-pipe__code .pl { animation: bd-line-in 500ms var(--ease) forwards; }
.bd-pipe.is-in .bd-pipe__code .pl:nth-child(1) { animation-delay: 0ms; }
.bd-pipe.is-in .bd-pipe__code .pl:nth-child(2) { animation-delay: 90ms; }
.bd-pipe.is-in .bd-pipe__code .pl:nth-child(3) { animation-delay: 180ms; }
.bd-pipe.is-in .bd-pipe__code .pl:nth-child(4) { animation-delay: 270ms; }
.bd-pipe.is-in .bd-pipe__code .pl:nth-child(5) { animation-delay: 360ms; }
.bd-pipe.is-in .bd-pipe__code .pl:nth-child(6) { animation-delay: 450ms; }
.bd-pipe.is-in .bd-pipe__code .pl--out { animation: bd-line-in 500ms var(--ease) forwards, bd-out-blink var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__code .pl--out:nth-child(7) { animation-delay: 5.4s, 0s; }
.bd-pipe.is-in .bd-pipe__code .pl--out:nth-child(8) { animation-delay: 5.6s, 0s; }
.bd-pipe__code .pl--out { padding-top: 2px; color: var(--rh-3); }
.bd-caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 3px; vertical-align: -0.2em; background: var(--rh-2); animation: bd-caret 1.1s steps(2, start) infinite; }
@keyframes bd-line-in { to { opacity: 1; transform: none; } }
@keyframes bd-caret { to { visibility: hidden; } }
@keyframes bd-out-blink { 0%, 74% { opacity: 0.35; } 78%, 100% { opacity: 1; } }

/* Receipt ticket */
.bd-pipe__receipt { min-width: 0; display: grid; }
.bd-receipt { position: relative; display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, 0.10); background: var(--rh-ink-2); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-1); }
.bd-receipt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1px solid rgba(0, 200, 5, 0.45); box-shadow: 0 0 28px -8px var(--rh-glow); opacity: 0; }
.bd-pipe.is-in .bd-receipt::after { animation: bd-receipt-glow var(--cycle) linear infinite; }
.bd-receipt__state { position: relative; height: 20px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.bd-receipt__state span { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; }
.bd-receipt__state i { width: 8px; height: 8px; border-radius: 50%; }
.bd-receipt__pending { color: var(--rh-text-2); }
.bd-receipt__pending i { background: var(--brass); box-shadow: 0 0 10px 1px var(--brass-dim); animation: bd-breathe 1.2s ease-in-out infinite; }
.bd-receipt__mined { color: var(--rh-2); opacity: 0; }
.bd-receipt__mined i { background: var(--rh); box-shadow: 0 0 10px 1px var(--rh-glow); }
.bd-pipe.is-in .bd-receipt__pending { animation: bd-hide-late var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-receipt__mined { animation: bd-show-late var(--cycle) linear infinite; }
.bd-receipt__rows { display: grid; gap: 8px; margin: 0; }
.bd-receipt__rows > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.bd-receipt__rows dt { color: var(--rh-text-2); }
.bd-receipt__rows dd { margin: 0; opacity: 0.35; }
.bd-pipe.is-in .bd-receipt__rows dd { animation: bd-show-rows var(--cycle) linear infinite; }
.bd-receipt__ok { color: var(--rh-2); }
.bd-receipt__foot { margin: 0; font-family: var(--font-body, inherit); font-size: 11.5px; line-height: 1.5; color: var(--rh-text-2); }
@keyframes bd-breathe { 50% { opacity: 0.45; } }
@keyframes bd-hide-late { 0%, 74% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes bd-show-late { 0%, 74% { opacity: 0; } 78%, 100% { opacity: 1; } }
@keyframes bd-show-rows { 0%, 74% { opacity: 0.35; } 80%, 100% { opacity: 1; } }
@keyframes bd-receipt-glow { 0%, 74% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* Rail: each stage draws its own connector to the next and sends its own pulse along it */
.bd-pipe__rail { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: clamp(22px, 3vw, 34px) 0 0; padding: 0; list-style: none; counter-reset: stage; }
.bd-pipe__node { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 34px; counter-increment: stage; min-width: 0; }
.bd-pipe__node:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 11px; width: calc(100% + 14px); height: 2px; background: rgba(255, 255, 255, 0.16); transform: scaleX(0); transform-origin: left center; }
.bd-pipe.is-in .bd-pipe__node:not(:last-child)::before { animation: bd-rail-draw 700ms var(--ease) forwards; animation-delay: calc(var(--i) * 160ms); }
@keyframes bd-rail-draw { to { transform: scaleX(1); } }
.bd-pipe__node:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 8px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--rh-3); box-shadow: 0 0 12px 3px var(--rh-glow); opacity: 0; z-index: 2; }
.bd-pipe__node b { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--text-1); }
.bd-pipe__node b::before { content: counter(stage, decimal-leading-zero) " "; font-family: var(--font-mono); font-weight: 500; font-size: 11px; color: var(--rh-2); letter-spacing: 0.04em; }
.bd-pipe__node > span:not(.bd-pipe__ring) { font-size: 12.5px; line-height: 1.5; color: var(--rh-text-2); }
.bd-pipe__node code { justify-self: start; max-width: 100%; font-family: var(--font-mono); font-size: 11.5px; color: var(--rh-3); background: rgba(0, 200, 5, 0.08); padding: 3px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-pipe__ring { position: absolute; left: 12px; top: 6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); background: var(--rh-ink); box-sizing: border-box; z-index: 1; }
.bd-pipe__ring::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--rh); opacity: 0; }

.bd-pipe.is-in .bd-pipe__node:nth-child(1) .bd-pipe__ring { animation: bd-ring-0 var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__node:nth-child(1) .bd-pipe__ring::after { animation: bd-core-0 var(--cycle) linear infinite; }
@keyframes bd-ring-0 { 0% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 2% { border-color: var(--rh-2); box-shadow: 0 0 0 5px rgba(0, 200, 5, 0.18), 0 0 18px 2px var(--rh-glow); } 14%, 90% { border-color: var(--rh-2); box-shadow: 0 0 10px 0 var(--rh-glow); } 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } }
@keyframes bd-core-0 { 0% { opacity: 0; } 2%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(2) .bd-pipe__ring { animation: bd-ring-1 var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__node:nth-child(2) .bd-pipe__ring::after { animation: bd-core-1 var(--cycle) linear infinite; }
@keyframes bd-ring-1 { 0% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 15% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 17% { border-color: var(--rh-2); box-shadow: 0 0 0 5px rgba(0, 200, 5, 0.18), 0 0 18px 2px var(--rh-glow); } 29%, 90% { border-color: var(--rh-2); box-shadow: 0 0 10px 0 var(--rh-glow); } 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } }
@keyframes bd-core-1 { 0% { opacity: 0; } 15% { opacity: 0; } 17%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(3) .bd-pipe__ring { animation: bd-ring-2 var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__node:nth-child(3) .bd-pipe__ring::after { animation: bd-core-2 var(--cycle) linear infinite; }
@keyframes bd-ring-2 { 0% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 30% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 32% { border-color: var(--rh-2); box-shadow: 0 0 0 5px rgba(0, 200, 5, 0.18), 0 0 18px 2px var(--rh-glow); } 44%, 90% { border-color: var(--rh-2); box-shadow: 0 0 10px 0 var(--rh-glow); } 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } }
@keyframes bd-core-2 { 0% { opacity: 0; } 30% { opacity: 0; } 32%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(4) .bd-pipe__ring { animation: bd-ring-3 var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__node:nth-child(4) .bd-pipe__ring::after { animation: bd-core-3 var(--cycle) linear infinite; }
@keyframes bd-ring-3 { 0% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 45% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 47% { border-color: var(--rh-2); box-shadow: 0 0 0 5px rgba(0, 200, 5, 0.18), 0 0 18px 2px var(--rh-glow); } 59%, 90% { border-color: var(--rh-2); box-shadow: 0 0 10px 0 var(--rh-glow); } 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } }
@keyframes bd-core-3 { 0% { opacity: 0; } 45% { opacity: 0; } 47%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(5) .bd-pipe__ring { animation: bd-ring-4 var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__node:nth-child(5) .bd-pipe__ring::after { animation: bd-core-4 var(--cycle) linear infinite; }
@keyframes bd-ring-4 { 0% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 60% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 62% { border-color: var(--rh-2); box-shadow: 0 0 0 5px rgba(0, 200, 5, 0.18), 0 0 18px 2px var(--rh-glow); } 74%, 90% { border-color: var(--rh-2); box-shadow: 0 0 10px 0 var(--rh-glow); } 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } }
@keyframes bd-core-4 { 0% { opacity: 0; } 60% { opacity: 0; } 62%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(6) .bd-pipe__ring { animation: bd-ring-5 var(--cycle) linear infinite; }
.bd-pipe.is-in .bd-pipe__node:nth-child(6) .bd-pipe__ring::after { animation: bd-core-5 var(--cycle) linear infinite; }
@keyframes bd-ring-5 { 0% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 75% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } 77% { border-color: var(--rh-2); box-shadow: 0 0 0 5px rgba(0, 200, 5, 0.18), 0 0 18px 2px var(--rh-glow); } 89%, 90% { border-color: var(--rh-2); box-shadow: 0 0 10px 0 var(--rh-glow); } 100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; } }
@keyframes bd-core-5 { 0% { opacity: 0; } 75% { opacity: 0; } 77%, 90% { opacity: 1; } 100% { opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(1)::after { animation: bd-pulse-0 var(--cycle) linear infinite; }
@keyframes bd-pulse-0 { 0% { left: 12px; opacity: 0; } 1% { opacity: 1; } 14% { opacity: 1; } 15% { left: calc(100% + 26px); opacity: 0; } 100% { left: calc(100% + 26px); opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(2)::after { animation: bd-pulse-1 var(--cycle) linear infinite; }
@keyframes bd-pulse-1 { 0% { left: 12px; opacity: 0; } 15% { left: 12px; opacity: 0; } 16% { opacity: 1; } 29% { opacity: 1; } 30% { left: calc(100% + 26px); opacity: 0; } 100% { left: calc(100% + 26px); opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(3)::after { animation: bd-pulse-2 var(--cycle) linear infinite; }
@keyframes bd-pulse-2 { 0% { left: 12px; opacity: 0; } 30% { left: 12px; opacity: 0; } 31% { opacity: 1; } 44% { opacity: 1; } 45% { left: calc(100% + 26px); opacity: 0; } 100% { left: calc(100% + 26px); opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(4)::after { animation: bd-pulse-3 var(--cycle) linear infinite; }
@keyframes bd-pulse-3 { 0% { left: 12px; opacity: 0; } 45% { left: 12px; opacity: 0; } 46% { opacity: 1; } 59% { opacity: 1; } 60% { left: calc(100% + 26px); opacity: 0; } 100% { left: calc(100% + 26px); opacity: 0; } }
.bd-pipe.is-in .bd-pipe__node:nth-child(5)::after { animation: bd-pulse-4 var(--cycle) linear infinite; }
@keyframes bd-pulse-4 { 0% { left: 12px; opacity: 0; } 60% { left: 12px; opacity: 0; } 61% { opacity: 1; } 74% { opacity: 1; } 75% { left: calc(100% + 26px); opacity: 0; } 100% { left: calc(100% + 26px); opacity: 0; } }

/* Implementation grid */
.bd-sdk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 3.5vw, 48px); }
.bd-sdkcard { display: grid; gap: 14px; align-content: start; padding: 26px 24px 24px; min-width: 0; }
.bd-sdkcard .bd-code { margin: 0; }
.bd-sdkcard__list { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.bd-sdkcard__list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.bd-sdkcard__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 200, 5, 0.55); }
.bd-sdkcard__list code, .bd-sdkcard__p code, .bd-quick__notes code, .bd-table code { font-family: var(--font-mono); font-size: 0.86em; color: var(--rh-3); background: rgba(0, 200, 5, 0.08); padding: 1px 5px; border-radius: 4px; }
.bd-sdkcard__p { font-size: 14px; line-height: 1.55; color: var(--text-2); }

/* Gas micro chart */
.bd-gas { margin: 4px 0 0; }
.bd-gas svg { display: block; width: 100%; height: auto; overflow: visible; }
.bd-gas__bar rect { fill: rgba(255, 255, 255, 0.10); transform-box: fill-box; transform-origin: left center; }
.reveal.is-in .bd-gas__bar rect { animation: bd-grow 900ms var(--ease) both; }
.reveal.is-in .bd-gas__bar--plain rect { animation-delay: 120ms; }
.reveal.is-in .bd-gas__bar--forced rect { animation-delay: 240ms; }
@keyframes bd-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bd-gas__bar--plain rect { fill: rgba(0, 200, 5, 0.28); }
.bd-gas__bar--forced rect { fill: var(--rh); }
.bd-gas__v { font-family: var(--font-mono); font-size: 12px; fill: var(--text-1); }
.bd-gas__bar--forced .bd-gas__v { fill: var(--rh-ink); font-weight: 600; }
.bd-gas__l { font-family: var(--font-body, inherit); font-size: 11.5px; fill: var(--text-3); }
.bd-gas__limit { stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 3 3; }
.bd-gas figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.bd-gas__swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--rh); }
.bd-gas__sep { color: var(--line-strong); }

/* Quick start */
.bd-quick { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.bd-quick__notes { list-style: none; counter-reset: qs; display: grid; margin: 22px 0 0; padding: 0; }
.bd-quick__notes li { position: relative; display: grid; gap: 4px; padding: 14px 0 14px 34px; justify-items: start; border-top: 1px solid var(--line); counter-increment: qs; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.bd-quick__notes li:last-child { border-bottom: 1px solid var(--line); }
.bd-quick__notes li::before { content: counter(qs); position: absolute; left: 0; top: 14px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(0, 200, 5, 0.45); font-family: var(--font-mono); font-size: 11px; color: var(--rh-2); }
.bd-quick__notes b { font-family: var(--font-display); font-size: 15px; color: var(--text-1); }
.bd-quick__notes li > span { display: block; }
.bd-quick__code { font-size: 12px; line-height: 1.6; }
.bd-quick__code:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

/* Measured */
.bd-measured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 3vw, 48px); align-items: start; margin-top: clamp(36px, 4vw, 56px); }
.bd-measured__table { min-width: 0; overflow-x: auto; }
.bd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bd-table caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.bd-table th, .bd-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.bd-table tbody tr:last-child th, .bd-table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.bd-table thead th { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); border-top: 0; }
.bd-table tbody th { font-weight: 500; color: var(--text-1); }
.bd-table tbody th span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.bd-table td { font-family: var(--font-mono); font-size: 13px; color: var(--text-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd-facts { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.bd-facts li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.bd-facts li:last-child { border-bottom: 1px solid var(--line); }
.bd-facts .t-num { font-size: 26px; color: var(--text-1); }
.bd-facts .t-small { color: var(--text-2); }

/* No script: everything visible, nothing animated */
html:not(.js) .bd-pipe__code .pl, html:not(.js) .bd-receipt__mined { opacity: 1; transform: none; }
html:not(.js) .bd-receipt__pending { display: none; }
html:not(.js) .bd-receipt__rows dd { opacity: 1; }
html:not(.js) .bd-pipe__node:not(:last-child)::before { transform: none; }
html:not(.js) .bd-pipe__ring { border-color: var(--rh-2); }
html:not(.js) .bd-pipe__ring::after { opacity: 1; }

@media (max-width: 1024px) {
  .bd-sdk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-pipe__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .bd-pipe__node:nth-child(3n)::before, .bd-pipe__node:nth-child(3n)::after { display: none; }
}
@media (max-width: 900px) {
  .bd-pipe__top { grid-template-columns: minmax(0, 1fr); }
  .bd-quick, .bd-measured { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .bd-sdk__grid { grid-template-columns: minmax(0, 1fr); }
  .bd-pipe__rail { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .bd-pipe__node { padding-top: 0; padding-left: 36px; }
  .bd-pipe__ring { left: 12px; top: 6px; }
  .bd-pipe__node:nth-child(3n)::before, .bd-pipe__node:nth-child(3n)::after { display: block; }
  .bd-pipe__node:not(:last-child)::before { left: 11px; top: 12px; width: 2px; height: calc(100% + 18px); transform: scaleY(0); transform-origin: center top; }
  @keyframes bd-rail-draw { to { transform: scaleY(1); } }
  .bd-pipe__node:not(:last-child)::after { left: 12px; top: 6px; margin-left: -4px; }
  @keyframes bd-pulse-0 { 0% { top: 8px; opacity: 0; } 1% { opacity: 1; } 14% { opacity: 1; } 15% { top: calc(100% + 26px); opacity: 0; } 100% { top: calc(100% + 26px); opacity: 0; } }
  @keyframes bd-pulse-1 { 0% { top: 8px; opacity: 0; } 15% { top: 8px; opacity: 0; } 16% { opacity: 1; } 29% { opacity: 1; } 30% { top: calc(100% + 26px); opacity: 0; } 100% { top: calc(100% + 26px); opacity: 0; } }
  @keyframes bd-pulse-2 { 0% { top: 8px; opacity: 0; } 30% { top: 8px; opacity: 0; } 31% { opacity: 1; } 44% { opacity: 1; } 45% { top: calc(100% + 26px); opacity: 0; } 100% { top: calc(100% + 26px); opacity: 0; } }
  @keyframes bd-pulse-3 { 0% { top: 8px; opacity: 0; } 45% { top: 8px; opacity: 0; } 46% { opacity: 1; } 59% { opacity: 1; } 60% { top: calc(100% + 26px); opacity: 0; } 100% { top: calc(100% + 26px); opacity: 0; } }
  @keyframes bd-pulse-4 { 0% { top: 8px; opacity: 0; } 60% { top: 8px; opacity: 0; } 61% { opacity: 1; } 74% { opacity: 1; } 75% { top: calc(100% + 26px); opacity: 0; } 100% { top: calc(100% + 26px); opacity: 0; } }
  .bd-pipe__code { white-space: pre-wrap; font-size: 12px; }
  .bd-facts li { grid-template-columns: 72px minmax(0, 1fr); }
  .bd-facts .t-num { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-pipe__code .pl, .bd-pipe.is-in .bd-pipe__code .pl { opacity: 1; transform: none; animation: none; }
  .bd-caret { animation: none; }
  .bd-pipe.is-in .bd-pipe__node:not(:last-child)::after { animation: none; opacity: 0; }
  .bd-pipe__node:not(:last-child)::before, .bd-pipe.is-in .bd-pipe__node:not(:last-child)::before { animation: none; transform: none; }
  .bd-pipe.is-in .bd-pipe__node:nth-child(n) .bd-pipe__ring, .bd-pipe.is-in .bd-pipe__node:nth-child(n) .bd-pipe__ring::after { animation: none; }
  .bd-pipe__ring { border-color: var(--rh-2); }
  .bd-pipe__ring::after { opacity: 1; }
  .bd-pipe.is-in .bd-receipt__pending, .bd-receipt__pending { animation: none; opacity: 0; }
  .bd-receipt__pending i { animation: none; }
  .bd-pipe.is-in .bd-receipt__mined, .bd-receipt__mined { animation: none; opacity: 1; }
  .bd-pipe.is-in .bd-receipt__rows dd, .bd-receipt__rows dd { animation: none; opacity: 1; }
  .bd-pipe.is-in .bd-receipt::after { animation: none; opacity: 1; }
  .reveal.is-in .bd-gas__bar rect { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bd-hood__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-checklist code { grid-column: 2; grid-row: auto; justify-self: start; }
  .bd-checklist li { grid-template-columns: 32px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .bd-hero__inner, .bd-flow, .bd-start { grid-template-columns: minmax(0, 1fr); }
  .bd-paths { grid-template-columns: minmax(0, 1fr); }
  .bd-status { grid-template-columns: minmax(0, 1fr); }
  .bd-phones { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; }
  .bd-phone:nth-child(2) { transform: none; }
  .bd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bd-stack__code { max-width: 55%; }
}
@media (max-width: 560px) {
  .bd-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bd-hood__steps { grid-template-columns: minmax(0, 1fr); }
  .bd-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .bd-proof .t-num { font-size: 22px; }
  .bd-status li { flex-wrap: wrap; gap: 6px 10px; }
  .bd-status li > span { flex-basis: 100%; padding-left: 18px; }
  .bd-flowchart { padding: 6px 2px; border: 0; background: transparent; }
  .bd-stack { padding: 14px; }
  .bd-stack__layer { flex-wrap: wrap; gap: 8px; }
  .bd-stack__chips { margin-left: 0; flex-basis: 100%; }
  .bd-stack__chips span { font-size: 10.5px; }
  .bd-stack__code { margin-left: 0; max-width: 100%; font-size: 11px; }
  .bd-with__list svg { height: 13px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-stack__link i { animation: none; opacity: 0.6; }
  .fl-pulses { display: none; }
}
