/* Hashcoin. One accent (#EBB447) on near-black. Data first, like a trading terminal. */
:root {
  --bg: #0B0C0D;
  --panel: #111315;
  --panel-2: #16181B;
  --line: #1F2226;
  --line-2: #2C3035;
  --text: #EDEBE6;
  --muted: #A0A4AA;
  --dim: #7C8188;
  --gold: #EBB447;
  --gold-hover: #F3C766;
  --gold-2: #F6DFA6;
  --gold-ink: #15110D;
  --gold-soft: rgba(235, 180, 71, .10);
  --gold-line: rgba(235, 180, 71, .38);
  --radius: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  /* Numbers and labels use the display face with tabular figures; a monospace only for formulas. */
  --font-mono: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --font-code: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Gold as text: full strength on dark, darkened on light so it stays readable. */
  --gold-text-mix: 100%;
  --gold-2-text-mix: 100%;
  --well: #0E1013;
  --header-bg: rgba(11, 12, 13, .9);
  --shadow: rgba(0, 0, 0, .45);
  color-scheme: dark;
}
/* Light theme: chosen with the sun/moon button in the header (stored per browser). */
:root[data-theme="light"] {
  --bg: #F4F5F7;
  --panel: #FFFFFF;
  --panel-2: #F7F8FA;
  --line: #E3E5E9;
  --line-2: #D2D6DC;
  --text: #15171A;
  --muted: #535962;
  --dim: #6E747C;
  --gold-soft: rgba(235, 180, 71, .16);
  --gold-line: rgba(176, 125, 18, .45);
  --gold-text-mix: 64%;
  --gold-2-text-mix: 52%;
  --well: #F1F2F4;
  --header-bg: rgba(244, 245, 247, .88);
  --shadow: rgba(20, 24, 30, .12);
  color-scheme: light;
}
:root[data-theme="light"] { --l1: #17A372; --l2: #5566E8; --l3: #CF9020; }
body { transition: background-color .25s, color .25s; }
.theme-btn .i-sun, :root[data-theme="light"] .theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
.shot-light, :root[data-theme="light"] .shot-dark { display: none; }
:root[data-theme="light"] .shot-light { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.show-sm { display: none; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.gold { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.03em; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 600px; }
.lede b { color: var(--text); font-weight: 600; }
.note { font-size: .84rem; color: var(--dim); }
.note a { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid transparent; font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.btn .tag { font: 600 0.8rem/1 var(--font-mono); padding: 4px 6px; border-radius: 4px; background: rgba(21, 17, 13, .14); }
.btn-ghost .tag { background: var(--panel-2); color: var(--muted); }
.btn[aria-disabled="true"] { cursor: not-allowed; }
.tag { font: 600 0.8rem/1 var(--font-mono); color: var(--dim); }
.tag.gold { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.btn-gold .tag { color: var(--gold-ink); }
.btn-ghost .tag { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.15rem/1 var(--font-display); letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; }
.brand .tick { font: 600 0.8rem/1 var(--font-mono); color: var(--muted); padding-top: 3px; }
.nav-links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a { white-space: nowrap; display: block; padding: 8px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--line-2); color: var(--muted); text-decoration: none; background: none; cursor: pointer; }
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.icon-btn svg { width: 16px; height: 16px; }
.ca-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--radius); border: 1px solid var(--line-2); background: none; cursor: pointer; color: var(--muted); font: 600 0.8rem/1 var(--font-mono); }
.ca-btn:hover { color: var(--text); border-color: var(--muted); }
.ca-btn b { color: var(--text); font-weight: 600; }
.menu-btn { display: none; }
.mobile-nav { display: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; z-index: 90; background: var(--panel-2); border: 1px solid var(--line-2); padding: 12px 16px; border-radius: var(--radius); font-size: .9rem; box-shadow: 0 12px 40px var(--shadow); transition: opacity .2s, transform .2s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 720px; }

/* ---------- Panels (terminal style) ---------- */
.panel { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 600 0.8rem/1 var(--font-mono); color: var(--muted); }
.panel-body { padding: 18px 16px; display: grid; gap: 16px; }
.panel-foot { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--dim); }
.panel-foot a { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); text-decoration: none; white-space: nowrap; }
.panel-foot a:hover { text-decoration: underline; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; }
.live-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Hero ---------- */
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
/* Earnings panel */
.select, .input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--bg); font-size: .95rem; }
.select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23A0A4AA' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center/14px no-repeat; }
.select:hover, .input:hover { border-color: var(--muted); }
.select option, .select optgroup { background: var(--panel); color: var(--text); }
.seg { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.seg button { min-height: 36px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 5px; background: none; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .88rem; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); }
.earn-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 6px 0 2px; }
.earn-big b { font: 700 clamp(2.8rem, 6vw, 3.8rem)/1 var(--font-mono); letter-spacing: -.04em; color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.earn-big span { color: var(--muted); font-size: 1rem; }
.earn-sub { color: var(--muted); font-size: .9rem; margin-top: -6px; }
.earn-sub b { color: var(--text); font-family: var(--font-mono); font-weight: 600; }
.rows { margin: 0; display: grid; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.rows dt { color: var(--muted); }
.rows dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.assume { font-size: .84rem; color: var(--dim); }
.assume b { color: var(--muted); font-weight: 600; }
.flag { padding: 10px 12px; border-radius: 6px; border: 1px solid var(--gold-line); background: var(--gold-soft); font-size: .85rem; color: var(--text); }

/* ---------- Simulation ---------- */
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); }
.sim-col { padding: 14px 16px; min-width: 0; }
.sim-col + .sim-chest, .sim-chest + .sim-col { border-left: 1px solid var(--line); }
.sim-col h3 { font: 600 0.8rem/1 var(--font-mono); color: var(--dim); margin-bottom: 10px; display: flex; justify-content: space-between; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; height: 296px; overflow: hidden; align-content: start; }
.feed li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font: 600 0.82rem/1.2 var(--font-mono); color: var(--muted); animation: rowIn .35s var(--ease); }
.feed li .side { font-weight: 700; color: var(--text); }
.feed li .side.sell { color: var(--dim); }
.feed li .amt { color: var(--text); }
.feed li .to { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); text-align: right; }
.feed.pay li { grid-template-columns: 1fr auto; }
.feed.pay li .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed.pay li .who small { color: var(--dim); font-size: .76rem; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); background: var(--gold-soft); } to { opacity: 1; transform: none; background: transparent; } }
.sim-chest { display: grid; place-content: center; gap: 12px; text-align: center; padding: 24px 18px; background: var(--panel-2); }
.sim-chest .label { font: 600 0.8rem/1 var(--font-mono); color: var(--dim); }
.sim-chest b { font: 700 2.4rem/1 var(--font-mono); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); letter-spacing: -.03em; transition: transform .3s var(--ease); }
.sim-chest.split b { transform: scale(.92); }
.sim-bar { width: 180px; height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; margin: 0 auto; }
.sim-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.sim-chest small { font-size: .78rem; color: var(--muted); }
.sim-controls { display: flex; justify-content: flex-end; }
.sim-controls button { background: none; border: 0; color: var(--muted); font: 600 0.8rem/1 var(--font-mono); cursor: pointer; padding: 4px 0 4px 10px; }
.sim-controls button:hover { color: var(--text); }

/* ---------- Math ---------- */
.derive { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: d; }
.derive li { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: d; }
.derive li::before { content: "Step " counter(d); font: 600 0.8rem/1 var(--font-mono); color: var(--dim); }
.derive p { color: var(--muted); font-size: .95rem; }
.derive i, .legend i, .kv i { font-family: var(--font-code); font-style: normal; color: var(--text); }
code, .eq { font: 600 0.86rem/1.6 var(--font-mono); color: var(--text); }
.derive code { display: block; padding: 10px 12px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; }
.derive li:last-child code { border-color: var(--gold-line); }
.derive code b { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.legend { margin-top: 16px; font-size: .84rem; color: var(--dim); }
.math-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; margin-top: 32px; align-items: start; }
.eq { display: block; padding: 14px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); overflow-x: auto; white-space: pre; }
.eq b { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-weight: 700; }
.math-grid .kv > div { grid-template-columns: 130px 1fr; }

/* ---------- Mining / app ---------- */
.numbered { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--muted); }
.numbered li::before { counter-increment: n; content: counter(n); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-line); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); display: grid; place-items: center; font: 600 0.8rem/1 var(--font-mono); }
.numbered b { color: var(--text); font-weight: 600; display: block; }
.ticks { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 12px; height: 7px; border-left: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold); transform: rotate(-45deg) translateY(-2px); }
.ticks li.planned::before { border-color: var(--dim); }

/* ---------- Token ---------- */
.token-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split-bar { display: flex; height: 48px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.split-bar div { display: flex; align-items: center; padding: 0 14px; font: 700 0.9rem/1 var(--font-mono); }
.split-bar .a { width: 83.33%; background: var(--gold); color: var(--gold-ink); }
.split-bar .b { flex: 1; background: var(--panel-2); color: var(--text); justify-content: center; padding: 0; }
.per100 { margin-top: 28px; }
.per100 .rows > div:last-child { border-bottom: 1px solid var(--line); }
.split-bar.three .d { width: 10%; flex: none; background: var(--panel-2); color: var(--muted); justify-content: center; padding: 0; font-size: .78rem; }
.split-bar.three .m { width: 70%; flex: none; background: var(--gold); color: var(--gold-ink); }
.split-bar.three .h { flex: 1; background: var(--gold-2); color: var(--gold-ink); justify-content: center; padding: 0 6px; font-size: .8rem; text-align: center; }
.split-legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .86rem; color: var(--muted); }
.kv { margin: 0; display: grid; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.kv dt { color: var(--dim); font: 600 0.8rem/1.7 var(--font-mono); }
.kv dd { margin: 0; color: var(--muted); }
.kv dd b { color: var(--text); font-weight: 600; }

.status { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.status li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.status li span { font: 600 0.8rem/1.9 var(--font-mono); color: var(--dim); }
.status li.done span { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.status li.now span { color: var(--text); }
.status li b { color: var(--text); font-weight: 600; }

/* ---------- Waitlist + countdown ---------- */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-unit { padding: 14px 8px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); text-align: center; }
.cd-unit b { display: block; font: 600 2rem/1 var(--font-mono); }
.cd-unit span { display: block; margin-top: 8px; font: 600 0.8rem/1 var(--font-mono); color: var(--dim); }
.countdown.set .cd-unit b { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.wl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.wl-form .btn { grid-column: 1 / -1; }
.wl-form .input:disabled, .wl-form .select:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; padding: 18px 0; font: 600 1.02rem/1.4 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--font-mono); color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.faq .a { padding: 0 0 20px; color: var(--muted); max-width: 760px; display: grid; gap: 10px; }
.faq .a b { color: var(--text); font-weight: 600; }
.faq-split { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; font: 600 0.8rem/1 var(--font-mono); color: var(--dim); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot-grid a:hover { color: var(--text); }
.foot-grid p { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 300px; }
.disclaimer { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .8rem; color: var(--dim); line-height: 1.6; }
.disclaimer b { color: var(--muted); }

/* ---------- Subpages ---------- */
.page-head { padding: clamp(48px, 7vw, 80px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head .lede { margin-top: 16px; }
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.calc-full { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
.calc-form { display: grid; gap: 16px; align-content: start; }
.calc-out { display: grid; gap: 18px; align-content: start; position: sticky; top: 120px; }
.calc-out-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.label-example { display: inline-flex; font: 600 0.8rem/1 var(--font-mono); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); border: 1px dashed var(--gold-line); padding: 5px 8px; border-radius: 4px; }
.fieldset { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 20px; margin: 0; display: grid; gap: 18px; background: var(--panel); }
.fieldset legend { padding: 0 8px; margin-left: -8px; font: 700 1rem/1 var(--font-display); }
.field { display: grid; gap: 8px; }
.field label, .flabel { font: 600 0.8rem/1 var(--font-mono); color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.range-row { display: grid; gap: 8px; }
.range-top { display: flex; justify-content: space-between; gap: 10px; }
.range-top label { font-size: .9rem; color: var(--muted); }
.range-top output { font: 600 0.9rem/1 var(--font-mono); }
.range-hint { font-size: .8rem; color: var(--dim); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.scenario-desc { font-size: .9rem; color: var(--muted); padding: 12px 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.scenario-desc b { color: var(--text); }
.results-wrap { overflow-x: auto; }
.results { width: 100%; border-collapse: collapse; }
.results th, .results td { padding: 13px 8px; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.results th { font: 600 0.8rem/1 var(--font-mono); color: var(--dim); }
.results th:first-child, .results td:first-child { text-align: left; padding-left: 0; }
.results td { font-family: var(--font-mono); font-size: .96rem; }
.results td:first-child { font-family: var(--font-body); color: var(--muted); font-size: .92rem; }
.results tr.total td { border-bottom: 0; font-weight: 600; font-size: 1.1rem; }
.results tr.total td:first-child { color: var(--text); font-size: .95rem; }
.results tr.total td:not(:first-child) { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.calc-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.meta { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.meta span { display: block; font: 600 0.8rem/1.3 var(--font-mono); color: var(--dim); }
.meta b { display: block; margin-top: 8px; font: 600 1rem/1.2 var(--font-mono); }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 70px 1fr 90px; gap: 12px; align-items: center; font-size: .88rem; color: var(--muted); }
.bar-row .track { height: 10px; border-radius: 5px; background: var(--panel-2); overflow: hidden; position: relative; }
.bar-row .track i { position: absolute; top: 0; bottom: 0; left: 0; background: var(--line-2); transition: width .4s var(--ease); }
.bar-row .track i.chest { background: var(--gold); }
.bar-row b { text-align: right; font: 600 0.9rem/1 var(--font-mono); color: var(--text); }
.bar-row.on { color: var(--text); }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: 120px; display: grid; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.toc a:hover { color: var(--text); background: var(--panel); }
.docs section + section { margin-top: 56px; }
.docs h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; }
.prose { display: grid; gap: 14px; color: var(--muted); max-width: 760px; }
.prose b { color: var(--text); font-weight: 600; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
/* Numbered how-to steps (antivirus help) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: st; }
.steps li { position: relative; padding-left: 34px; min-height: 24px; }
.steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold-line); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); display: grid; place-items: center; font: 600 0.75rem/1 var(--font-body); }
.steps b, .prose li b { color: var(--text); font-weight: 600; }
.prose code { overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 0.8rem/1.4 var(--font-mono); color: var(--dim); }
.prose td:first-child { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .mobile-nav { display: block; position: fixed; inset: 64px 0 auto 0; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .mobile-nav.open { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
  .mobile-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
  .mobile-nav .mobile-extra { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
}
@media (max-width: 960px) {
  .lv-grid, .token-grid, .launch, .faq-split, .calc-full, .docs, .pc-grid, .earn-grid { grid-template-columns: minmax(0, 1fr); }
  .sim-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sim-chest { grid-column: 1 / -1; grid-row: 1; border-bottom: 1px solid var(--line); padding: 18px 16px; gap: 10px; }
  .sim-col + .sim-chest, .sim-chest + .sim-col { border-left: 0; }
  .sim-chest + .sim-col { border-left: 1px solid var(--line); }
  .rules, .math-grid, .flow3 { grid-template-columns: minmax(0, 1fr); }
  .derive li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .derive li::before { grid-column: 1 / -1; }
  .calc-out { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .ca-btn .ca-long { display: none; }
  .nav-right .icon-btn.social { display: none; }
  .nav-right .btn .tag { display: none; }
  .sim-grid { grid-template-columns: minmax(0, 1fr); }
  .sim-chest + .sim-col { border-left: 0; }
  .sim-col + .sim-col { border-top: 1px solid var(--line); }
  .feed { height: 200px; }
  .feed.pay { height: 168px; }
  .lv-table td { padding: 14px 12px; }
  .lv-cards { grid-template-columns: minmax(0, 1fr); }
  .kv > div, .math-grid .kv > div { grid-template-columns: 1fr; gap: 4px; }
  .derive li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .eq { white-space: pre-wrap; }
}
@media (max-width: 560px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .nav { gap: 12px; }
  .nav-right { gap: 6px; }
  .brand .tick { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .dev-cards { grid-template-columns: minmax(0, 1fr); }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); }
  .wl-form, .two, .foot-grid, .calc-meta { grid-template-columns: minmax(0, 1fr); }
  .results th, .results td { padding: 11px 4px; font-size: .84rem; }
  .results th:nth-child(2), .results td:nth-child(2) { display: none; }
  .card { padding: 18px; }
  .fieldset { padding: 16px; }
  .bar-row { grid-template-columns: 56px 1fr 80px; }
  .cd-unit b { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Level colors: Level 1 mint, Level 2 violet, Level 3 gold ---------- */
@property --lv { syntax: "<color>"; inherits: true; initial-value: #8FA3FF; }
:root { --l1: #5ED3A5; --l2: #8FA3FF; --l3: #EBB447; }
.lvl-scope { --lv: var(--l2); transition: --lv .6s var(--ease); }
.lvl-scope[data-level="1"] { --lv: var(--l1); }
.lvl-scope[data-level="3"] { --lv: var(--l3); }
.l1, [data-lv="1"], [data-l="1"], [data-h="1"] { --c: var(--l1); }
.l2, [data-lv="2"], [data-l="2"], [data-h="2"] { --c: var(--l2); }
.l3, [data-lv="3"], [data-l="3"], [data-h="3"] { --c: var(--l3); }
.seg button[data-l][aria-pressed="true"], .seg button[data-h][aria-pressed="true"] { background: var(--c); color: var(--gold-ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); }
.hero-split { display: grid; gap: clamp(32px, 4vw, 48px); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 3.4rem); max-width: 12ch; }
.hero-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 520px; }
.hero-points li { position: relative; padding-left: 30px; color: var(--muted); font-size: 1.04rem; line-height: 1.45; }
.hero-points li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.hero-points b { color: var(--text); font-weight: 600; }
.devices { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.devices li { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px 5px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; color: var(--muted); }
.devices svg, .dev-cards svg { width: 16px; height: 16px; flex: none; fill: none; stroke: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.hero-ctas { margin-top: 28px; }
@media (min-width: 1180px) {
  .hero { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 20px 0 28px; }
  .hero > .wrap, .site-header > .wrap { width: 100%; max-width: 2240px; padding: 0 clamp(32px, 3vw, 72px); }
  .hero-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(40px, 3vw, 72px); }
  /* Type grows with the screen (and stays short enough for the window height). */
  .hero h1 { font-size: clamp(2.6rem, min(3.9vw, 7.4vh), 6.6rem); }
  .hero-points { max-width: 34em; gap: clamp(12px, 1.6vh, 20px); margin-top: clamp(24px, 3vh, 40px); }
  .hero-points li { font-size: clamp(1rem, calc(.45vw + .5rem), 1.55rem); }
  .devices { margin-top: clamp(24px, 3vh, 40px); }
  .devices li { font-size: clamp(.8rem, calc(.3vw + .45rem), 1rem); padding: .45em .9em .45em .7em; }
  .devices svg { width: 1.25em; height: 1.25em; }
  .hero-ctas { margin-top: clamp(28px, 3.4vh, 44px); }
  .hero-ctas .btn { min-height: clamp(46px, 5.4vh, 58px); padding: 0 clamp(20px, 1.4vw, 28px); font-size: clamp(.95rem, calc(.3vw + .6rem), 1.1rem); }
  .cycle-caption { font-size: clamp(.95rem, calc(.3vw + .55rem), 1.15rem); }
}
@media (min-width: 1180px) and (max-height: 820px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-points { margin-top: 18px; gap: 8px; }
  .hero-points li { font-size: .98rem; }
  .devices { margin-top: 18px; }
  .hero-ctas { margin-top: 20px; }
}

/* ---------- Hero loop ---------- */
.cycle { position: relative; }
.cycle-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cycle-link { fill: none; stroke: var(--line-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 9; }
.cycle-link-lit { fill: none; stroke: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--gold) 70%, transparent)); opacity: 0; transition: opacity .9s ease; }
.cycle-link-lit.on { opacity: 1; transition: opacity .15s ease; }
.st { position: relative; z-index: 1; display: grid; gap: 9px; align-content: start; padding: 10px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); cursor: pointer;
  transition: border-color .7s var(--ease), box-shadow .7s var(--ease), transform .7s var(--ease); }
.st.on { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 9%, transparent), 0 18px 50px var(--shadow); }
.cycle .st > * { opacity: .42; transition: opacity .7s var(--ease); }
.cycle .st.on > *, .cycle.static .st > * { opacity: 1; }
.cycle .st.prep > .art { opacity: 0; transition: opacity .3s ease; }
.cycle { --s: 1; }
.cycle.ring .st, .cycle.ring .cycle-core { position: absolute; transform: translate(-50%, -50%); }
.cycle.ring .st { transform: translate(-50%, -50%) scale(var(--s)); }
.cycle.ring .st.on { transform: translate(-50%, -50%) scale(calc(var(--s) * 1.045)); z-index: 2; }
.cycle.ring .spoke-tag { transform: translate(-50%, -50%) scale(var(--s)); }
.cycle.ring .spoke-tag.hot { transform: translate(-50%, -50%) scale(calc(var(--s) * 1.08)); }
.cycle.ring .st p { display: none; }
.cycle.ring .st-text { align-items: center; }
.st-text { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; }
.st-n { grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-line); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font: 700 0.8rem/1 var(--font-mono); transition: background .5s, color .5s; }
.cycle.ring .st-n { grid-row: auto; }
.st.on .st-n { background: var(--gold); color: var(--gold-ink); }
.st h3 { font-size: 1rem; }
.st p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.art { position: relative; height: 82px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.cycle-core { position: relative; z-index: 1; display: grid; place-items: center; }
.cycle-core img { width: 100%; height: 100%; filter: drop-shadow(0 0 36px rgba(235, 180, 71, .3)); transition: transform 1s var(--ease), filter 1s var(--ease); }
.cycle-core.pulse img { transform: scale(1.05); filter: drop-shadow(0 0 64px rgba(235, 180, 71, .55)); }
.cycle.stack .cycle-core { width: 150px; height: 150px; justify-self: center; }
/* Spokes: always visible, gently flowing; the ones that matter now glow and flow faster. */
.cycle-spoke { fill: none; stroke: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .32; animation: spokeIn 1.4s linear infinite; transition: opacity .6s ease, stroke-width .6s ease; }
.cycle-spoke.out { animation-name: spokeOut; }
.cycle-spoke.hot { opacity: 1; stroke-width: 3.5; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--gold) 60%, transparent)); animation-duration: .6s; }
@keyframes spokeIn { to { stroke-dashoffset: 11; } }
@keyframes spokeOut { to { stroke-dashoffset: -11; } }
.spoke-tag { position: absolute; z-index: 3; transform: translate(-50%, -50%); padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--gold-line); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font: 700 .72rem/1 var(--font-display); white-space: nowrap; pointer-events: none;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.spoke-tag.hot { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 22px color-mix(in srgb, var(--gold) 45%, transparent); }
.cycle.stack .spoke-tag { z-index: 3; }
/* Stack (narrow screens): one column, connectors between cards, return lane on the right */
.cycle.stack { display: grid; gap: 30px; padding-right: 22px; }
.cycle.stack .art { height: 112px; }
.cycle-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.cycle-caption { color: var(--muted); font-size: .95rem; min-height: 1.5em; transition: opacity .22s ease, transform .22s ease; }
.cycle-caption.swap { opacity: 0; transform: translateY(4px); }
.cycle-caption b { color: var(--text); }
.cycle-steps { display: flex; gap: 6px; }
.cycle-steps button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--dim); font: 700 .78rem/1 var(--font-mono); cursor: pointer; transition: background .4s, color .4s, border-color .4s; }
.cycle-steps button:hover { color: var(--text); }
.cycle-steps button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.cycle-controls { display: flex; gap: 12px; align-items: center; }
.cycle.paused .art *, .cycle.paused .art { animation-play-state: paused !important; }
/* Animations run on .on and keep their last frame on .seen (same declaration, so no restart). */
.st.seen .art * { animation-play-state: paused !important; }
.st.seen .art .chip, .st.seen .art .t-row, .st.seen .art .chart path, .st.seen .art .w-in, .st.seen .art .tax-split span, .st.seen .art .cursor, .st.seen .art .fake-btn, .st.seen .art .fake-btn span, .st.seen .art .scr-status, .st.seen .art .w-clock i { animation-play-state: running !important; }

/* 1: PC with a Start click */
.art-pc .mon { width: 146px; height: 80px; border: 2px solid var(--line-2); border-radius: 6px; background: var(--well); display: grid; margin-top: -10px; }
.art-pc .scr { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 6px; }
.art-pc .scr-top { font: 600 .62rem/1 var(--font-mono); color: var(--dim); display: flex; gap: 4px; align-items: center; }
.art-pc .scr-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.art-pc .fake-btn { position: relative; display: grid; font: 700 .7rem/1 var(--font-body); padding: 6px 14px; border-radius: 4px; background: var(--line-2); color: var(--text); }
.art-pc .fake-btn span { grid-area: 1 / 1; text-align: center; }
.art-pc .l-on { opacity: 0; }
.art-pc .scr-status { font: 600 .58rem/1 var(--font-mono); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); opacity: 0; }
.art-pc .stand { position: absolute; bottom: 8px; width: 40px; height: 5px; border-radius: 2px; background: var(--line-2); }
.art-pc .stand::before { content: ""; position: absolute; left: 50%; bottom: 5px; width: 8px; height: 9px; margin-left: -4px; background: var(--line-2); }
.art-pc .cursor { position: absolute; width: 14px; left: 62%; top: 70%; transform: translate(34px, 24px); }
.st.on .art-pc .cursor, .st.seen .art-pc .cursor { animation: pcCursor 1.9s cubic-bezier(.45, .05, .25, 1) .2s both; }
.st.on .art-pc .fake-btn, .st.seen .art-pc .fake-btn { animation: pcBtn 2.1s ease both; }
.st.on .art-pc .l-start, .st.seen .art-pc .l-start { animation: fadeOut .25s ease 1.55s both; }
.st.on .art-pc .l-on, .st.seen .art-pc .l-on { animation: fadeIn .3s ease 1.6s both; }
.st.on .art-pc .scr-status, .st.seen .art-pc .scr-status { animation: rise .5s var(--ease) 1.9s both; }
.cycle.static .art-pc .fake-btn { background: var(--gold); color: var(--gold-ink); }
@keyframes pcCursor { 0% { transform: translate(34px, 24px); opacity: 0; } 12% { opacity: 1; } 68% { transform: translate(-16px, -28px); } 76% { transform: translate(-16px, -28px) scale(.82); } 86%, 100% { transform: translate(-16px, -28px) scale(1); } }
@keyframes pcBtn { 0%, 70% { background: var(--line-2); color: var(--text); transform: scale(1); } 76% { transform: scale(.9); } 84%, 100% { background: var(--gold); color: var(--gold-ink); transform: scale(1); box-shadow: 0 0 16px rgba(235, 180, 71, .35); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* 2: GPU fans spin up, mined coins rise */
.art-gpu { color: var(--muted); }
.art-gpu .gpu { display: flex; gap: 10px; padding: 10px 14px; border: 2px solid var(--line-2); border-radius: 6px; background: var(--well); transition: border-color 1s ease, box-shadow 1s ease; }
.art-gpu .fan { width: 36px; height: 36px; }
.st.on .art-gpu .fan, .st.seen .art-gpu .fan { animation: spinUp 1.4s cubic-bezier(.4, 0, .8, .6) both, spin .35s linear 1.4s infinite; }
.st.on .art-gpu .gpu { border-color: var(--gold-line); box-shadow: 0 0 22px rgba(235, 180, 71, .15); color: var(--text); }
@keyframes spinUp { from { transform: rotate(0); } to { transform: rotate(720deg); } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.art-gpu .chip { position: absolute; bottom: 12px; font: 700 .64rem/1 var(--font-mono); color: var(--gold-ink); background: var(--gold); padding: 4px 6px; border-radius: 4px; opacity: 0; }
.art-gpu .c1 { left: 22%; } .art-gpu .c2 { left: 45%; } .art-gpu .c3 { left: 66%; }
.st.on .art-gpu .chip, .st.seen .art-gpu .chip { animation: chipUp 1.9s cubic-bezier(.3, .6, .4, 1) .7s both; }
.st.on .art-gpu .c2, .st.seen .art-gpu .c2 { animation-delay: 1.2s; }
.st.on .art-gpu .c3, .st.seen .art-gpu .c3 { animation-delay: 1.7s; }
@keyframes chipUp { 0% { opacity: 0; transform: translateY(6px); } 18% { opacity: 1; } 70% { opacity: 1; transform: translateY(-50px); } 100% { opacity: 0; transform: translateY(-62px); } }

/* 3: price line draws up, market buy lands */
.art-buy { align-content: center; }
.art-buy .chart { position: absolute; inset: 10px 10px 34px; width: calc(100% - 20px); height: calc(100% - 44px); overflow: visible; }
.art-buy .chart path { fill: none; stroke: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 220; stroke-dashoffset: 220; }
.st.on .art-buy .chart path, .st.seen .art-buy .chart path { animation: draw 1.6s cubic-bezier(.4, 0, .2, 1) .2s both; }
.cycle.static .art-buy .chart path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.art-buy .ticket { position: absolute; left: 10px; right: 10px; bottom: 8px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--well); padding: 5px 8px; }
.art-buy .t-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .74rem; }
.art-buy .side { font: 800 .64rem/1 var(--font-mono); color: var(--gold-ink); background: var(--gold); padding: 3px 6px; border-radius: 3px; }
.st.on .art-buy .t-row, .st.seen .art-buy .t-row { animation: rise .45s var(--ease) 1.3s both; }

/* 4: wallet: mining payout lands, then a holder reward on the same bag */
.art-wallet .wallet { width: min(184px, 90%); display: grid; gap: 4px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--well); }
.art-wallet .w-label { display: flex; justify-content: space-between; align-items: center; font: 600 .62rem/1 var(--font-mono); color: var(--dim); }
.art-wallet .w-bal { font-size: .9rem; color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); line-height: 1.1; }
.art-wallet .w-levels { display: flex; gap: 3px; }
.art-wallet .w-levels span { font: 700 .54rem/1 var(--font-mono); padding: 2px 4px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--dim); }
.art-wallet .w-levels span.on { background: var(--c); border-color: var(--c); color: var(--gold-ink); }
.art-wallet .w-in { display: flex; justify-content: space-between; font: 600 .6rem/1.2 var(--font-mono); color: var(--muted); opacity: 0; }
.art-wallet .w-in b { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.art-wallet .w-hold b { color: color-mix(in srgb, var(--gold-2) var(--gold-2-text-mix), #000); }
.st.on .art-wallet .w-mine, .st.seen .art-wallet .w-mine { animation: rise .45s var(--ease) .5s both; }
.st.on .art-wallet .w-hold, .st.seen .art-wallet .w-hold { animation: rise .45s var(--ease) 1.5s both; }
.cycle.static .art-wallet .w-in { opacity: 1; }

/* 5: trade tape rolls, each trade pays 5% */
.art-trades { padding: 5px 8px; place-items: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 4px; }
.art-trades .tape-win { height: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.art-trades .tape { list-style: none; margin: 0; padding: 0; display: grid; }
.art-trades .tape li { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px; font-size: .64rem; padding-right: 2px; color: var(--muted); padding: 3px 0; border-bottom: 1px solid var(--line); height: 22px; align-items: center; }
.st.on .art-trades .tape, .st.seen .art-trades .tape { animation: tape 4s linear infinite; }
.art-trades .tape b { font: 800 .62rem/1 var(--font-mono); color: var(--text); }
.art-trades .tape b.sell { color: var(--dim); }
.art-trades .tape em { font-style: normal; color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-family: var(--font-mono); font-weight: 600; }
@keyframes tape { to { transform: translateY(-88px); } }
.art-trades .tax-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.art-trades .tax-split span { font: 700 .56rem/1 var(--font-mono); letter-spacing: -.01em; text-align: center; color: var(--gold-ink); background: var(--gold); padding: 4px 3px; border-radius: 3px; white-space: nowrap; opacity: 0; }
.art-trades .tax-split span + span { background: var(--gold-2); }
.st.on .art-trades .tax-split span, .st.seen .art-trades .tax-split span { animation: rise .4s var(--ease) 1.1s both; }
.st.on .art-trades .tax-split span + span, .st.seen .art-trades .tax-split span + span { animation-delay: 1.5s; }
.cycle.static .art-trades .tax-split span { opacity: 1; }

/* ---------- Explore: one topic at a time ---------- */
.explore { border-top: 1px solid var(--line); }
.xbar { padding: clamp(28px, 4vw, 48px) 0 0; }
.xbar-title { font: 700 1.05rem/1.2 var(--font-display); color: var(--muted); margin-bottom: 14px; }
.xtabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.xtabs button { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 104px; padding: 16px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: 700 1rem/1.2 var(--font-display); text-align: center; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.xtabs button svg { width: 30px; height: 30px; fill: none; stroke: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.xtabs button:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.xtabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 30px rgba(235, 180, 71, .22); }
.xtabs button[aria-selected="true"] svg { stroke: var(--gold-ink); }
@media (max-width: 960px) {
  .xtabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .xtabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .xtabs button { min-height: 84px; padding: 12px 6px; font-size: .86rem; gap: 8px; }
  .xtabs button svg { width: 24px; height: 24px; }
  .xtabs button:last-child { grid-column: 1 / -1; min-height: 52px; grid-auto-flow: column; justify-content: center; }
}
.xhead h2 { text-wrap: balance; }
.xpanels { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 96px); }
.xpanel { animation: panelIn .45s var(--ease); }
.xpanel:focus { outline: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.xhead { display: grid; gap: 10px; margin-bottom: 26px; max-width: 680px; }
.xfoot { margin-top: 18px; font-size: .86rem; color: var(--dim); }
.xfoot a { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); text-decoration: none; }
.xfoot a:hover { text-decoration: underline; }

/* Earnings */
.lv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lv-card { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; text-align: left; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); cursor: pointer;
  transition: border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .5s var(--ease); }
.lv-card:hover { border-color: color-mix(in srgb, var(--c) 55%, var(--line-2)); }
.lv-card .lv-name { font: 700 .84rem/1 var(--font-display); color: var(--c); }
.lv-card .lv-x { font: 800 1.55rem/1 var(--font-display); color: var(--text); letter-spacing: -.02em; }
.lv-req { display: flex; gap: 8px; align-items: center; font-size: .88rem; line-height: 1.3; }
.lv-req i { flex: none; min-width: 30px; text-align: center; font: 700 .72rem/1 var(--font-mono); font-style: normal; padding: 4px 6px; border-radius: 4px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.lv-card[aria-checked="true"] { border-color: var(--c); background-color: color-mix(in srgb, var(--c) 8%, var(--panel)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent); color: var(--text); }
.lv-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c); }
.lv-cards.auto .lv-card[aria-checked="true"]::after { animation: lvfill var(--auto-ms, 3400ms) linear forwards; }
@keyframes lvfill { to { width: 100%; } }
.lv-key { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.lv-key b { color: var(--text); }
.lv-auto { color: var(--dim); margin-left: 6px; }
.earn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.ecard { display: grid; gap: 14px; align-content: start; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); border-top: 3px solid var(--lv); }
.ecard-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ecard h3 { font-size: 1.15rem; }
.lv-pill { font: 700 .8rem/1 var(--font-mono); padding: 5px 10px; border-radius: 999px; background: var(--lv); color: var(--gold-ink); }
.ecard .earn-big { padding: 2px 0 0; }
.ecard .earn-big b { color: var(--lv); }
.stack-bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--panel-2); }
.stack-bar i { display: block; height: 100%; transition: width .6s var(--ease); }
.stack-bar .mined { background: var(--muted); }
.stack-bar .tax { background: var(--lv); }
.sum { margin: 0; display: grid; gap: 8px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; color: var(--muted); }
.sum dd { margin: 0; color: var(--text); font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.sw.mined { background: var(--muted); }
.sw.tax { background: var(--lv); }
.esub { font-size: .86rem; color: var(--dim); }
.esub b { color: var(--muted); font-weight: 600; }
.bag-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.bag-input { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); padding-left: 14px; color: var(--muted); }
.bag-input .input { border: 0; background: none; padding-left: 6px; min-width: 0; }
.bag-quick { display: flex; gap: 4px; }
.bag-quick button { min-height: 44px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; font: 600 .82rem/1 var(--font-mono); }
.bag-quick button:hover { color: var(--text); border-color: var(--muted); }

/* How it works */
.flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.flow3 > div { padding: 18px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); display: grid; gap: 6px; align-content: start; }
.flow3 .n { font: 800 2rem/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.flow3 .n.gold2 { color: color-mix(in srgb, var(--gold-2) var(--gold-2-text-mix), #000); }
.flow3 p { color: var(--muted); font-size: .92rem; }
.more { margin-top: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); }
.more summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.more[open] summary::after { content: "−"; }
.more summary:hover { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.more-body { padding: 0 18px 18px; display: grid; gap: 16px; }
.more-body .muted b { color: var(--text); }
.more .math-grid { margin-top: 0; }
.more .panel { background: var(--bg); }

/* Levels */
.lv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.lv-table { width: 100%; border-collapse: collapse; }
.lv-table td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--muted); font-size: .95rem; }
.lv-table tr:last-child td { border-bottom: 0; }
.lv-table td b { color: var(--text); font-weight: 600; }
.lv-table .usd { font: 600 1rem/1.2 var(--font-mono); color: var(--text); text-align: right; white-space: nowrap; }
.lv-table .usd small { display: block; font: 400 .76rem/1.4 var(--font-body); color: var(--dim); }
.lv-table tr.on td { background: color-mix(in srgb, var(--c) 7%, transparent); }
.lv-table tr[data-l] { cursor: pointer; }
.lvb { display: inline-block; min-width: 40px; text-align: center; font: 800 .88rem/1 var(--font-display); padding: 7px 9px; border-radius: 6px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.rules { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rules li { color: var(--muted); font-size: .92rem; }
.rules b { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

/* Your PC */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
.gm-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gm-bar { display: flex; height: 48px; border-radius: 6px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.gm-bar i { display: block; height: 100%; transition: width 1s var(--ease); }
.gm-bar .you { background: #5B6470; }
.gm-bar .mine { background: repeating-linear-gradient(-45deg, var(--gold) 0 10px, #D9A23C 10px 20px); background-size: 28px 28px; animation: stripes 1.2s linear infinite; }
@keyframes stripes { to { background-position: 28px 0; } }
.gm-legend { display: grid; gap: 10px; }
.gm-legend div { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; color: var(--muted); }
.gm-legend b { color: var(--text); font-family: var(--font-mono); font-weight: 600; }
.sw.you { background: #5B6470; }
.sw.mine { background: var(--gold); }
.pc-side { display: grid; gap: 22px; }
/* The real app, shown in a window frame (dark or light screenshot follows the site theme) */
.pc-app { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 24px; }
.app-shot { margin: 0; display: grid; gap: 10px; }
.app-shot img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 24px 60px var(--shadow), 0 0 0 6px var(--gold-soft); }
.app-shot figcaption { font-size: .82rem; color: var(--dim); }
.pc-grid .pc-side { gap: 14px; }
@media (max-width: 960px) { .pc-app { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.pc-side .numbered, .pc-side .ticks { margin-top: 0; }
.dl-note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }
.dl-note a { color: inherit; }
.sha { word-break: break-all; }
.ca-full { display: block; margin-top: 6px; }
.dev-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dev-cards li { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); font-size: .92rem; }
.dev-cards b { font-weight: 600; }
.dev-cards svg { width: 24px; height: 24px; }

/* Launch */
.seed { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: var(--radius); font-size: .93rem; }
.launch { align-items: start; }
.launch-side { display: grid; gap: 16px; }

@media (max-width: 760px) {
  .bag-row { grid-template-columns: minmax(0, 1fr); }
  .bag-quick button { flex: 1; }
  .gm-modes button { padding: 0 4px; min-width: 0; }
}
@media (max-width: 560px) {
  .gm-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lv-grid, .pc-grid, .earn-grid, .rules, .flow3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .lv-cards, .dev-cards { grid-template-columns: minmax(0, 1fr); }
}
.xpanels { min-height: 72vh; }
.bar-row:nth-child(1) .track i.chest { background: var(--l1); }
.bar-row:nth-child(2) .track i.chest { background: var(--l2); }
.bar-row:nth-child(3) .track i.chest { background: var(--l3); }

/* How it works: the self-balancing split */
.balance { margin-bottom: 16px; }
.bal-ends { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .8rem; color: var(--dim); }
.bal-ends output { font: 600 .9rem/1 var(--font-mono); color: var(--text); }
.bal-bar { display: flex; height: 46px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.bal-bar i { display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; font: 700 .86rem/1 var(--font-display); color: var(--gold-ink); padding: 0 12px; transition: width .35s var(--ease); }
.bal-bar .m { background: var(--gold); }
.bal-bar .h { background: var(--gold-2); justify-content: flex-end; }
.bal-bar .d { background: var(--panel-2); color: var(--muted); justify-content: center; padding: 0 4px; font-weight: 600; font-size: .78rem; }
.bal-note { font-size: 1rem; color: var(--muted); min-height: 1.5em; }
.bal-note b { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-family: var(--font-display); font-weight: 800; }

/* Earnings, compact (round 4) */
.xhead-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; max-width: none; margin-bottom: 20px; }
.lv-auto { margin: 0; font-size: .86rem; }
.lv-card { gap: 10px; padding: 14px 16px; }
.lv-top { display: flex; justify-content: space-between; align-items: baseline; }
.lv-card .lv-name { font-size: 1rem; }
.lv-card .lv-x { font-size: 1.6rem; color: var(--c); }
.lv-req { font-size: .9rem; color: var(--text); }
.lv-req i { min-width: 46px; font-family: var(--font-display); font-size: .74rem; }
.earn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.ecard { gap: 12px; }
.ecard h3 { font-size: 1rem; color: var(--muted); font-weight: 700; }
.ecard .earn-big b { font-size: clamp(2.4rem, 3.6vw, 3.2rem); }
.ecard .earn-big span { font-size: .95rem; }
.sum-line { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }
.sum-line b { color: var(--text); font-family: var(--font-mono); font-weight: 600; }
.bag-row { grid-template-columns: minmax(0, 1fr); }
.bag-quick button { flex: 1; min-height: 34px; }
.ecard.both { background: color-mix(in srgb, var(--lv) 9%, var(--panel)); border-color: color-mix(in srgb, var(--lv) 40%, var(--line-2)); align-content: start; }
.ecard.both h3 { color: var(--text); }
.both-note { font-size: .9rem; color: var(--muted); }
.flow3 > div { padding: 16px 18px; gap: 4px; }
.flow3 h3 { font-size: .95rem; color: var(--muted); font-weight: 600; }
@media (max-width: 960px) {
  .earn-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Two flywheels (hero) ---------- */
.fly-switch { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.fly-switch button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font: 700 clamp(.92rem, calc(.25vw + .65rem), 1.1rem)/1 var(--font-display); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.fly-switch button:hover { color: var(--text); border-color: var(--gold-line); }
.fly-switch .fw-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-line); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-size: .82rem; }
.fly-switch button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.fly-switch button[aria-selected="true"] .fw-n { background: var(--gold-ink); border-color: var(--gold-ink); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }
.st.seen .art .buys span, .st.seen .art .w-levels span, .st.seen .art .lv-track i, .st.seen .art .lv-steps span, .st.seen .art .mult, .st.seen .art .b-row { animation-play-state: running !important; }

/* Coin 2: hold clock fills, levels light up */
.art-hold .wallet { width: min(184px, 90%); display: grid; gap: 7px; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--well); }
.art-hold .w-label { display: flex; justify-content: space-between; align-items: center; font: 600 .62rem/1 var(--font-mono); color: var(--dim); }
.art-hold .w-levels { display: flex; gap: 3px; }
.art-hold .w-levels span { font: 700 .56rem/1 var(--font-mono); padding: 2px 4px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--dim); }
.art-hold .w-clock { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.art-hold .w-clock i { display: block; height: 100%; width: 12%; background: var(--l3); }
.art-hold small { font-size: .6rem; color: var(--dim); }
.st.on .art-hold .w-clock i, .st.seen .art-hold .w-clock i { animation: holdClock 2.6s cubic-bezier(.4, 0, .2, 1) .3s both; }
@keyframes holdClock { from { width: 12%; } to { width: 92%; } }
.st.on .art-hold .w-levels span, .st.seen .art-hold .w-levels span { animation: lvOn .35s var(--ease) .4s both; }
.st.on .art-hold .w-levels .l2, .st.seen .art-hold .w-levels .l2 { animation-delay: 1.4s; }
.st.on .art-hold .w-levels .l3, .st.seen .art-hold .w-levels .l3 { animation-delay: 2.5s; }
.cycle.static .art-hold .w-levels span { background: var(--c); border-color: var(--c); color: var(--gold-ink); }
.cycle.static .art-hold .w-clock i { width: 92%; }
@keyframes lvOn { 0% { transform: scale(1); } 50% { transform: scale(1.25); } 100% { transform: scale(1); background: var(--c); border-color: var(--c); color: var(--gold-ink); } }

/* Coin 4: the split slides between miners and holders */
.art-split { align-content: center; gap: 6px; padding: 0 12px; place-items: stretch; }
.art-split .sp-labels { display: flex; justify-content: space-between; font: 700 .64rem/1 var(--font-display); color: var(--text); }
.art-split .sp-labels.dim { font: 600 .56rem/1 var(--font-mono); color: var(--dim); }
.art-split .sp-bar { display: flex; height: 16px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line-2); }
.art-split .sp-bar .m { width: 70%; background: var(--gold); }
.art-split .sp-bar .h { flex: 1; background: var(--gold-2); }
.st.on .art-split .sp-bar .m, .st.seen .art-split .sp-bar .m { animation: slide 3.2s ease-in-out .3s infinite; }
@keyframes slide { 0%, 100% { width: 72%; } 50% { width: 30%; } }

/* Coin 5: more miners and holders */
.art-join { align-content: center; gap: 8px; padding: 0 14px; place-items: stretch; }
.art-join .j-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .72rem; color: var(--muted); }
.art-join .j-row b { font: 800 1.05rem/1 var(--font-display); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-variant-numeric: tabular-nums; }

/* Bag 3: level steps */
.art-level { align-content: center; gap: 10px; padding: 0 12px; place-items: stretch; }
.art-level .lv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.art-level .lv-steps span { text-align: center; font: 800 .62rem/1 var(--font-display); padding: 5px 0; border-radius: 4px; border: 1px solid var(--line-2); color: var(--dim); }
.art-level .lv-track { height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.art-level .lv-track i { display: block; height: 100%; width: var(--to, 0%); background: linear-gradient(90deg, var(--l1), var(--l2), var(--l3)); background-size: 300% 100%; }
.st.on .art-level .lv-track i, .st.seen .art-level .lv-track i { animation: track 1.2s cubic-bezier(.4, 0, .2, 1) .2s both; }
@keyframes track { from { width: var(--from, 0%); } to { width: var(--to, 0%); } }
.art-level .l1 { background: var(--l1); border-color: var(--l1) !important; color: var(--gold-ink) !important; }
.art-level[data-level="3"] .l2 { background: var(--l2); border-color: var(--l2); color: var(--gold-ink); }
.st.on .art-level[data-level="2"] .l2, .st.seen .art-level[data-level="2"] .l2,
.st.on .art-level[data-level="3"] .l3, .st.seen .art-level[data-level="3"] .l3 { animation: lvOn .45s var(--ease) 1.2s both; }
.cycle.static .art-level .l2, .cycle.static .art-level .l3 { background: var(--c); border-color: var(--c); color: var(--gold-ink); }

/* Bag 4: the multiplier */
.art-mult { align-content: center; gap: 4px; }
.art-mult .mult { font: 800 2.2rem/1 var(--font-display); letter-spacing: -.03em; color: var(--c, var(--l1)); }
.art-mult[data-level="1"] { --c: var(--l1); } .art-mult[data-level="2"] { --c: var(--l2); } .art-mult[data-level="3"] { --c: var(--l3); }
.art-mult span { font-size: .64rem; color: var(--muted); }
.st.on .art-mult .mult, .st.seen .art-mult .mult { animation: multPop .6s var(--ease) .3s both; }
@keyframes multPop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }

/* Bag 5: both rewards */
.art-both { align-content: center; gap: 6px; padding: 0 12px; place-items: stretch; }
.art-both .b-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 4px; background: var(--well); border: 1px solid var(--line-2); font: 700 .66rem/1 var(--font-display); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); opacity: 0; }
.art-both .b-row + .b-row { color: color-mix(in srgb, var(--gold-2) var(--gold-2-text-mix), #000); }
.art-both .b-row b { font: 500 .58rem/1 var(--font-body); color: var(--dim); }
.st.on .art-both .b-row, .st.seen .art-both .b-row { animation: rise .45s var(--ease) .5s both; }
.st.on .art-both .b-row + .b-row, .st.seen .art-both .b-row + .b-row { animation-delay: 1.1s; }
.cycle.static .art-both .b-row { opacity: 1; }

/* Bag center: coin with a level-colored ring */
.bag-core { --lc: var(--l1); }
.bag-core[data-level="2"] { --lc: var(--l2); }
.bag-core[data-level="3"] { --lc: var(--l3); }
.bag-core::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 4px solid var(--lc); box-shadow: 0 0 30px color-mix(in srgb, var(--lc) 40%, transparent); transition: border-color .8s var(--ease), box-shadow .8s var(--ease); }
.bag-core .core-lvl { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%) scale(var(--s, 1)); padding: 5px 12px; border-radius: 999px; background: var(--lc); color: var(--gold-ink); font: 800 .8rem/1 var(--font-display); white-space: nowrap; transition: background .8s var(--ease); }
.cycle.stack .bag-core .core-lvl { transform: translateX(-50%); }
.art-both .b-row > span { white-space: nowrap; }
.art-both .b-row b { white-space: nowrap; margin-left: 6px; }
@media (max-width: 560px) {
  .fly-switch button { padding: 8px 12px 8px 8px; font-size: .84rem; gap: 8px; text-align: left; }
  .fly-switch .fw-n { width: 22px; height: 22px; flex: none; }
}
@media (min-width: 1180px) {
  .cycle-bar { flex-wrap: nowrap; align-items: center; }
  .cycle-caption { flex: 1 1 0; min-width: 0; }
  .cycle-controls { flex: none; }
}


/* ---------- Flywheels, round 2 ---------- */
.fly-stage { position: relative; }
.cycle { transition: opacity .48s ease, transform .48s var(--ease); }
.cycle.leaving, .cycle.entering { opacity: 0; transform: scale(.97); }
.fly-note { margin-top: 10px; font-size: .8rem; color: var(--dim); text-align: right; }

/* Bag wheel: the whole color scheme follows the level (mint, violet, gold) */
@property --wheel { syntax: "<color>"; inherits: true; initial-value: #5ED3A5; }
.cycle.bag { --wheel: var(--l1); transition: --wheel .9s var(--ease), opacity .48s ease, transform .48s var(--ease);
  --gold: var(--wheel); --gold-line: color-mix(in srgb, var(--wheel) 40%, transparent); --gold-2: color-mix(in srgb, var(--wheel) 55%, #fff); --gold-soft: color-mix(in srgb, var(--wheel) 10%, transparent); }
.cycle.bag[data-level="2"] { --wheel: var(--l2); }
.cycle.bag[data-level="3"] { --wheel: var(--l3); }
.cycle.bag .cycle-core img { filter: drop-shadow(0 0 36px color-mix(in srgb, var(--wheel) 35%, transparent)); }
.bag-core { --lc: var(--wheel); }
.hero-ring #fw-bag-tab[aria-selected="true"] { transition: background .9s var(--ease), border-color .9s var(--ease); }
.hero-ring[data-bag-level="1"] #fw-bag-tab[aria-selected="true"] { background: var(--l1); border-color: var(--l1); }
.hero-ring[data-bag-level="2"] #fw-bag-tab[aria-selected="true"] { background: var(--l2); border-color: var(--l2); }
.hero-ring[data-bag-level="1"] #fw-bag-tab[aria-selected="true"] .fw-n,
.hero-ring[data-bag-level="2"] #fw-bag-tab[aria-selected="true"] .fw-n { color: var(--text); }

/* Coin 1: GPU, arrow, then the market panel with buys landing on a rising line */
.art-minebuy { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 10px; place-items: center stretch; }
.art-minebuy .gpu.mini { display: flex; padding: 6px 8px; border: 2px solid var(--line-2); border-radius: 6px; background: var(--well); color: var(--muted); justify-self: start; }
.art-minebuy .fan { width: 30px; height: 30px; }
.st.on .art-minebuy .fan, .st.seen .art-minebuy .fan { animation: spinUp 1.2s cubic-bezier(.4, 0, .8, .6) both, spin .35s linear 1.2s infinite; }
.st.on .art-minebuy .gpu { border-color: var(--gold-line); color: var(--text); }
.art-minebuy .arrow { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font: 700 1rem/1 var(--font-display); }
.art-minebuy .mkt { position: relative; height: 62px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--well); }
.art-minebuy .mkt-label { position: absolute; left: 7px; top: 6px; font: 700 .54rem/1 var(--font-mono); color: var(--dim); }
.art-minebuy .chart { position: absolute; left: 6px; right: 6px; top: 18px; bottom: 6px; width: calc(100% - 12px); height: calc(100% - 24px); overflow: visible; }
.art-minebuy .chart path { fill: none; stroke: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 220; stroke-dashoffset: 220; }
.st.on .art-minebuy .chart path, .st.seen .art-minebuy .chart path { animation: draw 2.2s cubic-bezier(.4, 0, .2, 1) .6s both; }
.art-minebuy .dot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); opacity: 0; }
.art-minebuy .d1 { left: 30%; top: 70%; } .art-minebuy .d2 { left: 60%; top: 52%; } .art-minebuy .d3 { left: 88%; top: 30%; }
.st.on .art-minebuy .dot, .st.seen .art-minebuy .dot { animation: dotIn .35s var(--ease) 1s both; }
.st.on .art-minebuy .d2, .st.seen .art-minebuy .d2 { animation-delay: 1.6s; }
.st.on .art-minebuy .d3, .st.seen .art-minebuy .d3 { animation-delay: 2.3s; }
@keyframes dotIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: none; } }
.st.seen .art .chart path, .st.seen .art .dot, .st.seen .art .fig { animation-play-state: running !important; }
.cycle.static .art-minebuy .chart path { stroke-dashoffset: 0; }
.cycle.static .art-minebuy .dot { opacity: 1; }

/* Bag 2-3: one big figure */
.art-figure { align-content: center; gap: 6px; padding: 0 10px; text-align: center; }
.art-figure .fig { font: 800 1.8rem/1 var(--font-display); letter-spacing: -.02em; color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-variant-numeric: tabular-nums; }
.art-figure span { font-size: .64rem; color: var(--muted); }
.st.on .art-figure .fig, .st.seen .art-figure .fig { animation: multPop .6s var(--ease) .3s both; }

/* Bag 5: level steps note */
.art-level .lv-note { font: 700 .62rem/1 var(--font-display); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); text-align: center; }
.art-level { gap: 8px; }

.art-split .sp-labels { gap: 8px; }
.hero-ring { --l-active: var(--gold); }
.hero-ring[data-active="bag"][data-bag-level="1"] .cycle-bar { --gold: var(--l1); }
.hero-ring[data-active="bag"][data-bag-level="2"] .cycle-bar { --gold: var(--l2); }
.cycle-steps button[aria-pressed="true"] { transition: background .9s var(--ease), border-color .9s var(--ease); }

/* ---------- Round 5: bigger hero text, framed caption, explorer fits the screen ---------- */
@media (min-width: 1600px) {
  .hero-split { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}
@media (min-width: 1180px) {
  .hero h1 { font-size: clamp(2.8rem, min(4.7vw, 8.6vh), 8rem); }
  .hero-points { font-size: clamp(1.05rem, calc(.62vw + .4rem), 1.85rem); max-width: 28em; gap: clamp(12px, 1.9vh, 26px); margin-top: clamp(24px, 3.6vh, 48px); }
  .hero-points li { font-size: 1em; padding-left: 1.6em; }
  .hero-points li::before { width: .58em; height: .3em; left: .15em; }
  .devices { margin-top: clamp(24px, 3.6vh, 48px); gap: .6em; }
  .devices li { font-size: clamp(.82rem, calc(.38vw + .4rem), 1.2rem); }
  .hero-ctas { margin-top: clamp(28px, 4vh, 52px); gap: clamp(12px, .8vw, 18px); }
  .hero-ctas .btn { min-height: clamp(48px, 6.2vh, 72px); padding: 0 clamp(20px, 1.6vw, 36px); font-size: clamp(.98rem, calc(.38vw + .55rem), 1.35rem); border-radius: 12px; }

  /* The caption sits in a framed bar under the wheel, centered on it, always two lines tall. */
  .cycle-bar { max-width: 1040px; margin: 20px auto 0; padding: 12px 14px 12px clamp(18px, 1.4vw, 26px); gap: clamp(16px, 1.6vw, 28px);
    border: 1px solid var(--line-2); border-radius: 14px; background: color-mix(in srgb, var(--panel) 85%, transparent); }
  .cycle-caption { font-size: clamp(.98rem, calc(.32vw + .55rem), 1.28rem); line-height: 1.45; min-height: 2.9em; display: flex; align-items: center; }
  .cycle-caption b { margin-right: .35em; }
  .fly-note { text-align: center; }
}
@media (min-width: 1180px) and (max-height: 820px) {
  .hero h1 { font-size: 2.75rem; }
  .hero-points { font-size: .98rem; gap: 9px; margin-top: 18px; }
  .cycle-bar { margin-top: 12px; padding-top: 6px; padding-bottom: 6px; }
}

/* Explorer on big screens: as wide as the hero, scaled up as a whole (home.js sets --xz) and at
   least one screen tall, so the open topic fills the page down to the bottom. */
@media (min-width: 1180px) {
  .explore { zoom: var(--xz, 1); display: flex; flex-direction: column; }
  .explore .wrap { max-width: var(--xmax, 1200px); padding: 0 var(--xpad, 32px); }
  .explore .xpanels { flex: 1 0 auto; min-height: 0; padding-top: 36px; padding-bottom: 56px; display: flex; flex-direction: column; justify-content: center; }
  .xbar { padding-top: 36px; }
  .xhead { max-width: 760px; }
}
.xhead { align-content: start; }
@media (min-width: 1800px) {
  .nav-links a { font-size: clamp(.92rem, calc(.5vw + .2rem), 1.12rem); padding: 8px 12px; }
  .brand { font-size: clamp(1.15rem, calc(.35vw + .6rem), 1.4rem); }
}
/* Narrower hero columns: the caption can need three lines; keep the bar a fixed height so the wheel never jumps. */
@media (min-width: 1180px) and (max-width: 1439px) {
  .cycle-caption { min-height: 4.35em; }
}
@media (min-width: 1180px) and (max-height: 820px) {
  .cycle-caption { font-size: .92rem; }
}
/* Short screens (e.g. 1280×720): compact controls so the caption fits in two lines and the wheel keeps its room. */
@media (min-width: 1180px) and (max-height: 820px) {
  .cycle-caption { font-size: .88rem; min-height: 2.9em; }
  .cycle-steps { gap: 4px; }
  .cycle-steps button { width: 24px; height: 24px; font-size: .72rem; }
  .cycle-controls { gap: 8px; }
  #cycle-pause { min-height: 32px; padding: 0 12px; }
}

/* Trader-first (Oct 4): holding comes first, a GPU is the optional extra */
.ecard h3 .h3-sub { margin-left: 8px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 .72rem/1 var(--font-body); color: var(--muted); vertical-align: 2px; letter-spacing: 0; }
.art-figure .opt { justify-self: center; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--gold-line); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font: 700 .56rem/1 var(--font-display); letter-spacing: .02em; }
.art-buyin .fake-btn { padding: 6px 12px; }
.nowrap { white-space: nowrap; }

/* Bag flywheel, step 1: two ways in (buy or mine), either or both */
.art-ways { grid-template-columns: auto auto auto; justify-content: center; align-content: center; column-gap: 8px; row-gap: 9px; }
.art-ways .way { min-width: 58px; padding: 9px 0; border-radius: 6px; border: 1px solid var(--line-2); background: var(--well); text-align: center; font: 800 .82rem/1 var(--font-display); color: var(--muted); }
.art-ways .w-or { align-self: center; font: 600 .62rem/1 var(--font-body); color: var(--dim); }
.art-ways .w-both { grid-column: 1 / -1; justify-self: center; font: 700 .62rem/1 var(--font-display); color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); opacity: 0; }
.st.on .art-ways .w-buy, .st.seen .art-ways .w-buy { animation: wayOn .5s var(--ease) .3s both; }
.st.on .art-ways .w-mine, .st.seen .art-ways .w-mine { animation: wayOn .5s var(--ease) 1.1s both; }
.st.on .art-ways .w-both, .st.seen .art-ways .w-both { animation: rise .45s var(--ease) 1.9s both; }
.st.seen .art .way, .st.seen .art .w-both { animation-play-state: running !important; }
.cycle.static .art-ways .way { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.cycle.static .art-ways .w-both { opacity: 1; }
@keyframes wayOn { to { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); } }
.art-figure .fig-extra { margin-top: 2px; font: 600 .58rem/1.2 var(--font-body); color: var(--dim); }
.hero h1 { text-wrap: balance; }
.hero h1 .h1-line { display: block; }
.hero h1 .gold { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); }

/* Hero: one-sentence lede that tells what's new */
.hero-lede { margin: clamp(16px, 2.4vh, 28px) 0 0; max-width: 32em; color: var(--muted); font-size: clamp(1.05rem, calc(.6vw + .45rem), 1.75rem); line-height: 1.45; }
.hero-lede b { color: color-mix(in srgb, var(--gold) var(--gold-text-mix), #000); font-weight: 700; }
.hero h1 { max-width: 13ch; }
@media (min-width: 1180px) { .hero h1 { max-width: none; font-size: clamp(2.6rem, min(4.4vw, 8.2vh), 7rem); } }
@media (min-width: 1180px) and (max-height: 820px) {
    .hero-lede { margin-top: 12px; font-size: 1rem; }
  .hero h1 { font-size: 2.5rem; }
}
