/* ==========================================================================
   BTCMINI — btcmini.fun
   Warm paper, bitcoin orange, editorial type.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4ede0;
  --paper-2: #fbf7ef;
  --paper-3: #eee3d0;
  --ink: #15120d;
  --ink-2: #332c22;
  --muted: #786e5f;
  --orange: #f7931a;
  --orange-2: #ffb347;
  --orange-ink: #b05c00;
  --orange-soft: #f6e2c4;
  --dark: #17130e;
  --dark-2: #211a12;
  --line: rgba(21, 18, 13, 0.13);
  --line-strong: rgba(21, 18, 13, 0.26);
  --line-light: rgba(244, 237, 224, 0.15);
  --sans: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --serif: "Instrument Serif", Georgia, "Songti SC", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.04em;
}

strong,
b {
  font-weight: 600;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: #eadcc5;
  padding: 2px 6px;
  border-radius: 5px;
}

.wrap {
  width: min(1240px, calc(100% - 88px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.eyebrow.light {
  color: var(--orange-2);
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  animation: pulse 2.4s ease-out infinite;
}

.dot-orange,
.dot-ink,
.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-orange {
  background: var(--orange);
}
.dot-ink {
  background: var(--ink);
}
.wallet-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(247, 147, 26, 0.16);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 237, 224, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 237, 224, 0.94);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(120, 60, 0, 0.22);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.brand.light {
  color: var(--paper);
}

.brand.light .brand-text small {
  color: rgba(244, 237, 224, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav a:hover {
  color: var(--orange-ink);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contract-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contract-pill span {
  font-size: 8px;
  letter-spacing: 0.14em;
  opacity: 0.65;
}

.contract-pill b {
  font-weight: 500;
}

.contract-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none !important;
}

.btn-mint:disabled {
  background: #ded4c4;
  color: #6e6456;
  opacity: 1;
}

.div-wallet .btn:disabled {
  background: rgba(247, 147, 26, 0.12);
  color: rgba(244, 237, 224, 0.42);
  border: 1px solid rgba(247, 147, 26, 0.2);
  opacity: 1;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover:not(:disabled) {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(247, 147, 26, 0.28);
}

.btn-orange {
  background: var(--orange);
  color: var(--ink);
}

.btn-orange:hover:not(:disabled) {
  background: var(--orange-2);
  box-shadow: 0 12px 28px rgba(247, 147, 26, 0.25);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(21, 18, 13, 0.035);
}

.btn-wallet {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  gap: 9px;
}

.btn-wallet:hover {
  background: var(--orange);
  color: var(--ink);
}

.btn-wallet.connected {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.btn-wallet.connected:hover {
  border-color: var(--orange);
  background: rgba(247, 147, 26, 0.08);
}

.btn-block {
  width: 100%;
}

.arrow {
  display: inline-block;
  font-size: 1.05em;
  transition: transform 0.22s ease;
}

.btn:hover .arrow {
  transform: translate(2px, -2px);
}

.btn-ghost:hover .arrow {
  transform: translateY(2px);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-btn span:nth-child(1) {
  top: 17px;
}
.menu-btn span:nth-child(2) {
  top: 23px;
}

body.menu-open .menu-btn span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
body.menu-open .menu-btn span:nth-child(2) {
  top: 20px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 80px 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 32px 22px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Decorative grain
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 20px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  right: -160px;
  top: -280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 147, 26, 0.24) 0%,
    rgba(247, 147, 26, 0.08) 38%,
    rgba(247, 147, 26, 0) 68%
  );
  filter: blur(30px);
  pointer-events: none;
}

.hero-word {
  position: absolute;
  right: -3vw;
  bottom: 4vh;
  font-size: 29vw;
  line-height: 0.72;
  font-weight: 700;
  letter-spacing: -0.09em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(21, 18, 13, 0.055);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 54px;
  min-height: 600px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.display {
  font-size: clamp(46px, 6.05vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 24px 0 26px;
  color: var(--ink);
}

.display .accent {
  color: var(--orange-ink);
  position: relative;
  display: inline-block;
}

.display .accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -0.06em;
  height: 0.055em;
  background: var(--orange);
  border-radius: 999px;
  transform: rotate(-1.2deg);
  opacity: 0.65;
}

.hero-lede {
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-facts b {
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hero-facts span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Coin */
.coin-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  z-index: 2;
}

.coin-glow {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 147, 26, 0.42) 0%,
    rgba(247, 147, 26, 0.12) 45%,
    rgba(247, 147, 26, 0) 70%
  );
  filter: blur(26px);
}

.coin-ring {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border: 1px dashed rgba(176, 92, 0, 0.32);
  border-radius: 50%;
  animation: spin 70s linear infinite;
}

.coin-ring::before {
  content: "";
  position: absolute;
  top: 9%;
  right: 15%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(247, 147, 26, 0.14);
}

.coin-picture {
  position: relative;
  width: min(78%, 500px);
  animation: float 7.5s ease-in-out infinite;
  z-index: 2;
}

.coin-picture img {
  width: 100%;
  height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(0 34px 46px rgba(92, 45, 0, 0.34));
}

.chip {
  position: absolute;
  z-index: 4;
  background: rgba(251, 247, 239, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 9px 13px;
  box-shadow: 4px 6px 0 rgba(21, 18, 13, 0.07);
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.chip span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.chip b {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.chip-1 {
  top: 12%;
  left: -1%;
  transform: rotate(-4deg);
}

.chip-2 {
  top: 46%;
  right: -3%;
  transform: rotate(3.5deg);
}

.chip-3 {
  bottom: 9%;
  left: 4%;
  transform: rotate(2deg);
}

.coin-coord {
  position: absolute;
  bottom: -4px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(120, 110, 95, 0.7);
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 26px;
  color: var(--muted);
}

.hero-foot .mono {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.hero-foot-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.stat {
  padding: 28px 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-num {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  color: var(--muted);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Shared section
   -------------------------------------------------------------------------- */
.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 58px;
}

.section-head h2 {
  margin-top: 16px;
}

h2 {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.048em;
}

.section-lede {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 360px;
  padding-bottom: 6px;
}

.lede {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Mint
   -------------------------------------------------------------------------- */
.mint {
  background: var(--dark);
  color: var(--paper);
  overflow: hidden;
}

.mint::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: -280px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(247, 147, 26, 0.17),
    rgba(247, 147, 26, 0) 68%
  );
  filter: blur(20px);
  pointer-events: none;
}

.mint-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(247, 147, 26, 0.14);
  border-radius: 50%;
  right: -160px;
  top: -170px;
  pointer-events: none;
}

.mint-orb::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(247, 147, 26, 0.12);
  border-radius: 50%;
}

.mint-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mint h2 {
  color: var(--paper);
  margin: 18px 0 22px;
}

.mint h2 .accent {
  color: var(--orange);
}

.mint .lede {
  color: rgba(244, 237, 224, 0.6);
  max-width: 470px;
  font-size: 14.5px;
}

.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 19px 0;
  border-top: 1px solid var(--line-light);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.step-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  padding-top: 3px;
}

.steps b {
  color: var(--paper);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.steps p {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(244, 237, 224, 0.45);
}

.mint-status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(244, 237, 224, 0.55);
}

/* Mint card */
.mint-card {
  position: relative;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.mint-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2), var(--orange));
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ece1cf;
  color: #6d5c3f;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a08c6c;
}

.pill[data-state="live"] i {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(247, 147, 26, 0.16);
  animation: pulse 2.2s ease-out infinite;
}

.pill[data-state="done"] {
  background: #e0ead9;
  color: #375a2c;
}

.pill[data-state="done"] i {
  background: #4f8a3c;
}

.pill[data-state="off"] i {
  background: #a08c6c;
}

.progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.progress-number {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.progress-number em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 7px;
}

.progress-remain {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 3px;
}

.progress {
  height: 8px;
  background: #e8dcc8;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 16px;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transition: width 1.1s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.price-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 22px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-line div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-line span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.price-line b {
  font-size: 15.5px;
  letter-spacing: -0.02em;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  font-size: 12px;
  color: var(--ink-2);
}

.field-label span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #fffdf8;
}

.stepper button {
  height: 50px;
  border: 0;
  background: #f0e6d5;
  font-size: 19px;
  line-height: 1;
  color: var(--ink);
  transition: background 0.18s ease;
}

.stepper button:hover:not(:disabled) {
  background: #e6d7c0;
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper input {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  appearance: textfield;
  -moz-appearance: textfield;
  min-width: 0;
}

.stepper input:focus {
  outline: none;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0 22px;
}

.quick button {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  font-size: 11.5px;
  color: var(--muted);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.quick button:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.quick button.selected {
  background: #f6e3c8;
  border-color: #dfa24c;
  color: var(--ink);
}

.summary {
  margin: 0 0 22px;
}

.summary div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 12.5px;
}

.summary div + div {
  border-top: 1px dashed var(--line);
}

.summary dt {
  color: var(--muted);
}

.summary dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-align: right;
}

.btn-mint {
  height: 56px;
  font-size: 14px;
}

.btn-mint.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn-mint.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(244, 237, 224, 0.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.card-note {
  margin: 12px 0 0;
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
  color: var(--muted);
}

.deadline-note {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--orange-ink);
}

.contract-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
}

.contract-row a {
  flex: 1;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-row a:hover {
  color: var(--orange-ink);
}

.copy-btn {
  border: 0;
  background: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--orange-ink);
}

.copy-btn:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Economics
   -------------------------------------------------------------------------- */
.economics {
  background: var(--paper);
}

.split {
  display: flex;
  gap: 6px;
  height: 104px;
  margin-bottom: 48px;
}

.split-half {
  flex: 1;
  border-radius: 14px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  position: relative;
}

.split-half::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -80px;
  bottom: -140px;
  border: 1px solid currentColor;
  opacity: 0.12;
}

.split-mint {
  background: linear-gradient(130deg, #f7931a 0%, #ffb347 100%);
  color: #2c1902;
}

.split-mint .split-pct {
  color: #2c1902;
}

.split-lp {
  background: var(--ink);
  color: var(--paper);
}

.split-pct {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.split-half b {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.split-half small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  opacity: 0.62;
}

.econ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.econ-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

.econ-index {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--orange-ink);
}

.econ-card h3 {
  margin: 16px 0 10px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.econ-card h3 small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0;
}

.econ-card p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 300px;
}

.econ-zero h3 {
  color: var(--orange-ink);
}

.flow-panel {
  margin-top: 62px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.flow-copy h3 {
  font-size: 30px;
  line-height: 1.25;
  margin: 14px 0 14px;
}

.flow-copy p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 360px;
}

.flow-bars {
  min-width: 0;
}

.flow-bar {
  display: flex;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  gap: 3px;
}

.flow-fill {
  height: 100%;
}

.flow-lp {
  background: linear-gradient(90deg, #f7931a, #ffb347);
}

.flow-treasury {
  background: var(--ink);
}

.flow-legend {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.flow-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flow-legend b {
  font-size: 15px;
}

.flow-legend span {
  font-size: 10.5px;
  color: var(--muted);
}

.flow-total {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.flow-total span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.flow-total b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Tax / dividends
   -------------------------------------------------------------------------- */
.tax {
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tax-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.tax-head h2 {
  margin: 16px 0 20px;
}

.tax-big {
  font-size: clamp(130px, 17vw, 216px);
  line-height: 0.72;
  font-weight: 700;
  letter-spacing: -0.09em;
  color: var(--orange);
  user-select: none;
}

.tax-big span {
  font-size: 0.46em;
  letter-spacing: -0.04em;
  color: var(--orange-ink);
}

.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.tax-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 236px;
}

.tax-card-orange {
  background: linear-gradient(145deg, #f7931a, #ffb347);
  border-color: transparent;
  color: #2c1902;
}

.tax-card-orange h3,
.tax-card-orange .tax-index {
  color: #2c1902;
}

.tax-index {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--orange-ink);
}

.tax-card h3 {
  margin: 22px 0 10px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.tax-card h3 small {
  display: inline;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.6;
  white-space: nowrap;
}

.tax-card p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
}

.tax-card-orange p {
  color: rgba(44, 25, 2, 0.72);
}

.addr {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(21, 18, 13, 0.25);
  align-self: flex-start;
}

.addr:hover {
  color: var(--orange-ink);
}

.addr.muted {
  color: var(--muted);
  text-decoration: none;
}

.tax-card-orange .addr {
  color: #2c1902;
  text-decoration-color: rgba(44, 25, 2, 0.35);
}

/* Dividend panel */
.dividend-panel {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
  border-radius: 24px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.dividend-panel::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  right: -160px;
  top: -180px;
  background: radial-gradient(
    circle,
    rgba(247, 147, 26, 0.18),
    rgba(247, 147, 26, 0) 68%
  );
  pointer-events: none;
}

.div-copy {
  position: relative;
  z-index: 2;
}

.div-copy h3 {
  color: var(--paper);
  font-size: 34px;
  line-height: 1.2;
  margin: 14px 0 14px;
}

.div-copy p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(244, 237, 224, 0.58);
  max-width: 440px;
}

.btcb-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}

.btcb-line span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  color: rgba(244, 237, 224, 0.4);
}

.btcb-line a {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--orange-2);
}

.btcb-line a:hover {
  text-decoration: underline;
}

.div-wallet {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 24px;
}

.div-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
}

.div-row span {
  color: rgba(244, 237, 224, 0.5);
}

.div-row b {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  text-align: right;
}

.div-row-main {
  padding: 16px 0;
}

.div-row-main b {
  font-size: 24px;
  color: var(--orange-2);
  letter-spacing: -0.02em;
}

.div-wallet .btn {
  margin-top: 18px;
  height: 50px;
  font-size: 13px;
}

.div-note {
  margin-top: 10px;
  font-size: 9.5px;
  text-align: center;
  color: rgba(244, 237, 224, 0.4);
}

/* Calculator */
.calc {
  margin-top: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.calc-copy h3 {
  font-size: 28px;
  margin: 14px 0 12px;
}

.calc-copy p {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 380px;
}

.calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-fields label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.calc-fields input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fffdf8;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink);
}

.calc-fields input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.13);
}

.calc-result {
  grid-column: 1 / -1;
  background: #f0e5d3;
  border-radius: 11px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.calc-result span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.calc-result strong {
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.calc-result small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 80px;
}

.faq-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-intro h2 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 3.6vw, 46px);
}

.faq-intro > p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.faq-contract {
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 6px;
  background: var(--paper-2);
}

.faq-contract span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
  color: var(--muted);
}

.faq-contract a {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.faq-contract small {
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--muted);
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 21px;
  line-height: 1;
  color: var(--orange-ink);
  transition: transform 0.25s ease;
  flex: none;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin-top: 14px;
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding: 62px 0 30px;
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(244, 237, 224, 0.4);
}

.footer-word {
  margin: 46px 0 40px;
  display: flex;
  align-items: baseline;
  font-size: clamp(72px, 15.5vw, 208px);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 237, 224, 0.16);
  user-select: none;
  white-space: nowrap;
}

.footer-word span {
  color: var(--orange);
  -webkit-text-stroke: 0;
  font-size: 0.3em;
  margin-left: 0.08em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
  color: rgba(244, 237, 224, 0.7);
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange-2);
}

.disclaimer {
  margin: 24px 0 0;
  max-width: 920px;
  font-size: 10px;
  line-height: 1.85;
  color: rgba(244, 237, 224, 0.34);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: rgba(244, 237, 224, 0.32);
}

/* --------------------------------------------------------------------------
   Mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border: 1px solid rgba(244, 237, 224, 0.16);
  border-radius: 16px;
  background: rgba(23, 19, 14, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--paper);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1), opacity 0.3s ease;
}

.mobile-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.mobile-cta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-cta span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(244, 237, 224, 0.45);
}

.mobile-cta b {
  font-size: 12.5px;
  color: var(--paper);
}

.mobile-cta .btn {
  height: 44px;
  padding: 0 18px;
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Dialog / toast
   -------------------------------------------------------------------------- */
.wallet-dialog {
  width: min(440px, calc(100vw - 32px));
  border: 0;
  border-radius: 20px;
  padding: 28px;
  background: var(--paper-2);
  color: var(--ink-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.wallet-dialog::backdrop {
  background: rgba(18, 14, 8, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.dialog-head .mono {
  font-size: 9px;
  letter-spacing: 0.16em;
}

#dialog-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

#dialog-close:hover {
  background: var(--paper-3);
}

.wallet-dialog h3 {
  margin: 16px 0 8px;
  font-size: 27px;
}

.wallet-dialog > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.wallet-options {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.wallet-option:hover {
  border-color: var(--orange);
  transform: translateY(-1px);
}

.wallet-option img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
}

.wallet-option .w-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  flex: none;
}

.wallet-option b {
  display: block;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.3;
}

.wallet-option small {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-top: 3px;
}

.wallet-option .w-arrow {
  margin-left: auto;
  color: var(--muted);
}

.wallet-connected {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
}

.wallet-connected .mono {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.connected-addr {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.wallet-connected small {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}

.connected-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.connected-actions .btn {
  height: 44px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 9px;
}

.mint-card.is-closed .stepper,
.mint-card.is-closed .quick,
.mint-card.is-closed .field-label {
  opacity: 0.45;
  pointer-events: none;
}


.wallet-empty {
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.wallet-empty a {
  color: var(--orange-ink);
  text-decoration: underline;
}

.dialog-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translate(-50%, 20px);
  max-width: min(520px, calc(100vw - 32px));
  padding: 13px 18px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.toast.error {
  background: #7b2a12;
}

.toast.success {
  background: #1e4a2d;
}

.toast a {
  color: var(--orange-2);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 147, 26, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(247, 147, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 147, 26, 0);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .wrap {
    width: calc(100% - 56px);
  }

  .mint-grid {
    gap: 48px;
  }

  .faq-grid {
    gap: 50px;
  }

  .chip-1 {
    left: 0;
  }
  .chip-2 {
    right: 0;
  }
}

@media (max-width: 1020px) {
  .nav {
    gap: 22px;
    font-size: 12.5px;
  }

  .contract-pill {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 560px;
  }

  .coin-stage {
    min-height: 480px;
  }

  .display {
    font-size: clamp(42px, 5.5vw, 66px);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }

  .stat {
    border-top: 1px solid var(--line);
    padding: 22px 18px;
  }

  .stat:nth-child(-n + 3) {
    border-top: 0;
  }

  .section {
    padding: 94px 0;
  }

  .mint-grid {
    gap: 40px;
  }

  .flow-panel,
  .calc {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .header-inner {
    height: 72px;
  }

  .mobile-menu {
    inset: 72px 0 0;
  }

  .btn-wallet {
    height: 40px;
    padding: 0 15px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 640px;
  }

  .display {
    font-size: clamp(44px, 8.4vw, 68px);
    margin: 20px 0 22px;
  }

  .hero-lede {
    max-width: 520px;
  }

  .hero-facts {
    margin-top: 34px;
  }

  .coin-stage {
    min-height: 430px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }

  .coin-picture {
    width: min(72%, 380px);
  }

  .coin-ring {
    width: 82%;
  }

  .chip-1 {
    top: 6%;
    left: 0;
  }
  .chip-2 {
    top: 44%;
    right: 0;
  }
  .chip-3 {
    bottom: 4%;
    left: 4%;
  }

  .hero-foot {
    padding-bottom: 22px;
  }

  .hero-word {
    font-size: 38vw;
    bottom: 2vh;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-head {
    display: block;
    margin-bottom: 40px;
  }

  .section-lede {
    max-width: 480px;
    margin-top: 20px;
    text-align: left;
  }

  .section {
    padding: 80px 0;
  }

  .mint-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .mint-copy {
    max-width: 620px;
  }

  .mint-card {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  .split {
    height: 92px;
  }

  .econ-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .econ-card p {
    max-width: 560px;
  }

  .flow-panel,
  .calc {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tax-head {
    grid-template-columns: 1fr auto;
  }

  .tax-big {
    font-size: 130px;
  }

  .tax-grid {
    grid-template-columns: 1fr;
  }

  .tax-card {
    min-height: 0;
  }

  .dividend-panel {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-intro {
    position: static;
  }

  .faq-contract {
    max-width: 420px;
  }

  .footer-word {
    font-size: 13vw;
  }

  .mobile-cta {
    display: flex;
  }

  .toast {
    bottom: 88px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 66px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-text {
    font-size: 17px;
  }

  .brand-text small {
    font-size: 7px;
  }

  .btn-wallet {
    height: 38px;
    padding: 0 13px;
    font-size: 11.5px;
  }

  .menu-btn {
    width: 38px;
    height: 38px;
  }

  .menu-btn span {
    left: 10px;
    right: 10px;
  }

  .menu-btn span:nth-child(1) {
    top: 15px;
  }
  .menu-btn span:nth-child(2) {
    top: 21px;
  }
  body.menu-open .menu-btn span:nth-child(1),
  body.menu-open .menu-btn span:nth-child(2) {
    top: 18px;
  }

  .mobile-menu {
    inset: 66px 0 0;
  }

  .mobile-menu nav a {
    font-size: 25px;
    padding: 13px 0;
  }

  .hero {
    padding-top: 26px;
  }

  .display {
    font-size: clamp(38px, 10.4vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.05em;
  }

  .hero-lede {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions {
    margin-top: 26px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 0;
    justify-content: space-between;
    margin-top: 30px;
  }

  .hero-facts b {
    font-size: 16px;
  }

  .hero-facts span {
    font-size: 8px;
  }

  .coin-stage {
    min-height: 330px;
    margin-top: 6px;
  }

  .coin-picture {
    width: min(72%, 300px);
  }

  .coin-ring {
    width: 84%;
  }

  .chip {
    padding: 7px 10px;
    box-shadow: 3px 4px 0 rgba(21, 18, 13, 0.06);
  }

  .chip span {
    font-size: 6.5px;
  }

  .chip b {
    font-size: 9px;
  }

  .chip-1 {
    top: 4%;
    left: 0;
  }
  .chip-2 {
    top: 46%;
    right: -2%;
  }
  .chip-3 {
    bottom: 2%;
    left: 2%;
  }

  .coin-coord {
    display: none;
  }

  .hero-foot {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 18px 14px;
  }

  .stat:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(even) {
    padding-left: 16px;
  }

  .stat:nth-child(-n + 2) {
    border-top: 0;
  }

  .stat-num {
    font-size: 20px;
  }

  .stat-label {
    font-size: 8px;
  }

  h2 {
    font-size: clamp(32px, 8.4vw, 42px);
    letter-spacing: -0.045em;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .mint-grid {
    gap: 34px;
  }

  .mint .lede {
    font-size: 13.5px;
  }

  .steps {
    margin-top: 28px;
  }

  .steps li {
    grid-template-columns: 34px 1fr;
    padding: 15px 0;
  }

  .mint-card {
    padding: 20px;
    border-radius: 18px;
  }

  .progress-number {
    font-size: 34px;
  }

  .progress-head {
    margin-top: 22px;
  }

  .price-line b {
    font-size: 14px;
  }

  .price-line {
    gap: 10px;
  }

  .stepper {
    grid-template-columns: 44px 1fr 44px;
  }

  .stepper button,
  .stepper input {
    height: 48px;
  }

  .quick button {
    height: 34px;
    font-size: 10.5px;
  }

  .btn-mint {
    height: 54px;
  }

  .split {
    flex-direction: column;
    height: auto;
    gap: 6px;
    margin-bottom: 34px;
  }

  .split-half {
    padding: 18px 20px;
    min-height: 92px;
  }

  .split-pct {
    font-size: 28px;
  }

  .split-half b {
    font-size: 14px;
  }

  .econ-card h3 {
    font-size: 28px;
  }

  .flow-panel,
  .calc {
    padding: 24px;
    border-radius: 16px;
  }

  .flow-copy h3 {
    font-size: 24px;
  }

  .flow-legend {
    flex-direction: column;
    gap: 10px;
  }

  .flow-total {
    gap: 12px;
  }

  .tax-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }

  .tax-big {
    display: none;
  }

  .tax-grid {
    gap: 10px;
  }

  .tax-card {
    padding: 22px;
    border-radius: 14px;
  }

  .tax-card h3 {
    font-size: 26px;
  }

  .dividend-panel {
    padding: 24px;
    border-radius: 18px;
    gap: 24px;
  }

  .div-copy h3 {
    font-size: 28px;
  }

  .div-row-main b {
    font-size: 20px;
  }

  .calc {
    padding: 24px;
  }

  .calc-copy h3 {
    font-size: 24px;
  }

  .calc-fields {
    grid-template-columns: 1fr;
  }

  .calc-result {
    grid-column: 1;
  }

  .faq-intro h2 {
    font-size: 32px;
  }

  .faq-list summary {
    font-size: 14px;
    gap: 16px;
  }

  .faq-list details {
    padding: 18px 0;
  }

  .site-footer {
    padding: 44px 0 24px;
  }

  .footer-tag {
    display: none;
  }

  .footer-word {
    font-size: 17vw;
    margin: 30px 0 26px;
  }

  .footer-links {
    gap: 16px 20px;
    font-size: 11.5px;
  }

  .disclaimer {
    font-size: 9.5px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 8px;
  }

  .wallet-dialog {
    padding: 22px;
    border-radius: 16px;
  }

  .wallet-dialog h3 {
    font-size: 24px;
  }

  .btn-wallet.connected span {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .display {
    font-size: 36px;
  }

  .brand-text small {
    display: none;
  }

  .progress-number {
    font-size: 30px;
  }

  .mint-card {
    padding: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
