/* ==========================================================================
   CONG MEOW — stylesheet
   Palette pulled from the campaign art: near-black ground, campaign red,
   gold accents, off-white text. Mobile-first.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root{
  --bg:            #0B0B0D;
  --bg-alt:        #121216;
  --surface:       #17171C;
  --surface-2:     #1E1E25;
  --line:          #2A2A33;

  --red:           #D4111F;
  --red-bright:    #F5222F;
  --red-dim:       rgba(212,17,31,.14);
  --gold:          #E8B93B;
  --gold-dim:      rgba(232,185,59,.14);
  --green:         #3DD68C;

  --text:          #F2F0ED;
  --text-mid:      #B4B0AA;
  --text-dim:      #7C7873;

  --radius:        14px;
  --radius-lg:     22px;
  --wrap:          1180px;

  /* Grandstander — rounded and playful, the same face Pepe Unchained uses.
     It is far wider than the condensed Bebas Neue it replaced, so display
     sizes and letter-spacing below are tightened to compensate. */
  --font-display:  'Grandstander', 'Comic Sans MS', 'Trebuchet MS', sans-serif;
  --font-body:     'Grandstander', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow:        0 18px 50px rgba(0,0,0,.5);
  --ease:          cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:80px; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ margin:0 0 .5em; line-height:1.1; }
p{ margin:0 0 1em; }
ul,ol{ margin:0; padding:0; list-style:none; }
button,input{ font:inherit; color:inherit; }

/* The UA rule for [hidden] is display:none, but any component rule that sets
   display (.btn is inline-flex, .wallet-chip is flex) outranks it and the
   element keeps rendering. Every JS toggle in this project uses .hidden, so
   this has to win outright or hidden elements show up anyway. */
[hidden]{ display:none !important; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--red); color:#fff; padding:.75rem 1.25rem; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; border-radius:4px; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 20px; }
.wrap--narrow{ max-width:820px; }
.accent{ color:var(--red-bright); }
.fineprint{ color:var(--text-dim); font-size:.85rem; margin-top:1.25rem; max-width:65ch; }

/* ---------- 3. Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.9rem 1.6rem; border-radius:999px; border:2px solid transparent;
  font-weight:700; font-size:.95rem; letter-spacing:.02em;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s;
}
.btn--primary{
  background:var(--red); color:#fff;
  box-shadow:0 8px 24px rgba(212,17,31,.35);
}
.btn--primary:hover{ background:var(--red-bright); transform:translateY(-2px); }
.btn--ghost{ border-color:var(--line); color:var(--text); background:transparent; }
.btn--ghost:hover{ border-color:var(--gold); color:var(--gold); }
.btn--sm{ padding:.6rem 1.15rem; font-size:.85rem; }
.btn--block{ width:100%; padding:1.05rem; font-size:1.05rem; }
.btn:disabled{ opacity:.55; cursor:not-allowed; transform:none; }
.btn--wallet{
  background:var(--surface-2); border:1px solid var(--line); color:var(--text-mid);
  border-radius:10px; padding:0 1rem; font-size:.85rem; font-weight:600; cursor:pointer;
  flex:0 0 auto;
}
.btn--wallet:hover{ border-color:var(--gold); color:var(--gold); }

.pill{
  display:inline-flex; align-items:center; gap:.5rem;
  background:var(--red-dim); border:1px solid rgba(212,17,31,.4);
  color:#FF8B93; padding:.4rem 1rem; border-radius:999px;
  font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
}
.pill::before{
  content:''; width:7px; height:7px; border-radius:50%; background:var(--red-bright);
  box-shadow:0 0 0 0 rgba(245,34,47,.7); animation:ping 2s infinite;
}
@keyframes ping{
  70%{ box-shadow:0 0 0 8px rgba(245,34,47,0); }
  100%{ box-shadow:0 0 0 0 rgba(245,34,47,0); }
}

/* ---------- 4. Nav ---------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(11,11,13,.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .25s, background-color .25s;
}
.nav.is-stuck{ border-bottom-color:var(--line); background:rgba(11,11,13,.95); }
.nav__inner{ display:flex; align-items:center; gap:1.5rem; height:70px; }
.nav__brand{
  display:flex; align-items:center; gap:.6rem; text-decoration:none;
  font-family:var(--font-display); font-weight:800; font-size:1.05rem; letter-spacing:-.01em;
  margin-right:auto;
}
/* Transparent PNG portrait: show it whole rather than cropping a circle
   out of the middle, which would cut the head off. */
.nav__brand picture{ display:flex; flex:0 0 auto; }
.nav__logo{ height:40px; width:auto; object-fit:contain; }
.nav__links{ display:none; gap:1.75rem; }
.nav__links a{
  text-decoration:none; color:var(--text-mid); font-size:.9rem; font-weight:500;
  transition:color .18s; position:relative;
}
.nav__links a:hover, .nav__links a.is-active{ color:var(--text); }
.nav__links a.is-active::after{
  content:''; position:absolute; left:0; right:0; bottom:-8px; height:2px; background:var(--red);
}
.nav__cta{ display:none; }
.nav__toggle{
  background:none; border:0; cursor:pointer;
  /* 44px minimum tap target */
  width:44px; height:44px; padding:0; margin-right:-10px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav__toggle span{ display:block; width:24px; height:2px; background:var(--text); transition:transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (min-width:960px){
  .nav__links{ display:flex; }
  .nav__cta{ display:inline-flex; }
  .nav__toggle{ display:none; }
}
/* mobile drawer */
@media (max-width:959px){
  .nav__links{
    position:absolute; top:70px; left:0; right:0;
    background:var(--bg-alt); border-bottom:1px solid var(--line);
    flex-direction:column; gap:0; padding:.5rem 20px 1rem;
    display:none;
  }
  .nav__links.is-open{ display:flex; }
  .nav__links a{ padding:.85rem 0; border-bottom:1px solid var(--line); font-size:1rem; }
  .nav__links a:last-child{ border-bottom:0; }
}

/* ---------- 5. Hero ---------- */
.hero{ position:relative; padding:3.5rem 0 4rem; overflow:hidden; }
.hero__glow{
  position:absolute; inset:auto 0 auto 50%; top:-260px;
  width:900px; height:900px; transform:translateX(-50%);
  background:radial-gradient(circle, rgba(212,17,31,.22) 0%, transparent 62%);
  pointer-events:none;
}
.hero__inner{ position:relative; display:grid; gap:2.5rem; }
.hero__title{ margin:1rem 0 .75rem; }
.hero__title-sm{
  display:block; font-family:var(--font-display); font-size:clamp(1.4rem,4.4vw,2rem); font-weight:700;
  letter-spacing:-.01em; color:var(--text-mid); line-height:1.1;
}
.hero__ticker{
  display:block; font-family:var(--font-display);
  font-weight:900; font-size:clamp(2.4rem,8.5vw,4.6rem); line-height:1; letter-spacing:-.02em;
  background:linear-gradient(135deg,#fff 0%,#FFD9DC 35%,var(--red-bright) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero__lead{ font-size:clamp(1.15rem,3.4vw,1.5rem); font-weight:600; color:var(--text); max-width:33ch; }
.hero__sub{ color:var(--text-mid); max-width:52ch; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.75rem; margin:1.75rem 0 1.25rem; }
.hero__note{
  font-size:.88rem; color:var(--text-mid); border-left:3px solid var(--gold);
  padding:.5rem 0 .5rem .9rem; max-width:46ch; margin:0;
}
.hero__note strong{ color:var(--gold); }
.hero__art{ position:relative; }
.hero__art img{
  width:100%; border-radius:var(--radius-lg); border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero__tagline{
  position:absolute; bottom:-14px; left:50%; transform:translateX(-50%) rotate(-2deg);
  background:var(--gold); color:#14140F; font-family:var(--font-display);
  font-weight:800; font-size:1rem; letter-spacing:0; padding:.35rem 1.2rem; border-radius:8px;
  white-space:nowrap; box-shadow:0 6px 18px rgba(0,0,0,.4);
}
@media (min-width:900px){
  .hero{ padding:5rem 0 6rem; }
  .hero__inner{ grid-template-columns:1.15fr .85fr; align-items:center; gap:3.5rem; }
  .hero__art{ order:2; }
}

/* ---------- 6. Sections ---------- */
.section{ padding:4rem 0; }
.section--alt{ background:var(--bg-alt); }
.section--presale{ background:var(--bg-alt); border-block:1px solid var(--line); }
@media (min-width:900px){ .section{ padding:5.5rem 0; } }

.sec-head{ text-align:center; max-width:60ch; margin:0 auto 2.5rem; }
.sec-head--left{ text-align:left; margin-left:0; }
.sec-title{
  font-family:var(--font-display); font-weight:900; font-size:clamp(1.7rem,4.6vw,2.5rem);
  letter-spacing:-.02em; margin-bottom:.4rem;
}
.sec-sub{ color:var(--text-mid); margin:0; }

.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:1.75rem;
}

/* ---------- 7. Presale widget ---------- */
.presale{ display:grid; gap:1.25rem; }
@media (min-width:940px){ .presale{ grid-template-columns:1fr 1fr; align-items:start; } }

.stat-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin-bottom:1.75rem; }
.stat{ display:flex; flex-direction:column; gap:.15rem; }
.stat__label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-dim); }
.stat__value{ font-family:var(--font-display); font-weight:800; font-size:1.25rem; letter-spacing:-.01em; }
.stat__value--big{ font-size:1.9rem; font-weight:900; color:var(--gold); }
.stat__value--up{ color:var(--text-mid); }
.stat__value--up::after{ content:' ↑'; color:var(--red-bright); font-size:.8em; }

.countdown{
  background:var(--surface-2); border:1px solid var(--line);
  border-radius:var(--radius); padding:1rem; margin-bottom:1.5rem; text-align:center;
}
.countdown__label{
  display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em;
  color:var(--text-dim); margin-bottom:.6rem;
}
.countdown__units{ display:grid; grid-template-columns:repeat(4,1fr); gap:.5rem; }
.cd{ display:flex; flex-direction:column; }
.cd b{
  font-family:var(--font-display); font-weight:800; font-size:clamp(1.3rem,4vw,1.7rem);
  line-height:1.1; color:var(--text); font-variant-numeric:tabular-nums;
}
.cd span{ font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-dim); }
.countdown.is-ended b{ color:var(--text-dim); }

.progress__meta{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size:.82rem; color:var(--text-mid); margin-bottom:.5rem; gap:1rem;
}
.progress__meta span:last-child{ font-weight:700; color:var(--gold); }
.progress__track{
  height:14px; background:var(--surface-2); border:1px solid var(--line);
  border-radius:999px; overflow:hidden;
}
.progress__fill{
  height:100%; width:0;
  background:linear-gradient(90deg,var(--red) 0%,var(--red-bright) 60%,var(--gold) 100%);
  border-radius:999px; transition:width .8s var(--ease);
}
.progress__foot{ margin-top:.6rem; font-size:.82rem; color:var(--text-mid); }
.progress__foot strong{ color:var(--text); }

/* ---------- 8. Form ---------- */
.card--form{ padding:1.5rem; }
.mode-banner{
  background:var(--gold-dim); border:1px solid rgba(232,185,59,.35);
  border-radius:var(--radius); padding:.85rem 1rem; font-size:.85rem;
  color:#F0DDA8; margin-bottom:1.5rem; line-height:1.55;
}
.mode-banner strong{ color:var(--gold); }

.field{ margin-bottom:1.15rem; }
.field label{
  display:block; font-size:.85rem; font-weight:600; margin-bottom:.4rem; color:var(--text);
}
.req{ color:var(--red-bright); }
.opt{ color:var(--text-dim); font-weight:400; font-size:.8em; }
.field input[type="text"],
.field input[type="email"],
.field input[type="number"]{
  width:100%; background:var(--bg); border:1px solid var(--line);
  border-radius:10px; padding:.85rem .95rem; font-size:.95rem;
  transition:border-color .18s, box-shadow .18s;
}
.field input::placeholder{ color:var(--text-dim); }
.field input:focus{ border-color:var(--gold); box-shadow:0 0 0 3px var(--gold-dim); outline:none; }
.field input.is-invalid{ border-color:var(--red-bright); }
.field__row{ display:flex; gap:.5rem; align-items:stretch; }
.field__row input{ flex:1 1 auto; min-width:0; }
.field__row--prefix{ position:relative; }
.field__row--prefix .prefix{
  position:absolute; left:.95rem; top:50%; transform:translateY(-50%);
  color:var(--text-dim); font-weight:600; pointer-events:none;
}
/* Needs the [type] to outrank `.field input[type="number"]`, which sets the
   shorthand `padding` and would otherwise clip the prefix onto the digits. */
.field__row--prefix input[type="number"]{ padding-left:2.1rem; }

/* Spinner arrows have no place on a currency field — they invite mis-clicks
   and clash with the quote below. */
.field input[type="number"]{ -moz-appearance:textfield; appearance:textfield; }
.field input[type="number"]::-webkit-outer-spin-button,
.field input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none; margin:0;
}
.field--split{ display:grid; gap:1rem; }
@media (min-width:520px){ .field--split{ grid-template-columns:1fr 1fr; } }

.help{ font-size:.78rem; color:var(--text-dim); margin:.4rem 0 0; }
.err{ font-size:.8rem; color:#FF8B93; margin:.35rem 0 0; min-height:0; }
.err:empty{ display:none; }

.calc{
  margin-top:.75rem; background:var(--surface-2); border:1px dashed var(--line);
  border-radius:10px; padding:.7rem .9rem; font-size:.85rem; color:var(--text-mid);
}
.calc strong{ color:var(--gold); font-size:1.05em; }

.field--check{ display:flex; gap:.75rem; align-items:flex-start; margin-bottom:.5rem; }
.field--check input{
  flex:0 0 auto; width:20px; height:20px; margin-top:2px;
  accent-color:var(--red); cursor:pointer;
}
.field--check label{
  font-size:.8rem; font-weight:400; line-height:1.55; color:var(--text-mid); margin:0; cursor:pointer;
}
.field--check strong{ color:var(--text); }
.field--check a{ color:var(--gold); }

/* ---------- 8b. Live buy widget ---------- */
.setup-warning{
  background:rgba(212,17,31,.16); border:1px solid var(--red-bright);
  border-radius:var(--radius); padding:.9rem 1rem; margin-bottom:1rem;
  font-size:.85rem; color:#FFC9CD; line-height:1.55;
}
.setup-warning strong{ color:#fff; display:block; margin-bottom:.2rem; }
.setup-warning code{ background:rgba(0,0,0,.35); padding:.1rem .35rem; border-radius:4px; }

.mode-banner--live{
  background:var(--red-dim); border-color:rgba(212,17,31,.4); color:#FFC9CD;
}
.mode-banner--live strong{ color:#fff; }

.field-label{
  display:block; font-size:.85rem; font-weight:600; margin-bottom:.4rem; color:var(--text);
}
.currency-toggle{
  display:grid; grid-template-columns:1fr 1fr; gap:.5rem;
  background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:.3rem;
}
.cur{
  background:none; border:0; border-radius:9px; padding:.6rem;
  font-weight:700; font-size:.9rem; color:var(--text-mid); cursor:pointer;
  transition:background-color .18s, color .18s;
}
.cur:hover:not(:disabled){ color:var(--text); }
.cur.is-on{ background:var(--red); color:#fff; }
.cur:disabled{ opacity:.35; cursor:not-allowed; }

.quote{
  margin-top:.75rem; background:var(--surface-2);
  border:1px solid var(--line); border-radius:12px; padding:.85rem 1rem;
}
.quote__row{
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  font-size:.88rem; color:var(--text-mid); margin-bottom:.35rem;
}
.quote__row strong{ color:var(--text); font-weight:600; }
.quote__row--main{
  border-top:1px solid var(--line); padding-top:.5rem; margin-top:.5rem; margin-bottom:0;
}
.quote__row--main strong{
  color:var(--gold); font-family:var(--font-display); font-weight:800; font-size:1.25rem; letter-spacing:-.01em;
}
.quote__rate{
  margin-top:.6rem; padding-top:.5rem; border-top:1px dashed var(--line);
  font-size:.75rem; color:var(--text-dim);
}

.wallet-chip{
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  margin:.75rem 0 0; font-size:.8rem; color:var(--text-dim);
}
.wallet-chip code{ color:var(--gold); }
.wallet-chip button{
  background:none; border:0; color:var(--text-dim); text-decoration:underline;
  cursor:pointer; font-size:.8rem; padding:.25rem;
}
.wallet-chip button:hover{ color:var(--red-bright); }

.wallet-help{
  margin-top:1rem; background:var(--surface-2); border:1px solid var(--line);
  border-radius:var(--radius); padding:1rem;
}
.wallet-help strong{ display:block; color:var(--gold); margin-bottom:.4rem; font-size:.92rem; }
.wallet-help p{ font-size:.83rem; color:var(--text-mid); margin:0 0 .75rem; line-height:1.6; }
.wallet-help p.fineprint{ margin:.75rem 0 0; font-size:.76rem; }
.wallet-help__actions{ display:flex; flex-wrap:wrap; gap:.5rem; }
.wallet-help__actions .btn{ flex:1 1 auto; min-height:44px; }
.wallet-help__list{ list-style:none; margin:0 0 .85rem; padding:0; }
.wallet-help__list li{
  position:relative; padding-left:1.1rem; margin-bottom:.4rem;
  font-size:.82rem; color:var(--text-mid); line-height:1.55;
}
.wallet-help__list li::before{
  content:''; position:absolute; left:0; top:.6em;
  width:5px; height:5px; border-radius:50%; background:var(--gold);
}
.wallet-help__list em{ color:var(--text); font-style:normal; font-weight:600; }
.wallet-help__diag{ margin-top:.85rem; }
.wallet-help__diag summary{
  cursor:pointer; font-size:.75rem; color:var(--text-dim); list-style:none;
}
.wallet-help__diag summary::-webkit-details-marker{ display:none; }
.wallet-help__diag summary::before{ content:'▸ '; }
.wallet-help__diag[open] summary::before{ content:'▾ '; }
.wallet-help__diag summary:hover{ color:var(--text-mid); }
.wallet-help__diag code{
  display:block; margin-top:.5rem; padding:.6rem .7rem; background:var(--bg);
  border:1px solid var(--line); border-radius:8px;
  font-size:.72rem; color:var(--text-mid); line-height:1.7; word-break:break-all;
}

.treasury-box{
  margin-top:1.5rem; padding-top:1.25rem; border-top:1px solid rgba(212,17,31,.3);
}
.treasury-box__label{
  display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.09em;
  color:var(--text-dim); margin-bottom:.5rem;
}
.treasury-box code{
  display:block; background:var(--bg); border:1px solid var(--line); border-radius:8px;
  padding:.7rem .85rem; font-size:.82rem; color:var(--gold);
  word-break:break-all; margin-bottom:.6rem;
}
.treasury-box p{ font-size:.8rem; color:var(--text-dim); margin:.6rem 0 0; }
.treasury-box a{ color:var(--gold); }

.recovery{
  margin-top:1.25rem; border-top:1px solid var(--line); padding-top:1rem;
}
.recovery summary{
  cursor:pointer; font-size:.85rem; font-weight:600; color:var(--text-mid);
  list-style:none; padding:.35rem 0;
}
.recovery summary::-webkit-details-marker{ display:none; }
.recovery summary::before{ content:'? '; color:var(--gold); font-weight:700; }
.recovery summary:hover{ color:var(--text); }
.recovery[open] summary{ color:var(--text); margin-bottom:.75rem; }
.recovery__body p{ font-size:.83rem; color:var(--text-mid); }
.recovery__body input{ font-size:.82rem !important; }

.success-panel--warn .success-panel__mark--warn{
  background:var(--gold-dim); border-color:var(--gold); color:var(--gold);
  font-weight:800;
}
.success-panel dd a{ color:var(--gold); }

.form-status{ margin:1rem 0 0; font-size:.9rem; text-align:center; min-height:1.2em; }
.form-status.is-ok{ color:var(--green); }
.form-status.is-error{ color:#FF8B93; }
.form-status.is-busy{ color:var(--text-mid); }

.success-panel{ text-align:center; padding:1.5rem .5rem; }
.success-panel__mark{
  width:64px; height:64px; margin:0 auto 1rem; border-radius:50%;
  background:rgba(61,214,140,.14); border:2px solid var(--green);
  display:grid; place-items:center; font-size:1.9rem; color:var(--green);
}
.success-panel h3{ font-family:var(--font-display); font-weight:900; font-size:1.5rem; letter-spacing:-.01em; }
.success-panel p{ color:var(--text-mid); font-size:.92rem; }
.success-panel dl{
  display:grid; grid-template-columns:auto 1fr; gap:.4rem 1rem; text-align:left;
  background:var(--surface-2); border-radius:var(--radius); padding:1rem;
  margin:1.25rem 0; font-size:.85rem;
}
.success-panel dt{ color:var(--text-dim); }
.success-panel dd{ margin:0; font-weight:600; word-break:break-all; }

/* ---------- 9. Story ---------- */
.story{ display:grid; gap:2rem; align-items:center; }
.story__art img{ border-radius:var(--radius-lg); border:1px solid var(--line); box-shadow:var(--shadow); }
.story__text p{ color:var(--text-mid); }
.story__text strong{ color:var(--text); }
.story__pull{
  border-left:3px solid var(--red); padding-left:1rem;
  font-size:1.1rem; font-style:italic; color:var(--text) !important;
}
@media (min-width:900px){ .story{ grid-template-columns:.85fr 1.15fr; gap:3.5rem; } }

/* ---------- 10. Steps ---------- */
.steps{ display:grid; gap:1.25rem; }
@media (min-width:860px){ .steps{ grid-template-columns:repeat(3,1fr); } }
.step{
  position:relative; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:2rem 1.5rem 1.5rem;
}
.step--active{ border-color:rgba(212,17,31,.5); box-shadow:0 0 0 1px rgba(212,17,31,.2); }
.step__num{
  position:absolute; top:-18px; left:1.5rem;
  width:44px; height:44px; border-radius:50%;
  background:var(--surface-2); border:1px solid var(--line);
  display:grid; place-items:center;
  font-family:var(--font-display); font-weight:800; font-size:1.2rem; color:var(--text-dim);
}
.step--active .step__num{ background:var(--red); border-color:var(--red); color:#fff; }
.step h3{ font-size:1.15rem; margin-top:.5rem; }
.step p{ color:var(--text-mid); font-size:.92rem; margin-bottom:1rem; }
.step p strong{ color:var(--gold); }
.step__tag{
  display:inline-block; font-size:.7rem; text-transform:uppercase; letter-spacing:.09em;
  font-weight:700; color:var(--text-dim); border:1px solid var(--line);
  padding:.25rem .7rem; border-radius:999px;
}
.step__tag--now{ color:#fff; background:var(--red); border-color:var(--red); }

.safety{
  margin-top:2.5rem; background:var(--red-dim); border:1px solid rgba(212,17,31,.35);
  border-radius:var(--radius-lg); padding:1.5rem;
}
.safety h3{ font-size:1.05rem; color:#FFB3B8; }
.safety li{
  position:relative; padding-left:1.5rem; margin-bottom:.5rem;
  font-size:.9rem; color:var(--text-mid);
}
.safety li::before{ content:'!'; position:absolute; left:0; top:0; color:var(--red-bright); font-weight:800; }
.safety strong{ color:var(--text); }

/* ---------- 11. Ladder table ---------- */
.table-scroll{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-lg); }
.ladder{ width:100%; border-collapse:collapse; min-width:600px; font-size:.92rem; }
.ladder th, .ladder td{ padding:.9rem 1.1rem; text-align:left; border-bottom:1px solid var(--line); }
.ladder tbody th[scope="row"]{
  color:var(--text); font-weight:700; font-size:.9rem;
  white-space:nowrap; vertical-align:top;
}
.ladder thead th{
  background:var(--surface-2); font-size:.72rem; text-transform:uppercase;
  letter-spacing:.09em; color:var(--text-dim); font-weight:700;
}
.ladder tbody tr{ transition:background-color .18s; }
.ladder tbody tr:hover{ background:var(--surface); }
.ladder tbody td:first-child{ font-family:var(--font-display); font-weight:800; font-size:1rem; }
.ladder .is-current{ background:var(--red-dim); }
.ladder .is-current td{ color:var(--text); font-weight:600; }
.ladder .is-current td:nth-child(2){ color:var(--gold); }
.ladder .is-past{ color:var(--text-dim); }
.ladder__listing{ background:var(--gold-dim); }
.ladder__listing th, .ladder__listing td{ border-bottom:0; color:var(--gold); font-weight:700; }
.tag{
  display:inline-block; font-size:.68rem; text-transform:uppercase; letter-spacing:.08em;
  font-weight:700; padding:.2rem .6rem; border-radius:999px; border:1px solid var(--line);
  color:var(--text-dim);
}
.tag--live{ background:var(--red); border-color:var(--red); color:#fff; }
.tag--done{ color:var(--green); border-color:rgba(61,214,140,.4); }

/* ---------- 12. Tokenomics ---------- */
.tokenomics{ display:grid; gap:1rem; max-width:760px; margin:0 auto; }
.tk{ display:grid; gap:.35rem; }
.tk__head{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem; }
.tk__label{ font-weight:600; font-size:.95rem; }
.tk__note{ color:var(--text-dim); font-size:.78rem; font-weight:400; margin-left:.5rem; }
.tk__figures{ text-align:right; white-space:nowrap; }
.tk__pct{ font-family:var(--font-display); font-weight:800; font-size:1.15rem; color:var(--gold); }
.tk__tokens{ display:block; font-size:.74rem; color:var(--text-dim); }
.tk__track{ height:10px; background:var(--surface-2); border-radius:999px; overflow:hidden; }
.tk__fill{
  height:100%; width:0; border-radius:999px;
  background:linear-gradient(90deg,var(--red) 0%,var(--red-bright) 100%);
  transition:width 1s var(--ease);
}
.tk:nth-child(even) .tk__fill{ background:linear-gradient(90deg,#8E1119 0%,var(--gold) 160%); }

.contract-box{
  max-width:760px; margin:2.5rem auto 0; text-align:center;
  background:var(--surface); border:1px dashed var(--line);
  border-radius:var(--radius-lg); padding:1.5rem;
}
.contract-box__label{
  display:block; font-size:.72rem; text-transform:uppercase; letter-spacing:.09em;
  color:var(--text-dim); margin-bottom:.5rem;
}
.contract-box code{
  display:block; font-size:1rem; color:var(--gold); word-break:break-all;
  background:var(--bg); border-radius:8px; padding:.75rem; margin-bottom:.75rem;
}
.contract-box p{ font-size:.82rem; color:var(--text-dim); margin:0; }

/* ---------- 13. Roadmap ---------- */
.roadmap{ display:grid; gap:1.25rem; }
@media (min-width:760px){ .roadmap{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1080px){ .roadmap{ grid-template-columns:repeat(4,1fr); } }
.rm{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:1.5rem; position:relative;
}
.rm--active{ border-color:rgba(212,17,31,.5); }
.rm__phase{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.1em;
  color:var(--text-dim); font-weight:700;
}
.rm--active .rm__phase{ color:var(--red-bright); }
.rm h3{ font-family:var(--font-display); font-weight:800; font-size:1.2rem; letter-spacing:-.01em; margin:.3rem 0 1rem; }
.rm li{
  position:relative; padding-left:1.4rem; margin-bottom:.55rem;
  font-size:.88rem; color:var(--text-mid);
}
.rm li::before{
  content:''; position:absolute; left:0; top:.55em;
  width:7px; height:7px; border-radius:50%;
  background:var(--line); border:1px solid var(--text-dim);
}
.rm--active li::before{ background:var(--red); border-color:var(--red); }
.rm--done li::before{ background:var(--green); border-color:var(--green); }

/* ---------- 14. FAQ ---------- */
.faq{ display:grid; gap:.75rem; }
.fq{ background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.fq__q{
  width:100%; background:none; border:0; text-align:left; cursor:pointer;
  padding:1.1rem 3rem 1.1rem 1.25rem; font-size:1rem; font-weight:600;
  position:relative; color:var(--text);
}
.fq__q::after{
  content:'+'; position:absolute; right:1.25rem; top:50%; transform:translateY(-50%);
  font-size:1.5rem; font-weight:400; color:var(--red-bright); transition:transform .25s var(--ease);
}
.fq.is-open .fq__q::after{ transform:translateY(-50%) rotate(45deg); }
.fq.is-open{ border-color:rgba(212,17,31,.4); }
.fq__a{
  max-height:0; overflow:hidden; transition:max-height .3s var(--ease);
}
.fq__a > div{ padding:0 1.25rem 1.25rem; color:var(--text-mid); font-size:.92rem; }
.fq__a strong{ color:var(--text); }

/* ---------- 15. CTA ---------- */
.cta{
  padding:3.5rem 0;
  background:linear-gradient(135deg,#7E0A13 0%,var(--red) 55%,#A8121D 100%);
}
.cta__inner{ display:grid; gap:1.5rem; align-items:center; text-align:center; }
.cta__cat{
  width:150px; height:150px; object-fit:cover; border-radius:50%;
  border:4px solid rgba(255,255,255,.85); margin:0 auto;
}
.cta h2{ font-family:var(--font-display); font-weight:900; font-size:clamp(1.5rem,4vw,2.1rem); letter-spacing:-.02em; color:#fff; }
.cta p{ color:rgba(255,255,255,.86); margin-bottom:1.5rem; }
.cta .btn--primary{ background:#fff; color:var(--red); box-shadow:0 8px 24px rgba(0,0,0,.25); }
.cta .btn--primary:hover{ background:#FFF0F1; }
@media (min-width:760px){
  .cta__inner{ grid-template-columns:auto 1fr; text-align:left; gap:2.5rem; }
  .cta__cat{ width:180px; height:180px; margin:0; }
}

/* ---------- 16. Footer ---------- */
.footer{ background:var(--bg); border-top:1px solid var(--line); padding:3rem 0 2rem; }
.footer__top{ display:grid; gap:2rem; padding-bottom:2rem; border-bottom:1px solid var(--line); }
@media (min-width:860px){
  .footer__top{ grid-template-columns:1.2fr 1.4fr auto; align-items:start; }
}
.footer__brand{ display:flex; gap:.75rem; align-items:center; }
.footer__brand picture{ display:flex; flex:0 0 auto; }
.footer__logo{ height:52px; width:auto; object-fit:contain; }
.footer__brand strong{ display:block; font-family:var(--font-display); font-weight:800; font-size:1.05rem; letter-spacing:-.01em; }
.footer__brand span{ font-size:.82rem; color:var(--gold); }
.footer__links{ display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; }
.footer__links a{ color:var(--text-mid); text-decoration:none; font-size:.88rem; }
.footer__links a:hover{ color:var(--text); }
.footer__socials{ display:flex; gap:.6rem; }
.soc{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  background:var(--surface); border:1px solid var(--line); color:var(--text-mid);
  text-decoration:none; transition:border-color .18s, color .18s, transform .18s;
}
.soc:hover{ border-color:var(--red); color:var(--text); transform:translateY(-2px); }
.soc svg{ width:19px; height:19px; fill:currentColor; }

.disclaimer{
  margin:2rem 0; padding:1.25rem; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius);
  font-size:.78rem; line-height:1.7; color:var(--text-dim);
}
.footer__copy{ text-align:center; font-size:.8rem; color:var(--text-dim); margin:0; }

/* ---------- 17. Legal pages ---------- */
.legal{ padding:3rem 0 4rem; max-width:780px; }
.legal h1{ font-family:var(--font-display); font-weight:900; font-size:clamp(1.8rem,5vw,2.4rem); letter-spacing:-.02em; }
.legal .updated{ color:var(--text-dim); font-size:.85rem; margin-bottom:2.5rem; }
.legal h2{
  font-size:1.15rem; margin-top:2.5rem; padding-top:1.5rem;
  border-top:1px solid var(--line); color:var(--text);
}
.legal p, .legal li{ color:var(--text-mid); font-size:.95rem; }
.legal ul{ list-style:disc; padding-left:1.25rem; margin-bottom:1rem; }
.legal li{ margin-bottom:.5rem; }
.legal strong{ color:var(--text); }
.legal a{ color:var(--gold); }
.legal .callout{
  background:var(--red-dim); border:1px solid rgba(212,17,31,.35);
  border-radius:var(--radius); padding:1.25rem; margin:1.5rem 0;
}
.legal .callout p{ color:#FFC9CD; margin:0; }
.back-link{ display:inline-block; margin-bottom:1.5rem; color:var(--text-mid); text-decoration:none; font-size:.9rem; }
.back-link:hover{ color:var(--gold); }

/* ---------- 18. Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
  .reveal{ opacity:1; transform:none; }
}

/* ---------- 19. Tap-target floors (44px minimum on touch) ---------- */
.cur{ min-height:44px; }
.wallet-chip button{ min-height:44px; padding:.5rem .75rem; }
.btn--wallet{ min-height:44px; }

/* ---------- 20. Legal pages: numbered procedure lists ---------- */
.legal .legal-ol{
  list-style:decimal; padding-left:1.4rem; margin:0 0 1rem;
  color:var(--text-mid); font-size:.95rem;
}
.legal .legal-ol li{ margin-bottom:.6rem; padding-left:.25rem; }
.legal h2[id]{ scroll-margin-top:90px; }
