:root {
  --bg: #07080c;
  --s1: #0e1118;
  --s2: #131722;
  --s3: #1a1f2d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e9ecf2;
  --muted: #8a93a6;
  --up: #3ddc97;
  --down: #ff5c7a;
  --gold: #f4b24a;
  --a1: #7c5cff;
  --a2: #3dd6f5;
  --grad: linear-gradient(120deg, var(--a1), var(--a2));
  --r: 20px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* a quiet top vignette, not a corner-glow gradient: the market grid + sparks in .aurora carry the
   visual interest now, this just keeps the hero text readable against the nav */
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120vw 60vh at 50% -12%, rgba(8,9,16,.55), transparent 65%);
}
main, .nav, .foot { position: relative; z-index: 1; }
main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
code { font-family: "JetBrains Mono", monospace; font-size: .84em; color: #c9d3ff; background: rgba(124, 92, 255, .12); padding: 1px 6px; border-radius: 6px; }
.mono { font-family: "JetBrains Mono", monospace; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.up { color: var(--up); }
.down { color: var(--down); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--a2); margin-bottom: 14px; }
.pill-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-family: "JetBrains Mono", monospace;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); white-space: nowrap; margin-bottom: 16px; }
.pill-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.k-label { font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 28px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 8, 12, .6); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; text-decoration: none; }
.brand.small { font-size: 16px; justify-content: center; margin-bottom: 12px; }
.brand-mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 0 8px rgba(61, 214, 245, .45)); }
.brand.small .brand-mark { width: 20px; height: 20px; }
.links { display: flex; gap: 26px; font-size: 14px; }
.links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.links a:hover { color: var(--text); }

.nav-burger { display: none; width: 38px; height: 38px; flex: none; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav-burger span { position: relative; }
.nav-burger span::before { position: absolute; content: ""; top: -5px; left: 0; }
.nav-burger span::after { position: absolute; content: ""; top: 5px; left: 0; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav-mobile { position: fixed; left: 12px; right: 12px; top: 64px; z-index: 25; display: flex; flex-direction: column; gap: 2px;
  padding: 10px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(9,11,17,.99);
  box-shadow: 0 20px 50px rgba(0,0,0,.55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.nav-mobile.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .18s ease, transform .18s ease, visibility 0s; }
@media (min-width: 1081px) { .nav-mobile { display: none; } }
.nav-mobile a { padding: 12px 14px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-mobile a:hover, .nav-mobile a:focus-visible { background: var(--line); color: var(--text); }
.nav-mobile-guide { display: none; text-align: left; padding: 12px 14px; border: 0; border-radius: 10px; background: none; color: var(--a2); font: 600 15px "Inter", sans-serif; cursor: pointer; }
.nav-mobile-guide:hover, .nav-mobile-guide:focus-visible { background: var(--line); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px "Inter", sans-serif; color: var(--text); text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.btn.primary { border: 0; background: var(--grad); color: #07080c; box-shadow: 0 8px 30px rgba(124, 92, 255, .35); }
.btn.primary:hover { box-shadow: 0 10px 40px rgba(61, 214, 245, .45); }
.btn.big { padding: 16px 28px; font-size: 16px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* cards */
.card { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 70px 0 40px; min-height: min(calc(100vh - 70px), 860px); }
.lead { font-size: 18px; color: #b7bfce; max-width: 36em; margin-top: 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.kpi { background: var(--s1); padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.k-val { font-size: 18px; font-weight: 600; }
.k-sub { font-size: 12px; color: var(--muted); }

/* the glowing 1px border: a conic gradient on an oversized layer that ROTATES (compositor-only), clipped by the
   card — instead of animating the gradient's angle, which repainted the whole card on every frame */
.habitat { position: relative; border-radius: 28px; padding: 1px; overflow: hidden; isolation: isolate; }
.habitat::before { content: ""; position: absolute; left: 50%; top: 50%; width: 300%; aspect-ratio: 1; z-index: -1; will-change: transform;
  background: conic-gradient(rgba(124,92,255,.7), rgba(61,214,245,.2), rgba(61,220,151,.6), rgba(124,92,255,.1), rgba(124,92,255,.7));
  transform: translate(-50%, -50%); animation: spinborder 8s linear infinite; }
@keyframes spinborder { to { transform: translate(-50%, -50%) rotate(360deg); } }
.habitat-inner { position: relative; border-radius: 27px; padding: 22px; background: radial-gradient(120% 90% at 50% 20%, #171c2b, #0b0e15 70%); overflow: hidden; }
.habitat-inner::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 150px; height: 60px; background: radial-gradient(ellipse, rgba(124,92,255,.18), transparent 70%); filter: blur(10px); }
.habitat-top { display: flex; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.tag { font-family: "JetBrains Mono", monospace; font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.tag.soft { color: var(--muted); }
.pet-stage { aspect-ratio: 1 / 1; width: 100%; max-width: 380px; margin: 0 auto; position: relative; }
.pet-stage svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hero-caption { text-align: center; color: #c3cad8; min-height: 3.2em; font-size: 15px; position: relative; }
.timeline { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.timeline-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
#timeline { width: 100%; height: 70px; display: block; margin-top: 6px; }
.chip-back { position: absolute; top: 60px; right: 22px; font: 600 12px "Inter", sans-serif; color: var(--up); background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.35); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.result-pet .chip-back { position: static; display: block; margin: 8px auto 0; }

/* sections */
.section { padding: 110px 0 0; }
/* the nav is sticky, so anything we scroll to needs to clear it or its heading lands underneath */
.section, #app-tabs, #top, #community, #market, #radar, #companion, #result, .input-card { scroll-margin-top: 86px; }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head .muted { margin-top: 14px; font-size: 17px; }

/* heatmap */
.heatmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  position: relative; border-radius: 18px; padding: 16px 16px 12px; border: 1px solid var(--line); overflow: hidden;
  background: var(--s1); transition: transform .2s, border-color .2s; text-decoration: none; display: block;
}
.tile:hover { transform: translateY(-3px); border-color: var(--line-2); }
.tile::before { content: ""; position: absolute; inset: 0; background: var(--tint, transparent); opacity: .9; pointer-events: none; }
.tile > * { position: relative; }
.tile-top { display: flex; justify-content: space-between; align-items: baseline; }
.tile-t { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; }
.tile-chg { font-family: "JetBrains Mono", monospace; font-weight: 600; font-size: 15px; }
.tile-name { font-size: 12px; color: var(--muted); }
.tile-price { font-family: "JetBrains Mono", monospace; font-size: 22px; font-weight: 600; margin-top: 10px; }
.tile svg { width: 100%; height: 44px; display: block; margin-top: 6px; }
.tile-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; font-family: "JetBrains Mono", monospace; }
.cookie { color: var(--gold); }
.tile.cta { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, rgba(124,92,255,.28), rgba(61,214,245,.12)); border-color: rgba(124,92,255,.45); }
.tile.cta b { font-family: "Space Grotesk", sans-serif; font-size: 22px; line-height: 1.15; }
.tile.cta span { font-size: 13px; color: #c3cad8; }
.tile.cta .arrow { font-family: "JetBrains Mono", monospace; color: var(--a2); font-size: 14px; }
.verify .btn { white-space: nowrap; flex: none; }

/* companion */
.companion { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; align-items: start; }
.wallet-form { display: flex; gap: 10px; margin-top: 8px; }
.wallet-form input {
  flex: 1; min-width: 0; font: 500 15px "JetBrains Mono", monospace; color: var(--text);
  background: var(--s1); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.wallet-form input:focus { border-color: var(--a1); box-shadow: 0 0 0 4px rgba(124,92,255,.18); }
.linkish { font: 14px "Inter", sans-serif; color: var(--a2); background: none; border: 0; padding: 12px 0 0; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.status { min-height: 1.6em; color: var(--muted); font-size: 14px; margin-top: 10px; }
.fine { margin: 14px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.fine li { margin-bottom: 6px; }
.result-card { min-height: 420px; }
.result-empty { height: 100%; min-height: 370px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.egg { width: 110px; height: 140px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: radial-gradient(circle at 36% 28%, #3a4157, #1a1f2d 60%, #10131b); box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06); animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-4deg); } 60% { transform: rotate(4deg); } }
.result-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--s1); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s-val { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.meter { height: 5px; border-radius: 5px; background: rgba(255,255,255,.08); margin-top: 6px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.alloc { display: flex; gap: 16px; align-items: center; margin-top: 16px; }
.alloc svg { width: 110px; height: 110px; flex: none; }
.alloc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; font-size: 13px; flex: 1; }
.alloc li { display: flex; align-items: center; gap: 7px; }
.alloc li i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.alloc li span { margin-left: auto; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.story { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.story li { font-size: 14px; color: #c3cad8; padding-left: 18px; position: relative; }
.story li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* simulator */
.sim { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.preset { font: 600 13px "Inter", sans-serif; color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: background .2s; }
.preset:hover, .preset.on { background: rgba(124,92,255,.22); border-color: rgba(124,92,255,.6); }
.slider-row { display: grid; grid-template-columns: 64px 1fr 48px 62px; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; }
.slider-row b { font-family: "Space Grotesk", sans-serif; }
.slider-row .w { font-family: "JetBrains Mono", monospace; color: var(--muted); text-align: right; font-size: 13px; }
.slider-row .c { font-family: "JetBrains Mono", monospace; text-align: right; font-size: 13px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: rgba(255,255,255,.09); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(124,92,255,.35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(124,92,255,.35); cursor: pointer; }
.sim-view { display: flex; flex-direction: column; justify-content: center; background: radial-gradient(120% 90% at 50% 15%, #171c2b, rgba(11,14,21,.4) 70%); }
.sim-view .pet-stage { max-width: 330px; }
#sim-note { margin-top: 12px; text-align: center; }

/* reactions */
.react-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.react { text-align: left; cursor: pointer; font: inherit; color: inherit; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 14px; transition: border-color .2s, transform .2s; }
.react:hover { transform: translateY(-2px); border-color: var(--line-2); }
.react.on { border-color: rgba(124,92,255,.7); box-shadow: 0 0 0 1px rgba(124,92,255,.4) inset; }
.react svg { width: 96px; height: 96px; }
.react b { font-family: "Space Grotesk", sans-serif; font-size: 17px; display: block; }
.react p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.react .trig { display: inline-block; margin-top: 8px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--a2); }

/* how */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.pipeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--a1), var(--a2), transparent); opacity: .6; }
.step { position: relative; background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #07080c; font: 700 14px "JetBrains Mono", monospace; margin-bottom: 14px; }
.step b { font-family: "Space Grotesk", sans-serif; font-size: 18px; display: block; }
.step p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.verify { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 16px; }
.verify p { margin-top: 4px; max-width: 60em; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.phase.live { border-color: rgba(61,220,151,.45); background: linear-gradient(180deg, rgba(61,220,151,.08), var(--s1)); }
.ph-tag { font: 600 11px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.phase.live .ph-tag { color: var(--up); }
.phase b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 18px; margin-top: 8px; }
.phase p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.principles { margin-top: 16px; }
.pr-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pr-grid span { font: 500 13px "JetBrains Mono", monospace; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }

/* the slot the contract address will occupy; reads "SOON" until it actually launches, so there is
   one obvious place people can check instead of trusting an address posted somewhere else */
.token-addr { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 16px 0 14px;
  padding: 14px 16px; border-radius: 14px; background: rgba(124,92,255,.08); border: 1px solid rgba(124,92,255,.35); }
.ta-label { font: 600 11px "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--a2); }
.ta-value { font: 700 16px "JetBrains Mono", monospace; letter-spacing: .06em; color: var(--text);
  padding: 6px 12px; border-radius: 9px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); overflow-wrap: anywhere; }
.ta-note { font: 500 12.5px "Inter", sans-serif; color: var(--muted); flex: 1; min-width: 200px; }
@media (max-width: 560px) { .ta-note { min-width: 100%; } }

/* whitepaper cta */
.docs-about p { margin: 0 0 14px; color: #b7bfce; font-size: 15.5px; line-height: 1.6; max-width: 62em; }
.docs-about p:last-child { margin-bottom: 0; }
.docs-about p.small { font-size: 13.5px; color: var(--muted); }

.wp { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 16px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(124,92,255,.25), transparent 60%), var(--s1); }
.wp .muted { margin-top: 6px; max-width: 40em; }
.wp .btn { white-space: nowrap; flex: none; }

/* FAQ: a plain accordion, collapsed by default — answers real questions without adding to the page's text load */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--s1); padding: 4px 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 26px 16px 0; font: 600 16px "Inter", sans-serif; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 20px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: #b7bfce; font-size: 15px; line-height: 1.55; max-width: 62em; }
.faq details p a { color: var(--a2); }

.foot { max-width: 900px; margin: 90px auto 0; padding: 36px 24px 60px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }
.foot p { margin-top: 8px; }
.foot-top { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.foot-x { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); text-decoration: none; font: 600 13px "Inter", sans-serif; transition: color .15s; }
.foot-x svg { width: 15px; height: 15px; fill: currentColor; }
.foot-x:hover { color: var(--text); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* pet animations */
.pet .bob { animation: bob 3s ease-in-out infinite; transform-origin: 120px 210px; }
.pet .breathe { animation: breathe 4.4s ease-in-out infinite; transform-origin: 120px 212px; }
.pet .aura { animation: pulse 4s ease-in-out infinite; transform-origin: 120px 134px; }
.pet .blink { animation: blink 5s infinite; }
.pet .zzz text { animation: zzz 3.2s ease-in-out infinite; }
.pet .zzz text:nth-child(2) { animation-delay: .6s; }
.pet .zzz text:nth-child(3) { animation-delay: 1.2s; }
.pet .confetti rect { animation: confetti 2s ease-in infinite; }
.pet .snack { animation: snack 1.8s ease-in-out infinite; }
.pet .spin { animation: spin .9s linear infinite; }
.pet .tear { animation: tear 2.4s ease-in infinite; }
.pet .split-l, .pet .split-r { transform-origin: 120px 140px; }
.pet .split-l { animation: splitL 3.4s ease-in-out infinite; }
.pet .split-r { animation: splitR 3.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-7px) scale(.985, 1.015); } }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.025, .975); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .75; } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 8px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(8px, -12px); } }
@keyframes confetti { 0% { transform: translateY(-12px) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(70px) rotate(220deg); opacity: 0; } }
@keyframes snack { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes tear { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
@keyframes splitL { 0%, 15%, 100% { transform: translateX(0) scale(1); } 45%, 70% { transform: translateX(-56px) scale(.7); } }
@keyframes splitR { 0%, 15%, 100% { transform: translateX(0) scale(1); } 45%, 70% { transform: translateX(56px) scale(.7); } }

@media (prefers-reduced-motion: reduce) {
  .pet *, .habitat, .egg, .evo-card { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 1080px) {
  .links { display: none; }
  .nav-burger { display: inline-flex; }
  .heatmap { grid-template-columns: repeat(3, 1fr); }
  .react-grid { grid-template-columns: 1fr 1fr; }
  .pipeline, .roadmap { grid-template-columns: 1fr 1fr; }
  .pipeline::before { display: none; }
}
@media (max-width: 900px) {
  .hero, .companion, .sim, .result-body { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 40px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .wp { flex-direction: column; align-items: flex-start; }
  .verify { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  main { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .heatmap { grid-template-columns: 1fr 1fr; }
  .react-grid, .pipeline, .roadmap { grid-template-columns: 1fr; }
  .stat-grid.three { grid-template-columns: 1fr 1fr; }
  .alloc { flex-direction: column; align-items: flex-start; }
  .slider-row { grid-template-columns: 52px 1fr 40px 58px; gap: 8px; }
  .wallet-form { flex-direction: column; }
  .section { padding-top: 80px; }
  .wp { padding: 26px; }
}
