/* Homepage. Shared colors and navigation come from brand_tokens.css/navbar.css.
   The base block (container, eyebrow, buttons, links, FAQ) is also used by the
   other pages on the home layout (pricing, about, resellers, exchanges). Everything
   animated is decorative, pauses off-screen, and is removed under
   prefers-reduced-motion. Gold is money; dashed white-alpha is SatsRail. */

/* ── Base ─────────────────────────────────────────────────────────────── */
.rail-home { margin:0; background:var(--ink); color:var(--text); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable Display","Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif; -webkit-font-smoothing:antialiased; overflow-x:clip; }
.rail-home * { box-sizing:border-box; }
.rail-home main a:not(.btn-navbar):not(.dropdown-item) { color:inherit; text-underline-offset:4px; }
.rail-home :focus-visible { outline:2px solid var(--bitcoin-orange); outline-offset:5px; }
.rail-home [hidden] { display:none!important; }
.rail-container { width:min(1200px,calc(100% - 96px)); margin-inline:auto; }
.rail-skip { position:fixed; top:-100px; left:20px; z-index:1100; padding:12px 20px; background:var(--bitcoin-orange); color:var(--ink)!important; }
.rail-skip:focus { top:12px; }
.rail-home .navbar-public { background:rgba(10,10,10,.82); -webkit-backdrop-filter:saturate(1.4) blur(14px); backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid rgba(255,255,255,.07); }
.rail-eyebrow { display:flex; align-items:center; flex-wrap:wrap; gap:10px; min-width:0; overflow-wrap:anywhere; font:11px/1.7 var(--font-mono); letter-spacing:.12em; color:var(--bitcoin-orange); margin:0 0 28px; }
.rail-signal { position:relative; width:6px; height:6px; border-radius:50%; background:var(--bitcoin-orange); box-shadow:0 0 0 5px rgba(232,181,60,.08); }
.rail-signal::after { content:""; position:absolute; inset:-5px; border-radius:50%; border:1px solid var(--bitcoin-orange); opacity:0; animation:railPing 2.4s var(--ease-out) infinite; }
.rail-badge { display:inline-flex; padding:3px 8px; border-radius:var(--radius-pill); background:rgba(232,181,60,.12); border:1px solid rgba(232,181,60,.35); font-size:11px; letter-spacing:.1em; }
.rail-home h2 { font-size:clamp(38px,4.2vw,58px); font-weight:500; line-height:1.08; letter-spacing:-.05em; margin:0 0 22px; text-wrap:balance; }
.rail-home h2 span { color:#828578; }
.rail-button { position:relative; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:52px; padding:14px 24px; background:var(--bitcoin-orange); color:var(--ink)!important; border:1px solid var(--bitcoin-orange); border-radius:6px; text-decoration:none; font-size:15px; font-weight:600; transition:background var(--t-base),transform var(--t-base) var(--ease-out),box-shadow var(--t-base); }
.rail-button::before { content:""; position:absolute; inset:0; background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%); transform:translateX(-120%); transition:transform .8s var(--ease-out); }
.rail-button:hover { background:#f0c14d; transform:translateY(-2px); box-shadow:0 10px 30px rgba(232,181,60,.25); }
.rail-button:hover::before { transform:translateX(120%); }
.rail-button i { transition:transform var(--t-base) var(--ease-out); }
.rail-button:hover i { transform:translateX(3px); }
.rail-button-glow { box-shadow:0 0 0 0 rgba(232,181,60,.4); animation:railGlow 3.2s ease-in-out infinite; }
.rail-text-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; font-size:15px; font-weight:500; text-decoration:none; }
.rail-text-link i { transition:transform var(--t-base) var(--ease-out); }
.rail-text-link:hover { color:var(--bitcoin-orange); }
.rail-text-link:hover i.bi-arrow-right, .rail-text-link:hover i.bi-arrow-up-right { transform:translateX(3px); }
.rail-actions { display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.rail-fine { font-size:14px; line-height:1.9; color:#999b92; margin:23px 0 0; }
.rail-fine a { padding:4px 0; color:#aaa99f; }
ul.rail-fine { list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:6px 22px; }
ul.rail-fine i { color:var(--bitcoin-orange); margin-right:4px; }

/* Entrance and reveal. Content is visible without JS; home.js opts in. */
.rail-load { animation:railUp .9s var(--ease-out) both; animation-delay:calc(var(--d,0) * 90ms + 60ms); }
/* The headline is the largest thing on the first screen: it rises but is never invisible, so the page's largest paint is not held back by a fade. */
.rail-home h1.rail-load { animation-name:railRise; }
.rail-reveal-ready [data-reveal] { opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease-out),transform .9s var(--ease-out); }
.rail-reveal-ready [data-reveal].is-in { opacity:1; transform:none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.rail-hero { position:relative; overflow:hidden; padding-top:52px; isolation:isolate; }
.rail-hero-glow { position:absolute; inset:-10% -10% 0; z-index:-2; pointer-events:none; background:radial-gradient(ellipse 50% 30% at 50% 6%,rgba(232,181,60,.17),transparent 70%),radial-gradient(ellipse 34% 28% at 12% 62%,rgba(247,147,26,.1),transparent 70%),radial-gradient(ellipse 34% 28% at 88% 70%,rgba(232,181,60,.1),transparent 70%); animation:railDrift 18s ease-in-out infinite alternate; }
.rail-hero::after { content:""; position:absolute; inset:0; z-index:-2; pointer-events:none; background-image:linear-gradient(rgba(232,181,60,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(232,181,60,.045) 1px,transparent 1px); background-size:48px 48px; -webkit-mask-image:radial-gradient(ellipse 70% 55% at 50% 62%,#000 15%,transparent 75%); mask-image:radial-gradient(ellipse 70% 55% at 50% 62%,#000 15%,transparent 75%); }
/* Track seen from above: thin rails behind the headline, light running along each. */
.rail-hero-rails { position:absolute; inset:74px 0 auto; height:390px; z-index:-1; display:grid; align-content:space-between; pointer-events:none; -webkit-mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent); mask-image:linear-gradient(90deg,transparent,#000 16%,#000 84%,transparent); }
.rail-hero-rails span { position:relative; height:1px; background:rgba(232,181,60,.08); overflow:hidden; }
.rail-hero-rails span::after { content:""; position:absolute; top:-1px; left:0; width:14%; height:3px; background:linear-gradient(90deg,transparent,#f0c14d,var(--btc-orange),transparent); transform:translateX(-120%); animation:railStreakLong 7s cubic-bezier(.6,0,.4,1) infinite; }
.rail-hero-rails span:nth-child(2)::after { animation-delay:2.4s; animation-duration:5.6s; }
.rail-hero-rails span:nth-child(3)::after { animation-delay:4.3s; animation-duration:8.2s; }
.rail-hero-rails span:nth-child(4)::after { animation-delay:1.2s; animation-duration:6.4s; }
.rail-hero-head { display:flex; flex-direction:column; align-items:center; text-align:center; }
.rail-hero h1 { font-size:clamp(46px,7.4vw,104px); font-weight:500; line-height:1; letter-spacing:-.06em; margin:0 0 28px; text-wrap:balance; }
.rail-hero h1 span { display:inline-block; padding-bottom:.1em; color:var(--bitcoin-orange); background:linear-gradient(100deg,#f0c14d 10%,var(--btc-orange) 50%,#f0c14d 90%); background-size:200% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:railSheen 6s ease-in-out infinite; }
/* The label wraps on phones: keep the signal beside its first line. */
.rail-hero .rail-eyebrow { flex-wrap:nowrap; align-items:flex-start; }
.rail-hero .rail-eyebrow .rail-signal { flex:none; margin-top:calc(.85em - 3px); }
.rail-lead { color:#babbb4; font-size:20px; line-height:1.65; letter-spacing:-.012em; margin:0 0 32px; max-width:780px; }
.rail-hero-head .rail-actions, .rail-hero-head ul.rail-fine { justify-content:center; }
.rail-hero .rail-text-link i.bi-lightning-charge-fill { color:var(--bitcoin-orange); }

/* The console: one payment followed through the business. Every size is in
   --u, a sixth of a pixel-grid step, so each layout scales as one picture:
   the stacked one is 100u wide, the wide one 200u. */
.rail-console-wrap { position:relative; margin:48px 0 0; min-width:0; scroll-margin-top:100px; perspective:2200px; }
.rail-console { --u:1cqw; position:relative; container-type:inline-size; width:100%; max-width:600px; margin-inline:auto; padding-top:calc(min(88%,528px) + 96px); }
.rail-console-bar { display:none; }
.rail-stage-lines { position:absolute; inset:0; width:100%; height:100%; overflow:visible; z-index:4; pointer-events:none; }
/* Stacked, the lines are only right once home.js has laid them out. */
.rail-console:not(.is-laid) .rail-stage-lines { visibility:hidden; }
.rail-money-path { fill:none; stroke:url(#railMoney); stroke-width:2.5; vector-effect:non-scaling-stroke; stroke-linecap:round; stroke-dasharray:6 8; opacity:.75; animation:railDash 1.2s linear infinite; }
.rail-signal-path, .rail-ops-path { fill:none; stroke:rgba(255,255,255,.34); stroke-width:1.25; vector-effect:non-scaling-stroke; stroke-dasharray:3 5; }
.rail-ops-path { stroke:rgba(255,255,255,.26); }
.rail-ops-path.is-ghost { stroke:none; }
.rail-sats circle { fill:#f0c14d; opacity:0; filter:drop-shadow(0 0 1.2px rgba(247,147,26,.9)); }
.rail-ping { fill:#fff; opacity:0; }

.rail-phone { position:absolute; left:calc(var(--u)*2); top:calc(var(--u)*5); width:calc(var(--u)*44); z-index:1; padding:calc(var(--u)*1.4); border-radius:calc(var(--u)*6); background:linear-gradient(160deg,#262624,#0d0d0d 60%); border:1px solid rgba(255,255,255,.16); box-shadow:0 calc(var(--u)*3) calc(var(--u)*9) rgba(0,0,0,.55),0 0 0 calc(var(--u)*.5) rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.12); transform:perspective(1200px) rotateY(9deg) rotateX(2deg); transform-origin:left center; transition:transform .8s var(--ease-out); }
.rail-console:hover .rail-phone { transform:perspective(1200px) rotateY(4deg) rotateX(1deg); }
.rail-screen-button { display:block; border:0; padding:0; width:100%; background:#fff; position:relative; cursor:zoom-in; border-radius:calc(var(--u)*4.6); overflow:hidden; }
.rail-screen-button img { display:block; width:100%; height:auto; }
.rail-scan { position:absolute; left:22%; width:56%; top:34%; height:35%; border-radius:6px; pointer-events:none; opacity:0; }
.rail-scan::before { content:""; position:absolute; left:-4%; right:-4%; height:2px; top:0; background:linear-gradient(90deg,transparent,var(--btc-orange),transparent); box-shadow:0 0 12px 2px rgba(247,147,26,.55); }
.rail-console.is-scanning .rail-scan { opacity:1; box-shadow:0 0 0 2px rgba(232,181,60,.75),0 0 30px rgba(232,181,60,.35); }
.rail-console.is-scanning .rail-scan::before { animation:railScan 1.1s var(--ease-in-out) 1 both; }
.rail-screen-expand { position:absolute; bottom:12px; right:10px; display:flex; align-items:center; gap:7px; padding:7px 10px; background:var(--ink); color:#f1f1e9; border:1px solid #3b3b35; border-radius:4px; font-size:11px; opacity:0; transition:opacity .15s; }
.rail-screen-button:hover .rail-screen-expand,.rail-screen-button:focus-visible .rail-screen-expand { opacity:1; }

.rail-node { position:absolute; right:0; top:calc(var(--u)*2); width:calc(var(--u)*42); z-index:3; padding:calc(var(--u)*2.4) calc(var(--u)*2.8); border-radius:calc(var(--u)*2.4); background:rgba(21,21,21,.92); border:1px dashed rgba(255,255,255,.26); box-shadow:0 calc(var(--u)*2) calc(var(--u)*6) rgba(0,0,0,.45); }
.rail-node-head { display:flex; align-items:center; gap:calc(var(--u)*1.4); margin-bottom:calc(var(--u)*1.6); font-size:max(11px,calc(var(--u)*2.6)); }
.rail-node-head img { width:calc(var(--u)*3.4); height:calc(var(--u)*3.4); min-width:14px; min-height:14px; }
.rail-node-head strong { font-weight:600; }
.rail-node-head span { margin-left:auto; font:max(8px,calc(var(--u)*1.6)) var(--font-mono); letter-spacing:.1em; color:#8f9185; }
.rail-node ul { list-style:none; margin:0; padding:0; }
.rail-node li { display:flex; align-items:center; gap:calc(var(--u)*1.4); font-size:max(10px,calc(var(--u)*2.35)); color:#8b8d82; padding:calc(var(--u)*.7) 0; transition:color .3s; }
.rail-node li i { display:inline-grid; place-items:center; width:calc(var(--u)*3); height:calc(var(--u)*3); min-width:12px; min-height:12px; border-radius:50%; border:1px solid #45463e; font-size:max(8px,calc(var(--u)*1.7)); color:transparent; transition:all .35s var(--ease-out); }
.rail-node li.is-on { color:var(--text); }
.rail-node li.is-on i { background:var(--bitcoin-orange); border-color:var(--bitcoin-orange); color:var(--ink); transform:scale(1.08); }
.rail-node .rail-node-held { color:#b9bbb0; border-top:1px solid #2c2d27; margin-top:calc(var(--u)*.8); padding-top:calc(var(--u)*1.4); }
.rail-node .rail-node-held i { border:0; color:#8f9185; font-size:max(10px,calc(var(--u)*2.4)); }
.rail-node-held b { margin-left:auto; font:600 max(10px,calc(var(--u)*2.4)) var(--font-mono); color:var(--bitcoin-orange); }
.rail-console:not(.is-live) .rail-node li:not(.rail-node-held) { color:var(--text); }
.rail-console:not(.is-live) .rail-node li:not(.rail-node-held) i { background:var(--bitcoin-orange); border-color:var(--bitcoin-orange); color:var(--ink); }

.rail-wallet { position:absolute; right:calc(var(--u)*7); top:calc(var(--u)*56); width:calc(var(--u)*46); z-index:3; padding:calc(var(--u)*2.6) calc(var(--u)*2.8) calc(var(--u)*2); border-radius:calc(var(--u)*2.8); background:linear-gradient(150deg,#1f1c12,#111 55%); border:1px solid rgba(232,181,60,.35); box-shadow:0 calc(var(--u)*3) calc(var(--u)*8) rgba(0,0,0,.5),0 0 calc(var(--u)*8) rgba(232,181,60,.06); transition:box-shadow .5s,border-color .5s; }
.rail-wallet.is-hit { border-color:rgba(232,181,60,.8); box-shadow:0 calc(var(--u)*3) calc(var(--u)*8) rgba(0,0,0,.5),0 0 calc(var(--u)*10) rgba(232,181,60,.2); }
.rail-wallet-top { display:flex; justify-content:space-between; align-items:center; font:max(8px,calc(var(--u)*1.7)) var(--font-mono); letter-spacing:.1em; color:#b0a273; }
.rail-live { display:inline-flex; align-items:center; gap:calc(var(--u)*.8); color:var(--bitcoin-orange); }
.rail-live span { width:calc(var(--u)*1.2); height:calc(var(--u)*1.2); min-width:5px; min-height:5px; border-radius:50%; background:var(--bitcoin-orange); animation:railBlink 1.6s ease-in-out infinite; }
.rail-wallet-balance { margin:calc(var(--u)*1.8) 0 calc(var(--u)*1.2); }
.rail-wallet-balance small { display:block; font-size:max(9px,calc(var(--u)*1.9)); color:#8f9185; }
.rail-wallet-balance strong { display:block; font-size:max(22px,calc(var(--u)*6.6)); font-weight:500; letter-spacing:-.045em; line-height:1.15; font-variant-numeric:tabular-nums; }
.rail-wallet-feed { list-style:none; margin:0; padding:0; border-top:1px solid rgba(255,255,255,.08); }
.rail-wallet-feed li { display:flex; align-items:center; gap:calc(var(--u)*1.3); padding:calc(var(--u)*1.3) 0; font-size:max(10px,calc(var(--u)*2.3)); border-bottom:1px solid rgba(255,255,255,.06); color:#c9cbc0; }
.rail-wallet-feed li i { color:var(--bitcoin-orange); font-size:max(9px,calc(var(--u)*2)); }
.rail-wallet-feed li span { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rail-wallet-feed li em { font:normal max(7px,calc(var(--u)*1.5)) var(--font-mono); letter-spacing:.08em; color:#9d9f93; border:1px solid #3a3b33; border-radius:3px; padding:calc(var(--u)*.2) calc(var(--u)*.8); }
.rail-wallet-feed li b { font-weight:600; color:var(--bitcoin-orange); font-variant-numeric:tabular-nums; }
.rail-wallet-feed li.is-new { animation:railFeedIn .7s var(--ease-out) both; }
.rail-wallet-feed li.is-new b { animation:railFlash 1.4s ease-out both; }
.rail-wallet-foot { display:flex; align-items:center; gap:calc(var(--u)*1); margin:calc(var(--u)*1.6) 0 0; font-size:max(9px,calc(var(--u)*1.9)); color:#9fa195; }
.rail-wallet-foot i { color:var(--bitcoin-orange); }

/* Your business: what each payment sets in motion. Solid, because it is the
   merchant's; SatsRail's dashed signals reach it, money never does. */
.rail-ops { position:relative; z-index:3; padding:calc(var(--u)*2.4) calc(var(--u)*2.2) calc(var(--u)*1) calc(var(--u)*2.8); border-radius:calc(var(--u)*2.8); background:rgba(17,17,16,.94); border:1px solid rgba(255,255,255,.11); box-shadow:0 calc(var(--u)*3) calc(var(--u)*8) rgba(0,0,0,.5); }
.rail-ops-head { display:flex; justify-content:space-between; gap:10px; font:max(8px,calc(var(--u)*1.6)) var(--font-mono); letter-spacing:.1em; color:#8f9185; margin-bottom:calc(var(--u)*1.2); }
.rail-ops ul { list-style:none; margin:0; padding:0; }
.rail-ops li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:calc(var(--u)*2); padding:calc(var(--u)*1.5) 0; border-top:1px solid rgba(255,255,255,.06); }
.rail-ops li>i { display:grid; place-items:center; width:calc(var(--u)*5.4); height:calc(var(--u)*5.4); min-width:22px; min-height:22px; border-radius:30%; border:1px solid #34352d; background:#151513; font-size:max(11px,calc(var(--u)*2.5)); color:#77796e; transition:color .35s,border-color .35s,background .35s; }
.rail-ops li strong { display:block; font-size:max(11px,calc(var(--u)*2.3)); font-weight:500; line-height:1.3; color:#a9ab9f; transition:color .35s; }
.rail-ops li span { display:block; font:max(9px,calc(var(--u)*1.75))/1.4 var(--font-mono); color:#75776c; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; transition:color .35s; }
.rail-ops li>b { width:calc(var(--u)*1.4); height:calc(var(--u)*1.4); min-width:6px; min-height:6px; border-radius:50%; background:#34352d; transition:background .35s,box-shadow .35s; }
.rail-ops li.is-on>i, .rail-console:not(.is-live) .rail-ops li>i { color:var(--bitcoin-orange); border-color:rgba(232,181,60,.55); background:#1b1912; }
.rail-ops li.is-on strong, .rail-console:not(.is-live) .rail-ops li strong { color:var(--text); }
.rail-ops li.is-on span, .rail-console:not(.is-live) .rail-ops li span { color:#b9ae86; }
.rail-ops li.is-on>b, .rail-console:not(.is-live) .rail-ops li>b { background:var(--bitcoin-orange); box-shadow:0 0 0 calc(var(--u)*.8) rgba(232,181,60,.14); }
.rail-ops li.is-new span { animation:railFlash 1.2s ease-out both; }
.rail-ops li.is-new>b { animation:railTap 1.1s ease-out both; }
.rail-ops li.is-new>i { animation:railLit 1.1s ease-out both; }

.rail-console-wrap figcaption { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:6px 10px; font-size:12px; color:#8f9185; margin-top:18px; }
.rail-key { display:inline-block; width:22px; height:0; border-top:2.5px solid var(--bitcoin-orange); border-radius:2px; }
.rail-key-signal { border-top:1.5px dashed rgba(255,255,255,.45); margin-left:8px; }
.rail-caption-note { color:#8f9185; }

/* Wide: one panel, three columns. It leans back as the page opens and
   settles flat as you scroll to it (home.js sets --tilt). */
@media(min-width:1080px) {
  .rail-console { --u:.5cqw; max-width:none; padding-top:0; aspect-ratio:200/93; border-radius:26px; background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.012) 40%),#0b0b0a; box-shadow:0 70px 140px -50px #000,0 0 0 1px rgba(255,255,255,.06),0 50px 180px -70px rgba(232,181,60,.45); transform:rotateX(var(--tilt,0deg)) scale(var(--zoom,1)); transform-origin:50% 72%; will-change:transform; }
  .rail-console::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; pointer-events:none; background:linear-gradient(140deg,rgba(232,181,60,.7),rgba(255,255,255,.1) 28%,rgba(255,255,255,.04) 62%,rgba(247,147,26,.55)); -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0); }
  .rail-console::after { content:""; position:absolute; inset:1px; border-radius:inherit; pointer-events:none; background:radial-gradient(520px circle at var(--mx,50%) var(--my,-20%),rgba(232,181,60,.1),transparent 62%),radial-gradient(rgba(255,255,255,.07) 1px,transparent 1.4px) 0 0/22px 22px; -webkit-mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.35)); mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.35)); }
  .rail-console:not(.is-laid) .rail-stage-lines { visibility:visible; }
  .rail-console-bar { position:absolute; inset:0 0 auto; z-index:2; display:flex; align-items:center; gap:18px; height:calc(var(--u)*8.4); padding:0 calc(var(--u)*5); border-bottom:1px solid rgba(255,255,255,.07); font:10px var(--font-mono); letter-spacing:.12em; color:#8f9185; }
  .rail-console-bar>span:last-child { margin-left:auto; color:#6f7167; }
  .rail-console-bar .rail-live { gap:7px; }
  .rail-console-bar .rail-live span { width:6px; height:6px; }
  .rail-phone { left:calc(var(--u)*8); top:calc(var(--u)*15.5); width:calc(var(--u)*40); }
  .rail-node { right:auto; left:calc(var(--u)*72); top:calc(var(--u)*15); width:calc(var(--u)*46); }
  .rail-wallet { right:auto; left:calc(var(--u)*72); top:calc(var(--u)*44); width:calc(var(--u)*54); }
  .rail-ops { position:absolute; left:calc(var(--u)*142); top:calc(var(--u)*15); width:calc(var(--u)*51); padding:calc(var(--u)*2.4) calc(var(--u)*2.8) calc(var(--u)*.6); }
  .rail-ops li { padding:calc(var(--u)*3.25) 0; gap:calc(var(--u)*2.4); }
  .rail-ops li>i { width:calc(var(--u)*6.4); height:calc(var(--u)*6.4); font-size:calc(var(--u)*2.9); }
  .rail-ops li strong { font-size:max(12px,calc(var(--u)*2.5)); }
  .rail-ops li span { font-size:max(10px,calc(var(--u)*1.9)); }
}

.rail-principles { display:grid; grid-template-columns:repeat(4,auto); justify-content:space-between; gap:20px; margin-top:44px; padding:26px 0; border-top:1px solid #2b2b24; }
.rail-principles>div { display:flex; align-items:center; gap:12px; }
.rail-principles strong,.rail-principles i { font-size:22px; font-weight:400; color:var(--bitcoin-orange); }
.rail-principles span { color:#afafa5; font-size:14px; }

/* ── Wallet marquee ───────────────────────────────────────────────────── */
.rail-wallets { padding:34px 0 38px; border-top:1px solid #1e1f1a; border-bottom:1px solid #1e1f1a; background:#0d0d0c; }
.rail-wallets>p:first-child { text-align:center; font:11px var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#8f9185; margin:0 0 20px; }
.rail-marquee { overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.rail-marquee-track { display:flex; width:max-content; animation:railMarquee 48s linear infinite; }
.rail-marquee:hover .rail-marquee-track { animation-play-state:paused; }
.rail-marquee-track span { flex:none; padding:0 30px; font-size:22px; font-weight:600; letter-spacing:-.03em; color:#85877c; transition:color .2s; white-space:nowrap; }
.rail-marquee-track span::after { content:"⚡"; font-size:12px; margin-left:60px; opacity:.35; filter:grayscale(1); }
.rail-marquee-track span:hover { color:var(--text); }

/* ── Where the money goes ─────────────────────────────────────────────── */
.rail-flow-section { padding:110px 0 90px; position:relative; }
.rail-flow-head { display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:20px; }
.rail-flow-head h2 { max-width:760px; margin:0; }
.rail-toggle { flex:none; display:inline-flex; padding:4px; border-radius:var(--radius-pill); background:#161614; border:1px solid #2e2f28; }
.rail-toggle button { border:0; background:transparent; color:#9fa195; font-size:14px; font-weight:500; padding:10px 18px; border-radius:var(--radius-pill); cursor:pointer; display:inline-flex; gap:6px; align-items:center; transition:background .3s,color .3s; }
.rail-toggle button[aria-pressed="true"] { background:var(--text); color:var(--ink); }
.rail-toggle button[data-flow-mode="rail"][aria-pressed="true"] { background:var(--bitcoin-orange); }

.rail-flow { position:relative; display:grid; grid-template-columns:1fr 1.2fr 1fr; align-items:center; min-height:300px; padding:152px 0 40px; }
.rail-flow-track { position:absolute; left:10%; right:10%; top:calc(50% + 21px); height:2px; }
.rail-flow-line { position:absolute; inset:0; background:linear-gradient(90deg,var(--bitcoin-orange) 0 45%,transparent 45% 55%,rgba(255,255,255,.18) 55%); transition:background .6s; }
.rail-flow[data-mode="rail"] .rail-flow-line { background:linear-gradient(90deg,#f0c14d,var(--btc-orange)); box-shadow:0 0 18px rgba(247,147,26,.45); }
.rail-flow-dot { position:absolute; top:50%; left:0; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%; background:#f0c14d; box-shadow:0 0 12px rgba(247,147,26,.9); opacity:0; }
.rail-flow[data-mode="card"].is-playing .rail-flow-dot { animation:flowHold 3.6s var(--ease-in-out) infinite; }
.rail-flow[data-mode="card"].is-playing .rail-flow-dot:nth-child(3) { animation-delay:.25s; }
.rail-flow[data-mode="card"].is-playing .rail-flow-dot:nth-child(4) { animation-delay:.5s; }
.rail-flow[data-mode="card"].is-playing .rail-flow-dot:nth-child(5) { animation:flowLater 3.6s ease-in infinite; background:#8f9185; box-shadow:none; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; }
.rail-flow[data-mode="rail"].is-playing .rail-flow-dot { animation:flowDirect 1.5s cubic-bezier(.5,0,.3,1) infinite; }
.rail-flow[data-mode="rail"].is-playing .rail-flow-dot:nth-child(3) { animation-delay:.35s; }
.rail-flow[data-mode="rail"].is-playing .rail-flow-dot:nth-child(4) { animation-delay:.7s; }
.rail-flow[data-mode="rail"].is-playing .rail-flow-dot:nth-child(5) { animation-delay:1.05s; }

.rail-flow-node { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; }
.rail-flow-node>i, .rail-flow-face>i, .rail-flow-face>img { display:grid; place-items:center; width:64px; height:64px; border-radius:18px; background:#171715; border:1px solid #34352d; font-size:26px; color:var(--text); margin-bottom:8px; }
.rail-flow-face>img { padding:17px; }
.rail-flow-node strong { font-size:18px; font-weight:500; letter-spacing:-.02em; }
.rail-flow-node>span, .rail-flow-face span { font-size:14px; color:#9fa195; line-height:1.55; }
.rail-flow-face>div { text-align:center; }
.rail-flow-face strong { display:block; margin-bottom:6px; }
.rail-flow-to>i { border-color:rgba(232,181,60,.5); color:var(--bitcoin-orange); background:#1b1912; }
.rail-flow[data-mode="rail"] .rail-flow-to>i { box-shadow:0 0 0 6px rgba(232,181,60,.08),0 0 40px rgba(232,181,60,.25); animation:railHit 1.5s ease-out infinite; }
.rail-flow-middle { display:grid; justify-items:center; }
.rail-flow-face { grid-area:1/1; position:relative; display:flex; flex-direction:column; align-items:center; gap:6px; padding:22px 26px; border-radius:16px; transition:opacity .5s,transform .7s var(--ease-out); }
.rail-flow-face.is-card { background:#131312; border:1px solid #3a3a33; }
.rail-flow-face.is-card>i { background:#221f18; color:#d9dacf; }
.rail-flow[data-mode="card"].is-playing .rail-flow-face.is-card { animation:railHold 3.6s ease-in-out infinite; }
.rail-flow-face.is-rail { border:1px dashed rgba(255,255,255,.3); background:rgba(21,21,21,.9); }
.rail-flow-face.is-rail::before, .rail-flow-face.is-rail::after { content:""; position:absolute; bottom:-41px; height:40px; border-left:1.5px dashed rgba(255,255,255,.3); }
.rail-flow-face.is-rail::before { left:30%; }
.rail-flow-face.is-rail::after { right:30%; }
.rail-flow[data-mode="card"] .rail-flow-face.is-rail { opacity:0; transform:translateY(-82px); pointer-events:none; }
.rail-flow[data-mode="rail"] .rail-flow-face.is-card { opacity:0; transform:scale(.9); }
.rail-flow[data-mode="rail"] .rail-flow-face.is-rail { opacity:1; transform:translateY(-178px); }
.rail-flow[data-mode="card"] .when-rail, .rail-flow[data-mode="rail"] .when-card { display:none; }

.rail-flow-facts { display:grid; grid-template-columns:repeat(4,1fr); margin:24px 0 0; border-top:1px solid #2b2b24; }
.rail-flow-facts>div { padding:26px 22px 0 0; }
.rail-flow-facts dt { font:11px var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:#8f9185; font-weight:400; margin-bottom:12px; }
.rail-flow-facts dd { margin:0; display:flex; flex-direction:column; gap:6px; }
.rail-flow-facts dd span { font-size:24px; letter-spacing:-.03em; line-height:1.25; transition:color .5s,opacity .5s; }
.rail-flow-facts dd .when-card { color:#8f9185; text-decoration:line-through; text-decoration-color:rgba(255,255,255,.25); text-decoration-thickness:1px; font-size:17px; }
.rail-flow-facts dd .when-rail { color:var(--bitcoin-orange); }
.rail-flow-facts[data-mode="card"] dd .when-card { color:var(--text); text-decoration-color:transparent; font-size:24px; }
.rail-flow-facts[data-mode="card"] dd .when-rail { opacity:.7; font-size:17px; }
.rail-flow-facts sup { font-size:.55em; color:#8f9185; }
.rail-flow-note { margin:26px 0 0; font-size:13px; color:#7e8076; max-width:760px; line-height:1.7; }

/* Every flow: the custody promise for bitcoin and cards alike, and the card
   option, under the comparison. */
.rail-every { display:grid; grid-template-columns:1.25fr 1fr; gap:48px; align-items:center; margin-top:48px; padding-top:36px; border-top:1px solid #2b2b24; scroll-margin-top:100px; }
.rail-every-promise .rail-eyebrow { margin-bottom:16px; }
.rail-every-promise p:not(.rail-eyebrow) { margin:0; font-size:21px; line-height:1.6; letter-spacing:-.02em; color:#babbb4; }
.rail-every-promise strong { font-weight:500; color:var(--text); }
.rail-every-cards { display:flex; gap:18px; align-items:flex-start; padding:26px; border-radius:16px; background:#131312; border:1px solid #2e2f28; }
.rail-every-cards>i { flex:none; display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#1b1912; border:1px solid rgba(232,181,60,.5); color:var(--bitcoin-orange); font-size:22px; }
.rail-home .rail-every-cards h3 { font-size:19px; font-weight:500; letter-spacing:-.02em; margin:2px 0 8px; }
.rail-every-cards p { margin:0 0 6px; font-size:15px; line-height:1.65; color:#9fa195; }
.rail-every-cards a { display:inline-flex; align-items:center; gap:10px; min-height:44px; font-size:14px; font-weight:600; text-decoration:none; }
.rail-every-cards a:hover { color:var(--bitcoin-orange); }

/* ── Ways to sell (editorial light surface) ───────────────────────────── */
.rail-ways-section { scroll-margin-top:78px; padding:100px 0 60px; background:#efefe9; color:#1c1d18; }
.rail-ways-section .rail-eyebrow { color:#716c54; }
.rail-section-heading { position:relative; margin-bottom:44px; }
.rail-tabs:not(.is-ready) .rail-tablist { display:none; }
.rail-tabs:not(.is-ready) .rail-panel + .rail-panel { margin-top:14px; }
.rail-tablist { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid #cccdbf; }
.rail-tablist button { position:relative; text-align:left; background:none; border:0; padding:20px 20px 22px 0; font-size:17px; font-weight:500; letter-spacing:-.02em; color:#5d6055; cursor:pointer; transition:color .3s; }
.rail-tablist button span { display:block; font:11px var(--font-mono); letter-spacing:.09em; color:#5d6055; margin-bottom:6px; }
.rail-tablist button[aria-selected="true"] { color:#1c1d18; }
.rail-tablist button:hover { color:#1c1d18; }
.rail-tab-progress { position:absolute; left:0; right:14px; top:-1px; height:2px; background:#1c1d18; transform:scaleX(0); transform-origin:left; }
.rail-tablist button[aria-selected="true"] .rail-tab-progress { transform:scaleX(1); background:var(--bitcoin-orange-dark); }
.rail-tabs.is-auto .rail-tablist button[aria-selected="true"] .rail-tab-progress { animation:railProgress 6.5s linear both; }
.rail-panel { display:grid; grid-template-columns:.85fr 1.15fr; gap:60px; align-items:center; padding:36px 0 10px; }
.rail-panel-copy h3 { font-size:clamp(28px,3vw,38px); font-weight:500; letter-spacing:-.045em; line-height:1.1; margin:0 0 16px; }
.rail-panel-copy p { font-size:18px; color:#5e6155; line-height:1.65; margin:0 0 22px; }
.rail-panel-copy a { display:inline-flex; align-items:center; gap:10px; min-height:44px; font-size:15px; font-weight:600; text-decoration:none; border-bottom:1px solid #1c1d18; }
.rail-panel-visual { position:relative; min-height:300px; border-radius:18px; overflow:hidden; }
.rail-tabs.is-ready .rail-panel:not([hidden]) .rail-panel-visual > * { animation:railUp .7s var(--ease-out) both; }

.rail-chat { background:#fff; border:1px solid #d7d8cb; padding:30px; display:flex; flex-direction:column; gap:12px; box-shadow:0 30px 60px -30px rgba(35,35,20,.25); }
.rail-chat p { margin:0; max-width:78%; padding:12px 16px; border-radius:18px; font-size:15px; line-height:1.45; }
.rail-chat-in { background:#ececE5; align-self:flex-start; border-bottom-left-radius:5px; }
.rail-chat-out { background:#1c1d18; color:#f4f4ee; align-self:flex-end; border-bottom-right-radius:5px; }
.rail-chat-link { align-self:flex-end; display:flex; gap:12px; align-items:center; width:78%; padding:12px; border-radius:14px; background:#f6f6f1; border:1px solid #deded2; }
.rail-chat-link-icon { flex:none; display:grid; place-items:center; width:42px; height:42px; border-radius:10px; background:var(--bitcoin-orange); color:var(--ink); font-size:20px; }
.rail-chat-link strong { display:block; font-size:15px; font-weight:600; }
.rail-chat-link small { font:12px var(--font-mono); color:#5d6055; }
.rail-chat-paid { align-self:center; max-width:none!important; font-size:13px!important; color:#5d5a3f; background:rgba(232,181,60,.18); border:1px solid rgba(184,134,11,.3); border-radius:var(--radius-pill)!important; }
.rail-chat-paid i { color:var(--bitcoin-orange-dark); margin-right:4px; }
.rail-tabs.is-ready .rail-panel:not([hidden]) .rail-chat > :nth-child(2) { animation-delay:.35s; }
.rail-tabs.is-ready .rail-panel:not([hidden]) .rail-chat > :nth-child(3) { animation-delay:.7s; }
.rail-tabs.is-ready .rail-panel:not([hidden]) .rail-chat > :nth-child(4) { animation:railPop .6s var(--ease-out) 1.6s both; }

.rail-code { background:#141412; color:#d8d9cf; padding:28px; display:flex; flex-direction:column; justify-content:center; gap:22px; box-shadow:0 30px 60px -30px rgba(35,35,20,.45); }
.rail-code pre { margin:0; font:14px/1.75 var(--font-mono); white-space:pre-wrap; word-break:break-word; color:#d8d9cf; }
.rail-code .t-tag { color:var(--btc-orange); }
.rail-code .t-attr { color:#f0c14d; }
.rail-code .t-str { color:#c9cabf; }
.rail-code .t-com { color:#6f7167; }
.rail-code-result { display:flex; align-items:center; gap:16px; flex-wrap:wrap; font-size:13px; color:#8f9185; }
.rail-fake-button { display:inline-flex; align-items:center; gap:8px; padding:11px 18px; border-radius:8px; background:var(--bitcoin-orange); color:var(--ink); font-weight:600; font-size:14px; box-shadow:0 8px 24px rgba(232,181,60,.25); }
.rail-tabs.is-ready .rail-panel:not([hidden]) .rail-code-result { animation-delay:.5s; }


/* ── After the payment: the operations grid ───────────────────────────── */
.rail-biz-section { position:relative; padding:120px 0 110px; scroll-margin-top:78px; }
.rail-biz-head { display:flex; justify-content:space-between; align-items:flex-end; gap:48px; margin-bottom:52px; }
.rail-biz-head h2 { margin:0; }
.rail-biz-head>p { flex:none; max-width:380px; margin:0 0 6px; font-size:17px; line-height:1.7; color:#9fa195; }
.rail-bento { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; }
.rail-cell { --mx:50%; --my:0%; position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; min-height:372px; padding:30px 30px 0; border-radius:22px; background:#0f0f0e; border:1px solid #24251f; transition:border-color .35s,transform .6s var(--ease-out); }
.rail-cell::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; background:radial-gradient(560px circle at var(--mx) var(--my),rgba(232,181,60,.14),transparent 62%); transition:opacity .45s; }
.rail-cell:hover { border-color:#4c4732; }
.rail-cell:hover::before { opacity:1; }
.rail-cell.is-7 { grid-column:span 7; }
.rail-cell.is-5 { grid-column:span 5; }
.rail-cell.is-4 { grid-column:span 4; }
.rail-cell.is-12 { grid-column:span 12; }
.rail-cell .rail-cell-tag { display:flex; align-items:center; gap:9px; margin:0 0 16px; font:11px var(--font-mono); letter-spacing:.12em; color:var(--bitcoin-orange); }
.rail-cell-tag i { font-size:14px; }
.rail-home .rail-cell h3 { font-size:24px; font-weight:500; letter-spacing:-.035em; line-height:1.18; margin:0 0 10px; text-wrap:balance; }
.rail-cell>p:not(.rail-cell-tag), .rail-cell.is-wide>div>p:not(.rail-cell-tag) { margin:0; max-width:46ch; font-size:15.5px; line-height:1.65; color:#9fa195; }
.rail-cell-visual { margin-top:auto; padding-top:28px; }
.rail-cell-visual.has-slip { padding-bottom:34px; }

/* Sales record: rows written once. */
.rail-ledger { border:1px solid #2a2b25; border-bottom:0; border-radius:14px 14px 0 0; background:#0b0b0a; overflow:hidden; }
.rail-ledger-head, .rail-ledger li { display:grid; grid-template-columns:54px minmax(0,1fr) 92px 78px; gap:12px; align-items:center; padding:11px 18px; }
.rail-ledger-head { font:10px var(--font-mono); letter-spacing:.1em; color:#75776c; border-bottom:1px solid #24251f; }
.rail-ledger ul { list-style:none; margin:0; padding:0; }
.rail-ledger li { font-size:14px; color:#c9cbc0; border-bottom:1px solid #1d1e19; }
.rail-ledger li:last-child { border-bottom:0; padding-bottom:16px; }
.rail-ledger li>span:first-child { font:12px var(--font-mono); color:#8f9185; }
.rail-ledger li>span:nth-child(2) { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rail-ledger li em { font:normal 11px var(--font-mono); color:#9d9f93; white-space:nowrap; }
.rail-ledger li em i { color:var(--bitcoin-orange); margin-right:4px; }
.rail-ledger li b { text-align:right; font-weight:500; font-variant-numeric:tabular-nums; }
.rail-ledger li.is-fresh { background:linear-gradient(90deg,rgba(232,181,60,.1),transparent 70%); }
.rail-ledger li.is-fresh>span:first-child { color:var(--bitcoin-orange); }
.rail-ledger li.is-back b { color:#9d9f93; }
.rail-ledger-head span:last-child, .rail-ledger-head span:nth-child(3) { text-align:right; }
.rail-ledger-head span:nth-child(3) { text-align:left; }

/* Tax: what was paid, split. */
.rail-split-lines { list-style:none; margin:0 0 22px; padding:0; border:1px solid #2a2b25; border-radius:12px; overflow:hidden; background:#0b0b0a; }
.rail-split-lines li { display:grid; grid-template-columns:minmax(0,1fr) 72px 66px; gap:10px; align-items:center; padding:10px 14px; font-size:14px; color:#c9cbc0; border-bottom:1px solid #1d1e19; }
.rail-split-lines li:last-child { border-bottom:0; }
.rail-split-lines li.is-head { font:10px var(--font-mono); letter-spacing:.1em; color:#75776c; border-bottom-color:#24251f; }
.rail-split-lines li>:nth-child(n+2) { text-align:right; font-variant-numeric:tabular-nums; }
.rail-split-lines li b { font-weight:500; color:var(--bitcoin-orange); }
.rail-split { padding-bottom:30px; }
.rail-split-total { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:14px; font-size:14px; color:#9fa195; }
.rail-split-total strong { font-size:34px; font-weight:500; letter-spacing:-.045em; color:var(--text); font-variant-numeric:tabular-nums; }
.rail-split-bar { display:flex; height:14px; border-radius:99px; overflow:hidden; background:#1c1d19; }
.rail-split-bar i { display:block; height:100%; }
.rail-split-bar .is-net { width:92.59%; background:linear-gradient(90deg,#f0c14d,var(--btc-orange)); box-shadow:0 0 14px rgba(247,147,26,.45); }
.rail-split-bar .is-tax { flex:1; background:repeating-linear-gradient(135deg,#8a8c80 0 5px,#5f6158 5px 10px); }
.rail-split dl { display:grid; gap:8px; margin:18px 0 0; }
.rail-split dl>div { display:flex; justify-content:space-between; gap:16px; font-size:14px; color:#b9bbb0; }
.rail-split dt { font-weight:400; display:flex; align-items:center; gap:9px; }
.rail-split dt::before { content:""; width:8px; height:8px; border-radius:2px; background:var(--bitcoin-orange); }
.rail-split .is-taxline dt::before { background:#8a8c80; }
.rail-split dd { margin:0; font-variant-numeric:tabular-nums; }

/* Books: reports and exports. */
.rail-books { padding-bottom:30px; }
.rail-books ul { list-style:none; margin:0 0 16px; padding:0; }
.rail-books li { display:grid; grid-template-columns:minmax(0,1fr) 84px; gap:14px; align-items:center; padding:10px 0; border-bottom:1px solid #1d1e19; font-size:14px; color:#c9cbc0; }
.rail-books li i { display:block; height:6px; border-radius:99px; background:linear-gradient(90deg,#f0c14d,var(--btc-orange)); width:var(--w,60%); justify-self:end; opacity:.85; }
.rail-chips { display:flex; flex-wrap:wrap; gap:8px; }
.rail-chips span { padding:6px 12px; border-radius:var(--radius-pill); border:1px solid #34352d; background:#151513; font:11px var(--font-mono); letter-spacing:.04em; color:#c9cbc0; }
.rail-chips span i { color:var(--bitcoin-orange); margin-right:6px; }

/* Receipt: a paper slip, torn at the foot. */
.rail-slip { position:relative; width:min(100%,250px); margin-inline:auto; padding:18px 18px 26px; background:#f3f2ea; color:#1c1d18; border-radius:8px 8px 0 0; font-size:13px; transform:rotate(-2deg) translateY(6px); transform-origin:50% 100%; transition:transform .6s var(--ease-out); -webkit-mask:linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat,radial-gradient(circle at 50% 100%,transparent 6px,#000 6.5px) bottom/14px 10px repeat-x; mask:linear-gradient(#000 0 0) top/100% calc(100% - 9px) no-repeat,radial-gradient(circle at 50% 100%,transparent 6px,#000 6.5px) bottom/14px 10px repeat-x; }
.rail-cell:hover .rail-slip { transform:rotate(0) translateY(0); }
.rail-slip strong { display:block; font-size:15px; letter-spacing:-.02em; }
.rail-slip small { display:block; margin-bottom:10px; font:10px var(--font-mono); letter-spacing:.06em; color:#76786b; }
.rail-slip ul { list-style:none; margin:0; padding:8px 0; border-top:1px dashed #b9b9aa; border-bottom:1px dashed #b9b9aa; }
.rail-slip li, .rail-slip p { display:flex; justify-content:space-between; gap:12px; margin:0; padding:3px 0; color:#1c1d18; font-size:13px; max-width:none; line-height:1.5; }
.rail-slip p { padding-top:8px; font-weight:600; }
.rail-slip em { display:flex; align-items:center; gap:6px; margin-top:8px; font:normal 11px var(--font-mono); color:#5d5a3f; }
.rail-slip em i { color:var(--bitcoin-orange-dark); }

/* Team: a seat each. */
.rail-team { list-style:none; margin:0; padding:0 0 30px; display:grid; gap:10px; }
.rail-team li { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; border:1px solid #24251f; background:#0b0b0a; font-size:14px; color:#c9cbc0; }
.rail-team li>span:first-child { flex:none; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#1b1912; border:1px solid rgba(232,181,60,.45); font:600 12px var(--font-mono); color:var(--bitcoin-orange); }
.rail-team li>span:nth-child(2) { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rail-team li em { font:normal 10px var(--font-mono); letter-spacing:.08em; color:#9d9f93; border:1px solid #3a3b33; border-radius:3px; padding:2px 7px; white-space:nowrap; }

/* Systems: the event your software hears. */
.rail-cell.is-wide { flex-direction:row; align-items:center; gap:48px; min-height:0; padding:34px; }
.rail-cell.is-wide>div:first-child { flex:1 1 0; min-width:0; }
.rail-cell.is-wide .rail-cell-visual { flex:1.25 1 0; min-width:0; margin:0; padding:0; }
.rail-cell-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:14px; font-size:14px; font-weight:600; text-decoration:none; }
.rail-cell-link:hover { color:var(--bitcoin-orange); }
.rail-cell-link i { transition:transform var(--t-base) var(--ease-out); }
.rail-cell-link:hover i { transform:translateX(3px); }
.rail-wire { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,.8fr); gap:14px; align-items:center; }
.rail-wire pre { margin:0; padding:18px; border-radius:14px; background:#0b0b0a; border:1px solid #2a2b25; font:13px/1.75 var(--font-mono); color:#d8d9cf; white-space:pre-wrap; word-break:break-word; }
.rail-wire .t-key { color:#f0c14d; }
.rail-wire .t-str { color:#c9cabf; }
.rail-wire .t-com { color:#6f7167; }
.rail-wire-arrow { position:relative; width:54px; height:2px; background:repeating-linear-gradient(90deg,rgba(255,255,255,.4) 0 3px,transparent 3px 8px); }
.rail-wire-arrow::after { content:""; position:absolute; top:-3px; left:0; width:8px; height:8px; border-radius:50%; background:#fff; opacity:0; }
.rail-wire-arrow.is-live::after { animation:railWire 2.2s var(--ease-in-out) infinite; }
.rail-wire-to { padding:16px 18px; border-radius:14px; border:1px solid #2a2b25; background:#0b0b0a; }
.rail-wire-to small { display:block; margin-bottom:8px; font:10px var(--font-mono); letter-spacing:.1em; color:#75776c; }
.rail-wire-to strong { display:block; font:500 13px var(--font-mono); color:#d8d9cf; word-break:break-all; }
.rail-wire-to span { display:inline-flex; align-items:center; gap:7px; margin-top:10px; padding:4px 10px; border-radius:var(--radius-pill); background:rgba(232,181,60,.12); border:1px solid rgba(232,181,60,.35); font:11px var(--font-mono); color:var(--bitcoin-orange); }

/* A printed QR code, in the ways-to-sell tabs. Decorative: it does not scan. */
.rail-qr { background:#fff; border:1px solid #d7d8cb; padding:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; box-shadow:0 30px 60px -30px rgba(35,35,20,.25); }
.rail-qr-stand { display:flex; align-items:center; gap:22px; padding:18px 22px 18px 18px; border-radius:16px; background:#f6f6f1; border:1px solid #deded2; }
.rail-qr-stand svg { display:block; width:132px; height:132px; padding:10px; border-radius:10px; background:#fff; border:1px solid #deded2; color:#1c1d18; }
.rail-qr-stand strong { display:block; font-size:19px; font-weight:600; letter-spacing:-.02em; }
.rail-qr-stand b { display:block; margin:2px 0 10px; font-size:30px; font-weight:500; letter-spacing:-.04em; }
.rail-qr-stand small { display:flex; align-items:center; gap:6px; font:12px var(--font-mono); color:#5d6055; }
.rail-qr-stand small i { color:var(--bitcoin-orange-dark); }
.rail-qr .rail-chat-paid { margin:0; padding:9px 16px; font-size:13px; color:#5d5a3f; background:rgba(232,181,60,.18); border:1px solid rgba(184,134,11,.3); border-radius:var(--radius-pill); }
.rail-tabs.is-ready .rail-panel:not([hidden]) .rail-qr > :nth-child(2) { animation:railPop .6s var(--ease-out) 1.2s both; }

/* The grid's small entrances, once, when a cell scrolls in. */
.rail-reveal-ready .rail-cell .rail-ledger li { opacity:0; transform:translateY(10px); transition:opacity .6s var(--ease-out),transform .6s var(--ease-out); transition-delay:calc(var(--i,0) * 110ms + 250ms); }
.rail-reveal-ready .rail-cell.is-in .rail-ledger li { opacity:1; transform:none; }
.rail-reveal-ready .rail-cell .rail-split-bar .is-net { width:0; transition:width 1.1s var(--ease-out) .35s; }
.rail-reveal-ready .rail-cell.is-in .rail-split-bar .is-net { width:92.59%; }
.rail-reveal-ready .rail-cell .rail-books li i { width:0; transition:width .9s var(--ease-out) .3s; }
.rail-reveal-ready .rail-cell.is-in .rail-books li i { width:var(--w,60%); }

/* ── Fee meter ────────────────────────────────────────────────────────── */
.rail-meter-section { padding:110px 0; border-top:1px solid #1e1f1a; background:linear-gradient(180deg,#0d0d0c,var(--ink)); }
.rail-meter-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:center; }
.rail-meter-lead { font-size:18px; color:#9fa195; line-height:1.7; max-width:440px; }
.rail-meter { padding:36px; border-radius:18px; background:#131312; border:1px solid #2e2f28; box-shadow:0 40px 80px -40px rgba(0,0,0,.8); }
.rail-meter label { display:flex; justify-content:space-between; align-items:baseline; font-size:15px; color:#9fa195; margin-bottom:18px; }
.rail-meter output { font-size:44px; font-weight:500; letter-spacing:-.045em; color:var(--text); font-variant-numeric:tabular-nums; }
.rail-meter input[type=range] { --p:9.1%; -webkit-appearance:none; appearance:none; width:100%; height:8px; border-radius:99px; background:linear-gradient(90deg,var(--bitcoin-orange) var(--p),#2c2d27 var(--p)); outline:none; cursor:pointer; margin:0; }
.rail-meter input[type=range]::-webkit-slider-thumb { -webkit-appearance:none; width:28px; height:28px; border-radius:50%; background:var(--text); border:6px solid var(--bitcoin-orange); box-shadow:0 0 0 6px rgba(232,181,60,.15),0 6px 16px rgba(0,0,0,.5); transition:transform .2s; }
.rail-meter input[type=range]::-moz-range-thumb { width:18px; height:18px; border-radius:50%; background:var(--text); border:6px solid var(--bitcoin-orange); box-shadow:0 0 0 6px rgba(232,181,60,.15); }
.rail-meter input[type=range]:active::-webkit-slider-thumb { transform:scale(1.12); }
.rail-meter input[type=range]:focus-visible { outline:2px solid var(--bitcoin-orange); outline-offset:8px; }
.rail-meter-scale { display:flex; justify-content:space-between; font:11px var(--font-mono); color:#8f9185; margin:10px 0 30px; }
/* The second slider: the share of those sales paid in bitcoin. */
.rail-meter .rail-meter-share output { font-size:30px; }
.rail-meter-bars { display:grid; gap:16px; }
.rail-meter-row { display:grid; grid-template-columns:130px 1fr 120px; gap:16px; align-items:center; font-size:14px; color:#b9bbb0; }
.rail-meter-row b { text-align:right; font-size:18px; font-weight:500; color:var(--text); font-variant-numeric:tabular-nums; }
.rail-meter-bar { height:14px; border-radius:99px; background:#1c1d19; overflow:hidden; }
.rail-meter-bar i { display:block; height:100%; width:var(--w); min-width:6px; border-radius:99px; transition:width .6s var(--ease-out); }
.rail-meter-bar .is-card { background:repeating-linear-gradient(135deg,#76786e 0 6px,#5f6158 6px 12px); }
.rail-meter-bar .is-rail { background:linear-gradient(90deg,#f0c14d,var(--btc-orange)); box-shadow:0 0 14px rgba(247,147,26,.5); }
/* Selling the bitcoin for dollars: a cost on SatsRail's side of the sum, quieter than the plan. */
.rail-meter-bar .is-convert { background:rgba(232,181,60,.38); }
.rail-meter-total { display:flex; justify-content:space-between; align-items:baseline; gap:20px; flex-wrap:wrap; margin:30px 0 0; padding-top:24px; border-top:1px solid #2c2d27; }
.rail-meter-total span { font-size:15px; color:#9fa195; }
.rail-meter-total strong { font-size:clamp(34px,4vw,50px); font-weight:500; letter-spacing:-.045em; color:var(--bitcoin-orange); font-variant-numeric:tabular-nums; }
.rail-meter-note { margin:14px 0 0; font-size:12px; line-height:1.7; color:#7e8076; }
.rail-meter-note a { color:#d0cbb3!important; }

/* ── Setup and pricing ────────────────────────────────────────────────── */
.rail-start-section { scroll-margin-top:78px; padding:110px 0; border-top:1px solid #1e1f1a; }
.rail-start-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:120px; align-items:center; }
.rail-steps { list-style:none; padding:0; margin:35px 0 15px; position:relative; }
.rail-steps::before { content:""; position:absolute; left:6px; top:8px; bottom:32px; border-left:1px dashed #3a3b33; }
.rail-steps li { display:flex; gap:22px; padding:0 0 26px; position:relative; }
.rail-steps li>span { position:relative; flex:none; font:11px var(--font-mono); color:var(--bitcoin-orange); padding-top:5px; background:var(--ink); }
.rail-steps h3 { font-size:19px; font-weight:500; letter-spacing:-.02em; margin:0 0 6px; }
.rail-steps p { font-size:15px; color:#979a8d; line-height:1.7; margin:0; }
.rail-price-card { position:relative; padding:36px; border:1px solid #55503a; border-radius:14px; background:radial-gradient(ellipse at 90% 0,rgba(232,181,60,.1),transparent 68%),#0f0f0e; box-shadow:0 40px 80px -40px rgba(232,181,60,.2); }
.rail-price-top { display:flex; justify-content:space-between; font:11px var(--font-mono); letter-spacing:.1em; color:var(--bitcoin-orange); }
.rail-price-top i { font-size:21px; }
.rail-price { display:flex; align-items:baseline; gap:15px; margin:21px 0 8px; }
.rail-price strong { font-size:95px; font-weight:400; line-height:1.1; letter-spacing:-.07em; }
.rail-price span { color:#979a8c; font-size:15px; }
.rail-price-volume { color:#b6b9a9; font-size:16px; margin-bottom:25px; line-height:1.6; }
.rail-price-volume strong { font-weight:500; color:#e7e9df; }
/* The paid plans by volume (owner, 2026-11-25), one row each under Free. */
.rail-price-plans { margin:0 0 22px; border-top:1px solid rgba(255,255,255,.08); }
.rail-price-plans>div { display:grid; grid-template-columns:96px minmax(0,1fr); gap:12px; padding:11px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.rail-price-plans dt { font:500 11px/1.9 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--bitcoin-orange); }
.rail-price-plans dd { margin:0; font-size:14px; line-height:1.6; color:#b6b9a9; }
.rail-price-plans dd strong { font-weight:500; color:#e7e9df; }
.rail-price-promise { display:flex; align-items:center; gap:10px; font-size:14px; color:#b6b9a9; margin:13px 0; }
.rail-price-promise i { color:var(--bitcoin-orange); }
.rail-price-card .rail-button { width:100%; margin-top:18px; }
.rail-price-note { color:#9c9f91; font-size:13px; line-height:1.8; margin:18px 0 10px; }
.rail-price-details { display:flex; align-items:center; gap:12px; min-height:40px; font-size:13px; color:#ccc9b7!important; text-decoration:none; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.rail-questions { padding:90px 0 100px; border-top:1px solid #282a22; }
.rail-faq-grid { display:grid; grid-template-columns:1fr 1.1fr; gap:80px; }
.rail-questions h2 { font-size:42px; }
.rail-questions .rail-eyebrow { font-size:11px; }
.rail-faq details { border-bottom:1px solid #303229; padding:20px 0; }
.rail-faq details:first-child { padding-top:0; }
.rail-faq summary { display:flex; align-items:center; justify-content:space-between; gap:22px; min-height:44px; font-size:17px; line-height:1.7; cursor:pointer; list-style:none; transition:color .2s; }
.rail-faq summary:hover { color:var(--bitcoin-orange); }
.rail-faq summary::-webkit-details-marker { display:none; }
.rail-faq summary i { color:#91947f; transition:transform .3s var(--ease-out); }
.rail-faq details[open] summary i { transform:rotate(45deg); color:var(--bitcoin-orange); }
.rail-faq details[open] p { animation:railUp .45s var(--ease-out) both; }
.rail-faq p { font-size:16px; line-height:1.8; color:#9b9e8d; margin:15px 25px 0 0; }
.rail-faq a { color:#d0cbb3; }

/* ── Final call ───────────────────────────────────────────────────────── */
.rail-final { text-align:center; padding:130px 0 120px; position:relative; overflow:hidden; background:radial-gradient(ellipse 60% 70% at 50% 100%,rgba(232,181,60,.12),transparent 70%); border-top:1px solid #1e1f1a; }
.rail-final-rail { position:absolute; inset:0; display:grid; align-content:center; gap:70px; pointer-events:none; opacity:.9; }
.rail-final-rail span { position:relative; height:1px; background:rgba(232,181,60,.12); overflow:hidden; }
.rail-final-rail span::after { content:""; position:absolute; top:-1px; left:0; width:22%; height:3px; background:linear-gradient(90deg,transparent,#f0c14d,var(--btc-orange),transparent); filter:blur(.5px); transform:translateX(-120%); animation:railStreak 5.5s cubic-bezier(.6,0,.4,1) infinite; }
.rail-final-rail span:nth-child(2)::after { animation-delay:1.8s; animation-duration:4.6s; }
.rail-final-rail span:nth-child(3)::after { animation-delay:3.1s; animation-duration:6.2s; }
.rail-final .rail-container { position:relative; }
.rail-final .rail-eyebrow { justify-content:center; }
.rail-final h2 { font-size:clamp(56px,7vw,100px); line-height:1; letter-spacing:-.055em; margin:0 0 38px; }
.rail-final h2 span { color:var(--bitcoin-orange); background:linear-gradient(100deg,#f0c14d 10%,var(--btc-orange) 50%,#f0c14d 90%); background-size:200% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:railSheen 6s ease-in-out infinite; }
.rail-final-actions { display:flex; justify-content:center; align-items:center; gap:26px; flex-wrap:wrap; }
.rail-final-fine { margin:26px 0 0; font-size:13px; color:#8f9185; }

/* Mobile sticky CTA, revealed by home.js once the hero is out of view. */
.rail-sticky { position:fixed; left:0; right:0; bottom:0; z-index:1030; padding:12px 16px calc(12px + env(safe-area-inset-bottom)); background:rgba(10,10,10,.92); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); border-top:1px solid rgba(232,181,60,.3); transform:translateY(110%); transition:transform .35s var(--ease-out); display:none; }
.rail-sticky .rail-button { width:100%; min-height:48px; }
.rail-sticky.is-visible { transform:none; }

/* ── Modal ────────────────────────────────────────────────────────────── */
.rail-home .modal-content { background:var(--surface); color:var(--text); }
.rail-home .modal .text-muted { color:#aaa!important; }
.rail-home .modal .btn-close { filter:invert(1); }
.rail-home .modal .btn-bitcoin { background:var(--bitcoin-orange); color:var(--ink); }
.rail-preview-modal .modal-dialog { max-width:460px; }
.rail-preview-modal .modal-header { border-color:#33352a; }
.rail-home .rail-preview-modal h2 { font-size:18px; letter-spacing:-.02em; margin:0; }
.rail-preview-modal .modal-body { padding:18px; text-align:center; }
.rail-preview-modal img { display:block; width:100%; height:auto; border-radius:6px; }
.rail-preview-modal p { font-size:13px; color:#aaa99a; margin:15px 0 8px; }
.rail-preview-modal a { color:var(--bitcoin-orange); font-size:14px; }
.rail-preview-modal small { display:block; font-size:12px; color:#aaa99a; margin-top:8px; }

/* ── Page kit ─────────────────────────────────────────────────────────── */
/* The sections every page on the home layout is built from, so a new page
   needs no stylesheet of its own: a hero with an optional panel, sections
   with a heading block, cards, points, rows, a two-way comparison. The FAQ
   (.rail-questions) and the closing call (.rail-final) are above. */
.kit-hero { position:relative; isolation:isolate; overflow:hidden; padding:84px 0 80px; }
.kit-hero::before { content:""; position:absolute; inset:-20% -10% 0; z-index:-2; pointer-events:none; background:radial-gradient(ellipse 46% 56% at 10% 18%,rgba(232,181,60,.14),transparent 70%),radial-gradient(ellipse 40% 52% at 88% 62%,rgba(247,147,26,.1),transparent 70%); }
.kit-hero::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background-image:linear-gradient(rgba(232,181,60,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(232,181,60,.045) 1px,transparent 1px); background-size:48px 48px; -webkit-mask-image:radial-gradient(ellipse 55% 70% at 78% 45%,#000 10%,transparent 75%); mask-image:radial-gradient(ellipse 55% 70% at 78% 45%,#000 10%,transparent 75%); }
.kit-hero-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:72px; align-items:center; }
.kit-hero h1 { font-size:clamp(42px,5.6vw,80px); font-weight:500; line-height:1.02; letter-spacing:-.055em; margin:0 0 26px; text-wrap:balance; }
.kit-hero h1 span { display:inline-block; padding-bottom:.1em; color:var(--bitcoin-orange); background:linear-gradient(100deg,#f0c14d 10%,var(--btc-orange) 50%,#f0c14d 90%); background-size:200% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; animation:railSheen 6s ease-in-out infinite; }
.kit-lead { color:#babbb4; font-size:19px; line-height:1.7; letter-spacing:-.012em; max-width:600px; margin:0 0 30px; }
.kit-panel { padding:28px 28px 18px; border-radius:20px; border:1px solid #494532; background:radial-gradient(ellipse at top right,var(--gold-glow),transparent 72%),#0f0f0e; box-shadow:0 40px 80px -40px rgba(0,0,0,.8); }
.kit-panel.is-signal { border:1px dashed rgba(255,255,255,.28); background:#0f0f0e; }
.kit-panel .rail-eyebrow { margin:0 0 6px; }
.kit-panel ul { list-style:none; margin:0 0 20px; padding:0; }
.kit-panel ul:last-child { margin-bottom:0; }
.kit-panel li { display:flex; gap:12px; align-items:flex-start; padding:11px 0; border-bottom:1px solid rgba(255,255,255,.07); font-size:15.5px; line-height:1.5; color:#d6d7cd; }
.kit-panel li:last-child { border-bottom:0; }
.kit-panel li i { flex:none; font-size:16px; line-height:1.45; color:var(--bitcoin-orange); }
.kit-panel ul.is-quiet li { color:#a9ab9f; }
.kit-panel ul.is-quiet li i { color:#8f9185; }
.kit-panel-note { margin:6px 0 10px; font-size:13px; line-height:1.6; color:#8f9185; }

.kit-section { padding:104px 0; border-top:1px solid #1e1f1a; scroll-margin-top:78px; }
.kit-section.is-surface { background:#0d0d0c; }
.kit-head { max-width:820px; margin-bottom:50px; }
.kit-head h2 { margin-bottom:18px; }
.kit-head>p:not(.rail-eyebrow) { max-width:640px; margin:0; font-size:18px; line-height:1.7; color:#9fa195; }
.kit-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.kit-cards.is-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.kit-card { --mx:50%; --my:0%; position:relative; isolation:isolate; overflow:hidden; padding:28px; border-radius:20px; background:#0f0f0e; border:1px solid #24251f; transition:border-color .35s; }
.kit-card::before { content:""; position:absolute; inset:0; z-index:-1; opacity:0; background:radial-gradient(480px circle at var(--mx) var(--my),rgba(232,181,60,.13),transparent 62%); transition:opacity .45s; }
.kit-card:hover { border-color:#4c4732; }
.kit-card:hover::before { opacity:1; }
.kit-card>i { display:block; margin-bottom:18px; font-size:22px; line-height:1; color:var(--bitcoin-orange); }
.kit-card small { display:block; margin:-6px 0 10px; font:11px var(--font-mono); letter-spacing:.12em; color:var(--bitcoin-orange); }
.rail-home .kit-card h3 { font-size:20px; font-weight:500; letter-spacing:-.03em; line-height:1.25; margin:0 0 8px; }
.kit-card p { margin:0; font-size:15.5px; line-height:1.65; color:#9fa195; }
.kit-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:80px; align-items:start; }
.kit-split .kit-head { margin-bottom:0; }
.kit-points { list-style:none; margin:0; padding:0; }
.kit-points li { display:grid; grid-template-columns:auto 1fr; gap:4px 18px; padding:22px 0; border-top:1px solid #2b2b24; }
.kit-points li:last-child { border-bottom:1px solid #2b2b24; }
.kit-points i { grid-row:span 2; font-size:20px; line-height:1.4; color:var(--bitcoin-orange); }
.kit-points strong { font-size:18px; font-weight:500; letter-spacing:-.02em; }
.kit-points span { font-size:15.5px; line-height:1.65; color:#9fa195; }
.kit-rows { margin:0; border-top:1px solid #2b2b24; }
.kit-rows>div { display:grid; grid-template-columns:240px minmax(0,1fr); gap:32px; padding:22px 0; border-bottom:1px solid #2b2b24; }
.kit-rows dt { font:11px/1.9 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; font-weight:400; color:var(--bitcoin-orange); }
.kit-rows dd { margin:0; font-size:17px; line-height:1.65; color:#d6d7cd; }
.kit-compare { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.kit-bill { padding:28px 28px 22px; border-radius:20px; border:1px solid #24251f; background:#0f0f0e; }
.kit-bill.is-gold { border-color:rgba(232,181,60,.45); background:linear-gradient(150deg,#1f1c12,#111 55%); box-shadow:0 0 80px rgba(232,181,60,.07); }
.rail-home .kit-bill h3 { margin:0 0 12px; font:11px var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#8f9185; }
.rail-home .kit-bill.is-gold h3 { color:var(--bitcoin-orange); }
.kit-bill dl { margin:0; }
.kit-bill dl>div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:12px 0; border-top:1px solid rgba(255,255,255,.07); font-size:15.5px; color:#b9bbb0; }
.kit-bill dt { font-weight:400; }
.kit-bill dd { margin:0; font-variant-numeric:tabular-nums; color:#d6d7cd; white-space:nowrap; }
.kit-bill .is-total { padding-top:16px; font-size:17px; color:var(--text); }
.kit-bill .is-total dd { font-size:34px; font-weight:500; letter-spacing:-.045em; color:var(--text); }
.kit-bill.is-gold .is-total dd { color:var(--bitcoin-orange); }
.kit-note { max-width:760px; margin:22px 0 0; font-size:13px; line-height:1.7; color:#7e8076; }
.kit-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:26px; font-size:15px; font-weight:600; text-decoration:none; }
.kit-link:hover { color:var(--bitcoin-orange); }
.kit-link i { transition:transform var(--t-base) var(--ease-out); }
.kit-link:hover i { transform:translateX(3px); }
.kit-band { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:center; }
.kit-band h2 { margin:0 0 14px; }
.kit-band p:not(.rail-eyebrow) { margin:0; max-width:560px; font-size:17px; line-height:1.7; color:#9fa195; }
@media(max-width:991px) {
  .kit-hero { padding:56px 0 60px; }
  .kit-hero-grid, .kit-split { grid-template-columns:minmax(0,1fr); gap:40px; }
  .kit-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kit-section { padding:84px 0; }
  .kit-band { grid-template-columns:minmax(0,1fr); gap:24px; }
}
@media(max-width:700px) {
  .kit-hero { padding:40px 0 52px; }
  .kit-hero h1 { font-size:clamp(40px,11.6vw,58px); margin-bottom:20px; }
  .kit-lead { font-size:17px; line-height:1.65; margin-bottom:26px; }
  .kit-hero .rail-actions .rail-button { flex:1 1 100%; }
  .kit-section { padding:68px 0; }
  .kit-head { margin-bottom:34px; }
  .kit-cards, .kit-cards.is-2, .kit-compare { grid-template-columns:minmax(0,1fr); gap:12px; }
  .kit-card, .kit-panel, .kit-bill { padding:22px; border-radius:18px; }
  .kit-rows>div { grid-template-columns:minmax(0,1fr); gap:6px; padding:18px 0; }
  .kit-rows dd { font-size:16px; }
  .kit-bill .is-total dd { font-size:28px; }
}

/* ── Page kit: reference parts ────────────────────────────────────────── */
/* What a page that explains or compares needs beyond the parts above: a
   table that turns into cards on a phone, code, callouts, running text,
   figures, checklists and pictures. */
.kit-hero-solo { max-width:900px; }
.kit-stack>*+* { margin-top:28px; }
.kit-cards.is-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
a.kit-card { display:block; text-decoration:none; color:inherit; }
/* A card that is one link: its list item is the grid cell, so the link fills it. */
.kit-cards>li:not(.kit-card) { display:flex; }
.kit-cards>li:not(.kit-card)>a.kit-card { flex:1 1 auto; }
a.kit-card:focus-visible { outline:2px solid var(--bitcoin-orange); outline-offset:3px; }
.kit-card .kit-link { margin-top:10px; min-height:28px; }
.kit-card ul { margin:12px 0 0; padding-left:18px; font-size:15px; line-height:1.65; color:#9fa195; }
.kit-tag { display:inline-block; padding:3px 9px; border:1px solid rgba(232,181,60,.4); border-radius:999px; font:11px/1.7 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--bitcoin-orange); white-space:nowrap; }
.kit-tag.is-quiet { border-color:#3a3b33; color:#9fa195; }
.kit-card>.kit-tag { margin-bottom:12px; }
/* A card's plan tag sits on its icon's row, at the right, so every heading starts at the same height. */
.kit-card>i+.kit-tag { position:absolute; top:26px; right:26px; margin:0; }
.kit-card h3 .kit-tag { margin-left:8px; vertical-align:middle; letter-spacing:.1em; }

.kit-table { border:1px solid #24251f; border-radius:20px; background:#0f0f0e; overflow:hidden; }
.kit-table table { width:100%; border-collapse:collapse; font-size:15.5px; line-height:1.55; }
.kit-table caption { caption-side:top; padding:20px 24px 4px; text-align:left; font:11px/1.7 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#8f9185; }
.kit-table th, .kit-table td { padding:16px 24px; text-align:left; vertical-align:top; border-top:1px solid rgba(255,255,255,.07); font-weight:400; color:#b9bbb0; }
.kit-table thead th { border-top:0; font:11px/1.7 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:#8f9185; }
.kit-table tbody th { width:26%; font-weight:500; color:var(--text); }
.kit-table .is-us { background:rgba(232,181,60,.055); color:var(--text); }
.kit-table thead .is-us { color:var(--bitcoin-orange); }
.kit-table .is-group th { width:auto; padding-top:26px; font:11px/1.7 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--bitcoin-orange); background:#0b0b0a; }
.kit-table td i { margin-right:6px; color:var(--bitcoin-orange); }
.kit-table td i.bi-dash-lg, .kit-table td i.bi-x-lg { color:#7e8076; }
.kit-table td small { display:block; margin-top:4px; font-size:13px; line-height:1.55; color:#8f9185; }

.kit-code { margin:0; padding:22px 24px; border-radius:16px; border:1px solid #24251f; background:#0b0b0a; overflow-x:auto; font:13.5px/1.75 var(--font-mono); color:#d6d7cd; tab-size:2; -webkit-overflow-scrolling:touch; }
.kit-code:focus-visible { outline:2px solid var(--bitcoin-orange); outline-offset:3px; }
.kit-code code { padding:0; background:none; font:inherit; color:inherit; white-space:pre; }
.kit-code-title { margin:0 0 10px; font:11px/1.7 var(--font-mono); letter-spacing:.12em; text-transform:uppercase; color:#8f9185; }
.kit-section :not(pre)>code, .kit-hero :not(pre)>code, .rail-faq :not(pre)>code { padding:.12em .42em; border-radius:6px; background:rgba(255,255,255,.07); font:.9em var(--font-mono); color:#e9e1c4; overflow-wrap:anywhere; }

.kit-callout { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 16px; padding:22px 24px; border-radius:18px; border:1px dashed rgba(255,255,255,.24); background:#0f0f0e; }
.kit-callout>i { grid-row:span 3; font-size:20px; line-height:1.4; color:var(--bitcoin-orange); }
.kit-callout>:not(i) { grid-column:2; }
.kit-callout strong { font-size:17px; font-weight:500; letter-spacing:-.02em; color:var(--text); }
.kit-callout p { margin:0; font-size:15.5px; line-height:1.65; color:#a9ab9f; }
.kit-callout.is-gold { border:1px solid rgba(232,181,60,.45); background:linear-gradient(150deg,#1f1c12,#111 55%); }

.kit-prose { max-width:760px; font-size:17px; line-height:1.75; color:#b9bbb0; }
.kit-prose p { margin:0 0 18px; }
.kit-prose>:last-child { margin-bottom:0; }
.rail-home .kit-prose h3 { margin:36px 0 10px; font-size:22px; font-weight:500; letter-spacing:-.03em; line-height:1.25; color:var(--text); }
.kit-prose ul, .kit-prose ol { margin:0 0 18px; padding-left:22px; }
.kit-prose li { margin-bottom:8px; }
.kit-prose strong, .kit-card strong, .kit-rows strong { font-weight:500; color:var(--text); }
/* Links inside text are gold and underlined (the base rule makes every link inherit). */
.rail-home main :is(.kit-prose,.kit-card p,.kit-card li,.kit-points span,.kit-rows,.kit-callout,.kit-note,.kit-table,.kit-head>p,.kit-lead,.kit-checks,.kit-panel-note,.kit-figure,.kit-walk-text p) a:not(.rail-button):not(.kit-link) { color:var(--bitcoin-orange); text-decoration:underline; text-decoration-color:rgba(232,181,60,.45); text-underline-offset:3px; }
.rail-home main :is(.kit-prose,.kit-card p,.kit-card li,.kit-points span,.kit-rows,.kit-callout,.kit-note,.kit-table,.kit-head>p,.kit-lead,.kit-checks,.kit-panel-note,.kit-figure,.kit-walk-text p) a:not(.rail-button):not(.kit-link):hover { text-decoration-color:currentColor; }

.kit-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0; }
.kit-stats>div { display:flex; flex-direction:column-reverse; justify-content:flex-end; padding:26px 28px; border-radius:20px; border:1px solid #24251f; background:#0f0f0e; }
.kit-stats dt { font-size:15px; font-weight:400; line-height:1.6; color:#9fa195; }
.kit-stats dd { margin:0 0 10px; font-size:clamp(32px,3.4vw,46px); font-weight:500; line-height:1.05; letter-spacing:-.05em; color:var(--text); }
.kit-stats dd span { color:var(--bitcoin-orange); }

.kit-checks { display:grid; gap:12px; list-style:none; margin:0; padding:0; }
.kit-checks.is-2 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 36px; }
.kit-checks li { display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; font-size:16px; line-height:1.6; color:#d6d7cd; }
.kit-checks i { line-height:1.6; color:var(--bitcoin-orange); }
.kit-checks.is-quiet li { color:#a9ab9f; }
.kit-checks.is-quiet i { color:#8f9185; }

.kit-figure { margin:0; border-radius:20px; border:1px solid #24251f; background:#0f0f0e; overflow:hidden; }
.kit-figure img { display:block; width:100%; height:auto; }
.kit-figure figcaption { padding:14px 20px; border-top:1px solid rgba(255,255,255,.07); font-size:13px; line-height:1.6; color:#8f9185; }
/* The product pages (tools/product-pages.rb): a portrait picture under a section head, and a plan tag at the start of a hero panel row. */
.kit-product-figure { max-width:300px; margin-top:34px; }
.kit-panel li>span>.kit-tag { margin-right:6px; vertical-align:1px; }
@media(max-width:991px) {
  .kit-cards.is-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .kit-stats { grid-template-columns:minmax(0,1fr); gap:12px; }
}
@media(max-width:700px) {
  .kit-cards.is-4, .kit-checks.is-2 { grid-template-columns:minmax(0,1fr); }
  .kit-stats>div, .kit-callout { padding:20px 22px; }
  .kit-code { padding:18px; font-size:12.5px; border-radius:14px; }
  .kit-prose { font-size:16px; }
  /* A table becomes one card per row: the row's name, then each column as a
     labelled line, so nothing scrolls sideways and our column is never off
     the screen. Every td carries its column's name in data-label. */
  .kit-table { border:0; border-radius:0; background:none; overflow:visible; }
  .kit-table table, .kit-table tbody, .kit-table tr, .kit-table th, .kit-table td, .kit-table caption { display:block; }
  .kit-table caption { padding:0 0 12px; }
  .kit-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .kit-table tbody tr { margin-bottom:12px; padding:18px 20px 6px; border:1px solid #24251f; border-radius:18px; background:#0f0f0e; }
  .kit-table tbody th { width:auto; padding:0 0 10px; border:0; font-size:17px; letter-spacing:-.02em; }
  .kit-table tbody td { position:relative; min-height:42px; padding:11px 0 11px 40%; background:none; }
  .kit-table tbody td::before { content:attr(data-label); position:absolute; top:11px; left:0; width:36%; font:11px/1.8 var(--font-mono); letter-spacing:.1em; text-transform:uppercase; color:#8f9185; }
  .kit-table tbody tr>td:first-child { border-top:0; }
  .kit-table tbody td.is-us::before { color:var(--bitcoin-orange); }
  .kit-table tbody tr.is-group { margin:22px 0 10px; padding:0; border:0; background:none; }
  .kit-table .is-group th { padding:0; background:none; font:11px/1.7 var(--font-mono); letter-spacing:.12em; }
}

/* ── Keyframes ────────────────────────────────────────────────────────── */
/* The phone's sticky sign-up bar stands down while the menu is open. */
body:has(.navbar-collapse.show) .rail-sticky, body:has(.navbar-collapse.collapsing) .rail-sticky { display:none; }

/* /countries/: with the list built into the page, the line that says it needs
   JavaScript has nothing to say. */
.kit-table[data-built]~noscript { display:none; }

/* Real screens of the product (docs/website.md § Real screens): a screenshot
   in a plain window frame, fading out at the foot where the page it shows
   goes on. Several can share one place under tabs (data-shots; the script
   makes the tabs work, and without it every screen is shown, one under
   another). */
.kit-shot { position:relative; isolation:isolate; margin:0; }
/* The stage: a low gold light under the window, so a screen sits on the page rather than on top of it. */
.kit-shot::before { content:""; position:absolute; z-index:-1; inset:8% 6% -4%; border-radius:50%; background:radial-gradient(closest-side,rgba(232,181,60,.16),rgba(232,181,60,.05) 55%,transparent); filter:blur(28px); pointer-events:none; }
.kit-shot-frame { position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.09); border-radius:14px; background:#141412; box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 0 rgba(0,0,0,.6),0 50px 100px -40px rgba(0,0,0,.95); }
/* The window's bar: three lights and the page's address (data-url), as a browser shows it. */
.kit-shot-frame::before { content:attr(data-url); display:block; height:36px; padding:0 84px; overflow:hidden; border-bottom:1px solid rgba(255,255,255,.06); font:11px/36px var(--font-mono); letter-spacing:.02em; color:#6f7166; text-align:center; white-space:nowrap; text-overflow:ellipsis; background:radial-gradient(circle at 20px 18px,#3b3c34 4.5px,transparent 5px),radial-gradient(circle at 37px 18px,#3b3c34 4.5px,transparent 5px),radial-gradient(circle at 54px 18px,#3b3c34 4.5px,transparent 5px),linear-gradient(#1a1a18,#121211); }
.kit-shot-frame::after { content:""; position:absolute; inset:auto 0 0; height:72px; background:linear-gradient(transparent,#141412); pointer-events:none; }
.kit-shot img { display:block; width:100%; height:auto; }
.kit-shot figcaption { margin-top:18px; font-size:13px; line-height:1.6; color:#7f8176; }
.kit-cards+.kit-shot { margin-top:28px; }
.kit-shot-below { margin-top:72px; }
.kit-shots-tabs { display:none; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.kit-shots-tabs button { min-height:40px; padding:0 16px; border:1px solid #36382d; border-radius:999px; background:none; color:#b9bbb0; font:500 14px/1 inherit; cursor:pointer; transition:border-color .2s,background .2s,color .2s; }
.kit-shots-tabs button:hover { border-color:var(--bitcoin-orange-dark); color:#ededed; }
.kit-shots-tabs button[aria-selected="true"] { border-color:var(--bitcoin-orange-dark); background:#1b1912; color:var(--bitcoin-orange); }
.kit-shots.is-ready .kit-shots-tabs { display:flex; }
.kit-shots:not(.is-ready) .kit-shot-panel+.kit-shot-panel { margin-top:32px; }
.kit-shots.is-ready .kit-shot-panel[hidden] { display:none; }
@media (prefers-reduced-motion:no-preference) { .kit-shots.is-ready .kit-shot-panel:not([hidden]) .kit-shot-frame { animation:railUp .45s var(--ease-out) both; } }
@media (max-width:700px) { .kit-shot-frame { border-radius:12px; } .kit-shot-frame::before { height:24px; padding:0; font-size:0; background:radial-gradient(circle at 14px 12px,#3b3c34 3.5px,transparent 4px),radial-gradient(circle at 26px 12px,#3b3c34 3.5px,transparent 4px),radial-gradient(circle at 38px 12px,#3b3c34 3.5px,transparent 4px),#121211; } .kit-shot-frame::after { height:36px; } }
/* On a phone the window is too small to read: the dashboard's own menu (its left 260 of 1440px) is left out, so the page itself is a fifth larger. */
@media (max-width:700px) { .kit-shot img { width:122.04%; max-width:none; margin-left:-22.04%; } }
/* A screen with no menu (the sign-up page) is shown whole on a phone too. */
@media (max-width:700px) { .kit-shot.kit-shot-whole img { width:100%; margin-left:0; } }
/* The walkthrough (/get-started/): each step beside its screen, the sides taking turns; under it on a narrow screen. The screens are the page alone, without the dashboard's menu, so they read at this size. */
.kit-walk { list-style:none; margin:0; padding:0; display:grid; gap:128px; }
.kit-walk>li { display:grid; grid-template-columns:minmax(0,.66fr) minmax(0,1.34fr); gap:72px; align-items:center; }
.kit-walk>li:nth-child(even) { grid-template-columns:minmax(0,1.34fr) minmax(0,.66fr); }
.kit-walk>li:nth-child(even) .kit-walk-text { order:2; }
.kit-walk-text { max-width:400px; }
.kit-walk-text>span { display:block; margin-bottom:22px; font-size:68px; font-weight:300; line-height:.9; letter-spacing:-.05em; background:linear-gradient(180deg,#f0c14d,rgba(184,134,11,.55)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.kit-walk-text h3 { margin:0 0 12px; font-size:26px; font-weight:500; letter-spacing:-.025em; }
.kit-walk-text p { margin:0; font-size:16px; line-height:1.75; color:#979a8d; }
@media (max-width:900px) { .kit-walk { gap:72px; } .kit-walk>li, .kit-walk>li:nth-child(even) { grid-template-columns:minmax(0,1fr); gap:28px; } .kit-walk>li:nth-child(even) .kit-walk-text { order:0; } .kit-walk-text>span { font-size:52px; } }

/* A phone (the product pages' "what your customer sees"): the screen in a device with its status bar, lit from below like the windows. */
.kit-phone { position:relative; isolation:isolate; width:min(100%,290px); margin:44px 0 0; }
/* A section of words and points beside a phone (the product pages): the phone stands centred in its column. */
.kit-split-phone { align-items:center; }
.kit-split-phone .kit-points { margin-top:44px; }
.kit-split-phone>.kit-phone { justify-self:center; width:min(100%,300px); margin:0; }
.kit-phone::before { content:""; position:absolute; z-index:-1; inset:12% -18% -2%; border-radius:50%; background:radial-gradient(closest-side,rgba(232,181,60,.18),transparent); filter:blur(30px); pointer-events:none; }
.kit-phone-body { padding:10px; border-radius:50px; background:linear-gradient(150deg,#34352e,#121211 35%,#0d0d0c 70%,#2a2b25); box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 0 0 1px #050505,0 50px 90px -35px rgba(0,0,0,.95); }
.kit-phone-screen { position:relative; overflow:hidden; padding-top:36px; border-radius:40px; background:#fff; }
.kit-phone-screen::before { content:"9:41"; position:absolute; top:0; left:0; width:96px; height:36px; font:600 13px/38px -apple-system,BlinkMacSystemFont,"Inter",sans-serif; color:#111; text-align:center; letter-spacing:-.01em; }
.kit-phone-screen::after { content:""; position:absolute; top:10px; left:50%; width:86px; height:24px; margin-left:-43px; border-radius:14px; background:#0a0a0a; }
.kit-phone img { display:block; width:100%; height:auto; }
.kit-phone figcaption { margin-top:20px; font-size:13px; line-height:1.6; color:#7f8176; }
@media(max-width:991px) { .kit-phone { margin-inline:auto; } .kit-phone figcaption { text-align:center; } }

/* A video (docs/website.md § Video on /merchants/): our own still with a play
   button, lit like the windows. Nothing comes from YouTube until the visitor
   presses play: then home.js puts YouTube's privacy-enhanced player in the
   still's place, at the same size. Without the script the link opens the
   video on YouTube. The button sits at the foot of the still, clear of what
   the picture shows, and is never gold: the page's one gold action is its
   sign-up. */
.kit-video { position:relative; isolation:isolate; margin:0; }
.kit-video::before { content:""; position:absolute; z-index:-1; inset:8% 6% -4%; border-radius:50%; background:radial-gradient(closest-side,rgba(232,181,60,.16),rgba(232,181,60,.05) 55%,transparent); filter:blur(28px); pointer-events:none; }
.kit-video-frame { position:relative; display:block; overflow:hidden; aspect-ratio:16/9; border:1px solid rgba(255,255,255,.09); border-radius:16px; background:#0a0a0a; box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 0 rgba(0,0,0,.6),0 50px 100px -40px rgba(0,0,0,.95); color:var(--text); text-decoration:none; }
.kit-video-frame:hover { color:var(--text); }
.kit-video-frame:focus-visible { outline:2px solid var(--bitcoin-orange); outline-offset:4px; }
.kit-video-frame img, .kit-video-frame iframe { display:block; width:100%; height:100%; border:0; }
.kit-video-frame img { object-fit:cover; }
.kit-video-play { position:absolute; left:20px; bottom:20px; display:inline-flex; align-items:center; gap:8px; min-height:48px; padding:0 20px 0 12px; border:1px solid rgba(232,181,60,.5); border-radius:999px; background:rgba(10,10,10,.8); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); font-size:15px; font-weight:600; letter-spacing:-.01em; white-space:nowrap; box-shadow:0 18px 40px -16px rgba(0,0,0,.9); transition:border-color var(--t-base),background var(--t-base); }
.kit-video-play i { font-size:26px; line-height:1; color:var(--bitcoin-orange); }
.kit-video-frame:hover .kit-video-play, .kit-video-frame:focus-visible .kit-video-play { border-color:var(--bitcoin-orange); background:rgba(10,10,10,.92); }
.kit-video figcaption { margin-top:18px; font-size:13px; line-height:1.6; color:#7f8176; }
.kit-video figcaption strong { display:block; margin-bottom:2px; font-size:14px; font-weight:600; color:#d6d7cd; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .kit-video-frame img { transition:transform .6s var(--ease-out); }
  .kit-video-frame:hover img { transform:scale(1.02); }
}
@media (max-width:700px) { .kit-video-frame { border-radius:12px; } .kit-video-play { left:12px; bottom:12px; min-height:44px; font-size:14px; } }
/* A panel under a section's heading (/merchants/' What stays, What's new beside How it works). */
.kit-head>.kit-panel { margin-top:34px; }

/* ── Motion (assets/js/motion.js; docs/website.md § Motion) ──────────────── */
/* The rail map behind a hero: a canvas the script adds and draws. The script
   dims it where the words are (it erases, which costs less than a mask on a
   canvas that redraws), so the lines pass behind the text and never through
   it. With the map on, the homepage's four plain rails stand down. */
.rail-field { position:absolute; inset:0 0 auto; width:100%; height:100%; z-index:-1; pointer-events:none; opacity:0; transition:opacity 1.4s ease .2s; }
.rail-field.is-on { opacity:1; }
.rail-hero.has-field .rail-hero-rails { display:none; }

/* On the console's phone: the sale being paid, over the screenshot's own
   product and price (the script fills it in; hidden until it does). */
.rail-phone-item { position:absolute; left:5%; right:5%; top:13.5%; height:21%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:calc(var(--u)*.5); background:#fff; color:#17181a; text-align:center; pointer-events:none; }
.rail-phone-item span { max-width:100%; font-size:calc(var(--u)*1.75); line-height:1.25; color:#5a5d62; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rail-phone-item b { font-size:calc(var(--u)*4.1); font-weight:700; letter-spacing:-.03em; line-height:1; }
.rail-phone-item.is-new span, .rail-phone-item.is-new b { animation:railUp .4s var(--ease-out) both; }

/* Under the console: the visitor sends a sample payment themselves. The
   script fills it in and shows it; without the script it stays hidden. */
.rail-try { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:10px; margin-top:18px; font-size:13px; color:#a9aa9c; }
.rail-try>span::after { content:":"; }
.rail-try-chip { display:inline-flex; align-items:center; gap:8px; min-height:36px; padding:0 14px; border:1px solid #3d3e33; border-radius:999px; background:#12120f; color:#dcdcd2; font:inherit; cursor:pointer; transition:border-color .2s,background .2s,transform .2s var(--ease-out); }
.rail-try-chip i { color:var(--bitcoin-orange); font-size:12px; }
.rail-try-chip b { font-weight:500; font-variant-numeric:tabular-nums; color:var(--bitcoin-orange); }
.rail-try-chip:hover { border-color:var(--bitcoin-orange-dark); background:#1b1912; transform:translateY(-1px); }
.rail-try-chip:active { transform:scale(.97); }

/* The page's own rail: a station for each section and a payment that rides
   with the scroll, in the left margin where the screen is wide enough to
   have one; a gold line across the top where it is not. */
.rail-progress { position:fixed; inset:0 0 auto; z-index:1040; height:2px; transform:scaleX(0); transform-origin:0 50%; background:linear-gradient(90deg,var(--bitcoin-orange-dark),#f0c14d); pointer-events:none; }
.rail-line { --gap:34px; --p:0; position:fixed; z-index:20; top:50%; left:clamp(26px,calc((100vw - 1200px) / 4 - 4px),64px); display:none; width:9px; height:calc((var(--n) - 1) * var(--gap)); margin-top:calc((var(--n) - 1) * var(--gap) / -2); transition:opacity .4s; }
.rail-line.is-away { opacity:0; pointer-events:none; }
.rail-line-track { position:absolute; inset:0 auto 0 4px; width:1px; background:rgba(255,255,255,.13); }
.rail-line-fill { position:absolute; inset:0 0 auto; height:calc(var(--p) * var(--gap)); background:linear-gradient(var(--bitcoin-orange-dark),#f0c14d); }
.rail-line-sat { position:absolute; z-index:2; left:1px; top:calc(var(--p) * var(--gap) - 3.5px); width:7px; height:7px; border-radius:50%; background:#ffe9a8; box-shadow:0 0 0 3px rgba(240,193,77,.2),0 0 14px rgba(247,147,26,.95); pointer-events:none; }
.rail-line-stop { position:absolute; left:-8px; top:calc(var(--i) * var(--gap) - 12px); width:25px; height:24px; padding:0; border:0; background:none; cursor:pointer; }
.rail-line-stop::before { content:""; position:absolute; left:8px; top:7.5px; width:9px; height:9px; border-radius:50%; border:1px solid #5a5c4f; background:var(--ink); transition:border-color .3s,background .3s,box-shadow .3s; }
.rail-line-stop.is-passed::before { border-color:var(--bitcoin-orange-dark); background:#4a3b14; }
.rail-line-stop.is-here::before { border-color:#f0c14d; background:var(--bitcoin-orange); box-shadow:0 0 0 4px rgba(232,181,60,.16); }
.rail-line-stop:hover::before { border-color:#f0c14d; }
.rail-line-stop span { position:absolute; left:30px; top:50%; padding:5px 10px; border:1px solid #36382d; border-radius:6px; background:rgba(14,14,13,.97); color:#dcdcd2; font:11px/1.4 var(--font-mono); letter-spacing:.05em; white-space:nowrap; opacity:0; transform:translate(-6px,-50%); pointer-events:none; transition:opacity .2s,transform .2s; }
.rail-line-stop:hover span { opacity:1; transform:translate(0,-50%); }
@media (min-width:1360px) and (min-height:600px) { .rail-line { display:block; } .rail-progress { display:none; } }
@media print { .rail-line, .rail-progress { display:none; } }

/* Steps light one after another as they are reached; the line between them
   fills. The script arms the list, so without it the steps are simply there. */
.rail-steps.is-armed li>span { color:#75776a; transition:color .5s,text-shadow .5s; }
.rail-steps.is-armed li>div { opacity:.5; transition:opacity .6s; }
.rail-steps.is-armed li::after { content:""; position:absolute; left:6px; top:26px; bottom:0; width:1px; background:linear-gradient(#f0c14d,var(--bitcoin-orange-dark)); transform:scaleY(0); transform-origin:50% 0; transition:transform .8s var(--ease-out) .15s; }
.rail-steps.is-armed li:last-child::after { display:none; }
.rail-steps.is-armed li.is-lit>span { color:var(--bitcoin-orange); text-shadow:0 0 14px rgba(247,147,26,.5); }
.rail-steps.is-armed li.is-lit>div { opacity:1; }
.rail-steps.is-armed li.is-lit::after { transform:scaleY(1); }

/* One bill, paid two ways: its lines arrive in order, then what is kept
   settles. Armed by the script only while the bills are still below the fold. */
.kit-compare.is-armed .kit-bill dl>div { opacity:0; }
.kit-compare.is-playing .kit-bill dl>div { animation:railUp .5s var(--ease-out) both; animation-delay:calc(var(--row,0) * .2s + .15s); }
.kit-bill .is-total dd { transform-origin:100% 50%; }
.kit-bill.is-settled .is-total dd { animation:railSettle .9s var(--ease-out); }
@keyframes railSettle { 0% { transform:scale(1.1); text-shadow:0 0 22px rgba(247,147,26,.85); } 100% { transform:none; text-shadow:none; } }

/* A conversation that plays out (data-chat): a line arrives, then what was
   said is written across. The unwritten part is in the page, transparent. */
.kit-rows.is-armed>div { opacity:0; transform:translateY(8px); transition:opacity .4s var(--ease-out),transform .4s var(--ease-out); }
.kit-rows.is-armed>div.is-said { opacity:1; transform:none; }
.kit-chat-rest { opacity:0; }

/* The homepage map tells a pointer it can be played with. */
.rail-field-hint { position:absolute; z-index:0; left:32px; top:22px; margin:0; font:10px/1.6 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; color:#75776a; pointer-events:none; opacity:0; animation:railUp .8s var(--ease-out) 2.4s both; transition:opacity .5s; }
.rail-field-hint::before { content:""; display:inline-block; width:6px; height:6px; margin-right:9px; border-radius:50%; background:var(--bitcoin-orange); box-shadow:0 0 0 4px rgba(232,181,60,.14); animation:railBlink 1.8s ease-in-out infinite; }
.rail-field-hint.is-gone { opacity:0!important; animation:none; }
@media (max-width:1100px) { .rail-field-hint { display:none; } }

/* Cards lean a little toward the pointer (the script sets the axis and the
   angle). rotate is its own property, so it does not fight the reveal's
   transform. */
.kit-cards, .price-cards { perspective:1200px; }
.kit-card, .price-card { rotate:var(--ax,0) var(--ay,0) 0 var(--lean,0deg); transition:rotate .4s var(--ease-out),border-color .35s; }

@media (prefers-reduced-motion:no-preference) {
  /* A hero panel's lines arrive one after another. No script: it plays at
     first paint. */
  .kit-hero .kit-panel li { animation:railUp .55s var(--ease-out) both; animation-delay:calc(.3s + var(--k,0) * 80ms); }
  .kit-hero .kit-panel li:nth-child(2) { --k:1; }
  .kit-hero .kit-panel li:nth-child(3) { --k:2; }
  .kit-hero .kit-panel li:nth-child(4) { --k:3; }
  .kit-hero .kit-panel li:nth-child(5) { --k:4; }
  .kit-hero .kit-panel li:nth-child(6) { --k:5; }
  .kit-hero .kit-panel ul~ul li { animation-delay:calc(.62s + var(--k,0) * 80ms); }

  /* An answer opens and closes at its own height, where the browser can
     animate to a keyword height. */
  @supports (interpolate-size:allow-keywords) {
    .rail-faq { interpolate-size:allow-keywords; }
    .rail-faq details::details-content { block-size:0; overflow:clip; transition:block-size .35s var(--ease-out),content-visibility .35s allow-discrete; }
    .rail-faq details[open]::details-content { block-size:auto; }
  }

  /* From one page of the site to the next: the old page fades, the new one
     rises a little, and the menu stays where it is. */
  @view-transition { navigation:auto; }
  .rail-home .navbar-public { view-transition-name:site-nav; }
  ::view-transition-old(root) { animation:.16s ease-out both railPageOut; }
  ::view-transition-new(root) { animation:.38s var(--ease-out) both railPageIn; }
}
@keyframes railPageOut { to { opacity:0; } }
@keyframes railPageIn { from { opacity:0; transform:translateY(10px); } }

@keyframes railUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes railRise { from { transform:translateY(18px); } to { transform:none; } }
@keyframes railPop { from { opacity:0; transform:scale(.85); } to { opacity:1; transform:none; } }
@keyframes railPing { 0% { opacity:.9; transform:scale(.6); } 100% { opacity:0; transform:scale(2.2); } }
@keyframes railGlow { 0%,100% { box-shadow:0 0 0 0 rgba(232,181,60,0); } 50% { box-shadow:0 0 0 6px rgba(232,181,60,.14),0 10px 40px rgba(232,181,60,.25); } }
@keyframes railSheen { 0%,100% { background-position:0% 0; } 50% { background-position:100% 0; } }
@keyframes railDrift { from { transform:translate3d(-2%,0,0) scale(1); } to { transform:translate3d(3%,2%,0) scale(1.08); } }
@keyframes railDash { to { stroke-dashoffset:-14; } }
@keyframes railScan { from { top:0; } to { top:calc(100% - 2px); } }
@keyframes railBlink { 0%,100% { opacity:1; } 50% { opacity:.25; } }
@keyframes railFeedIn { from { opacity:0; transform:translateY(-10px); background:rgba(232,181,60,.12); } to { opacity:1; transform:none; background:transparent; } }
@keyframes railFlash { 0% { color:#fff; text-shadow:0 0 12px rgba(247,147,26,.9); } 100% { color:var(--bitcoin-orange); text-shadow:none; } }
@keyframes railMarquee { to { transform:translateX(-50%); } }
@keyframes railProgress { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes railHit { 0% { box-shadow:0 0 0 0 rgba(232,181,60,.35),0 0 40px rgba(232,181,60,.25); } 100% { box-shadow:0 0 0 18px rgba(232,181,60,0),0 0 40px rgba(232,181,60,.25); } }
@keyframes railHold { 0%,30% { box-shadow:0 0 0 0 rgba(255,255,255,0); } 45%,85% { box-shadow:0 0 0 8px rgba(255,255,255,.05); border-color:#5a5a50; } 100% { box-shadow:0 0 0 0 rgba(255,255,255,0); } }
@keyframes railStreak { 0% { transform:translateX(-120%); } 100% { transform:translateX(560%); } }
@keyframes railStreakLong { 0% { transform:translateX(-120%); } 100% { transform:translateX(840%); } }
@keyframes railTap { 0% { box-shadow:0 0 0 0 rgba(232,181,60,.7); } 100% { box-shadow:0 0 0 12px rgba(232,181,60,0); } }
@keyframes railLit { 0% { background:rgba(232,181,60,.35); color:#fff; } 100% { background:#1b1912; color:var(--bitcoin-orange); } }
@keyframes railWire { 0% { left:0; opacity:0; } 15% { opacity:1; } 85% { opacity:1; } 100% { left:calc(100% - 8px); opacity:0; } }
@keyframes flowHold { 0% { left:4%; opacity:0; } 6% { opacity:1; } 38% { left:44%; opacity:1; } 46% { left:47%; opacity:0; } 100% { left:47%; opacity:0; } }
@keyframes flowLater { 0%,55% { left:53%; opacity:0; } 62% { opacity:1; } 96% { left:96%; opacity:1; } 100% { left:96%; opacity:0; } }
@keyframes flowDirect { 0% { left:4%; opacity:0; } 10% { opacity:1; } 88% { opacity:1; } 100% { left:96%; opacity:0; } }

/* ── Book ─────────────────────────────────────────────────────────────── */
/* The free book, a softer ask before the closing call (/book/, docs/book.md). */

/* ── Responsive ───────────────────────────────────────────────────────── */
@media(min-width:1450px) { .rail-hero { padding-top:56px; } }
@media(max-width:1199px) {
  .rail-container { width:calc(100% - 64px); }
  .rail-lead { font-size:18px; }
  .rail-biz-head>p { max-width:320px; }
  .rail-cell { padding:26px 26px 0; }
  .rail-cell.is-wide { padding:28px; gap:32px; }
  .rail-start-grid { gap:65px; }
  .rail-meter-grid { gap:50px; }
  .rail-principles { grid-template-columns:repeat(2,auto); justify-content:start; column-gap:60px; }
}
@media(max-width:991px) {
  .rail-biz-head { flex-direction:column; align-items:flex-start; gap:18px; margin-bottom:40px; }
  .rail-biz-head>p { max-width:560px; }
  .rail-cell.is-7, .rail-cell.is-5 { grid-column:span 12; }
  .rail-cell.is-4 { grid-column:span 6; }
  .rail-cell.is-4.is-last { grid-column:span 12; min-height:0; }
  .rail-cell.is-wide { flex-direction:column; align-items:stretch; gap:26px; }
  .rail-flow-head { flex-direction:column; align-items:flex-start; gap:28px; }
  .rail-flow-facts { grid-template-columns:repeat(2,1fr); }
  .rail-flow-facts>div { padding-bottom:10px; }
  .rail-every { grid-template-columns:minmax(0,1fr); gap:28px; }
  .rail-panel { grid-template-columns:minmax(0,1fr); gap:30px; }
  .rail-meter-grid { grid-template-columns:minmax(0,1fr); gap:36px; }
  .rail-start-grid { gap:38px; }
  .rail-price-card { padding:28px; }
  .rail-faq-grid { gap:35px; }
  .rail-questions h2 { font-size:36px; }
  .rail-sticky { display:block; }
}
@media(max-width:700px) {
  .rail-container { width:calc(100% - 40px); }
  .rail-hero { padding-top:34px; }
  .rail-hero-rails { inset:40px 0 auto; height:300px; }
  .rail-eyebrow { font-size:11px; letter-spacing:.1em; margin-bottom:20px; }
  .rail-hero h1 { font-size:clamp(40px,11.6vw,60px); line-height:1.02; margin-bottom:20px; }
  .rail-lead { font-size:17px; line-height:1.65; margin-bottom:26px; }
  .rail-console-wrap { margin-top:40px; }
  .rail-actions { gap:14px 22px; }
  .rail-button { padding:13px 22px; }
  .rail-hero .rail-actions .rail-button { flex:1 1 100%; }
  ul.rail-fine { font-size:13px; gap:4px 16px; }
  .rail-console-wrap figcaption { font-size:11px; }
  .rail-caption-note { flex-basis:100%; text-align:center; }
  .rail-phone { transform:none; }
  .rail-console:hover .rail-phone { transform:none; }
  .rail-screen-expand { opacity:1; font-size:11px; bottom:8px; right:8px; padding:5px 7px; }
  .rail-wallet-feed li em { display:none; }
  .rail-principles { grid-template-columns:1fr; gap:16px; padding:24px 0; margin-top:26px; }
  .rail-principles i,.rail-principles strong { width:28px; text-align:center; font-size:20px; }
  .rail-wallets { padding:26px 0 30px; }
  .rail-marquee-track span { font-size:18px; padding:0 18px; }
  .rail-marquee-track span::after { margin-left:36px; }
  .rail-home h2 { font-size:38px; }
  .rail-flow-section { padding:80px 0 70px; }
  .rail-flow-head { margin-bottom:30px; }
  .rail-toggle button { padding:9px 14px; font-size:13px; }
  .rail-flow { grid-template-columns:1fr; grid-template-rows:auto 190px auto; min-height:0; padding:30px 0 10px; gap:0; }
  .rail-flow-track { left:50%; right:auto; top:70px; bottom:70px; width:2px; height:auto; }
  .rail-flow-line { background:linear-gradient(180deg,var(--bitcoin-orange) 0 45%,transparent 45% 55%,rgba(255,255,255,.18) 55%); }
  .rail-flow[data-mode="rail"] .rail-flow-line { background:linear-gradient(180deg,#f0c14d,var(--btc-orange)); }
  .rail-flow-dot { left:50%!important; top:0; margin:-6px 0 0 -6px; }
  .rail-flow[data-mode="card"].is-playing .rail-flow-dot { animation-name:flowHoldV; }
  .rail-flow[data-mode="card"].is-playing .rail-flow-dot:nth-child(5) { animation-name:flowLaterV; margin:-4.5px 0 0 -4.5px; }
  .rail-flow[data-mode="rail"].is-playing .rail-flow-dot { animation-name:flowDirectV; }
  .rail-flow-node>i, .rail-flow-face>i, .rail-flow-face>img { width:52px; height:52px; font-size:22px; border-radius:15px; margin-bottom:4px; }
  .rail-flow-face>img { padding:13px; }
  .rail-flow-node strong { font-size:16px; }
  .rail-flow-node>span, .rail-flow-face span { font-size:13px; }
  .rail-flow-from, .rail-flow-to { background:var(--ink); padding:6px 0; }
  .rail-flow-face.is-card { flex-direction:row; gap:14px; padding:14px 18px; }
  .rail-flow-face.is-card>div { text-align:left; }
  .rail-flow-face.is-card>i { margin:0; }
  .rail-flow-face strong { margin-bottom:2px; }
  .rail-flow-face.is-rail { justify-self:end; width:46%; padding:12px 10px; }
  .rail-flow-face.is-rail span { font-size:12px; }
  .rail-flow-face.is-rail::before { left:-16px; right:auto; top:50%; bottom:auto; width:14px; height:0; border-left:0; border-top:1.5px dashed rgba(255,255,255,.3); }
  .rail-flow-face.is-rail::after { display:none; }
  .rail-flow[data-mode="card"] .rail-flow-face.is-rail { transform:translateY(14px); }
  .rail-flow[data-mode="rail"] .rail-flow-face.is-rail { transform:none; }
  .rail-flow-facts { grid-template-columns:1fr 1fr; }
  .rail-flow-facts>div { padding:20px 14px 6px 0; }
  .rail-flow-facts dd span, .rail-flow-facts[data-mode="card"] dd .when-card { font-size:19px; }
  .rail-flow-facts dd .when-card, .rail-flow-facts[data-mode="card"] dd .when-rail { font-size:14px; }
  .rail-ways-section { padding:70px 0 40px; }
  .rail-tablist { grid-template-columns:repeat(2,1fr); }
  .rail-tablist button { padding:16px 12px 16px 0; font-size:15px; }
  .rail-panel-copy h3 { font-size:28px; }
  .rail-panel-copy p { font-size:16px; }
  .rail-panel-visual { min-height:260px; }
  .rail-chat { padding:20px; }
  .rail-chat p, .rail-chat-link { max-width:90%; width:auto; font-size:14px; }
  .rail-code { padding:20px; }
  .rail-code pre { font-size:12px; }
  .rail-qr { padding:20px; }
  .rail-qr-stand { gap:14px; padding:12px 14px 12px 12px; }
  .rail-qr-stand svg { width:104px; height:104px; padding:8px; }
  .rail-qr-stand b { font-size:24px; }
  .rail-biz-section { padding:80px 0 70px; }
  .rail-bento { gap:12px; }
  .rail-cell, .rail-cell.is-4 { grid-column:span 12; min-height:0; padding:22px 22px 0; border-radius:18px; }
  .rail-cell.is-wide { padding:22px; }
  .rail-home .rail-cell h3 { font-size:22px; }
  .rail-ledger-head, .rail-ledger li { grid-template-columns:46px minmax(0,1fr) 70px; padding:10px 14px; gap:10px; }
  .rail-ledger-head span:nth-child(3), .rail-ledger li em { display:none; }
  .rail-wire { grid-template-columns:minmax(0,1fr); }
  .rail-wire-arrow { width:2px; height:28px; margin-inline:auto; background:repeating-linear-gradient(180deg,rgba(255,255,255,.4) 0 3px,transparent 3px 8px); }
  .rail-wire-arrow::after { display:none; }
  .rail-wire pre { font-size:12px; padding:14px; }
  .rail-every { margin-top:36px; padding-top:28px; }
  .rail-every-promise p:not(.rail-eyebrow) { font-size:18px; }
  .rail-every-cards { padding:20px; gap:14px; }
  .rail-every-cards>i { width:40px; height:40px; font-size:19px; border-radius:12px; }
  .rail-meter-section { padding:80px 0; }
  .rail-meter { padding:24px 20px; }
  .rail-meter output { font-size:34px; }
  .rail-meter .rail-meter-share output { font-size:26px; }
  .rail-meter-row { grid-template-columns:1fr auto; gap:6px 12px; }
  .rail-meter-row .rail-meter-bar { grid-column:1/-1; grid-row:2; }
  .rail-start-section { padding:80px 0; }
  .rail-start-grid { grid-template-columns:1fr; }
  .rail-steps p { font-size:16px; }
  .rail-price-card { padding:26px; }
  .rail-price strong { font-size:80px; }
  .rail-questions { padding:70px 0; }
  .rail-faq-grid { grid-template-columns:1fr; gap:30px; }
  .rail-faq summary { font-size:16px; }
  .rail-faq p { margin-right:0; }
  .rail-final { padding:90px 0 110px; }
  .rail-final h2 { font-size:clamp(46px,14vw,64px); }
  .rail-final-actions { flex-direction:column; gap:10px; }
}
@media(max-width:359px) {
  .rail-container { width:calc(100% - 32px); }
  .rail-hero h1 { font-size:36px; }
  .rail-lead { font-size:16px; }
  .rail-home h2 { font-size:33px; }
  .rail-price-card { padding:22px; }
}
@keyframes flowHoldV { 0% { top:0; opacity:0; } 6% { opacity:1; } 38% { top:44%; opacity:1; } 46% { top:47%; opacity:0; } 100% { top:47%; opacity:0; } }
@keyframes flowLaterV { 0%,55% { top:53%; opacity:0; } 62% { opacity:1; } 96% { top:100%; opacity:1; } 100% { top:100%; opacity:0; } }
@keyframes flowDirectV { 0% { top:0; opacity:0; } 10% { opacity:1; } 88% { opacity:1; } 100% { top:100%; opacity:0; } }
@media(prefers-reduced-motion:reduce) {
  .rail-home *, .rail-home *::before, .rail-home *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
  .rail-reveal-ready [data-reveal] { opacity:1; transform:none; }
  .rail-marquee { -webkit-mask-image:none; mask-image:none; }
  .rail-marquee-track { flex-wrap:wrap; justify-content:center; width:auto; row-gap:8px; }
  .rail-marquee-track span:nth-child(n+13) { display:none; }
  .rail-flow-dot { display:none; }
}
