/* ==========================================================================
   CASHVYN — style.css
   The Receipt. Tokens → base → components → sections → motion → responsive.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --void: #08090A;
  --sheet: #111315;
  --inset: #181B1E;
  --rule: #24282C;
  --bone: #EEEBE3;
  --ink-2: #9C9A93;
  --ink-3: #66655F;
  --mint: #3DFFB0;
  --mint-tint: rgba(61, 255, 176, .10);
  --gold: #E8C26A;
  --gold-tint: rgba(232, 194, 106, .10);
  --down: #FF6B5B;

  --paper: #EEEBE3;
  --paper-ink: #111315;
  --paper-ink-2: #4A4944;

  --f-display: "Clash Display", "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --gap: clamp(12px, 1.8vw, 24px);
  --radius: 2px;
  --bar-h: 72px;
  --sec-pad: clamp(96px, 12vw, 176px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--void); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--void);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--void); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px;
  background: var(--mint); color: var(--void);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .4s var(--ease);
}
.skip:focus { transform: none; }

/* Type helpers */
.mono { font-family: var(--f-mono); }
.mono-label {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.t-mint { color: var(--mint); }
.t-gold { color: var(--gold); }
.t-dim { color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.fine--center { text-align: center; margin-top: 40px; }

/* Texture */
.grain {
  position: fixed; inset: -50%;
  z-index: 150; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}
.vignette {
  position: fixed; inset: 0;
  z-index: 149; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap > .rule { margin: 0; }
.rule {
  height: 1px;
  width: 100%;
  background: var(--rule);
  transform-origin: 0 50%;
}
.section { position: relative; padding: var(--sec-pad) 0; }
.section > .wrap > .rule:first-child { margin-top: calc(var(--sec-pad) * -1); margin-bottom: var(--sec-pad); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--tight > .wrap > .rule:first-child { margin-top: calc(clamp(56px, 7vw, 96px) * -1); margin-bottom: clamp(56px, 7vw, 96px); }

.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head__label { grid-column: 1 / span 3; padding-top: .6em; }
.sec-head__main { grid-column: 4 / -1; }
.sec-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 112px);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.sec-intro {
  margin-top: clamp(20px, 2.4vw, 32px);
  max-width: 52ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
}

/* Masked headline lines */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line__in { display: block; will-change: transform; }

/* ---------- 4. Components ---------- */
/* Buttons */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }
.btn__i { width: 18px; height: 18px; flex: none; transition: transform .6s var(--ease); }
.btn:hover .btn__i { transform: translateX(3px); }
.btn--mint { background: var(--mint); color: var(--void); }
.btn--mint:hover { box-shadow: 0 0 0 4px var(--mint-tint), 0 10px 40px -10px rgba(61, 255, 176, .55); }
.btn--outline { border-color: rgba(238, 235, 227, .28); color: var(--bone); background: rgba(8, 9, 10, .25); }
.btn--outline:hover { border-color: var(--mint); color: var(--mint); }
.btn--ghost { color: var(--ink-2); border-color: var(--rule); }
.btn--ghost:hover { color: var(--bone); border-color: var(--ink-2); }
.btn[aria-disabled="true"], .btn:disabled {
  color: var(--ink-3); border-color: var(--rule); background: transparent;
  cursor: not-allowed; box-shadow: none;
}
.btn[aria-disabled="true"]:hover .btn__i { transform: none; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--bone);
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--mint); color: var(--mint); }

/* Cards */
.card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .6s var(--ease);
}
.card:hover { border-color: var(--mint); }
.card__title {
  margin-top: 14px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
  letter-spacing: -.01em;
}

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.dot--mint { background: var(--mint); }
.dot--gold { background: var(--gold); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .08em;
  line-height: 1;
}
.brand--lg .brand__mark { width: 44px; height: 44px; }
.brand--lg .brand__word { font-size: 28px; }

/* ---------- 5. Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--bar-h);
  border-bottom: 1px solid transparent;
  transition: background-color .6s var(--ease), border-color .6s var(--ease);
}
.topbar.is-solid { background: var(--void); border-bottom-color: var(--rule); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .4s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--mint); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--bone); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.nav + .topbar__actions { margin-left: 8px; }
.topbar__in > .brand + .topbar__actions { margin-left: auto; }

.ca-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(17, 19, 21, .6);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .5s var(--ease);
}
.ca-pill:hover { border-color: var(--mint); }
.ca-pill__t { color: var(--mint); font-weight: 500; }
.ca-pill__v { color: var(--bone); }
.ca-pill__i { width: 14px; height: 14px; color: var(--ink-2); }
.ca-pill.is-soon .ca-pill__i { display: none; }

.burger {
  display: none;
  width: 40px; height: 36px;
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--bone);
  transition: transform .6s var(--ease), top .6s var(--ease);
}
.burger span:first-child { top: 13px; }
.burger span:last-child { top: 20px; }
.burger[aria-expanded="true"] span:first-child { top: 16.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 16.5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0;
  z-index: 90;
  background: var(--void);
  padding-top: var(--bar-h);
  overflow-y: auto;
}
.menu__in { min-height: 100%; display: flex; flex-direction: column; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--rule); }
.menu__links { margin-top: 24px; }
.menu__links li { border-bottom: 1px solid var(--rule); overflow: hidden; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 0;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(36px, 10vw, 64px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
}
.menu__links a .mono { font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.menu__links a:hover { color: var(--mint); }
.menu__foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.menu__foot .ca-pill { height: 44px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--bar-h) + 40px) 0 clamp(64px, 9vh, 112px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
  background: var(--void);
  overflow: hidden;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  transform: scale(1.02);
  transition: transform 2.4s var(--ease);
}
.hero:hover .hero__video { transform: scale(1.06); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--void) 0%, rgba(8, 9, 10, .86) 24%, rgba(8, 9, 10, .38) 60%, rgba(8, 9, 10, .62) 100%),
    linear-gradient(90deg, rgba(8, 9, 10, .72) 0%, rgba(8, 9, 10, 0) 64%);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: clamp(32px, 3.4vw, 48px);
  align-items: end;
}
.hero__label { color: var(--bone); margin-bottom: 24px; display: inline-flex; align-items: center; gap: 12px; }
.hero__label::before { content: ""; width: 24px; height: 1px; background: var(--mint); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(64px, min(11vw, calc((min(100vw, 1360px) - 470px) / 5.7)), 168px);
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero__sub {
  max-width: 44ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(16px, 1.25vw, 18px);
  color: #CFCCC4;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-2); font-size: 11px;
}
.hero__scroll-line { width: 1px; height: 28px; background: var(--rule); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 1px; height: 100%;
  background: var(--mint);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 60%, 100% { top: 100%; } }

/* ---------- 7. Receipt ---------- */
.receipt-wrap {
  position: relative;
  width: 100%;
  max-width: 324px;
  justify-self: end;
  transform: rotate(1.4deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)) drop-shadow(0 2px 2px rgba(0, 0, 0, .3));
}
.receipt { position: relative; will-change: clip-path, transform; }
.receipt__paper {
  position: relative;
  padding: 30px 22px 34px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), transparent 18%, transparent 82%, rgba(0, 0, 0, .05)),
    var(--paper);
  color: var(--paper-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .04em;
  --zz: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 51% repeat-x,
        conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 51% repeat-x;
  -webkit-mask: var(--zz);
  mask: var(--zz);
  overflow: hidden;
}
.r-head { text-align: center; display: grid; justify-items: center; gap: 4px; }
.r-head__mark { width: 32px; height: 32px; --logo-c: var(--paper-ink); margin-bottom: 6px; }
.r-title { font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.r-meta { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-ink-2); }
.r-sep { height: 0; border-top: 1.5px dashed rgba(17, 19, 21, .45); margin: 14px 0; }
.r-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 3px 0;
  text-transform: uppercase;
}
.r-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.r-row--mint, .r-row--gold { padding: 5px 8px; margin: 3px -8px; color: var(--void); }
.r-row--mint { background: var(--mint); }
.r-row--gold { background: var(--gold); }
.r-row--strong { font-weight: 500; font-size: 13px; }
.r-small { margin-top: 10px; font-size: 10.5px; color: var(--paper-ink-2); letter-spacing: .04em; }
.r-barcode {
  height: 46px;
  margin: 4px auto 0;
  width: 88%;
  background:
    repeating-linear-gradient(90deg,
      var(--paper-ink) 0 2px, transparent 2px 4px,
      var(--paper-ink) 4px 5px, transparent 5px 8px,
      var(--paper-ink) 8px 11px, transparent 11px 12px,
      var(--paper-ink) 12px 13px, transparent 13px 17px,
      var(--paper-ink) 17px 19px, transparent 19px 20px,
      var(--paper-ink) 20px 21px, transparent 21px 25px);
}
.r-foot { margin-top: 10px; text-align: center; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.r-stamp {
  position: absolute; right: 18px; bottom: 58px;
  padding: 4px 10px;
  border: 2px solid rgba(17, 19, 21, .5);
  outline: 1px solid rgba(17, 19, 21, .5); outline-offset: 2px;
  color: rgba(17, 19, 21, .55);
  font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: .14em; text-transform: uppercase;
  transform: rotate(-14deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
[data-type] { will-change: clip-path; }

/* ---------- 8. Official CA ---------- */
.ca-card {
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .6s var(--ease);
}
.ca-card:hover { border-color: var(--mint); }
.ca-card::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 2px; background: var(--mint);
}
.ca-card__top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); }
.ca-addr {
  font-family: var(--f-mono);
  font-size: clamp(16px, 2.1vw, 28px);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.3;
  color: var(--bone);
  word-break: break-all;
}
.ca-addr--soon {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 64px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase;
  word-break: normal;
}
.ca-card__sub { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.ca-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.ca-card__note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin-top: clamp(24px, 3vw, 40px); padding-top: 20px;
  border-top: 1px dashed var(--rule);
  font-size: 14px; color: var(--ink-2);
}
.ca-card__note .mono-label { color: var(--gold); }

/* ---------- 10. How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  counter-reset: step;
}
.step__top { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.step__n {
  font-family: var(--f-mono); font-weight: 400;
  font-size: clamp(56px, 6.4vw, 104px); line-height: .85; letter-spacing: -.04em;
  color: var(--bone);
}
.step__n--mint { color: var(--mint); }
.step__n--gold { color: var(--gold); }
.step__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--ink-3), var(--rule)); transform-origin: 0 50%; }
.step__t {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(20px, 1.7vw, 26px); line-height: 1.08; letter-spacing: -.005em;
  max-width: 16ch;
}
.step__d { margin-top: 12px; color: var(--ink-2); font-size: 15px; max-width: 34ch; }

.flow {
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(20px, 3vw, 40px);
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.flow__svg { width: 100%; height: auto; overflow: visible; }
.flow__svg--v { display: none; max-width: 380px; margin: 0 auto; }
.flow__node rect { fill: var(--inset); stroke: var(--rule); stroke-width: 1; }
.flow__node--mint rect { fill: rgba(61, 255, 176, .07); stroke: var(--mint); }
.flow__node--gold rect { fill: rgba(232, 194, 106, .07); stroke: var(--gold); }
.flow__k { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; fill: var(--ink-2); font-weight: 500; }
.flow__node--mint .flow__k { fill: var(--mint); }
.flow__node--gold .flow__k { fill: var(--gold); }
.flow__v { font-family: var(--f-display); font-weight: 500; font-size: 22px; fill: var(--bone); }
.flow__v--s { font-size: 17px; }
.flow__lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; fill: var(--ink-2); }
.flow__path {
  fill: none; stroke: var(--ink-2); stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: dash 1.4s linear infinite;
}
.flow__path--mint { stroke: var(--mint); }
.flow__path--gold { stroke: var(--gold); }
@keyframes dash { to { stroke-dashoffset: -28; } }
.flow figcaption { margin-top: 20px; text-align: center; }

/* ---------- 11. Estimator ---------- */
.est {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.est__inputs {
  grid-column: 1 / span 7;
  padding: clamp(24px, 3vw, 40px);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  display: grid; gap: 36px;
}
.est__tag { color: var(--gold); }
.est__out { grid-column: 8 / -1; position: sticky; top: calc(var(--bar-h) + 24px); }
.field__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.field__label { font-weight: 500; font-size: 16px; }
.field__num {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 12px;
  background: var(--inset); border: 1px solid var(--rule); border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 15px;
  transition: border-color .4s var(--ease);
}
.field__num:focus-within { border-color: var(--mint); }
.field__num input {
  width: 128px; border: 0; background: transparent; padding: 0;
  font-family: var(--f-mono); font-size: 15px; text-align: right; color: var(--bone);
  -moz-appearance: textfield; appearance: textfield;
}
.field__num input:focus-visible { outline: none; }
.field__num input::-webkit-outer-spin-button, .field__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field__unit { color: var(--ink-2); }
.field--inline {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px dashed var(--rule);
}
.field__label--sm { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.field__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; letter-spacing: .1em; color: var(--ink-2); }

.range {
  --p: 50%;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 28px; margin: 0;
  background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--mint) 0 var(--p), var(--rule) var(--p) 100%);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin-top: -9px;
  background: var(--bone); border: 5px solid var(--void);
  box-shadow: 0 0 0 1px var(--mint);
  border-radius: var(--radius);
  transition: transform .4s var(--ease);
}
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range::-moz-range-track { height: 2px; background: var(--rule); }
.range::-moz-range-progress { height: 2px; background: var(--mint); }
.range::-moz-range-thumb {
  width: 12px; height: 12px;
  background: var(--bone); border: 4px solid var(--void);
  box-shadow: 0 0 0 1px var(--mint);
  border-radius: var(--radius);
}
.range:focus-visible { outline-offset: 6px; }

.slip {
  position: relative;
  padding: 34px clamp(20px, 2.6vw, 32px) 36px;
  background: var(--sheet);
  font-family: var(--f-mono);
  --zz: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 51% repeat-x,
        conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 51% repeat-x;
  -webkit-mask: var(--zz);
  mask: var(--zz);
  margin-bottom: 16px;
}
.slip__head { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1.5px dashed var(--rule); margin-bottom: 14px; }
.slip__head .mono-label:last-child { color: var(--gold); }
.slip__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
}
.slip__row span:last-child { color: var(--bone); font-weight: 500; }
.slip__row--mint span:last-child { color: var(--mint); }
.slip__row--gold span:last-child { color: var(--gold); }
.slip__row--strong span:last-child { font-size: 15px; }
.slip__sep { border-top: 1.5px dashed var(--rule); margin: 14px 0; }
.slip__big { display: grid; gap: 8px; padding: 6px 0 10px; }
.slip__big-l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.slip__big-v {
  font-family: var(--f-mono); font-weight: 500;
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1; letter-spacing: -.03em;
  word-break: break-all;
}
.slip__big-s { font-family: var(--f-mono); font-size: 15px; letter-spacing: .02em; color: var(--ink-2); }
.slip__formula { font-size: 11.5px; letter-spacing: .06em; color: var(--ink-2); line-height: 1.6; }

/* ---------- 12. Eligibility ---------- */
.elig { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.elig__card { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.elig__card .btn { align-self: flex-start; margin-top: 28px; }
.facts { margin-top: 28px; }
.facts__row {
  display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.facts__row:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding-top: 2px; }
.facts dd { font-size: 15px; color: var(--bone); }

.wallet { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.wallet .wallet__sub { margin-top: 14px; }
.wallet__sub { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.wallet__form { display: flex; gap: 10px; margin-top: 24px; }
.wallet__input {
  flex: 1; min-width: 0;
  height: 52px; padding: 0 16px;
  background: var(--inset); border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: 14px; letter-spacing: .02em; color: var(--bone);
  transition: border-color .4s var(--ease);
}
.wallet__input::placeholder { color: var(--ink-2); }
.wallet__input:focus-visible { border-color: var(--mint); outline-offset: 2px; }
.wallet__input.is-error { border-color: var(--down); }
.wallet__form .btn { height: 52px; }
.wallet__result { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.wallet__result:empty { display: none; }
.wallet__result .is-error { color: var(--down); }
.wallet__total { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--rule); }
.wallet__total strong { font-family: var(--f-mono); font-size: 22px; font-weight: 500; color: var(--mint); }

/* ---------- 13. Ledger ---------- */
.ledger-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: stretch;
}
.donut {
  grid-column: 1 / span 4;
  position: relative;
  display: grid; place-items: center; align-content: center; gap: 24px;
  padding: 32px 24px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--sheet);
}
.donut__svg { width: min(260px, 100%); transform: rotate(-90deg); }
.donut__track { fill: none; stroke: var(--inset); stroke-width: 16; }
.donut__arc { fill: none; stroke-width: 16; }
.donut__arc--mint { stroke: var(--mint); }
.donut__arc--gold { stroke: var(--gold); }
.donut__center {
  position: absolute; left: 50%; top: calc(32px + min(130px, 50%));
  transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 6px;
  pointer-events: none;
}
.donut__big { font-family: var(--f-display); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -.02em; }
.donut__slash { color: var(--ink-3); margin: 0 4px; font-weight: 400; }
.donut__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.donut__legend span { display: inline-flex; align-items: center; gap: 8px; }

.stats { grid-column: 5 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.stat { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; min-height: 180px; }
.stat__v {
  margin-top: auto; padding-top: 24px;
  font-family: var(--f-mono); font-weight: 500;
  font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: -.03em;
  word-break: break-word;
}
.stat__v--mint { color: var(--mint); }
.stat__v--gold { color: var(--gold); }
.stat__s { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

.chart { margin-top: var(--gap); padding: clamp(20px, 2.4vw, 32px); }
.chart__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.chart__svg { width: 100%; height: clamp(160px, 22vw, 260px); overflow: visible; }
.chart__grid { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--mint); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart__area { fill: url(#chartFill); }
.chart__axis { display: flex; justify-content: space-between; margin-top: 12px; font-size: 11px; letter-spacing: .1em; color: var(--ink-2); text-transform: uppercase; }

.feed { margin-top: var(--gap); padding: clamp(20px, 2.4vw, 32px); }
.feed:hover, .weekly:hover, .chart:hover { border-color: var(--rule); }
.feed__live { color: var(--mint); }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.feed__live::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 4px;
  border-radius: 50%; background: var(--mint); vertical-align: middle;
  animation: pulse 2s var(--ease) infinite;
}
.feed__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 32px; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  transition: border-color .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease);
}
.chip:hover { color: var(--bone); border-color: var(--ink-2); }
.chip[aria-pressed="true"] { color: var(--mint); border-color: var(--mint); background: var(--mint-tint); }
.feed__list { border-top: 1px solid var(--rule); }
.feed__list:empty { display: none; }
.feed-item {
  display: grid;
  grid-template-columns: 10px minmax(180px, 1.3fr) minmax(64px, .5fr) minmax(140px, 1fr) minmax(72px, .5fr) minmax(120px, .7fr);
  align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.feed-item__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bone); }
.feed-item--payout .feed-item__dot { background: var(--mint); }
.feed-item--buyback .feed-item__dot, .feed-item--burn .feed-item__dot { background: var(--gold); }
.feed-item__type { font-weight: 500; }
.feed-item__mkt, .feed-item__time, .feed-item__amt, .feed-item__tx { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .04em; }
.feed-item__mkt { color: var(--ink-2); white-space: nowrap; }
.feed-item__amt { font-variant-numeric: tabular-nums; }
.feed-item--payout .feed-item__amt { color: var(--mint); }
.feed-item--burn .feed-item__amt, .feed-item--buyback .feed-item__amt { color: var(--gold); }
.feed-item__time { color: var(--ink-2); }
.feed-item__tx { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: var(--bone); border-bottom: 1px solid var(--rule); transition: color .4s var(--ease), border-color .4s var(--ease); }
.feed-item__tx:hover { color: var(--mint); border-color: var(--mint); }
.feed-item__tx svg { width: 12px; height: 12px; }
.feed__more { margin-top: 20px; }

.empty-receipt {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: clamp(36px, 5vw, 64px) 24px;
  border: 1.5px dashed var(--rule); border-radius: var(--radius);
}
.empty-receipt__t { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; }
.empty-receipt__s { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

.weekly { margin-top: var(--gap); padding: clamp(20px, 2.4vw, 32px); }
.weekly__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.weekly__title { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 48px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.weekly__sub { color: var(--ink-2); font-size: 15px; max-width: 40ch; }
.table-wrap { overflow-x: auto; }
.table { min-width: 620px; font-size: 14px; }
.table th {
  text-align: left; padding: 12px 12px 12px 0;
  font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.table td:nth-child(3) { color: var(--mint); }
.table td:nth-child(4) { color: var(--gold); }
.table td a { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--rule); }
.table td a:hover { color: var(--mint); border-color: var(--mint); }
.table td a svg { width: 12px; height: 12px; }
.table__empty td { font-family: var(--f-body); color: var(--ink-2); padding: 28px 0; text-align: center; border-bottom: 0; }

/* ---------- 14. Why ---------- */
.why { display: grid; grid-template-columns: 1fr 1px 1fr; gap: clamp(24px, 5vw, 80px); }
.why__divider { background: var(--rule); }
.why__col { padding: 12px 0; }
.why__big {
  margin-top: 20px;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(32px, 4vw, 60px); line-height: 1; letter-spacing: -.02em;
}
.why__col--dim .why__big { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--ink-3); }
.why__col--dim .mono-label { color: var(--ink-2); }
.why__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  margin-top: clamp(56px, 7vw, 96px);
}
.why__facts li {
  display: flex; gap: 14px; align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone);
}
.why__facts li .mono { color: var(--mint); }

/* ---------- 16. FAQ ---------- */
.faq { border-bottom: 1px solid var(--rule); max-width: 1040px; margin-left: auto; }
.faq__item { border-top: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  display: grid; grid-template-columns: 48px 1fr 28px; align-items: center; gap: 12px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.15; letter-spacing: -.005em;
  transition: color .4s var(--ease);
}
.faq__q .mono { font-size: 12px; letter-spacing: .12em; color: var(--ink-2); }
.faq__q:hover { color: var(--mint); }
.faq__icon { position: relative; width: 16px; height: 16px; justify-self: end; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .6s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.faq__q[aria-expanded="true"] { color: var(--mint); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.faq__a.is-open, .no-js .faq__a { grid-template-rows: 1fr; }
.faq__a-in { overflow: hidden; }
.faq__a p { padding: 0 40px 28px 60px; color: var(--ink-2); font-size: 16px; max-width: 72ch; }

/* ---------- 17. Final CTA ---------- */
.final {
  position: relative;
  min-height: 92vh; min-height: 92svh;
  display: flex; align-items: center;
  padding: var(--sec-pad) 0;
  overflow: hidden; isolation: isolate;
}
.final__media { position: absolute; inset: 0; z-index: -1; background: #08090A url("../hero-poster.jpg") center / cover no-repeat; overflow: hidden; }
.final__video { width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(.9); transform: scale(1.12); }
.final__media::after { content: ""; position: absolute; inset: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.final__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, var(--void) 0%, rgba(8, 9, 10, .55) 30%, rgba(8, 9, 10, .55) 70%, var(--void) 100%),
    rgba(8, 9, 10, .35);
}
.final__in { text-align: left; }
.final__title {
  margin-top: 28px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(52px, 10vw, 160px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
}
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 56px); }

/* ---------- 18. Footer ---------- */
.footer { padding: 0 0 32px; }
.footer .wrap > .rule:first-child { margin-bottom: clamp(48px, 6vw, 80px); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--ink-2); }
.footer__nav a { transition: color .4s var(--ease); }
.footer__nav a:hover { color: var(--mint); }
.footer__ca { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 12px; }
.footer__ca-btn {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  max-width: 100%;
  padding: 14px 16px;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .02em; text-align: left;
  word-break: break-all;
  transition: border-color .4s var(--ease);
}
.footer__ca-btn:hover { border-color: var(--mint); }
.footer__ca-btn svg { width: 16px; height: 16px; flex: none; color: var(--ink-2); }
.footer__legal { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 14px; max-width: 92ch; }
.footer__line { font-size: 14px; color: var(--bone); }
.footer__disc { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
}
.footer__bottom a:hover { color: var(--mint); }
.footer--slim .footer__bottom { margin-top: 0; }

/* ---------- 19. Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--sheet); border: 1px solid var(--mint); border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
  transform: translate(-50%, 160%);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
  pointer-events: none;
}
.toast svg { width: 16px; height: 16px; color: var(--mint); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error { border-color: var(--down); }
.toast.is-error svg { color: var(--down); }

/* ---------- 20. 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--bar-h) + 48px) 0 64px; }
.nf__in { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.nf__title {
  margin-top: 24px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(52px, 8.4vw, 132px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
}
.nf__sub { margin-top: 28px; max-width: 44ch; color: var(--ink-2); font-size: 18px; }
.receipt-wrap--404 { transform: rotate(-2deg); }
.receipt-wrap--404 .r-stamp { color: rgba(17, 19, 21, .6); }

/* ---------- 21. Motion initial states (only when JS + motion allowed) ---------- */
.motion [data-lines] .line__in { transform: translateY(110%); }
.motion [data-fade] { opacity: 0; }
.motion [data-rule] { transform: scaleX(0); }
.motion [data-receipt] { clip-path: inset(0 0 100% 0); }
.motion [data-receipt] [data-type] { clip-path: inset(0 100% 0 0); }
.motion [data-step-line] { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; }
  .final__video { display: none; }
  .hero:hover .hero__video { transform: scale(1.02); }
}

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .hero { align-items: flex-end; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(64px, 11vw, 168px); }
  .receipt-wrap { justify-self: start; margin-top: 8px; }
  .nf__in { grid-template-columns: 1fr; }
  .receipt-wrap--404 { justify-self: start; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .topbar__actions, .nav + .topbar__actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .step:nth-child(2) .step__line { display: none; }
  .est__inputs { grid-column: 1 / -1; }
  .est__out { grid-column: 1 / -1; position: static; }
  .donut { grid-column: 1 / -1; }
  .donut__center { top: calc(32px + 130px); }
  .stats { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-head__label, .sec-head__main { grid-column: 1 / -1; padding-top: 0; }
  .elig { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why__divider { height: 1px; }
  .why__facts { grid-template-columns: 1fr; }
  .feed-item {
    grid-template-columns: 10px 1fr auto;
    grid-template-areas: "dot type amt" ". mkt time" ". tx tx";
    row-gap: 6px;
  }
  .feed-item__dot { grid-area: dot; }
  .feed-item__type { grid-area: type; }
  .feed-item__amt { grid-area: amt; justify-self: end; }
  .feed-item__mkt { grid-area: mkt; }
  .feed-item__time { grid-area: time; justify-self: end; }
  .feed-item__tx { grid-area: tx; justify-self: start; }
}

@media (max-width: 720px) {
  :root { --bar-h: 64px; }
  .field--inline { flex-direction: column; align-items: flex-start; }
  .field--inline .field__num { width: 100%; }
  .field--inline .field__num input { flex: 1; width: auto; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step { padding-top: 24px; border-top: 1px solid var(--rule); }
  .step__line { display: none; }
  .step__top { margin-bottom: 16px; }
  .flow__svg--h { display: none; }
  .flow__svg--v { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 150px; }
  .faq__q { grid-template-columns: 36px 1fr 20px; padding: 22px 0; }
  .faq__a p { padding: 0 0 24px 48px; }
  .wallet__form { flex-direction: column; }
  .hero__ctas .btn, .final__ctas .btn { flex: 1 1 auto; }
  .ca-card__actions .btn { flex: 1 1 100%; }
  .field__num input { width: 104px; }
}

@media (max-width: 560px) {
  .topbar .icon-btn { display: none; }
  .topbar__actions { gap: 6px; }
  .topbar .ca-pill { padding: 0 8px; gap: 6px; font-size: 11px; }
  .topbar .btn--sm { padding: 0 12px; }
  .topbar .ca-pill__t { display: none; }
  .brand__word { font-size: 16px; }
  .brand__mark { width: 26px; height: 26px; }
  .hero__title { font-size: 64px; }
  .stats { grid-template-columns: 1fr; }
  .field__top { flex-direction: column; align-items: flex-start; }
  .field__num { width: 100%; }
  .field__num input { flex: 1; width: auto; }
  .facts__row { grid-template-columns: 1fr; gap: 6px; }
  .receipt-wrap { max-width: 100%; transform: rotate(.8deg); }
  .r-stamp { font-size: 18px; }
}

@media (max-width: 359px) {
  .topbar .ca-pill { display: none; }
}

/* ---------- 23. Trader features ---------- */
/* Live round strip */
.round-strip {
  position: relative;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(17, 19, 21, .9), rgba(8, 9, 10, 0));
}
.round-strip__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); min-height: 88px; padding-top: 14px; padding-bottom: 14px; }
.round-strip__live { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; min-width: 190px; }
.round-strip__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.round-strip.is-live .round-strip__live { color: var(--mint); }
.round-strip.is-live .round-strip__dot { background: var(--mint); }
.round-strip.is-live .round-strip__dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--mint);
  animation: pulse 2s var(--ease) infinite;
}
.round-strip__cells { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.rs-cell { padding: 2px clamp(12px, 2vw, 28px); border-left: 1px solid var(--rule); }
.rs-cell dt { font-size: 11px; }
.rs-cell dd { margin: 6px 0 0; font-family: var(--f-mono); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -.01em; line-height: 1.1; color: var(--bone); }
.rs-cell dd.t-mint { color: var(--mint); }

/* Hold streak tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.tier { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: clamp(24px, 3vw, 36px); }
.tier__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 12px; }
.tier__when { font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.tier__x {
  margin-top: auto; padding-top: 40px;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(72px, 8vw, 128px); line-height: .85; letter-spacing: -.03em;
  color: var(--bone);
}
.tier__x span { margin-left: 4px; font-size: .42em; color: var(--ink-2); }
.tier--mid .tier__x { color: rgba(61, 255, 176, .72); }
.tier--top .tier__x { color: var(--mint); }
.tier__bar { height: 2px; margin-top: 26px; background: var(--rule); }
.tier__bar i { display: block; height: 100%; width: var(--w); background: var(--ink-2); }
.tier--mid .tier__bar i { background: rgba(61, 255, 176, .6); }
.tier--top .tier__bar i { background: var(--mint); }
.tier__d { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.tier--top { border-color: rgba(61, 255, 176, .4); background: linear-gradient(180deg, var(--mint-tint), transparent 55%), var(--sheet); }
.streak-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin-top: 28px; padding-top: 20px;
  border-top: 1px dashed var(--rule);
  font-size: 15px; color: var(--ink-2);
}

/* Hourly jackpot */
.jp { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap); }
.jp__next, .jp__last { display: flex; flex-direction: column; min-height: 320px; padding: clamp(24px, 3vw, 40px); }
.jp__count {
  margin-top: 18px;
  font-family: var(--f-mono); font-weight: 500;
  font-size: clamp(64px, 8vw, 120px); line-height: .9; letter-spacing: -.04em;
}
.jp__sub { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.jp__odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: auto 0 0; padding-top: 28px; }
.jp__odds > div { padding-top: 14px; border-top: 1px solid var(--rule); }
.jp__odds dd { margin: 6px 0 0; font-size: 14px; color: var(--bone); }
.jp__win, .jp__empty { margin-top: auto; }
.jp__wallet { font-size: clamp(18px, 1.8vw, 24px); }
.jp__amount {
  margin-top: 12px;
  font-family: var(--f-mono); font-weight: 500;
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.03em;
}
.jp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); }
.lb-wallet { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--rule); color: var(--bone); transition: color .4s var(--ease), border-color .4s var(--ease); }
.lb-wallet:hover { color: var(--mint); border-color: var(--mint); }
.lb-wallet svg { width: 12px; height: 12px; }

/* Leaderboard */
.lb { padding: clamp(20px, 2.4vw, 32px); }
.lb:hover { border-color: var(--rule); }
.lb__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.chip[aria-selected="true"] { color: var(--mint); border-color: var(--mint); background: var(--mint-tint); }
.lb-table { min-width: 520px; }
.lb-table td:first-child { width: 64px; color: var(--ink-2); }
.lb-table tbody tr:nth-child(-n+3) td:first-child { color: var(--mint); }
.lb-table td:nth-child(3) { color: var(--mint); }
.lb-table td:nth-child(4) { color: var(--ink-2); }

/* Wallet page */
.wp-sec { padding-top: calc(var(--bar-h) + clamp(48px, 7vw, 104px)); }
.wp-form { margin-top: 0; padding: 12px; }
.wp-msg { min-height: 1.5em; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.wp-msg.is-error { color: var(--down); }
.wp-result { margin-top: clamp(28px, 4vw, 56px); }
.wp-note { margin-bottom: 20px; padding: 14px 16px; border: 1px dashed var(--rule); border-radius: var(--radius); font-size: 15px; color: var(--ink-2); }
.wp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--gap); align-items: start; }
.wp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.wp-stats .stat { min-height: 200px; }
.wp-receipt-frame { padding: 28px; background: var(--void); }
.wp-receipt .r-head__mark { width: 34px; height: 34px; }
.r-row--big { padding: 10px 8px; font-size: 15px; font-weight: 500; }
.r-center { text-align: center; }
.wp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.wp-actions .btn { flex: 1 1 auto; }
.wp-feed { margin-top: var(--gap); }
.nav a[aria-current="page"] { color: var(--bone); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 1024px) {
  .wp-grid { grid-template-columns: 1fr; }
  .wp-receipt-col { max-width: 440px; }
  .jp { grid-template-columns: 1fr; }
  .jp__next, .jp__last { min-height: 0; }
  .jp__win, .jp__empty { margin-top: 24px; }
}
@media (max-width: 900px) {
  .round-strip__in { flex-direction: column; align-items: stretch; gap: 14px; }
  .round-strip__cells { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .rs-cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; }
  .tier__x { padding-top: 28px; }
}
@media (max-width: 560px) {
  .jp__odds { grid-template-columns: 1fr; gap: 0; }
  .jp__odds > div { padding: 12px 0; }
  .wp-stats { grid-template-columns: 1fr; }
  .wp-stats .stat { min-height: 150px; }
  .wp-receipt-frame { padding: 16px; }
}
/* Wallet receipt: export-safe parts (html2canvas skips masks, gradients and dashed borders) */
.wp-receipt-frame { position: relative; }
.wp-receipt { -webkit-mask: none; mask: none; }
.wp-zz { position: absolute; left: 28px; right: 28px; width: calc(100% - 56px); height: 8px; z-index: 2; pointer-events: none; }
.wp-zz--top { top: 28px; }
.wp-zz--bottom { bottom: 28px; }
.r-dash { display: block; width: 100%; height: 2px; margin: 14px 0; }
.r-bars { display: flex; justify-content: center; align-items: stretch; height: 46px; margin: 4px auto 0; overflow: hidden; }
.r-bars i { display: block; flex: none; background: var(--paper-ink); }
@media (max-width: 560px) {
  .wp-zz { left: 16px; right: 16px; width: calc(100% - 32px); }
  .wp-zz--top { top: 16px; }
  .wp-zz--bottom { bottom: 16px; }
}
