/* ==========================================================================
   BunkerBSC — launch site stylesheet
   Dark, high-contrast Web3 look. No external fonts, no CDN, no dependencies.
   ========================================================================== */

:root {
  --bg: #05060a;
  --bg-soft: #080a10;
  --panel: rgba(255, 255, 255, 0.028);
  --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef4;
  --muted: #9096a8;
  --muted-2: #6b7183;
  --gold: #f3ba2f;
  --gold-soft: #ffd76a;
  --amber: #ff9b3d;
  --violet: #7c5cff;
  --green: #35d39a;
  --red: #ff5f74;
  --radius: 18px;
  --radius-sm: 12px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .68, .26, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.14; letter-spacing: -0.022em; font-weight: 640; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
::selection { background: rgba(243, 186, 47, .28); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.grad {
  background: linear-gradient(100deg, #ffe7a3 0%, var(--gold) 38%, var(--amber) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dim { color: var(--muted); }

/* ---------- background fx ------------------------------------------------ */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 620px; height: 620px; top: -260px; left: 50%; transform: translateX(-58%);
  background: radial-gradient(circle, rgba(243, 186, 47, .34), transparent 68%); }
.orb-2 { width: 520px; height: 520px; top: 120px; right: -180px;
  background: radial-gradient(circle, rgba(124, 92, 255, .26), transparent 68%); opacity: .42; }
.orb-3 { width: 700px; height: 700px; bottom: -420px; left: -220px;
  background: radial-gradient(circle, rgba(53, 211, 154, .14), transparent 70%); opacity: .35; }

.page { position: relative; z-index: 1; }

/* ---------- nav ---------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(5, 6, 10, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
/* Brand icon: the project emblem, cut out on a transparent background so it sits
   on the frosted nav and the footer without a plate behind it. */
.brand-mark {
  width: 34px; height: 34px; flex: none; display: block;
  border-radius: 50%; object-fit: contain;
  filter: drop-shadow(0 5px 14px rgba(243, 186, 47, .26));
  transition: transform .25s var(--ease), filter .25s;
}
.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(243, 186, 47, .42));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; font-weight: 640; letter-spacing: .01em; }
.brand-text span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); opacity: .86; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--muted);
  transition: color .18s, background .18s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-btn {
  height: 34px; padding: 0 11px; border-radius: 9px; cursor: pointer;
  background: transparent; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--muted); transition: .18s;
}
.lang-btn:hover { color: var(--text); border-color: var(--line-strong); background: var(--panel-2); }

/* ---------- buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s, background .2s, border-color .2s;
  white-space: nowrap; text-align: center;
}
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; border-radius: 10px; }
.btn-primary {
  background: linear-gradient(135deg, #ffd25c 0%, var(--gold) 45%, #eaa018 100%);
  color: #1a1200;
  box-shadow: 0 10px 26px -12px rgba(243, 186, 47, .85), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -14px rgba(243, 186, 47, .95), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost {
  background: rgba(255, 255, 255, .035); border-color: var(--line-strong); color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .07); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  cursor: not-allowed; opacity: .55; transform: none !important;
  box-shadow: none;
}

/* ---------- hero --------------------------------------------------------- */
.hero { padding: 74px 0 26px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 52px; align-items: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); opacity: .92;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

.status-line {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 6px 13px 6px 9px; border-radius: 999px;
  background: rgba(243, 186, 47, .07); border: 1px solid rgba(243, 186, 47, .24);
  font-size: 12.5px; color: #f6dfa4;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(243, 186, 47, .55); animation: pulse 2.4s infinite;
}
.dot.green { background: var(--green); box-shadow: 0 0 0 0 rgba(53, 211, 154, .55); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 186, 47, .5); }
  70% { box-shadow: 0 0 0 9px rgba(243, 186, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 186, 47, 0); }
}

h1.hero-title {
  font-size: clamp(2.2rem, 4.25vw, 3.35rem); font-weight: 680;
  letter-spacing: -0.035em; line-height: 1.06; margin-bottom: 22px;
  text-wrap: balance;
}
.hero-sub { font-size: 17px; line-height: 1.68; color: var(--muted); max-width: 54ch; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 520;
  background: var(--panel); border: 1px solid var(--line); color: #d7dae4;
}
.chip svg { width: 14px; height: 14px; color: var(--green); flex: none; }
.chip.ai-chip { border-color: rgba(243, 186, 47, .34); background: rgba(243, 186, 47, .07); color: #f4dfa9; }
.chip.ai-chip svg { color: var(--gold); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- progress card ------------------------------------------------ */
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .014));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
}
.progress-card { padding: 26px; position: relative; overflow: hidden; }
.progress-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 100% 0%, rgba(243, 186, 47, .12), transparent 60%);
}
.pc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pc-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.badge {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-family: var(--mono);
  letter-spacing: .02em; border: 1px solid var(--line-strong); color: var(--muted);
  background: rgba(255, 255, 255, .04); line-height: 1.5;
  flex: none; white-space: nowrap;
}
.badge.pending { color: #f0d79a; border-color: rgba(243, 186, 47, .3); background: rgba(243, 186, 47, .08); }
.badge.live { color: var(--green); border-color: rgba(53, 211, 154, .34); background: rgba(53, 211, 154, .09); }

/* Elements toggled by PREVIEW_MODE must hide even when their own rule sets
   display:flex (attribute selectors below win on specificity, !important on top). */
[data-preview-only][hidden], [data-live-only][hidden], .hero-note span[hidden], a[hidden] { display: none !important; }

.progress-figure { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.progress-figure .num { font-family: var(--mono); font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.progress-figure .of { font-family: var(--mono); font-size: 14px; color: var(--muted-2); }
.progress-pct { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--gold); }

.bar {
  height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1);
  margin: 14px 0 10px; overflow: hidden; position: relative;
}
.bar > i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  box-shadow: 0 0 18px -2px rgba(243, 186, 47, .7);
  transition: width 1.1s var(--ease), background .3s;
}
.bar.is-demo { background: rgba(255, 255, 255, .05); }
.bar-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted-2); font-family: var(--mono); }
.pc-remain { margin-top: 6px; }

.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 22px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.pc-cell { background: var(--bg-soft); padding: 13px 15px; }
.pc-cell > span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--mono); color: var(--muted-2); margin-bottom: 3px; }
.pc-cell strong { font-family: var(--mono); font-size: 15px; font-weight: 550; letter-spacing: -.01em; }
.pc-cell strong span { font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; margin: 0; display: inline; }

/* ---------- sections ----------------------------------------------------- */
.section { padding: 88px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); margin: 14px 0 14px; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 16px; }
.section-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- mint panel --------------------------------------------------- */
.mint-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 20px; align-items: start; }
.card { padding: 26px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.card-head h3 { font-size: 17px; font-weight: 620; letter-spacing: -.01em; }
.card-head p { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }

.preview-flag {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px;
  padding: 12px 14px; border-radius: 12px; font-size: 12.5px; line-height: 1.55;
  color: #f2dca6; background: rgba(243, 186, 47, .07);
  border: 1px solid rgba(243, 186, 47, .22);
}
.preview-flag svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }

/* agent-only gate (mint panel) */
.ai-gate {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px;
  padding: 12px 14px; border-radius: 12px; font-size: 12.5px; line-height: 1.55;
  color: #f4dfa9; background: rgba(243, 186, 47, .06);
  border: 1px solid rgba(243, 186, 47, .26);
}
.ai-gate svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }
.ai-gate strong { display: block; font-size: 12.5px; font-weight: 620; margin-bottom: 3px; }
.ai-gate span { color: var(--muted); }

/* agent prompt hand-off */
.agent-panel {
  margin-top: 18px; padding: 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(243, 186, 47, .26);
}
.agent-panel[hidden] { display: none; }
.agent-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.agent-head h4 { margin: 0 0 4px; font-size: 14px; font-weight: 620; letter-spacing: -.005em; }
.agent-head p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.agent-close {
  flex: none; width: 26px; height: 26px; border-radius: 8px; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  color: var(--muted); font-size: 16px; line-height: 1;
}
.agent-close:hover { color: var(--text); border-color: rgba(255, 255, 255, .2); }
.agent-preview {
  margin: 12px 0 0; padding: 9px 11px; border-radius: 9px; font-size: 11.5px; line-height: 1.55;
  color: #f2dca6; background: rgba(243, 186, 47, .07); border: 1px solid rgba(243, 186, 47, .22);
}
.agent-preview[hidden] { display: none; }
.agent-code {
  margin: 12px 0 0; padding: 13px 14px; max-height: 340px; overflow: auto;
  border-radius: 10px; background: rgba(0, 0, 0, .42); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: #d7dae4;
  white-space: pre-wrap; word-break: break-word;
}
.agent-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 13px; }
.agent-actions .btn { flex: 0 1 auto; }

.field-label { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--mono); color: var(--muted-2); margin-bottom: 11px; }
.field-label .cap { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 12px; color: var(--muted); }

.share-chips { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; margin-bottom: 18px; }
.share-chip {
  height: 40px; border-radius: 10px; cursor: pointer; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); font-family: var(--mono); font-size: 13px; color: var(--muted);
  transition: .16s; display: grid; place-items: center;
}
.share-chip:hover { border-color: var(--line-strong); color: var(--text); }
.share-chip[aria-pressed="true"] {
  background: linear-gradient(150deg, rgba(243, 186, 47, .22), rgba(243, 186, 47, .06));
  border-color: rgba(243, 186, 47, .55); color: #ffe9b0;
  box-shadow: 0 6px 18px -12px rgba(243, 186, 47, .9);
}

.slider-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 0%), rgba(255, 255, 255, .12) var(--fill, 0%));
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff8e3; border: 3px solid var(--gold); cursor: grab;
  box-shadow: 0 0 0 4px rgba(243, 186, 47, .16);
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: #fff8e3;
  border: 3px solid var(--gold); cursor: grab;
}
.share-num {
  width: 74px; height: 40px; text-align: center; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  color: var(--text); font-family: var(--mono); font-size: 15px; outline: none;
}
.share-num:focus { border-color: rgba(243, 186, 47, .5); }

.cost-box {
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  background: rgba(255, 255, 255, .018); margin-bottom: 18px;
}
.cost-main { padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  border-bottom: 1px solid var(--line); }
.cost-main .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono); color: var(--muted-2); }
.cost-main .v { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.cost-main .v small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.cost-main .alloc { text-align: right; }

.split-rows { padding: 12px 20px 16px; display: grid; gap: 11px; }
.split-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 12.5px; }
.split-row .track { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.split-row .track i { display: block; height: 100%; border-radius: inherit; transition: width .5s var(--ease); }
.split-row.lp .track i { background: linear-gradient(90deg, #ffd76a, var(--amber)); }
.split-row.mk .track i { background: linear-gradient(90deg, #9d8bff, var(--violet)); }
.split-row .k { color: var(--muted); display: flex; align-items: center; gap: 7px; }
.split-row .k b { font-weight: 560; color: var(--text); }
.split-row .v { font-family: var(--mono); font-size: 12px; color: #cdd1dd; }
.swatch { width: 7px; height: 7px; border-radius: 2px; }
.swatch.gold { background: var(--gold); }
.swatch.violet { background: var(--violet); }

.ref-block { margin-top: 4px; }
.ref-input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  color: #cfd3de; font-family: var(--mono); font-size: 12px; outline: none;
}
.wallet-input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; margin-bottom: 9px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  color: var(--text); font-family: var(--mono); font-size: 12.5px; outline: none;
}
.wallet-input:focus, .ref-input:focus { border-color: rgba(243, 186, 47, .45); }
.copy-row { display: flex; gap: 8px; }
.copy-row .ref-input { flex: 1; }

.fineprint { font-size: 11.5px; line-height: 1.6; color: var(--muted-2); margin-top: 12px; }

/* status list */
.status-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 15px; font-size: 13px; background: rgba(255, 255, 255, .018);
  border-bottom: 1px solid var(--line);
}
.status-row:last-child { border-bottom: 0; }
.status-row .k { color: var(--muted); }
.status-row .v { font-family: var(--mono); font-size: 11.5px; color: #e6d29a; }
.status-row .v.ok { color: var(--green); }
.status-row .v a { text-decoration: underline; text-underline-offset: 2px; }

/* LP pair row: full 42-character address plus a copy button and the explorer
   link on one line, the burn rule wrapped underneath. The value cell wraps
   instead of overflowing, so the address stays readable at 320–420 px. */
.status-row.lp-row { flex-wrap: wrap; row-gap: 7px; }
.status-row.lp-row .k { padding-top: 1px; }
.lp-v { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; justify-content: flex-end; }
.lp-v .lp-addr { color: #e6d29a; word-break: break-all; letter-spacing: -.005em; }
.lp-v.ok .lp-addr { color: var(--green); }
.copy-mini {
  font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: .05em;
  padding: 5px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap;
  color: var(--gold); background: rgba(243, 186, 47, .09);
  border: 1px solid rgba(243, 186, 47, .32);
  transition: background .15s, border-color .15s;
}
.copy-mini:hover { background: rgba(243, 186, 47, .17); border-color: rgba(243, 186, 47, .5); }
.copy-mini:disabled { opacity: .4; cursor: default; }
.lp-scan {
  font-family: var(--mono); font-size: 10px; letter-spacing: .05em; white-space: nowrap;
  color: var(--gold); text-decoration: underline; text-underline-offset: 2px;
}
.lp-scan[hidden] { display: none; }
.lp-note { flex: 0 0 100%; font-size: 11px; line-height: 1.62; color: var(--muted-2); }

.mini-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted-2); margin: 24px 0 11px; }

/* ---------- dividend claim ----------------------------------------------- */
.div-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; align-items: start; }

.div-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: dr; }
.div-rules li {
  position: relative; padding: 14px 16px 14px 48px; border-radius: 12px;
  background: rgba(255, 255, 255, .022); border: 1px solid var(--line);
}
.div-rules li::before {
  counter-increment: dr; content: counter(dr, decimal-leading-zero);
  position: absolute; left: 15px; top: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--gold); opacity: .88;
}
.div-rules b { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 4px; letter-spacing: -.005em; }
.div-rules span { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.div-rules code { font-family: var(--mono); font-size: 11.5px; background: rgba(255, 255, 255, .06);
  padding: 1px 5px; border-radius: 5px; color: #ffe1a0; }

.div-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px;
  padding: 12px 14px; border-radius: 12px; font-size: 12px; line-height: 1.6;
  color: #f2dca6; background: rgba(243, 186, 47, .06); border: 1px solid rgba(243, 186, 47, .2);
}
.div-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }

.claim-card { padding: 26px; position: relative; overflow: hidden; }
.claim-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(110% 70% at 100% 0%, rgba(53, 211, 154, .1), transparent 62%);
}
.claim-card > * { position: relative; z-index: 1; }

.claim-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 16px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.claim-stat { background: var(--bg-soft); padding: 12px 15px; min-width: 0; }
.claim-stat.full { grid-column: 1 / -1; }
.claim-stat > span {
  display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px;
}
.claim-stat strong { display: block; font-size: 13.5px; font-weight: 550; letter-spacing: -.01em;
  word-break: break-all; color: #e7dcc0; }
.claim-stat strong a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

.div-claim-actions { display: flex; flex-direction: column; gap: 9px; }
.div-claim-btn { gap: 10px; }
.div-claim-btn svg { width: 17px; height: 17px; flex: none; }
/* secondary hand-off: same weight as the primary claim, one step quieter */
.div-agent-btn { gap: 10px; }
.div-agent-btn svg { width: 17px; height: 17px; flex: none; opacity: .9; }
.div-agent-btn[aria-expanded="true"] {
  border-color: rgba(243, 186, 47, .45); background: rgba(243, 186, 47, .08); color: #ffe9b0;
}
#divAgentPanel { margin-top: 14px; }
#divAgentPanel .agent-code { max-height: 320px; }

.div-status {
  display: none; margin-top: 14px; padding: 10px 12px; border-radius: 10px;
  font-size: 12px; line-height: 1.55; color: #f2dca6;
  background: rgba(243, 186, 47, .07); border: 1px solid rgba(243, 186, 47, .22);
}
.div-status.show { display: block; }
.div-status.ok { color: #c8f6e4; background: rgba(53, 211, 154, .07); border-color: rgba(53, 211, 154, .26); }
.div-status.err { color: #ffc4cc; background: rgba(255, 95, 116, .07); border-color: rgba(255, 95, 116, .26); }

/* ---------- mechanics ---------------------------------------------------- */
.split-visual { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-bottom: 20px; align-items: stretch; }

.split-big { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.big-bar { height: 46px; border-radius: 12px; display: flex; overflow: hidden; border: 1px solid var(--line); }
.big-bar .seg { display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.big-bar .seg.lp { background: linear-gradient(120deg, #f7c548, #e59a1a); color: #1b1300; }
.big-bar .seg.mk { background: linear-gradient(120deg, #8f78ff, #5b3ce6); color: #f2eeff; }
.big-bar .seg small { font-size: 10.5px; opacity: .7; font-weight: 500; }

.split-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-legend .item { border-left: 2px solid rgba(243, 186, 47, .5); padding-left: 14px; }
.split-legend .item.violet { border-left-color: rgba(124, 92, 255, .6); }
.split-legend .item .t { font-size: 12.5px; color: var(--muted); }
.split-legend .item .n { font-family: var(--mono); font-size: 20px; font-weight: 600; margin-top: 2px; }
.split-legend .item .s { font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }

.burn-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.burn-card .lab { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.burn-addr {
  font-family: var(--mono); font-size: 13px; line-height: 1.5; word-break: break-all;
  padding: 12px; border-radius: 10px; background: rgba(255, 95, 116, .06);
  border: 1px solid rgba(255, 95, 116, .22); color: #ffb3bd;
}
.burn-card p { font-size: 12.5px; color: var(--muted); }

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { padding: 24px; display: flex; flex-direction: column; gap: 11px; transition: .25s var(--ease); }
.feature:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.feature .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line); color: var(--gold);
}
.feature .ico svg { width: 18px; height: 18px; }
.feature h3 { font-size: 15.5px; font-weight: 620; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.62; }
.feature .tagline { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold); opacity: .8; margin-top: auto; padding-top: 6px; }

.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.note { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); }
.note b { display: block; font-size: 13px; margin-bottom: 5px; font-weight: 600; }
.note span { font-size: 12.5px; color: var(--muted); }

/* ---------- tokenomics table -------------------------------------------- */
.tok-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { padding: 13px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 46%; }
.spec-table td { font-family: var(--mono); font-size: 13px; color: #e4e7ef; text-align: right; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td .hint { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted-2); margin-top: 2px; }

.tax-cards { display: grid; gap: 14px; }
.tax-card { padding: 20px; }
.tax-card .row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tax-card .row .t { font-size: 13px; color: var(--muted); }
.tax-card .pct { font-family: var(--mono); font-size: 26px; font-weight: 600; }
.tax-card.buy .pct { color: var(--green); }
.tax-card.sell .pct { color: var(--red); }
.tax-card p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.tax-bar { display: flex; height: 6px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); margin: 12px 0 10px; }
.tax-bar i { display: block; height: 100%; }

/* ---------- whitepaper --------------------------------------------------- */
.wp-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 22px; align-items: start; }
.wp-tabs { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 3px; }
.wp-tab {
  text-align: left; padding: 11px 14px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--muted);
  font-size: 13.5px; transition: .16s; display: flex; align-items: center; gap: 10px;
}
.wp-tab .n { font-family: var(--mono); font-size: 10.5px; opacity: .55; }
.wp-tab:hover { color: var(--text); background: var(--panel-2); }
.wp-tab[aria-selected="true"] {
  color: #ffe9b0; background: rgba(243, 186, 47, .09);
  border-color: rgba(243, 186, 47, .26);
}
.wp-body { padding: 34px 36px 38px; min-height: 460px; }
.wp-pane { display: none; animation: fade .3s var(--ease); }
.wp-pane.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wp-pane h2 { font-size: 22px; margin-bottom: 6px; letter-spacing: -.02em; }
.wp-pane .wp-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.wp-pane h3 { font-size: 15px; margin: 26px 0 8px; }
.wp-pane p { font-size: 14px; color: #c2c7d4; line-height: 1.75; margin-bottom: 12px; }
.wp-pane ul, .wp-pane ol { margin: 0 0 14px; padding-left: 20px; color: #c2c7d4; font-size: 14px; line-height: 1.75; }
.wp-pane li { margin-bottom: 7px; }
.wp-pane li strong { color: var(--text); font-weight: 600; }
.wp-pane code { font-family: var(--mono); font-size: 12.5px; background: rgba(255, 255, 255, .06);
  padding: 2px 6px; border-radius: 5px; color: #ffe1a0; }
.checklist { list-style: none; padding: 0; display: grid; gap: 9px; }
.checklist li {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; margin: 0;
  border-radius: 10px; background: rgba(53, 211, 154, .045); border: 1px solid rgba(53, 211, 154, .16);
  font-size: 13px; color: #cfd6d1;
}
.checklist li.warn { background: rgba(243, 186, 47, .05); border-color: rgba(243, 186, 47, .18); color: #e8dcbc; }
.checklist li svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--green); }
.checklist li.warn svg { color: var(--gold); }
.wp-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.wp-foot .mono { font-size: 11px; color: var(--muted-2); }

/* ---------- faq ---------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
details.qa {
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02);
  padding: 0 20px; transition: .2s; overflow: hidden;
}
details.qa[open] { background: rgba(255, 255, 255, .035); border-color: var(--line-strong); }
details.qa summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-size: 14.5px; font-weight: 550;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+"; font-family: var(--mono); font-size: 18px; color: var(--gold);
  transition: transform .22s; line-height: 1;
}
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p { font-size: 13.5px; color: var(--muted); line-height: 1.7; padding: 0 0 18px; max-width: 78ch; }

/* ---------- footer ------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; margin-top: 40px; background: rgba(0, 0, 0, .25); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand p { font-size: 12.5px; color: var(--muted-2); margin-top: 14px; max-width: 38ch; line-height: 1.7; }
.foot-col h4 { font-size: 11px; font-family: var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 14px; font-weight: 500; }
.foot-col a { display: block; font-size: 13px; color: var(--muted); padding: 5px 0; transition: color .16s; }
.foot-col a:hover { color: var(--text); }
.foot-col .foot-pending { margin: 5px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted-2); max-width: 26ch; }
.disclaimer { font-size: 11.5px; color: #5f6473; line-height: 1.75; border-top: 1px solid var(--line); padding-top: 22px; max-width: 100ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px;
  font-family: var(--mono); font-size: 11px; color: #52576a; }

/* ---------- launch countdown --------------------------------------------- */
.cd-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 180% at 12% 0%, rgba(243, 186, 47, .07), transparent 62%),
    var(--bg-soft);
}
.cd-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px 32px; padding: 24px; max-width: var(--maxw);
}
.cd-copy { flex: 1 1 320px; min-width: 0; }
.cd-title { font-size: clamp(19px, 2.1vw, 25px); margin-top: 10px; }
.cd-sub { margin-top: 7px; font-size: 13.5px; color: var(--muted); max-width: 56ch; line-height: 1.62; }

.cd-clock { display: flex; align-items: stretch; gap: 7px; flex: 0 0 auto; }
.cd-clock[hidden] { display: none; }
.cd-cell {
  min-width: 72px; padding: 9px 11px 8px; text-align: center;
  border: 1px solid var(--line-strong); border-radius: 13px;
  background: rgba(255, 255, 255, .035);
}
.cd-num {
  display: block; font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 27px; line-height: 1.16; font-weight: 660; color: var(--gold-soft);
}
.cd-label {
  display: block; margin-top: 3px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
}
.cd-sep { align-self: center; font-family: var(--mono); font-size: 20px; color: var(--muted-2); opacity: .55; }

.cd-live {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  flex: 1 1 100%; padding-top: 2px;
}
.cd-live[hidden] { display: none; }
.cd-live-copy { display: flex; flex-direction: column; gap: 3px; flex: 1 1 260px; min-width: 0; }
.cd-live-copy strong { font-size: 15px; font-weight: 620; }
.cd-live-copy span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.cd-live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(53, 211, 154, .5); animation: cdPulse 2.2s var(--ease) infinite;
}
.cd-live.is-ended .cd-live-dot { background: var(--muted-2); animation: none; box-shadow: none; }
@keyframes cdPulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 211, 154, .45); }
  70% { box-shadow: 0 0 0 9px rgba(53, 211, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 211, 154, 0); }
}

/* ---------- toast -------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  padding: 11px 18px; border-radius: 11px; font-size: 13px;
  background: rgba(20, 22, 30, .96); border: 1px solid var(--line-strong); color: var(--text);
  box-shadow: 0 18px 40px -20px #000; opacity: 0; pointer-events: none;
  transition: .25s var(--ease); z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; padding: 8px 14px; background: var(--gold); color: #000; border-radius: 8px; z-index: 999; }

/* ---------- responsive --------------------------------------------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-sub { max-width: 62ch; }
  .mint-grid, .tok-wrap, .split-visual, .wp-shell { grid-template-columns: 1fr; }
  .div-grid { grid-template-columns: 1fr; }
  .wp-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; gap: 6px;
    scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .wp-tabs::-webkit-scrollbar { display: none; }
  .wp-tab { white-space: nowrap; border: 1px solid var(--line); font-size: 13px; padding: 9px 12px; }
  .cards-3, .notes { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .container { padding: 0 18px; }
  html { scroll-padding-top: 128px; }
  .nav-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 10px 16px; }
  .nav-links { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 2px;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 6px 10px; font-size: 13px; }
  .nav-right { margin-left: auto; }
  .hero { padding: 44px 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 30px; }
  h1.hero-title { font-size: clamp(2rem, 8.4vw, 2.9rem); }
  .hero-sub { font-size: 15.5px; }
  .cards-3, .notes, .split-legend, .foot-grid { grid-template-columns: 1fr; }
  .wp-body { padding: 24px 20px 28px; }
  .progress-card, .card, .split-big, .burn-card, .feature, .tax-card, .claim-card { padding: 20px; }
  /* On a phone the numbered gutter wastes a quarter of the text column, so the
     number moves inline with the rule title and the body gets the full width. */
  .div-rules li { padding: 13px 15px; }
  .div-rules li::before { position: static; display: inline; margin-right: 7px; }
  .div-rules b { display: inline; }
  .div-rules li > span { display: block; margin-top: 5px; }
  .share-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pc-grid { grid-template-columns: 1fr 1fr; }
  .big-bar { height: 44px; }
  .big-bar .seg { font-size: 11.5px; gap: 5px; }
  .big-bar .seg small { font-size: 9.5px; }
  .cost-main { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cost-main .alloc { text-align: left; }
  .btn { height: 44px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer { padding: 40px 0 30px; }
  .split-legend .item { border-left-width: 2px; }
}

@media (max-width: 780px) {
  .cd-inner { padding: 20px 18px; gap: 16px; }
  .cd-clock { width: 100%; gap: 4px; }
  .cd-cell { flex: 1 1 0; min-width: 0; padding: 8px 4px 7px; }
  .cd-num { font-size: 21px; }
  .cd-label { font-size: 8.5px; letter-spacing: .08em; }
  .cd-sep { display: none; }
  .cd-live .btn { flex: 1 1 100%; }
}

@media (max-width: 780px) {
  .agent-panel { padding: 15px; }
  .agent-code { font-size: 11px; padding: 11px 12px; max-height: 300px; }
  .agent-actions .btn { flex: 1 1 100%; }
  /* Label, then address + copy + explorer on their own lines: side by side the
     42-character address and the label do not fit a phone's status row. The
     note has to keep width:100% here — in a column flex container a 100%
     flex-basis means 100% of the height, which squeezes it into one character
     per line. */
  .status-row.lp-row { flex-direction: column; align-items: stretch; gap: 7px; }
  .lp-v { justify-content: flex-start; }
  .lp-v .lp-addr { flex: 1 1 100%; font-size: 10px; letter-spacing: -.02em; }
  .lp-note { flex: 0 0 auto; width: 100%; }
}

@media (max-width: 420px) {
  .share-chips { gap: 5px; }
  .share-chip { height: 38px; font-size: 12px; }
  .claim-stats { grid-template-columns: 1fr; }
  .claim-stat.full { grid-column: auto; }
  .progress-figure .num { font-size: 27px; }
  .brand-text strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- print (whitepaper download) ---------------------------------- */
@media print {
  body { background: #fff; color: #111; }
  .bg-fx, .nav, .footer, .hero, .mint-grid, #mechanics, #tokenomics, #faq, .toast, .wp-tabs, .wp-foot .btn { display: none !important; }
  .page, .section { padding: 0 !important; }
  .wp-shell { display: block; }
  .wp-body { border: 0; padding: 0; background: #fff; box-shadow: none; min-height: 0; }
  .wp-pane { display: block !important; break-inside: avoid; margin-bottom: 22px; }
  .wp-pane p, .wp-pane li { color: #222; }
  .wp-pane h2 { margin-top: 18px; }
  .checklist li { border: 1px solid #ccc; color: #222; background: none; }
}
