/* BagSplit · the sky tote look (3 Dec 2026): the shell for every page, and the home page.
   Ink #0B0D12 ground, off-white #F7F7F5 text, ONE accent: sky #4FB3FF (tokens.css). No mascot on this page.
   The motion system is getbonded.live's bar in our own look (projects/studies/bonded/MOTION.md): two curves only
   (--ease, --spring), arrival with no loader, a tilted live demo, reveals with staggered siblings, count-ups, tapes,
   one sheen, ping dots. The Motion switch (html[data-motion="off"]) stops all of it; base.css's rule kills every
   animation and transition, and the rules at the end show finished stills. The OS reduced-motion flag is never read. */

:root { --ease-out: var(--ease); --two: #6A707C; --panel-grad: linear-gradient(180deg, #161A22 0%, #101318 100%); }

/* ---------- shell: header, nav, buttons, the CA box, the dock, the footer ---------- */
body { background: var(--bg); }
#top { background: rgba(11, 13, 18, 0.78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.demo-strip { background: #07080B; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.demo-strip b { background: var(--accent); color: var(--on-accent); }
.brand .lockup svg { flex: none; }
.nav { display: none; }   /* the dock is the nav; the header shows these links while the dock waits (app.mjs) */
@media (min-width: 861px) { html.dock-off .nav { display: flex; } }
.nav a { color: var(--ink-2); font-weight: 600; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.nav a:hover { color: var(--ink); background: rgba(247, 247, 245, 0.06); }
.nav a[aria-current] { background: var(--surface-3); color: var(--ink); }
.btn.wallet-btn { background: var(--ink); color: var(--night); border-color: transparent; border-radius: 12px; }
.btn.wallet-btn:hover { background: #FFFFFF; border-color: transparent; }
.wallet-btn.on .muted { color: rgba(11, 13, 18, 0.6); }
.ca { background: rgba(247, 247, 245, 0.02); }
.ca-soon { background: var(--surface-3); color: var(--ink); }
.ca-copy { background: transparent; color: var(--ink-2); }
.ca-copy:not([disabled]):hover { color: var(--ink); border-color: rgba(247, 247, 245, 0.35); }

.btn { border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; transition: transform 0.3s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.3s var(--ease); }
.btn:hover { transform: translateY(-1px); border-color: rgba(247, 247, 245, 0.32); }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn.lg { height: 52px; padding: 0 22px; border-radius: 14px; }
.btn.ghost { background: transparent; }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 12px 32px -14px rgba(79, 179, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.primary:hover { background: #6DC0FF; filter: none; }
.btn[disabled], .btn[disabled]:hover { transform: none; background: transparent; color: var(--muted); border: 1px dashed var(--line-2); box-shadow: none; cursor: not-allowed; }
.btn[disabled] .icon { transform: none; }
.btn.primary[disabled] { background: var(--accent-soft); color: var(--accent-text); border: 1px dashed rgba(79, 179, 255, 0.5); }

/* the dock: a floating pill at the bottom (full width on phones). It waits below the fold (app.mjs sets dock-off). */
.tabbar { display: flex; position: fixed; z-index: 25; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); gap: 2px; padding: 6px; border-radius: 16px; background: rgba(20, 23, 30, 0.88); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9); transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s; }
html.dock-off .tabbar { transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.45s; }
.tabbar a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 11px; color: var(--ink-2); font: 600 14px/1 var(--font-text); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tabbar a:hover { color: var(--ink); background: rgba(247, 247, 245, 0.06); }
.tabbar a[aria-current] { background: var(--accent); color: var(--on-accent); }
main { padding-bottom: 140px; }
main:has(.cta) { padding-bottom: 0; }
#foot { margin-top: 0; background: var(--bg-2); border-top: 1px solid var(--line); padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ---------- type: two-tone heads, eyebrow pills, ping dots ---------- */
.two { color: var(--two); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; height: 30px; margin: 0; padding: 0 13px 0 11px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: rgba(247, 247, 245, 0.03); font: 500 11px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.ping, .kicker-dot, .live-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: none; animation: none; }
.ping::after, .kicker-dot::after, .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: ring 2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
.on-band { border-color: rgba(11, 13, 18, 0.22); background: rgba(11, 13, 18, 0.06); color: var(--on-accent); }
.on-band .ping { background: var(--on-accent); }
.on-band .ping::after { border-color: var(--on-accent); }

/* ---------- reveals: .r fades up once when 15% is on screen; siblings in a .r-group stagger 80 ms ---------- */
.r { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.r.in { opacity: 1; transform: none; }

/* ---------- 1 · the hero: a masked grid and a soft sky glow, the copy, the live demo on a tilted card ---------- */
.hero-c { position: relative; isolation: isolate; overflow: hidden; padding: clamp(44px, 6vw, 92px) 0 clamp(64px, 7vw, 104px); }
.hero-ground { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(247, 247, 245, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(247, 247, 245, 0.05) 1px, transparent 1px); background-size: 64px 64px; background-position: center -1px; -webkit-mask-image: radial-gradient(ellipse 75% 80% at 62% 38%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse 75% 80% at 62% 38%, #000 25%, transparent 72%); }
.hero-c::before { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -6%; top: -16%; border-radius: 50%; background: radial-gradient(circle, rgba(79, 179, 255, 0.2) 0%, rgba(79, 179, 255, 0.06) 40%, transparent 66%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero-copy { display: grid; justify-items: start; }
.hero-title { margin-top: 22px; font-size: clamp(46px, 6vw, 86px); line-height: 0.94; letter-spacing: -0.045em; max-width: 9.5em; }
.hero-title .two { display: block; }
.hero-copy .lede { margin-top: 22px; max-width: 31em; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19.5px); }
.hero-copy .ctas { margin-top: 30px; }
.hero-extras { display: grid; justify-items: start; gap: 18px; margin-top: 26px; width: 100%; }
.hero-extras .trust { margin: 0; color: var(--ink-2); }
.trust .icon { color: var(--accent); }
/* arrival: no loader. The copy rises piece by piece, then the card lands from a tilt, then the side chips */
.arrive > * { animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 40ms); }
.hero-copy > .hero-extras { animation: rise 0.8s var(--ease) 0.34s both; }
.hero-extras.landed { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* the paste bar and the CA dock */
.paste { width: min(100%, 520px); }
.paste-bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); transition: border-color 0.2s var(--ease); }
.paste-bar:focus-within { border-color: var(--accent); }
.paste-bar .input { flex: 1; min-width: 0; height: 40px; padding: 0 4px; border: 0; background: none; font-size: 14px; }
.paste-bar .input:focus { outline: none; }
.paste-bar .input::placeholder { color: var(--muted); }
.paste-bar .btn.primary { height: 42px; padding: 0 16px; font-size: 14.5px; flex: none; border-radius: 10px; }
.paste-icon { color: var(--muted); display: inline-flex; }
.paste .problem { margin-top: 6px; }
.ca-dock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; padding: 7px 8px; border-radius: 14px; background: rgba(20, 23, 30, 0.7); border: 1px solid var(--line); font-size: 13px; max-width: 100%; }
.ca-dock > * { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; }
.ca-dock > * + * { border-left: 1px solid var(--line); }
.ca-dock .label { color: var(--muted); }
.dock-coin { padding-left: 4px; font: 700 13.5px var(--font-mono); }
.dock-soon { padding: 1px 8px; border-radius: 5px; background: var(--surface-3); }
.dock-addr { font-size: 12.5px; }
.dock-copy { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: none; color: inherit; cursor: pointer; }
.dock-copy[disabled] { opacity: 0.5; cursor: not-allowed; border-style: dashed; }
.dock-links { gap: 6px; padding-right: 0; }
.dock-link { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--surface-2); font-weight: 600; font-size: 12.5px; }
.dock-link.off { opacity: 0.55; cursor: not-allowed; }

/* the demo stage: perspective, a resting tilt the pointer can move a few degrees, two side chips */
.demo-stage { position: relative; perspective: 1500px; }
.demo-land { animation: land 1s var(--ease) 0.15s both; transform-origin: 50% 100%; }
@keyframes land { from { opacity: 0; transform: translateY(30px) rotateX(8deg); } }
.demo-tilt { transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 5deg)) rotateZ(0.4deg); transition: transform 0.7s var(--ease); transform-style: preserve-3d; }
.demo-card { position: relative; overflow: hidden; border-radius: 20px; padding: 18px 18px 16px; background: var(--panel-grad); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 0 rgba(0, 0, 0, 0.5), 0 60px 110px -40px rgba(0, 0, 0, 0.95), 0 30px 80px -50px rgba(79, 179, 255, 0.35); }
/* one sheen crosses the card every 9 s: a 115° band of 6% white */
.demo-card::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%); transform: translateX(-70%); animation: sheen 9s var(--ease) 2.2s infinite; pointer-events: none; }
@keyframes sheen { 0% { transform: translateX(-70%); } 16%, 100% { transform: translateX(70%); } }
.dc-top { display: flex; align-items: center; gap: 10px; }
.dc-title { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.dc-sped { margin-left: auto; height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dc-nums { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; margin-top: 18px; }
.dc-box { display: grid; gap: 6px; }
.dc-box.end { justify-items: end; }
.dc-count { font: 600 clamp(38px, 3.6vw, 50px)/1 var(--font-mono); letter-spacing: -0.04em; }
.dc-pot { display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 700 clamp(20px, 1.9vw, 26px)/1.1 var(--font-mono); letter-spacing: -0.02em; }
.dc-bar { height: 4px; margin: 16px 0 18px; border-radius: 2px; background: rgba(247, 247, 245, 0.07); overflow: hidden; }
.dc-fill { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.dc-head { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 6px; }
.dc-n { font-size: 11px; color: var(--muted); }
.dc-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) 58px minmax(0, 1.55fr) 76px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: 13px; }
.dc-row > :last-child { justify-self: end; }
.dc-cols { padding-block: 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
.dc-cols .label { font-size: 9.5px; }
.dc-cols > :nth-child(4) { justify-self: end; }
.dc-rows { display: grid; gap: 2px; margin-top: 4px; min-height: 214px; align-content: start; transition: opacity 0.5s var(--ease); }
.dc-rows .dc-row { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.45s var(--ease), transform 0.6s var(--spring), background-color 0.5s var(--ease); }
.dc-rows .dc-row.on { opacity: 1; transform: none; }
.dc-rows.leaving .dc-row { opacity: 0; }
.dc-w { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-mult { justify-self: start; padding: 3px 6px; border-radius: 6px; background: rgba(247, 247, 245, 0.06); font-size: 11.5px; }
.dc-share { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dc-track { flex: 1; min-width: 0; height: 6px; border-radius: 3px; background: rgba(247, 247, 245, 0.07); overflow: hidden; }
.dc-sfill { display: block; height: 100%; background: linear-gradient(90deg, #2E9BEF, var(--accent)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.9s var(--ease); }
.dc-pct { min-width: 46px; text-align: right; font-size: 12px; font-weight: 600; }
.dc-paid { font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; opacity: 0; transform: scale(0.6); transition: transform 0.55s var(--spring), opacity 0.25s var(--ease); }
.dc-row.got .dc-paid { opacity: 1; transform: none; background: var(--accent-soft); color: var(--accent-text); }
.dc-row.sold { background: rgba(224, 130, 138, 0.08); }
.dc-row.sold .dc-w { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(224, 130, 138, 0.7); }
.dc-row.sold .dc-mult { color: var(--brick); background: rgba(224, 130, 138, 0.12); }
.dc-row.sold .dc-pct { color: var(--muted); }
.dc-row.sold .dc-paid { opacity: 1; transform: none; color: var(--brick); background: rgba(224, 130, 138, 0.12); letter-spacing: 0.06em; text-transform: uppercase; }
/* the seller's share slides down to the holders still in */
.dc-moved { position: absolute; right: 96px; top: 50%; padding: 3px 7px; border-radius: 6px; background: #0E1116; border: 1px solid rgba(79, 179, 255, 0.4); color: var(--accent-text); font-size: 10.5px; white-space: nowrap; opacity: 0; transform: translateY(-50%); pointer-events: none; }
.dc-row.sold .dc-moved { animation: moved 1.8s var(--ease) both; }
@keyframes moved { 0% { opacity: 0; transform: translateY(-50%); } 14% { opacity: 1; } 70% { opacity: 1; transform: translateY(110%); } 100% { opacity: 0; transform: translateY(150%); } }
.dc-foot { margin-top: 12px; padding: 12px 10px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
/* "SPLIT PAID" springs up */
.dc-toast { position: absolute; left: 50%; bottom: 58px; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); white-space: nowrap; box-shadow: 0 22px 44px -14px rgba(79, 179, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); opacity: 0; transform: translate(-50%, 18px) scale(0.88); transition: transform 0.6s var(--spring), opacity 0.3s var(--ease); }
.dc-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.dc-toast-k { font: 800 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.dc-toast b { font: 700 14px/1 var(--font-mono); }
.side-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(20, 23, 30, 0.88); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, 0.9); }
.side-chip > span:last-child { display: grid; gap: 3px; }
.side-chip .label { font-size: 9.5px; }
.side-chip b { display: inline-block; font: 600 15px/1.1 var(--font-mono); transform-origin: 0 50%; }
.side-chip.bump b { animation: bump 0.6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.12); } }
/* the chips sit off the card's corners, above and below it, so they never cover a row */
.sc-a { top: -70px; right: -6px; animation: chip-in 0.8s var(--ease) 0.45s both; }
.sc-b { bottom: -66px; left: -34px; animation: chip-in 0.8s var(--ease) 0.65s both; }
.sc-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--brick); transform: rotate(45deg); }
.sc-b b { color: var(--ink); }
@keyframes chip-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 2 · the tapes: splits one way, forfeits the other, 48 s a loop ---------- */
.tapes { position: relative; z-index: 2; }
.tape { overflow: hidden; padding: 13px 0; }
.tape-accent { background: var(--accent); color: var(--on-accent); }
.tape-dark { background: var(--surface); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.tape-track { display: flex; width: max-content; animation: tape 48s linear infinite; }
.tape-dark .tape-track { animation-direction: reverse; }
.tapes.paused .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-item { position: relative; padding: 0 22px; font: 600 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.tape-item::after { content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: currentColor; opacity: 0.55; transform: rotate(45deg); }
.tape-demo { opacity: 0.7; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(92px, 10vw, 144px); }
.sec-head { display: grid; justify-items: start; max-width: 780px; margin-bottom: clamp(30px, 4vw, 46px); }
.sec-title { margin-top: 18px; font-size: clamp(34px, 4.2vw, 58px); line-height: 0.98; letter-spacing: -0.04em; max-width: 14em; }
.sec-title .two { display: block; }
.sec-lede { margin-top: 18px; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 34em; }
.demo-note { margin-top: 14px; display: flex; align-items: center; gap: 8px; }
.sec-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sec-copy { display: grid; justify-items: start; align-content: start; }
.ticks { display: grid; gap: 12px; margin-top: 26px; max-width: 34em; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.ticks b { color: var(--ink); font-weight: 700; }
.tick { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }

/* panels: a soft two-stop gradient, a 1 px top highlight, a deep shadow; hover lifts */
.panel { position: relative; border-radius: var(--r-lg); background: var(--panel-grad); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-bottom: 6px; }
.chip { background: var(--surface-2); border-color: var(--line); color: var(--ink-2); }

/* 3 · the hold clock */
.meter { display: grid; justify-items: center; gap: 8px; padding: 22px 26px 24px; }
.gauge { width: min(100%, 400px); }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.meter-read { display: grid; justify-items: center; gap: 4px; margin-top: 2px; }
.meter-mult { font: 700 clamp(42px, 4.2vw, 58px)/1 var(--font-mono); letter-spacing: -0.04em; }
.meter-held { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.meter-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; margin: 14px 0 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--surface-3) var(--p, 0%)); border: 0; cursor: pointer; }
.meter-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); border: 5px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6); }
.meter-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 5px solid var(--accent); }
.meter-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.meter-scale { display: flex; justify-content: space-between; width: 100%; font-size: 10.5px; color: var(--muted); }
.meter-counts { margin-top: 6px; font-size: 15px; color: var(--ink); text-align: center; max-width: 30em; font-weight: 600; }
.meter .fine { text-align: center; max-width: 34em; }

/* 4 · how it works, on a full-bleed sky band: dark step cards, each with a tiny live UI */
.band { margin-top: clamp(92px, 10vw, 144px); padding: clamp(80px, 9vw, 128px) 0; }
.band-accent { background: var(--accent); color: var(--on-accent); }
.band-head { display: grid; justify-items: start; margin-bottom: clamp(34px, 4vw, 52px); }
.band-title { margin-top: 18px; font-size: clamp(36px, 4.6vw, 64px); line-height: 0.96; letter-spacing: -0.045em; color: var(--on-accent); }
.band-title .two { color: rgba(11, 13, 18, 0.48); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card { display: grid; gap: 16px; align-content: start; padding: 18px 18px 24px; border-radius: 20px; background: var(--bg); color: var(--ink); box-shadow: 0 34px 60px -34px rgba(11, 13, 18, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.step-top { display: flex; gap: 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.step-n { color: var(--accent); }
.step-label { color: var(--muted); }
.step-head { padding: 0 2px; font: 800 21px/1.15 var(--font-display); letter-spacing: -0.025em; }
.step-text { margin-top: -8px; padding: 0 2px; color: var(--ink-2); font-size: 15px; }
.mini { height: 124px; display: grid; align-content: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.mini-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mini-line b { font: 600 24px/1 var(--font-mono); letter-spacing: -0.03em; }
.mini-track { height: 8px; border-radius: 4px; background: rgba(247, 247, 245, 0.07); overflow: hidden; }
.mini-fill { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.12s linear; }
.mini-stay { gap: 4px; }
.mini-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 5px 7px; border-radius: 7px; font-size: 12px; transition: background-color 0.4s var(--ease); }
.mini-what { color: var(--brick); text-transform: uppercase; letter-spacing: 0.06em; font-size: 10.5px; opacity: 0; transition: opacity 0.3s var(--ease); }
.mini-tag { padding: 2px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-text); font: 600 10.5px/1.4 var(--font-mono); white-space: nowrap; opacity: 0; transform: translateY(6px) scale(0.9); transition: transform 0.5s var(--spring), opacity 0.3s var(--ease); }
.mini-row.sold { background: rgba(224, 130, 138, 0.09); }
.mini-row.sold > :first-child { color: var(--muted); text-decoration: line-through; }
.mini-row.sold .mini-what { opacity: 1; }
.mini-row.sold .mini-tag { opacity: 1; transform: none; }
.mini-paid { justify-self: start; padding: 7px 11px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font: 700 13px/1 var(--font-mono); opacity: 0; transform: translateY(8px) scale(0.88); transition: transform 0.55s var(--spring), opacity 0.25s var(--ease); }
.mini-paid.show { opacity: 1; transform: none; }

/* 5 · the round in numbers: four stat cards that count up */
.rule-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rule-card, .total { border-radius: 20px; background: var(--panel-grad); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.rule-card { padding: 24px 22px 24px; }
.rule-n { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(52px, 5.2vw, 74px)/0.9 var(--font-display); letter-spacing: -0.05em; }
.rule-n .num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.rule-unit { font: 600 13px/1 var(--font-mono); letter-spacing: 0; color: var(--accent); }
.rule-head { margin-top: 18px; font-weight: 700; font-size: 16px; }
.rule-text { margin-top: 6px; color: var(--muted); font-size: 14px; }
.rule-card.in:hover, .total.in:hover { transform: translateY(-4px); border-color: var(--line-2); transition-delay: 0ms; }

/* 6 · live: the totals and the feed terminal */
.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.total { display: grid; gap: 6px; padding: 16px 18px; }
.total-n { display: flex; align-items: baseline; gap: 6px; font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--font-mono); letter-spacing: -0.03em; }
.total-unit { font-size: 13px; color: var(--muted); letter-spacing: 0; }
.total-hint { font-size: 12.5px; color: var(--muted); }
.term { position: relative; border-radius: 20px; padding: 8px 8px 14px; color: var(--ink); background: var(--panel-grad); border: 1px solid var(--line); box-shadow: var(--shadow); }
.term-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 10px 12px 14px; }
.term-name { display: inline-flex; align-items: center; gap: 9px; font: 700 14.5px var(--font-text); }
.term-tabs { display: inline-flex; gap: 3px; padding: 4px; border-radius: 12px; background: rgba(247, 247, 245, 0.05); }
.term-tabs button { height: 32px; padding: 0 13px; white-space: nowrap; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 600 13.5px var(--font-text); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.term-tabs button:hover { color: var(--ink); }
.term-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--night); }
.term-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.term-row { display: grid; gap: 14px; align-items: center; min-height: 54px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; border-radius: 10px; }
.term-row > :last-child { justify-self: end; }
.term-cols { min-height: 0; padding-block: 8px; border-top: 0; font: 500 10px/1.3 var(--font-mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.term[data-tab="splits"] .term-row { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.4fr); }
.term[data-tab="forfeits"] .term-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.4fr); }
.term[data-tab="longest"] .term-row { grid-template-columns: minmax(0, 0.3fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.term .t-dim { color: var(--muted); }
.term .t-forf { color: var(--brick); }
.term .pot-pill { display: inline-block; padding: 3px 8px; border-radius: 7px; background: var(--accent); color: var(--on-accent); font-size: 13px; }
.row-chip.gold { background: rgba(247, 247, 245, 0.08); color: var(--ink); }
.row-chip.brick { background: rgba(224, 130, 138, 0.14); color: var(--brick); }
.term .tx, .term .wallet-link { color: var(--ink-2); text-decoration-color: rgba(247, 247, 245, 0.22); }
.term .tx:hover, .term .wallet-link:hover { color: var(--ink); }
.term .wallet-link { color: var(--ink); }
.term .cell-tx { display: inline-flex; align-items: center; gap: 8px; }
.mult-track { background: rgba(247, 247, 245, 0.08); border-color: transparent; }
.term .sk-row { height: 42px; min-height: 0; margin: 6px 8px; padding: 0; border: 0; background: linear-gradient(90deg, rgba(247, 247, 245, 0.03), rgba(247, 247, 245, 0.08), rgba(247, 247, 245, 0.03)); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }
.term .empty { padding: 30px 16px; }
.term-row.flash { animation: flash 1.8s var(--ease); }
@keyframes flash { from { background-color: rgba(79, 179, 255, 0.16); } to { background-color: transparent; } }
.term-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px 0; border-top: 1px solid var(--line); font-size: 14px; }

/* 7 · the closing CTA on sky */
.cta { text-align: center; }
.cta-inner { display: grid; justify-items: center; }
.cta-mark svg { width: 108px; height: 108px; border-radius: 27px; box-shadow: 0 34px 64px -26px rgba(11, 13, 18, 0.6); }
.cta-inner > :nth-child(2) { margin-top: 30px; }
.cta-title { font-size: clamp(46px, 6.4vw, 96px); }
.cta-title .two { display: block; }
.cta-lede { margin-top: 20px; max-width: 32em; font-size: clamp(16px, 1.4vw, 19px); color: rgba(11, 13, 18, 0.78); }
.cta-ca { margin-top: 28px; width: min(100%, 640px); }
.cta .ca { margin: 0; justify-content: center; background: var(--night); border: 1px solid var(--night); color: var(--ink); }
.cta .ca .label, .cta .ca-note { color: var(--ink-2); }
.cta-btns { margin-top: 18px; justify-content: center; }
.cta .btn.primary { background: var(--night); color: var(--ink); box-shadow: 0 16px 34px -16px rgba(11, 13, 18, 0.8); }
.cta .btn.primary:hover { background: #1A1E27; }
.cta .btn.primary[disabled] { background: rgba(11, 13, 18, 0.08); color: var(--on-accent); border: 1px dashed rgba(11, 13, 18, 0.45); box-shadow: none; }
.cta .btn.ghost { color: var(--on-accent); border-color: rgba(11, 13, 18, 0.35); }
.cta .btn.ghost:hover { border-color: var(--on-accent); }
.cta-risk { margin-top: 28px; max-width: 40em; font-size: 13.5px; color: rgba(11, 13, 18, 0.72); }

/* ---------- the Motion switch: off shows finished stills (no reveal, no tilt follow, the round already paid) ---------- */
html[data-motion="off"] .r { opacity: 1; transform: none; }
html[data-motion="off"] .dc-row.sold .dc-moved { opacity: 1; }

/* ---------- narrower screens ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); }
  .sc-b { left: -10px; }
  .ca.small .label { display: none; }
  .term[data-tab="splits"] .term-row > :nth-child(4) { display: none; }
  .term[data-tab="splits"] .term-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-extras { margin-top: 0; }
  .demo-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 620px; perspective: none; }
  .demo-land { grid-column: 1 / -1; }
  .demo-tilt { transform: none; }
  .side-chip { position: static; }
  .sec-split { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .rule-cards, .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-dock .dock-mc { display: none; }
}
@media (max-width: 860px) {
  .tabbar { left: 10px; right: 10px; transform: none; justify-content: space-around; padding: 5px; }
  html.dock-off .tabbar { transform: translateY(calc(100% + 40px)); }
  .tabbar a { flex: 1; flex-direction: column; justify-content: center; gap: 3px; height: 50px; padding: 0 4px; font-size: 11px; }
  #foot { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(42px, 12vw, 54px); }
  .hero-copy .ctas { width: 100%; }
  .demo-card { padding: 14px 12px 14px; border-radius: 18px; }
  .dc-sped { display: none; }
  .dc-title { font-size: 10.5px; }
  .dc-row { grid-template-columns: minmax(0, 1.15fr) 46px minmax(0, 1.25fr) 64px; gap: 8px; padding: 8px 6px; font-size: 12px; }
  .dc-head { padding-inline: 6px; }
  .dc-w { font-size: 11.5px; }
  .dc-mult { font-size: 10.5px; padding: 2px 4px; }
  .dc-pct { min-width: 38px; font-size: 11px; }
  .dc-paid { font-size: 10.5px; padding: 2px 5px; }
  .dc-moved { right: 70px; font-size: 9.5px; padding: 2px 5px; }
  html[data-motion="off"] .dc-row.sold .dc-moved { opacity: 0; }   /* too narrow to sit beside the row's own numbers */
  .dc-rows { min-height: 196px; }
  .dc-toast { bottom: 52px; padding: 10px 12px; gap: 8px; }
  .dc-toast b { font-size: 12.5px; }
  .side-chip { padding: 9px 11px; }
  .side-chip b { font-size: 13px; }
  .paste { width: 100%; }
  .ca-dock { width: 100%; }
  .ca-dock .dock-mc { display: inline-flex; }
  .ca-dock .dock-links { border-left: 0; flex-basis: 100%; padding: 4px 2px 0; }
  .tape { padding: 11px 0; }
  .tape-item { font-size: 11px; padding: 0 16px; }
  .sec { padding-top: 84px; }
  .rule-cards { grid-template-columns: minmax(0, 1fr); }
  .rule-card { padding: 20px; }
  .totals { gap: 10px; }
  .total { padding: 14px; }
  .total-hint { display: none; }
  .band { padding: 72px 0; }
  .term-top { padding: 8px 8px 12px; }
  .term-live { display: none; }
  .term-tabs { width: 100%; }
  .term-tabs button { flex: 1; padding: 0 6px; font-size: 13px; }
  .term-row { gap: 10px; padding: 10px 8px; font-size: 13.5px; }
  .term[data-tab="splits"] .term-row > :nth-child(2), .term[data-tab="splits"] .term-row > :nth-child(5) { display: none; }
  .term[data-tab="splits"] .term-row { grid-template-columns: 96px minmax(0, 1fr) 118px; }
  .term[data-tab="forfeits"] .term-row > :nth-child(2), .term[data-tab="forfeits"] .term-row > :nth-child(4) { display: none; }
  .term[data-tab="forfeits"] .term-row { grid-template-columns: minmax(0, 1fr) 104px 104px; }
  .term[data-tab="longest"] .term-row > :nth-child(3), .term[data-tab="longest"] .term-row > :nth-child(5) { display: none; }
  .term[data-tab="longest"] .term-row { grid-template-columns: 26px minmax(0, 1fr) 84px; }
  .term .cell-tx .tag-demo { display: none; }
  .term .mult-cell .mult-bar { display: none; }
  .cta-mark svg { width: 88px; height: 88px; border-radius: 22px; }
}
@media (max-width: 420px) {
  .paste-bar { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
  .paste-bar .input { flex: 1 1 calc(100% - 40px); }
  .paste-bar .btn.primary { flex: 1 1 100%; }
  .term-tabs button { font-size: 12.5px; }
  .side-chip .label { font-size: 8.5px; }
}
