/* ============================================================
   Split — site theme (shared by index, payouts, admin)
   ============================================================ */
:root{
  color-scheme:dark;
  --bg:            #0a0e15;
  --bg-2:          #0c111a;
  --surface:       #10151f;
  --surface-2:     #151b27;
  --surface-3:     #1b2331;
  --line:          rgba(255,255,255,.07);
  --line-strong:   rgba(255,255,255,.13);

  --ink:           #eef2f7;
  --ink-2:         #bfc7d3;
  --muted:         #8a94a3;

  --accent:        #4d8dff;   /* data + highlights (validated on --surface) */
  --accent-btn:    #2f6fe4;   /* solid buttons: white text clears 4.5:1 */
  --accent-btn-hi: #3a7bf0;
  --accent-soft:   rgba(77,141,255,.12);
  --accent-line:   rgba(77,141,255,.35);

  --good:          #0ca30c;
  --warn:          #fab219;
  --bad:           #d03b3b;

  --grid:          #1f2734;   /* chart gridline, one step off surface */
  --axis:          #2e3848;

  --radius:        12px;
  --radius-sm:     8px;
  --radius-pill:   999px;
  --rail:          1160px;
  --shadow:        0 18px 48px rgba(0,0,0,.45);

  --font:          "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:          "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:80px; }   /* anchors and focus clear the sticky header */
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img, svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }

.mono{ font-family:var(--mono); }
.num{ font-variant-numeric:tabular-nums; }
.muted{ color:var(--muted); }
.ta-r{ text-align:right; }
.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; }
[hidden]{ display:none !important; }

.container{ width:100%; max-width:var(--rail); margin:0 auto; padding:0 24px; }
.container--narrow{ max-width:820px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-weight:600; font-size:14.5px; line-height:1;
  padding:11px 18px; border-radius:var(--radius-sm);
  border:1px solid transparent; cursor:pointer; white-space:nowrap;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--lg{ padding:14px 22px; font-size:15.5px; }
.btn--sm{ padding:8px 12px; font-size:13px; }
.btn--primary{ background:var(--accent-btn); color:#fff; }
.btn--primary:hover{ background:var(--accent-btn-hi); }
.btn--secondary{ background:transparent; border-color:var(--line-strong); color:var(--ink); }
.btn--secondary:hover{ border-color:var(--accent-line); background:var(--accent-soft); }
.btn--quiet{ background:transparent; color:var(--ink-2); padding-left:6px; padding-right:6px; }
.btn--quiet:hover{ color:var(--ink); }
.btn[disabled], .btn[aria-disabled="true"]{ opacity:.45; cursor:not-allowed; pointer-events:none; }
.btn__arrow{ transition:transform .15s ease; }
.btn:hover .btn__arrow{ transform:translateX(2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(10,14,21,.82);
  backdrop-filter:blur(12px) saturate(140%);
  -webkit-backdrop-filter:blur(12px) saturate(140%);
  border-bottom:1px solid var(--line);
}
.header__inner{ display:flex; align-items:center; gap:28px; height:64px; }

.brand{ display:inline-flex; align-items:center; gap:10px; font-weight:700; font-size:18px; letter-spacing:-.01em; }
.brand__logo{ width:26px; height:26px; flex:none; }
.brand__tag{
  font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--muted); border:1px solid var(--line-strong); border-radius:var(--radius-pill);
  padding:2px 8px; margin-left:2px;
}

.nav{ display:flex; gap:4px; }
.nav a{
  color:var(--muted); font-size:14.5px; font-weight:500;
  padding:8px 12px; border-radius:var(--radius-sm); transition:color .15s, background .15s;
}
.nav a:hover{ color:var(--ink); background:rgba(255,255,255,.04); }
.nav a[aria-current="page"]{ color:var(--ink); background:rgba(255,255,255,.06); }

.header__actions{ margin-left:auto; display:flex; align-items:center; gap:12px; }
.chain-pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:500; color:var(--muted);
  padding:6px 11px; border:1px solid var(--line); border-radius:var(--radius-pill);
}
.chain-pill .dot{ width:6px; height:6px; border-radius:50%; background:var(--good); }

.menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:10px 8px; }
.menu-toggle span{ width:20px; height:2px; background:var(--ink); border-radius:2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; padding:88px 0 72px; border-bottom:1px solid var(--line); overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(900px 420px at 78% -10%, rgba(77,141,255,.13), transparent 70%);
}
.hero__inner{ position:relative; display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:500; color:var(--ink-2);
  padding:5px 12px 5px 10px; border:1px solid var(--line-strong); border-radius:var(--radius-pill);
  background:rgba(255,255,255,.02);
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); }
.hero__title{
  font-size:clamp(38px, 5.6vw, 64px); line-height:1.04; letter-spacing:-.035em; font-weight:700;
  margin:22px 0 0;
}
.hero__title .accent{ color:var(--accent); }
.hero__sub{ max-width:560px; color:var(--ink-2); font-size:18px; margin:22px 0 0; }
.hero__cta{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }

.addr-chip{
  display:inline-flex; align-items:center; gap:10px; margin-top:28px; max-width:100%;
  background:transparent; border:1px solid var(--line); color:var(--muted);
  padding:8px 10px 8px 12px; border-radius:var(--radius-sm); cursor:pointer;
  font-size:13px; transition:border-color .15s, color .15s;
}
.addr-chip:hover{ border-color:var(--line-strong); color:var(--ink); }
.addr-chip__label{ font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.addr-chip__value{ color:var(--ink); overflow:hidden; text-overflow:ellipsis; }
.addr-chip__icon{ flex:none; opacity:.7; }

/* next-distribution panel */
.panel{
  background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.next{ padding:26px; }
.next__head{ display:flex; justify-content:space-between; align-items:center; gap:12px; }
.next__label{ font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:600; color:var(--ink-2);
  padding:3px 9px; border-radius:var(--radius-pill); background:rgba(255,255,255,.05); border:1px solid var(--line);
}
.badge--accent{ color:var(--ink); background:var(--accent-soft); border-color:var(--accent-line); }
.badge .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); }
.badge--good .dot{ background:var(--good); }
.badge--warn .dot{ background:var(--warn); }
.badge--bad .dot{ background:var(--bad); }

.next__timer{ font-size:44px; font-weight:700; letter-spacing:-.03em; margin:16px 0 4px; line-height:1.1; }
.next__meta{ color:var(--muted); font-size:14px; }
.progress{ height:4px; background:rgba(255,255,255,.07); border-radius:99px; margin:20px 0 0; overflow:hidden; }
.progress__bar{ height:100%; width:0%; background:var(--accent); border-radius:99px; transition:width 1s linear; }
.next__rows{ margin:22px 0 0; padding:0; list-style:none; border-top:1px solid var(--line); }
.next__rows li{ display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:14px; }
.next__rows li span:first-child{ color:var(--muted); }
.next__rows li:last-child{ border-bottom:0; padding-bottom:0; }
.next__link{ color:var(--accent); font-weight:600; }
.next__link:hover{ text-decoration:underline; }

/* ============================================================
   KPI ROW
   ============================================================ */
.kpis{ display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--line); }
.kpi{ padding:28px 24px; border-right:1px solid var(--line); }
.kpi:first-child{ padding-left:0; }
.kpi:last-child{ border-right:0; }
.kpi__label{ font-size:13px; color:var(--muted); }
.kpi__value{ font-size:28px; font-weight:700; letter-spacing:-.02em; margin-top:4px; line-height:1.2; }
.kpi__note{ font-size:12.5px; color:var(--muted); margin-top:2px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section{ padding:96px 0; border-bottom:1px solid var(--line); }
.section--alt{ background:var(--bg-2); }
.section__head{ max-width:680px; margin:0 0 48px; }
.section__kicker{
  display:inline-block; font-size:13px; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:var(--accent); margin-bottom:12px;
}
.section__title{ font-size:clamp(28px,3.6vw,40px); line-height:1.12; letter-spacing:-.025em; margin:0; font-weight:700; }
.section__lead{ color:var(--ink-2); font-size:17px; margin:14px 0 0; }
.section__foot{ margin-top:28px; color:var(--muted); font-size:14px; }
.section__foot a{ color:var(--accent); font-weight:600; }
.section__foot a:hover{ text-decoration:underline; }

.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }

/* steps */
.steps{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; counter-reset:step; }
.step{ padding:28px 26px; }
.step__num{
  display:inline-grid; place-items:center; width:32px; height:32px; border-radius:8px;
  font-size:13px; font-weight:700; color:var(--accent); background:var(--accent-soft); border:1px solid var(--accent-line);
}
.step__title{ font-size:19px; margin:18px 0 8px; letter-spacing:-.01em; }
.step__body{ color:var(--ink-2); font-size:15.5px; margin:0; }
.step__body strong{ color:var(--ink); font-weight:600; }

/* ============================================================
   REWARDS — formula + chart
   ============================================================ */
.rewards{ display:grid; grid-template-columns:.9fr 1.1fr; gap:16px; align-items:stretch; }
.formula{ padding:28px; display:flex; flex-direction:column; gap:22px; }
.formula__block{
  font-family:var(--mono); font-size:15px; line-height:1.9; color:var(--ink);
  background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:16px 18px; overflow-x:auto; white-space:nowrap;
}
.formula__block .c{ color:var(--muted); }
.formula__block sub, .formula__block sup{ font-size:.72em; }
.formula__defs{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:8px 16px; font-size:14.5px; }
.formula__defs dt{ font-family:var(--mono); color:var(--ink); white-space:nowrap; }
.formula__defs dd{ margin:0; color:var(--ink-2); }
.formula__note{ margin:0; font-size:14.5px; color:var(--ink-2); padding-top:18px; border-top:1px solid var(--line); }
.formula__note strong{ color:var(--ink); }

.chart-card{ padding:24px 24px 18px; display:flex; flex-direction:column; min-width:0; }
.chart-card__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.chart-card__title{ font-size:15px; font-weight:600; margin:0; }
.chart-card__sub{ font-size:13px; color:var(--muted); margin:2px 0 0; }
.chart-toggle{ display:inline-flex; border:1px solid var(--line-strong); border-radius:var(--radius-sm); overflow:hidden; flex:none; }
.chart-toggle button{ background:none; border:0; padding:6px 11px; font-size:12.5px; color:var(--muted); cursor:pointer; }
.chart-toggle button[aria-pressed="true"]{ background:rgba(255,255,255,.07); color:var(--ink); }

.chart{ position:relative; margin-top:14px; flex:1; min-height:260px; }
.chart svg{ width:100%; height:100%; overflow:visible; }
.chart:focus-visible{ outline:2px solid var(--accent); outline-offset:4px; }
.chart .grid line{ stroke:var(--grid); stroke-width:1; shape-rendering:crispEdges; }
.chart .axis line{ stroke:var(--axis); stroke-width:1; shape-rendering:crispEdges; }
.chart .tick-label{ fill:var(--muted); font-size:11.5px; font-family:var(--font); font-variant-numeric:tabular-nums; }
.chart .series-line{ fill:none; stroke:var(--accent); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
.chart .series-area{ fill:var(--accent); opacity:.1; }
.chart .ref-line{ stroke:var(--axis); stroke-width:1; }
.chart .ref-label{ fill:var(--ink-2); font-size:12px; font-family:var(--font); }
.chart .end-dot{ fill:var(--accent); stroke:var(--surface); stroke-width:2; }
.chart .end-label{ fill:var(--ink); font-size:12.5px; font-weight:600; font-family:var(--font); }
.chart .crosshair{ stroke:var(--ink-2); stroke-width:1; opacity:.5; shape-rendering:crispEdges; }
.chart .hover-dot{ fill:var(--accent); stroke:var(--surface); stroke-width:2; }
.chart .hit{ fill:transparent; cursor:crosshair; }
.tooltip{
  position:absolute; pointer-events:none; z-index:5; min-width:150px;
  background:var(--surface-3); border:1px solid var(--line-strong); border-radius:var(--radius-sm);
  padding:9px 12px; box-shadow:0 8px 24px rgba(0,0,0,.4); font-size:13px;
  transform:translate(-50%, calc(-100% - 12px));
}
.tooltip__value{ font-size:16px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:8px; }
.tooltip__key{ width:12px; height:2px; background:var(--accent); border-radius:1px; flex:none; }
.tooltip__label{ color:var(--muted); margin-top:2px; }

.data-table{ width:100%; border-collapse:collapse; font-size:14px; }
.data-table th, .data-table td{ padding:10px 12px; border-bottom:1px solid var(--line); text-align:left; }
.data-table th{ font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.data-table td.num, .data-table th.num{ text-align:right; font-variant-numeric:tabular-nums; }
.data-table tbody tr:last-child td{ border-bottom:0; }
.chart-table{ margin-top:14px; }

.example{ margin-top:16px; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.example__item{ padding:20px 22px; }
.example__label{ font-size:13px; color:var(--muted); }
.example__value{ font-size:22px; font-weight:700; letter-spacing:-.02em; margin-top:2px; }
.example__note{ font-size:13.5px; color:var(--ink-2); margin-top:4px; }

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule{ display:grid; grid-template-columns:1fr 1.4fr; gap:16px; align-items:start; }
.schedule__intro{ padding:28px; }
.schedule__intro h3{ margin:0 0 10px; font-size:18px; }
.schedule__intro p{ margin:0 0 14px; color:var(--ink-2); font-size:15px; }
.schedule__intro p:last-child{ margin-bottom:0; }
.ladder{ display:flex; gap:6px; height:132px; margin:22px 0 14px; }
.ladder__col{ flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px; }
.ladder__track{ flex:1; width:100%; display:flex; align-items:flex-end; justify-content:center; border-bottom:1px solid var(--axis); }
.ladder__bar{ width:100%; max-width:22px; background:var(--accent); border-radius:4px 4px 0 0; min-height:2px; }
.ladder__lbl{ font-size:11px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums; }
.schedule__table-wrap{ overflow-x:auto; }
.schedule__table tr.is-next td{ background:var(--accent-soft); }
.schedule__table tr.is-next td:first-child{ box-shadow:inset 2px 0 0 var(--accent); }
.schedule__table tr.is-done td{ color:var(--muted); }
.schedule__table td:first-child{ font-weight:600; }

/* ============================================================
   BASKET
   ============================================================ */
.basket__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.stock{ padding:16px 18px; display:flex; align-items:center; gap:14px; }
.tok-icon{ display:inline-block; flex:none; border-radius:50%; vertical-align:middle; object-fit:cover; background:var(--surface-3); }
.tok-icon--mono{
  display:inline-grid; place-items:center; font-weight:700; color:var(--ink);
  border:1px solid var(--line-strong); width:20px; height:20px; font-size:10px;
}
.tok-icon--mono[data-size="16"]{ width:16px; height:16px; font-size:9px; }
.tok-icon--mono[data-size="24"]{ width:24px; height:24px; font-size:11px; }
.tok-icon--mono[data-size="28"]{ width:28px; height:28px; font-size:12px; }
.tok-icon--mono[data-size="32"]{ width:32px; height:32px; font-size:13px; }
.tok-icon--mono[data-size="40"]{ width:40px; height:40px; font-size:14px; }
.stock__logo{ width:40px; height:40px; }
.tok{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.tok .tok-icon{ width:20px; height:20px; }
.stock__meta{ min-width:0; }
.stock__ticker{ font-weight:700; font-size:15px; }
.stock__name{ font-size:13px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stock__link{ margin-left:auto; color:var(--muted); font-size:12px; }
.stock__link:hover{ color:var(--accent); }

/* ============================================================
   PAYOUT LIST (home preview + payouts page)
   ============================================================ */
.payout-list{ display:flex; flex-direction:column; gap:12px; }
.payout{ padding:0; overflow:hidden; }
.payout__head{
  display:grid; grid-template-columns:auto 1fr auto; gap:18px; align-items:center;
  padding:18px 22px;
}
.payout__epoch{
  font-weight:700; font-size:14px; width:54px; height:54px; border-radius:10px;
  display:grid; place-items:center; text-align:center; line-height:1.1;
  background:var(--surface-3); border:1px solid var(--line-strong);
}
.payout__epoch small{ display:block; font-size:10.5px; font-weight:600; color:var(--muted); letter-spacing:.05em; text-transform:uppercase; }
.payout__title{ font-weight:600; font-size:15.5px; }
.payout__meta{ font-size:13.5px; color:var(--muted); display:flex; gap:6px 16px; flex-wrap:wrap; margin-top:2px; }
.payout__side{ display:flex; align-items:center; gap:10px; }
.payout__body{ border-top:1px solid var(--line); padding:6px 22px 18px; }
.payout__body .data-table td, .payout__body .data-table th{ padding-left:0; }
.tx-link{ font-family:var(--mono); font-size:13px; color:var(--accent); }
.tx-link:hover{ text-decoration:underline; }
.verify{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:600; color:var(--ink-2); }
.verify__icon{ width:16px; height:16px; flex:none; }
.verify--ok .verify__icon{ color:var(--good); }
.verify--bad .verify__icon{ color:var(--bad); }
.verify--pending .verify__icon{ color:var(--muted); }

.empty{
  padding:40px 28px; text-align:center; color:var(--ink-2);
  border:1px dashed var(--line-strong); border-radius:var(--radius); background:transparent;
}
.empty h3{ margin:0 0 6px; font-size:17px; color:var(--ink); }
.empty p{ margin:0 auto; max-width:520px; font-size:15px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__item summary{
  cursor:pointer; list-style:none; padding:20px 0; font-weight:600; font-size:16.5px;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::after{
  content:""; flex:none; width:10px; height:10px; margin-right:4px;
  border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
  transform:rotate(45deg) translateY(-3px); transition:transform .2s;
}
.faq__item[open] summary::after{ transform:rotate(-135deg) translateY(-3px); }
.faq__a{ color:var(--ink-2); font-size:15.5px; padding:0 0 22px; max-width:68ch; }
.faq__a p{ margin:0 0 10px; }
.faq__a p:last-child{ margin:0; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta{ padding:88px 0; }
.cta__inner{
  display:flex; justify-content:space-between; align-items:center; gap:28px; flex-wrap:wrap;
  padding:40px; border-radius:var(--radius); border:1px solid var(--line-strong);
  background:linear-gradient(135deg, rgba(77,141,255,.12), rgba(77,141,255,0) 60%), var(--surface);
}
.cta__title{ font-size:clamp(24px,3vw,34px); line-height:1.15; letter-spacing:-.025em; margin:0; font-weight:700; }
.cta__sub{ color:var(--ink-2); margin:8px 0 0; }
.cta__actions{ display:flex; gap:12px; flex-wrap:wrap; }

.footer{ border-top:1px solid var(--line); background:var(--bg-2); padding:56px 0 36px; }
.footer__inner{ display:flex; justify-content:space-between; gap:32px; flex-wrap:wrap; align-items:flex-start; }
.footer__tag{ color:var(--muted); font-size:14px; margin:12px 0 0; max-width:320px; }
.footer__cols{ display:flex; gap:56px; flex-wrap:wrap; }
.footer__col h4{ margin:0 0 12px; font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.footer__col a{ display:block; color:var(--ink-2); font-size:14.5px; padding:4px 0; }
.footer__col a:hover{ color:var(--ink); }
.footer__legal{ margin-top:44px; padding-top:24px; border-top:1px solid var(--line); }
.disclaimer{ color:var(--muted); font-size:12.5px; line-height:1.7; max-width:920px; margin:0; }
.copyright{ color:var(--muted); font-size:12.5px; margin:16px 0 0; }

/* ============================================================
   PAGE HEAD (payouts, admin)
   ============================================================ */
.page-head{ padding:56px 0 36px; border-bottom:1px solid var(--line); }
.page-head__title{ font-size:clamp(30px,4vw,44px); letter-spacing:-.03em; line-height:1.1; margin:0; }
.page-head__lead{ color:var(--ink-2); font-size:17px; max-width:680px; margin:12px 0 0; }
.toolbar{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:0 0 20px; }
.input{
  background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--radius-sm);
  padding:10px 12px; font-size:14px; color:var(--ink); min-width:0;
}
.input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.input--mono{ font-family:var(--mono); font-size:13px; }
.toolbar .input{ flex:1; max-width:520px; }
.lookup-result{ margin:0 0 20px; padding:16px 20px; overflow-x:auto; }
.lookup-result h3{ margin:0 0 8px; font-size:15px; }
.lookup-result p{ margin:0; color:var(--ink-2); font-size:14.5px; }
.lookup-result .data-table{ margin-top:10px; }
.lookup-result .data-table td, .lookup-result .data-table th{ padding-left:0; }

.section--tight{ padding:56px 0; }
.section--tight .section__head{ margin-bottom:24px; }
.section__title--sm{ font-size:clamp(22px,2.6vw,28px); }
.section__head--row{ max-width:none; display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.section__head--row .section__lead{ font-size:15px; margin-top:6px; }
.payout__body .data-table{ margin-top:8px; }
.payout__body .data-table + .data-table{ margin-top:18px; }
code{ font-family:var(--mono); font-size:.88em; background:var(--surface-2); border:1px solid var(--line); border-radius:4px; padding:1px 5px; }

.method{ margin:0; padding:0; list-style:none; counter-reset:m; display:flex; flex-direction:column; gap:14px; }
.method li{ counter-increment:m; position:relative; padding-left:40px; color:var(--ink-2); font-size:15.5px; }
.method li::before{
  content:counter(m); position:absolute; left:0; top:1px; width:26px; height:26px; border-radius:7px;
  display:grid; place-items:center; font-size:12.5px; font-weight:700;
  color:var(--accent); background:var(--accent-soft); border:1px solid var(--accent-line);
}
.method strong{ color:var(--ink); }
.method a{ color:var(--accent); }
.method a:hover{ text-decoration:underline; }

/* ============================================================
   TOAST
   ============================================================ */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%, 24px);
  background:var(--surface-3); color:var(--ink); border:1px solid var(--line-strong);
  font-weight:600; font-size:14px; padding:11px 18px; border-radius:var(--radius-sm);
  box-shadow:var(--shadow); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; z-index:100;
}
.toast.show{ opacity:1; transform:translate(-50%, 0); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .progress__bar{ transition:none; }
}
.no-js .reveal{ opacity:1; transform:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px){
  .hero__inner{ grid-template-columns:1fr; gap:40px; }
  .rewards, .schedule{ grid-template-columns:1fr; }
  .basket__grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 860px){
  .nav{ display:none; }
  .menu-toggle{ display:flex; }
  .nav.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:64px; left:0; right:0;
    background:var(--bg-2); border-bottom:1px solid var(--line); padding:8px 16px 14px;
  }
  .nav.open a{ padding:13px 8px; border-radius:0; border-bottom:1px solid var(--line); }
  .nav.open a:last-child{ border-bottom:0; }
  .chain-pill{ display:none; }
  .kpis{ grid-template-columns:repeat(2,1fr); }
  .kpi{ padding:22px 20px; }
  .kpi:nth-child(odd){ padding-left:0; }
  .kpi:nth-child(2){ border-right:0; }
  .kpi:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .steps{ grid-template-columns:1fr; }
  .example{ grid-template-columns:1fr; }
  .basket__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .container{ padding:0 16px; }
  .section{ padding:72px 0; }
  .hero{ padding:56px 0 48px; }
  .hero__sub{ font-size:16.5px; }
  .next{ padding:22px; }
  .next__timer{ font-size:36px; }
  .header__actions .btn{ padding:9px 12px; }
  .basket__grid{ grid-template-columns:1fr; }
  .payout__head{ grid-template-columns:auto 1fr; padding:16px; }
  .payout__side{ grid-column:1 / -1; }
  .payout__body{ padding:6px 16px 16px; }
  .cta__inner{ padding:28px 22px; }
  .footer__cols{ gap:36px; }
  .data-table th, .data-table td{ padding:9px 8px; }
  .hide-sm{ display:none; }
}

/* ============================================================
   PAYOUTS PAGE — distributions, charts, live preview
   ============================================================ */
.tok-icon--mono[data-size="20"]{ width:20px; height:20px; font-size:10px; }
.tok-icon--mono[data-size="22"]{ width:22px; height:22px; font-size:10px; }

/* overlapping logos with a surface ring so each edge reads */
.icon-stack{ display:inline-flex; align-items:center; flex:none; }
.icon-stack .tok-icon{ width:22px; height:22px; box-shadow:0 0 0 2px var(--surface); }
.icon-stack .tok-icon + .tok-icon{ margin-left:-6px; }
.icon-stack__more{
  margin-left:-6px; height:22px; min-width:22px; padding:0 6px; border-radius:var(--radius-pill);
  display:inline-grid; place-items:center; font-size:10.5px; font-weight:700; color:var(--ink-2);
  background:var(--surface-3); box-shadow:0 0 0 2px var(--surface);
}
.data-table .icon-stack{ vertical-align:middle; margin-right:6px; }
.payout__title{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.payout__usd{
  font-size:13px; font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums;
  padding:2px 9px; border-radius:var(--radius-pill); background:var(--surface-3); border:1px solid var(--line-strong);
}
.tag-chain{
  font-size:11.5px; font-weight:600; color:var(--accent); letter-spacing:.02em;
  padding:0 8px; border-radius:var(--radius-pill); background:var(--accent-soft); border:1px solid var(--accent-line);
}

.dist-charts{ display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:16px; margin-bottom:16px; }
.chart--bars{ min-height:250px; }
.chart .bar{ fill:var(--accent); transition:opacity .12s; }
.chart .has-hover .bar{ opacity:.4; }
.chart .has-hover .bar.is-hover{ opacity:1; }
.chart .hit--bar{ cursor:default; }
.tooltip__key--bar{ height:10px; width:10px; border-radius:2px; }
.chart__empty{
  position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:24px;
  color:var(--muted); font-size:14px; border:1px dashed var(--line-strong); border-radius:var(--radius-sm);
}

.hbars{ list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.hbar{ display:grid; grid-template-columns:92px 1fr auto; align-items:center; gap:12px; font-size:14px; }
.hbar .tok strong{ font-weight:600; }
.hbar__track{ height:10px; position:relative; }
.hbar__fill{ display:block; height:100%; width:0; background:var(--accent); border-radius:0 4px 4px 0; }
.hbar__val{ display:flex; flex-direction:column; align-items:flex-end; line-height:1.25; min-width:84px; }
.hbar__val .num{ font-weight:600; }
.hbar__val small{ color:var(--muted); font-size:12px; }
.num{ font-variant-numeric:tabular-nums; }
.list-more{ display:flex; justify-content:center; margin-top:16px; }

/* live preview */
.preview{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:16px; align-items:start; }
.pool{ padding:24px; }
.pool__label{ font-size:12.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--muted); }
.pool__total{ font-size:clamp(34px,4vw,44px); font-weight:700; letter-spacing:-.02em; line-height:1.1; margin-top:6px; }
.pool__wallet{ font-size:13.5px; color:var(--muted); margin-top:8px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.pool__rows{ list-style:none; margin:18px 0 0; padding:0; border-top:1px solid var(--line); }
.pool__rows:empty{ display:none; }
.pool__row{ display:grid; grid-template-columns:1fr auto auto; gap:14px; align-items:center; padding:10px 0; border-bottom:1px solid var(--line); font-size:14px; }
.pool__row .tok .tok-icon{ width:28px; height:28px; }
.pool__row .tok{ gap:10px; min-width:0; }
.pool__name{ display:flex; flex-direction:column; line-height:1.25; min-width:0; }
.pool__name small{ color:var(--muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pool__amt{ color:var(--ink-2); text-align:right; }
.pool__usd{ font-weight:600; text-align:right; min-width:72px; }
.pool__none{ padding:14px 0; color:var(--muted); font-size:14px; border-bottom:1px solid var(--line); }
.pool__whatif{ margin-top:20px; }
.pool__whatif-label{ display:block; font-size:13.5px; font-weight:600; margin-bottom:8px; }
.pool__hint{ margin:8px 0 0; font-size:13px; color:var(--muted); }
.input-group{ display:flex; align-items:center; background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--radius-sm); padding-right:4px; }
.input-group:focus-within{ border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.input-group__pre{ padding:0 0 0 12px; color:var(--muted); font-weight:600; }
.input-group .input{ border:0; background:transparent; flex:1; padding-left:6px; }
.input-group .input:focus{ box-shadow:none; }

.top{ padding:24px 24px 18px; min-width:0; }
.top__body{ margin-top:12px; }
.top__table td, .top__table th{ padding-left:6px; padding-right:6px; }
.top__table td:first-child, .top__table th:first-child{ padding-left:0; }
.top__table td:last-child, .top__table th:last-child{ padding-right:0; }
.top__foot{ margin:12px 0 0; font-size:12.5px; color:var(--muted); }
.table-wrap{ overflow-x:auto; }
tr.is-you td{ background:var(--accent-soft); }
.you-tag{
  font-size:10.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--accent);
  border:1px solid var(--accent-line); border-radius:var(--radius-pill); padding:0 6px; margin-left:4px;
}
.empty--sm{ padding:28px 20px; }
.empty--sm h3{ font-size:15.5px; }
.empty--sm p{ font-size:14px; }
.empty--sm p + p{ margin-top:12px; }
.skeleton{ display:flex; flex-direction:column; gap:10px; padding-top:6px; }
.skeleton__row{ height:30px; border-radius:6px; background:linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size:200% 100%; animation:shimmer 1.4s linear infinite; }
@keyframes shimmer{ from{ background-position:100% 0; } to{ background-position:-100% 0; } }
@media (prefers-reduced-motion: reduce){ .skeleton__row{ animation:none; } }

.mine{ margin-top:16px; padding:24px; }
.mine__head{ display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:flex-end; }
.mine__title{ margin:0; font-size:17px; }
.mine__lead{ margin:4px 0 0; color:var(--ink-2); font-size:14.5px; }
.mine__form{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.mine__form .input{ flex:1; min-width:240px; max-width:520px; }
.mine__out{ margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }
.mine__out p{ margin:0; color:var(--ink-2); font-size:14.5px; }
.mine__out a:not(.tx-link){ color:var(--accent); }
.mine__grid{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
.mine__value{ font-size:34px; font-weight:700; letter-spacing:-.02em; line-height:1.1; }
.mine__meta{ margin-top:6px; color:var(--muted); font-size:13.5px; }
.mine__facts{ display:flex; gap:28px; flex-wrap:wrap; margin:16px 0 0; }
.mine__facts dt{ font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; font-weight:600; }
.mine__facts dd{ margin:2px 0 0; font-weight:600; }
.mine__out .mine__tip{ margin-top:14px; font-size:13.5px; padding:10px 12px; border-radius:var(--radius-sm); background:var(--surface-2); border:1px solid var(--line); }
.mine__parts{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.mine__parts li{ display:grid; grid-template-columns:1fr auto 80px; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); font-size:14px; align-items:center; }
.mine__parts li .num{ text-align:right; }
.lookup__got{ display:flex; flex-direction:column; gap:4px; }
.lookup__got .tok{ gap:6px; font-variant-numeric:tabular-nums; }
.lookup__got .tok .tok-icon{ width:16px; height:16px; }

@media (max-width: 1000px){
  .dist-charts, .preview{ grid-template-columns:1fr; }
}
@media (max-width: 700px){
  .mine__grid{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  .pool, .top, .mine{ padding:18px 16px; }
  .pool__row{ grid-template-columns:1fr auto; }
  .pool__amt{ display:none; }
  .hbar{ grid-template-columns:80px 1fr auto; gap:8px; }
  .mine__form .input{ min-width:0; flex-basis:100%; }
}
