/* =========================================================
   CATARDIO — $catardio
   Palette pulled straight off the banner:
   teal spray, ember orange, cream brush, clown red, tag gold
   ========================================================= */

:root{
  --ink:        #0a1017;
  --ink-2:      #0f1b24;
  --ink-3:      #16262f;
  --line:       rgba(244,236,224,.12);

  --cream:      #f4ece0;
  --cream-dim:  #c8bfb2;
  --muted:      #8c9aa3;

  --teal:       #1fc0d0;
  --teal-deep:  #0d6f7e;
  --ember:      #f2701d;
  --ember-hot:  #ff9b3d;
  --red:        #d63a2f;
  --gold:       #f5b301;

  --shadow-lg:  0 30px 70px rgba(0,0,0,.55);
  --shadow-md:  0 14px 34px rgba(0,0,0,.4);

  --font-display: 'Permanent Marker', 'Caveat Brush', cursive;
  --font-brush:   'Caveat Brush', 'Permanent Marker', cursive;
  --font-body:    'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  --wrap: 1140px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  scroll-behavior:smooth; scroll-padding-top:90px;
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
}

body{
  margin:0;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(31,192,208,.16), transparent 60%),
    radial-gradient(1000px 620px at 92% 8%,  rgba(242,112,29,.20), transparent 62%),
    radial-gradient(900px 700px at 50% 105%, rgba(13,111,126,.18), transparent 60%),
    var(--ink);
  color:var(--cream);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
code{ font-family:var(--font-mono); }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:22px; }
.wrap--narrow{ max-width:820px; }

/* ---- ambient texture ---- */
.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.16;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.splatter{
  position:fixed; z-index:0; pointer-events:none; border-radius:50%;
  filter:blur(90px); opacity:.5;
}
.splatter--teal{ width:44vw; height:44vw; left:-14vw; top:4vh; background:rgba(31,192,208,.30); }
.splatter--ember{ width:50vw; height:50vw; right:-18vw; top:34vh; background:rgba(242,112,29,.26); }

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position:sticky; top:0; z-index:60;
  backdrop-filter:blur(14px);
  background:linear-gradient(180deg, rgba(10,16,23,.92), rgba(10,16,23,.62));
  border-bottom:1px solid var(--line);
}
.nav__inner{
  width:100%; max-width:var(--wrap); margin-inline:auto;
  padding:12px 22px;
  display:flex; align-items:center; gap:20px;
}

.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand__ring{
  width:44px; height:44px; border-radius:50%; overflow:hidden;
  border:2px solid var(--teal);
  box-shadow:0 0 0 3px rgba(31,192,208,.16), 0 6px 18px rgba(0,0,0,.5);
  background:var(--cream); flex:0 0 auto;
}
.brand__ring img{ width:100%; height:100%; object-fit:cover; transform:scale(1.2); transform-origin:50% 38%; }
.brand__text{
  font-family:var(--font-display);
  font-size:22px; letter-spacing:1.5px; color:var(--cream);
  text-shadow:0 0 18px rgba(31,192,208,.45);
}

.nav__links{ display:flex; gap:26px; margin-left:auto; }
.nav__links a{
  font-size:14px; font-weight:500; letter-spacing:.04em; text-transform:uppercase;
  color:var(--cream-dim); position:relative; padding:6px 0; transition:color .2s;
}
.nav__links a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:2px;
  background:linear-gradient(90deg,var(--teal),var(--ember));
  transition:right .25s ease;
}
.nav__links a:hover{ color:var(--cream); }
.nav__links a:hover::after{ right:0; }

.nav__cta{ display:flex; align-items:center; gap:10px; margin-left:auto; }
.nav__links + .nav__cta{ margin-left:26px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:11px 18px; border-radius:999px;
  font-family:var(--font-body); font-weight:700; font-size:14.5px; letter-spacing:.02em;
  border:2px solid transparent; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn--big{ padding:15px 26px; font-size:16px; border-radius:999px; }
.btn__ico{ width:19px; height:19px; fill:currentColor; }

.btn--pump{
  background:linear-gradient(135deg,var(--ember),var(--ember-hot));
  color:#160b03;
  box-shadow:0 10px 30px rgba(242,112,29,.34);
}
.btn--pump:hover{ box-shadow:0 16px 40px rgba(242,112,29,.5); }
.btn__pump-logo{
  display:inline-flex; flex-direction:column; line-height:1;
  font-family:var(--font-mono); font-weight:700; font-size:8.5px; letter-spacing:.5px;
  background:#0a1017; padding:4px 5px; border-radius:4px;
}
.btn__pump-logo b{ color:#ff5f3d; }
.btn__pump-logo i{ color:#4ade80; font-style:normal; }

.btn--ghost{
  background:rgba(244,236,224,.05); color:var(--cream);
  border-color:rgba(31,192,208,.55);
}
.btn--ghost:hover{ background:rgba(31,192,208,.13); border-color:var(--teal); }

.btn--tg{
  background:linear-gradient(135deg,#2aabee,#229ed9);
  color:#02121c;
  box-shadow:0 10px 30px rgba(42,171,238,.32);
}
.btn--tg:hover{ box-shadow:0 16px 40px rgba(42,171,238,.46); }

.icon-btn{
  width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center;
  background:linear-gradient(135deg,#2aabee,#229ed9);
  box-shadow:0 8px 22px rgba(42,171,238,.3);
  transition:transform .18s ease, box-shadow .18s ease;
}
.icon-btn svg{ width:21px; height:21px; fill:#02121c; }
.icon-btn:hover{ transform:translateY(-2px) rotate(-6deg); box-shadow:0 14px 30px rgba(42,171,238,.46); }

.burger{ display:none; width:42px; height:42px; border:1px solid var(--line); border-radius:12px;
  background:rgba(244,236,224,.05); cursor:pointer; padding:0; }
.burger span{ display:block; width:18px; height:2px; margin:3.5px auto; background:var(--cream); transition:.25s; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{ position:relative; z-index:2; padding:64px 0 56px; text-align:center; }
.hero__glow{
  position:absolute; left:50%; top:6%; transform:translateX(-50%);
  width:min(1100px,94vw); height:420px; border-radius:50%;
  background:radial-gradient(closest-side, rgba(31,192,208,.28), transparent 70%);
  filter:blur(30px); pointer-events:none;
}
.hero .wrap{ position:relative; z-index:2; }

.hero__badges{ display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin-bottom:26px; }
.chip{
  font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  padding:6px 14px; border-radius:999px; border:1px solid;
}
.chip--teal{ color:var(--teal); border-color:rgba(31,192,208,.45); background:rgba(31,192,208,.09); }
.chip--ember{ color:var(--ember-hot); border-color:rgba(242,112,29,.45); background:rgba(242,112,29,.09); }
.chip--cream{ color:var(--cream); border-color:rgba(244,236,224,.28); background:rgba(244,236,224,.06); }
.chip--gold{ color:var(--gold); border-color:rgba(245,179,1,.4); background:rgba(245,179,1,.08); }

.hero__art{
  display:block; position:relative; border-radius:20px; overflow:hidden;
  border:1px solid rgba(244,236,224,.14);
  box-shadow:var(--shadow-lg), 0 0 90px rgba(31,192,208,.16);
  margin:0 0 38px;
}
.hero__art img{ width:100%; }
.hero__art::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, transparent 62%, rgba(10,16,23,.55));
}
/* Stand-in wordmark for the phone layout, where the banner is swapped
   for the square portrait and the painted lettering would be lost. */
.hero__wordmark{ display:none; }

.hero__title{
  font-family:var(--font-display);
  font-size:clamp(38px,7vw,80px); line-height:1.02; margin:0 0 18px;
  letter-spacing:.5px;
  text-shadow:0 0 34px rgba(31,192,208,.35), 0 6px 0 rgba(0,0,0,.35);
}
.hero__title em{
  font-style:normal;
  background:linear-gradient(100deg,var(--ember),var(--gold) 55%,var(--ember-hot));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 26px rgba(242,112,29,.4));
}
.hero__lede{
  max-width:640px; margin:0 auto 30px; color:var(--cream-dim); font-size:18.5px;
}
.hero__lede strong{ color:var(--cream); }

/* ---- contract address ---- */
.ca{
  display:inline-flex; align-items:center; gap:12px; flex-wrap:wrap; justify-content:center;
  padding:9px 9px 9px 18px; border-radius:999px;
  background:rgba(10,16,23,.72);
  border:1px dashed rgba(31,192,208,.5);
  box-shadow:inset 0 1px 0 rgba(244,236,224,.05), 0 10px 30px rgba(0,0,0,.4);
  max-width:100%;
}
.ca__label{
  font-family:var(--font-display); font-size:14px; letter-spacing:2px; color:var(--teal);
}
.ca__value{
  font-size:14px; color:var(--cream); letter-spacing:.5px;
  overflow-wrap:anywhere; text-align:left;
}
.ca__copy{
  display:inline-flex; align-items:center; gap:7px; cursor:pointer;
  border:0; border-radius:999px; padding:9px 15px;
  background:linear-gradient(135deg,var(--teal),var(--teal-deep));
  color:#02171b; font-family:var(--font-body); font-weight:700; font-size:13px;
  transition:transform .16s, filter .16s;
}
.ca__copy svg{ width:15px; height:15px; fill:currentColor; }
.ca__copy:hover{ transform:translateY(-1px); filter:brightness(1.1); }
.ca.is-copied{ border-style:solid; border-color:var(--gold); }

.hero__actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin:30px 0 12px; }
.hero__note{ color:var(--muted); font-family:var(--font-brush); letter-spacing:.4px; font-size:17px; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee{
  position:relative; z-index:2; overflow:hidden;
  border-block:1px solid var(--line);
  background:linear-gradient(90deg, rgba(13,111,126,.28), rgba(242,112,29,.24));
  padding:13px 0; margin:14px 0 0;
}
.marquee__track{
  display:flex; align-items:center; gap:26px; width:max-content;
  animation:slide 34s linear infinite;
}
.marquee__track span{
  font-family:var(--font-display); font-size:19px; letter-spacing:1.4px;
  color:var(--cream); white-space:nowrap; text-shadow:0 2px 0 rgba(0,0,0,.35);
}
.marquee__track i{ color:var(--gold); font-style:normal; font-size:14px; }
@keyframes slide{ to{ transform:translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section{ position:relative; z-index:2; padding:92px 0; }
.section--alt{
  background:linear-gradient(180deg, rgba(15,27,36,0), rgba(15,27,36,.85) 12%, rgba(15,27,36,.85) 88%, rgba(15,27,36,0));
}

.sec-head{ text-align:center; max-width:760px; margin:0 auto 54px; }
.kicker{
  display:inline-block; font-family:var(--font-brush); font-size:20px; letter-spacing:1.5px;
  color:var(--gold); transform:rotate(-2deg); margin-bottom:6px;
}
.sec-title{
  font-family:var(--font-display); font-size:clamp(30px,5.2vw,52px); line-height:1.1;
  margin:0 0 16px; letter-spacing:.5px;
  text-shadow:0 4px 0 rgba(0,0,0,.3);
}
.sec-title em{
  font-style:normal;
  background:linear-gradient(100deg,var(--teal),var(--ember-hot));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.sec-sub{ color:var(--cream-dim); margin:0; font-size:17.5px; }

/* =========================================================
   STORY
   ========================================================= */
.story{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:22px; margin-bottom:70px;
}
.life{
  position:relative; padding:30px 26px 26px;
  background:linear-gradient(160deg, rgba(22,38,47,.92), rgba(10,16,23,.92));
  border:1px solid var(--line); border-radius:18px;
  box-shadow:var(--shadow-md);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow:hidden;
}
.life::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:linear-gradient(180deg,var(--teal),var(--ember));
  opacity:.7;
}
.life:hover{
  transform:translateY(-6px);
  border-color:rgba(31,192,208,.4);
  box-shadow:0 24px 50px rgba(0,0,0,.5), 0 0 44px rgba(31,192,208,.12);
}
.life__num{
  position:absolute; right:16px; top:6px;
  font-family:var(--font-display); font-size:56px; line-height:1;
  color:rgba(244,236,224,.07);
  pointer-events:none;
}
.life h3{
  font-family:var(--font-display); font-size:25px; margin:0 0 12px; letter-spacing:.6px;
  color:var(--cream);
}
.life p{ margin:0; color:var(--cream-dim); font-size:16px; line-height:1.72; }
.life p em{ color:var(--gold); font-style:italic; }
.life p strong{ color:var(--teal); }
.life--last::before{ background:linear-gradient(180deg,var(--gold),var(--red)); opacity:1; }
.life--last h3{ color:var(--gold); }

/* ---- bloodline ---- */
.bloodline{
  display:grid; grid-template-columns:280px 1fr; gap:38px; align-items:center;
  padding:38px; border-radius:24px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(242,112,29,.16), transparent 70%),
    linear-gradient(150deg, rgba(15,27,36,.96), rgba(10,16,23,.96));
  border:1px solid rgba(244,236,224,.14);
  box-shadow:var(--shadow-lg);
}
.bloodline__img{
  border-radius:20px; overflow:hidden; border:2px solid rgba(245,179,1,.5);
  box-shadow:0 0 0 6px rgba(245,179,1,.08), var(--shadow-md);
  transform:rotate(-2.5deg); background:var(--cream);
}
.bloodline__body h3{
  font-family:var(--font-display); font-size:clamp(24px,3.4vw,34px); margin:0 0 16px; line-height:1.15;
}
.bloodline__body p{ color:var(--cream-dim); margin:0 0 14px; }
.bloodline__body strong{ color:var(--cream); }
.bloodline__punch{
  border-left:3px solid var(--ember); padding-left:16px;
  color:var(--cream) !important; font-family:var(--font-brush); font-size:21px; line-height:1.5;
}

/* =========================================================
   TOKENOMICS
   ========================================================= */
.stats{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px; margin-bottom:34px;
}
.stat{
  text-align:center; padding:26px 16px; border-radius:16px;
  background:linear-gradient(160deg, rgba(31,192,208,.10), rgba(10,16,23,.9));
  border:1px solid rgba(31,192,208,.22);
  transition:transform .25s ease, border-color .25s ease;
}
.stat:hover{ transform:translateY(-4px); border-color:rgba(31,192,208,.55); }
.stat__k{
  display:block; font-family:var(--font-display); font-size:clamp(22px,3vw,30px);
  color:var(--cream); text-shadow:0 0 22px rgba(31,192,208,.4); letter-spacing:.5px;
}
.stat__v{
  display:block; margin-top:6px; font-size:12.5px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--muted);
}

.cards{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px;
}
.card{
  padding:28px 24px; border-radius:18px;
  background:linear-gradient(155deg, rgba(22,38,47,.9), rgba(10,16,23,.94));
  border:1px solid var(--line);
  transition:transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card:hover{
  transform:translateY(-6px) rotate(-.6deg);
  border-color:rgba(242,112,29,.4);
  box-shadow:0 22px 48px rgba(0,0,0,.48);
}
.card__ico{ font-size:30px; display:block; margin-bottom:12px; }
.card h3{ font-family:var(--font-display); font-size:22px; margin:0 0 10px; letter-spacing:.5px; }
.card p{ margin:0; color:var(--cream-dim); font-size:15.5px; line-height:1.7; }

/* =========================================================
   HOW TO BUY
   ========================================================= */
.steps{
  list-style:none; padding:0; margin:0 0 34px;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(232px,1fr)); gap:20px;
  counter-reset:none;
}
.step{
  position:relative; padding:34px 24px 26px; border-radius:18px;
  background:linear-gradient(160deg, rgba(15,27,36,.94), rgba(10,16,23,.94));
  border:1px solid var(--line);
  transition:transform .28s ease, border-color .28s ease;
}
.step:hover{ transform:translateY(-5px); border-color:rgba(31,192,208,.42); }
.step__n{
  position:absolute; top:-16px; left:22px;
  font-family:var(--font-display); font-size:20px; letter-spacing:1px;
  padding:5px 13px; border-radius:999px;
  background:linear-gradient(135deg,var(--ember),var(--gold));
  color:#160b03; box-shadow:0 8px 20px rgba(242,112,29,.35);
}
.step h3{ font-family:var(--font-display); font-size:21px; margin:6px 0 10px; letter-spacing:.4px; }
.step p{ margin:0; color:var(--cream-dim); font-size:15.5px; line-height:1.7; }

.warn{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px; justify-content:center;
  text-align:center; padding:20px 24px; border-radius:16px;
  background:rgba(214,58,47,.10); border:1px solid rgba(214,58,47,.42);
  font-size:15px;
}
.warn strong{ color:var(--red); }
.warn code{
  color:var(--cream); background:rgba(10,16,23,.75); padding:5px 11px; border-radius:8px;
  font-size:13.5px; overflow-wrap:anywhere;
}
.warn span{ color:var(--cream-dim); width:100%; font-size:14px; }

/* =========================================================
   THE CODE
   ========================================================= */
.code-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:14px;
}
.rule{
  padding:18px 20px; border-radius:14px;
  background:rgba(244,236,224,.035);
  border:1px solid var(--line);
  border-left:3px solid var(--teal);
  font-family:var(--font-brush); font-size:20px; line-height:1.45; color:var(--cream);
  transition:background .25s ease, transform .25s ease, border-left-color .25s ease;
}
.rule b{ color:var(--gold); font-family:var(--font-display); font-size:17px; margin-right:6px; }
.rule:hover{ background:rgba(31,192,208,.09); transform:translateX(4px); border-left-color:var(--ember); }

/* =========================================================
   FAQ
   ========================================================= */
.faq{ display:grid; gap:12px; }
.qa{
  border:1px solid var(--line); border-radius:14px;
  background:linear-gradient(160deg, rgba(15,27,36,.9), rgba(10,16,23,.9));
  overflow:hidden; transition:border-color .25s ease;
}
.qa[open]{ border-color:rgba(31,192,208,.42); }
.qa summary{
  cursor:pointer; list-style:none; padding:19px 52px 19px 22px; position:relative;
  font-family:var(--font-display); font-size:19px; letter-spacing:.4px; color:var(--cream);
}
.qa summary::-webkit-details-marker{ display:none; }
.qa summary::after{
  content:'+'; position:absolute; right:20px; top:50%; transform:translateY(-50%);
  font-family:var(--font-body); font-weight:700; font-size:24px; color:var(--teal);
  transition:transform .25s ease;
}
.qa[open] summary::after{ content:'–'; transform:translateY(-50%) rotate(180deg); }
.qa summary:hover{ color:var(--teal); }
.qa p{
  margin:0; padding:0 22px 22px; color:var(--cream-dim); font-size:16px; line-height:1.72;
}

/* =========================================================
   CTA
   ========================================================= */
.cta{ position:relative; z-index:2; padding:60px 0 96px; }
.cta__card{
  position:relative; text-align:center; padding:78px 34px 42px; border-radius:26px;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(31,192,208,.20), transparent 70%),
    linear-gradient(160deg, rgba(15,27,36,.97), rgba(10,16,23,.97));
  border:1px solid rgba(244,236,224,.15);
  box-shadow:var(--shadow-lg);
}
.cta__cat{
  position:absolute; top:-52px; left:50%; transform:translateX(-50%);
  width:104px; height:104px; border-radius:50%; overflow:hidden;
  border:3px solid var(--gold); background:var(--cream);
  box-shadow:0 0 0 8px rgba(245,179,1,.10), 0 16px 34px rgba(0,0,0,.5);
}
.cta__cat img{ width:100%; height:100%; object-fit:cover; transform:scale(1.2); transform-origin:50% 38%; }
.cta__card h2{
  font-family:var(--font-display); font-size:clamp(28px,4.6vw,44px); margin:4px 0 14px; letter-spacing:.5px;
}
.cta__card h2 em{
  font-style:normal;
  background:linear-gradient(100deg,var(--teal),var(--ember-hot));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.cta__card > p{ max-width:560px; margin:0 auto 26px; color:var(--cream-dim); }
.cta__btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta__soon{ margin:20px 0 0; font-family:var(--font-brush); font-size:18px; color:var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  position:relative; z-index:2; padding:48px 0 40px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg, rgba(10,16,23,.4), rgba(6,10,15,.95));
}
.footer__top{
  display:flex; flex-wrap:wrap; gap:22px; align-items:center; justify-content:space-between;
  padding-bottom:24px; border-bottom:1px solid var(--line);
}
.footer__links{ display:flex; flex-wrap:wrap; gap:20px; }
.footer__links a{ font-size:14px; color:var(--muted); transition:color .2s; }
.footer__links a:hover{ color:var(--teal); }

.footer__ca{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin:22px 0; font-size:13px; color:var(--muted);
}
.footer__ca span{ font-family:var(--font-display); color:var(--teal); letter-spacing:1.5px; }
.footer__ca code{
  color:var(--cream-dim); background:rgba(244,236,224,.05);
  padding:6px 12px; border-radius:8px; overflow-wrap:anywhere;
}

.footer__disclaimer{
  font-size:13px; line-height:1.7; color:#6d7b85; max-width:900px; margin:0 0 18px;
}
.footer__copy{ font-size:13px; color:#5d6b74; margin:0; }

/* =========================================================
   FLOATERS / UTILITIES
   ========================================================= */
.totop{
  position:fixed; right:20px; bottom:20px; z-index:70;
  width:46px; height:46px; border-radius:50%; border:1px solid rgba(31,192,208,.5);
  background:rgba(10,16,23,.9); cursor:pointer; display:grid; place-items:center;
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .25s, transform .25s, visibility .25s, background .2s;
  backdrop-filter:blur(8px);
}
.totop svg{ width:20px; height:20px; fill:var(--teal); }
.totop.is-on{ opacity:1; visibility:visible; transform:translateY(0); }
.totop:hover{ background:rgba(31,192,208,.18); }

.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px);
  z-index:90; padding:12px 22px; border-radius:999px;
  background:linear-gradient(135deg,var(--gold),var(--ember));
  color:#160b03; font-weight:700; font-size:14.5px;
  box-shadow:0 16px 38px rgba(0,0,0,.5);
  opacity:0; visibility:hidden; transition:opacity .25s, transform .25s, visibility .25s;
}
.toast.is-on{ opacity:1; visibility:visible; transform:translate(-50%,0); }

.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-in{ opacity:1; transform:none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px){
  /* 4 stats across 3 columns leaves an orphan — go 2x2 instead */
  .stats{ grid-template-columns:repeat(2,1fr); }
  .bloodline{ grid-template-columns:1fr; gap:26px; padding:28px; }
  .bloodline__img{ max-width:230px; margin-inline:auto; }
}

@media (max-width: 860px){
  .burger{ display:block; }
  .nav__links{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; gap:0; margin:0;
    background:rgba(8,13,19,.98); border-bottom:1px solid var(--line);
    backdrop-filter:blur(14px);
    max-height:0; overflow:hidden; transition:max-height .3s ease;
  }
  .nav__links.is-open{ max-height:360px; }
  .nav__links a{ padding:16px 22px; border-bottom:1px solid var(--line); }
  .nav__links a::after{ display:none; }
  .nav__cta{ margin-left:auto; }
  .nav__links + .nav__cta{ margin-left:auto; }
  .btn--pump span:last-child{ display:none; }
  .btn--pump.btn--big span:last-child{ display:inline; }
}

/* ---------------------------------------------------------
   PHONES
   The banner is a 3:1 header asset — squeezed into a phone it
   turns into an illegible strip, so <picture> swaps it for the
   square portrait and the wordmark is set in type instead.
   --------------------------------------------------------- */
@media (max-width: 700px){
  html{ scroll-padding-top:76px; }
  body{ font-size:16px; }

  .wrap{ padding-inline:18px; }
  .section{ padding:58px 0; }

  /* ---- nav: everything one notch smaller so it stops overflowing ---- */
  .nav__inner{ padding:10px 16px; gap:10px; }
  .brand{ gap:9px; }
  .brand__ring{ width:38px; height:38px; }
  .brand__text{ font-size:18px; letter-spacing:1px; }
  .icon-btn{ width:40px; height:40px; }
  .icon-btn svg{ width:19px; height:19px; }
  .nav__cta{ gap:8px; }
  .nav__cta .btn--pump{ padding:9px 12px; }
  .burger{ width:40px; height:40px; }

  /* ---- hero ---- */
  .hero{ padding:26px 0 36px; }
  .hero__glow{ height:300px; }
  .hero__badges{ gap:7px; margin-bottom:20px; }
  .chip{ font-size:11px; padding:5px 11px; letter-spacing:.1em; }

  .hero__art{
    width:min(230px, 62vw); aspect-ratio:1; margin:0 auto 4px;
    border-radius:50%; border:3px solid var(--gold);
    box-shadow:0 0 0 7px rgba(245,179,1,.10), var(--shadow-lg), 0 0 60px rgba(31,192,208,.22);
    background:var(--cream);
  }
  .hero__art img{ width:100%; height:100%; object-fit:cover; transform:scale(1.12); transform-origin:50% 40%; }
  .hero__art::after{ display:none; }

  .hero__wordmark{
    display:block; margin:14px 0 6px;
    font-family:var(--font-display); font-size:clamp(42px,15vw,64px); line-height:1;
    letter-spacing:1px;
    background:linear-gradient(100deg,var(--cream) 30%,var(--teal));
    -webkit-background-clip:text; background-clip:text; color:transparent;
    filter:drop-shadow(0 3px 0 rgba(0,0,0,.4)) drop-shadow(0 0 26px rgba(31,192,208,.35));
  }

  .hero__title{ font-size:clamp(28px,8.4vw,38px); margin-bottom:14px; }
  .hero__lede{ font-size:16.5px; margin-bottom:24px; }
  .hero__lede br{ display:none; }
  .hero__note{ font-size:16px; }

  /* ---- contract address: full-width card, thumb-sized copy button ---- */
  .ca{
    display:flex; width:100%; flex-direction:column; gap:10px;
    padding:14px; border-radius:16px;
  }
  .ca__label{ font-size:13px; }
  .ca__value{ font-size:12.5px; text-align:center; width:100%; }
  .ca__copy{ width:100%; justify-content:center; min-height:46px; font-size:14px; }

  .hero__actions{ gap:11px; margin:24px 0 10px; }
  .hero__actions .btn,
  .cta__btns .btn{ width:100%; justify-content:center; min-height:52px; }

  /* ---- section headings ---- */
  .sec-head{ margin-bottom:36px; }
  .sec-title{ font-size:clamp(27px,7.6vw,34px); }
  .sec-sub{ font-size:16px; }
  .kicker{ font-size:18px; }

  /* ---- story ---- */
  .story{ gap:16px; margin-bottom:52px; }
  .life{ padding:24px 20px 22px; border-radius:15px; }
  .life h3{ font-size:22px; margin-bottom:9px; padding-right:44px; }
  .life p{ font-size:15.5px; line-height:1.68; }
  .life__num{ font-size:46px; right:14px; top:12px; }

  .bloodline{ padding:24px 20px; border-radius:18px; }
  .bloodline__img{ max-width:190px; }
  .bloodline__punch{ font-size:19px; padding-left:13px; }

  /* ---- tokenomics ---- */
  .stats{ grid-template-columns:1fr 1fr; gap:11px; margin-bottom:26px; }
  .stat{ padding:18px 8px; border-radius:14px; }
  .stat__k{ font-size:clamp(15px,4.4vw,20px); letter-spacing:0; }
  .stat__v{ font-size:11px; letter-spacing:.12em; }
  .cards{ gap:14px; }
  .card{ padding:22px 20px; border-radius:15px; }
  .card h3{ font-size:20px; }
  .card p{ font-size:15px; }
  .card:hover{ transform:none; }

  /* ---- how to buy ---- */
  .steps{ gap:26px; }
  .step{ padding:30px 20px 22px; border-radius:15px; }
  .step h3{ font-size:19px; }
  .step p{ font-size:15px; }
  .warn{ padding:18px 16px; gap:8px; }
  .warn code{ font-size:12px; }

  /* ---- the code ---- */
  .code-grid{ gap:11px; }
  .rule{ padding:15px 16px; font-size:18px; }

  /* ---- faq ---- */
  .faq{ gap:10px; }
  .qa summary{ font-size:17px; padding:16px 46px 16px 18px; min-height:52px; }
  .qa summary::after{ right:16px; }
  .qa p{ font-size:15.5px; padding:0 18px 18px; }

  /* ---- cta ---- */
  .cta{ padding:40px 0 72px; }
  .cta__card{ padding:64px 20px 32px; border-radius:20px; }
  .cta__cat{ width:88px; height:88px; top:-44px; }
  .cta__card h2{ font-size:clamp(26px,7.4vw,34px); }
  .cta__card > p{ font-size:15.5px; }
  .cta__soon{ font-size:16px; }

  /* ---- marquee ---- */
  .marquee{ padding:11px 0; }
  .marquee__track{ gap:20px; animation-duration:24s; }
  .marquee__track span{ font-size:16px; }

  /* ---- footer: real tap targets, not 24px links ---- */
  .footer{ padding:36px 0 32px; }
  .footer__top{ flex-direction:column; align-items:flex-start; gap:14px; }
  .footer__links{ gap:0 18px; }
  .footer__links a{ padding:9px 0; font-size:14.5px; }
  .footer__ca{ font-size:12px; }
  .footer__disclaimer{ font-size:12.5px; }

  /* ---- floaters clear of the iOS home indicator ---- */
  .totop{
    right:14px; bottom:calc(14px + env(safe-area-inset-bottom, 0px));
    width:44px; height:44px;
  }
  .toast{
    left:14px; right:14px; transform:translateY(20px);
    bottom:calc(76px + env(safe-area-inset-bottom, 0px));
    text-align:center; font-size:14px; padding:12px 16px;
  }
  .toast.is-on{ transform:translateY(0); }

  /* blur is expensive on phone GPUs — keep the colour, drop the cost */
  .splatter{ filter:blur(60px); opacity:.42; }
  .splatter--teal{ width:80vw; height:80vw; left:-30vw; }
  .splatter--ember{ width:90vw; height:90vw; right:-34vw; }
  .grain{ opacity:.1; }

  /* hover transforms are dead weight on touch */
  .life:hover, .stat:hover, .step:hover, .rule:hover{ transform:none; }
}

/* ---- notched phones: keep content out of the rounded corners ---- */
@supports (padding: max(0px)){
  @media (max-width: 700px){
    .wrap{
      padding-left:max(18px, env(safe-area-inset-left));
      padding-right:max(18px, env(safe-area-inset-right));
    }
    .nav__inner{
      padding-left:max(16px, env(safe-area-inset-left));
      padding-right:max(16px, env(safe-area-inset-right));
    }
  }
}

/* ---- small phones (iPhone SE and friends) ---- */
@media (max-width: 380px){
  .nav__inner{ padding:10px 12px; gap:8px; }
  .brand{ gap:7px; }
  .brand__text{ font-size:16px; letter-spacing:.5px; }
  .nav__cta{ gap:6px; }
  .nav__cta .btn--pump{ padding:8px 9px; }
  .hero__wordmark{ font-size:40px; }
  .hero__title{ font-size:26px; }
  .ca__value{ font-size:11.5px; }
  .life h3{ font-size:20px; }
  .rule{ font-size:17px; }
}

/* ---- landscape phones: the hero shouldn't eat the whole screen ---- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px){
  .hero{ padding:20px 0 28px; }
  .hero__art{ width:150px; }
  .hero__wordmark{ font-size:38px; }
}

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