/* =========================================================
   BLURP — design tokens (mirrors the Vetcare template metrics,
   transposed to a dark palette)
   ========================================================= */
:root {
  --bg: #0a0d19;
  --bg-2: #10152a;
  --bg-3: #171d36;
  --ink: #eef3ff;
  --ink-dim: #b7c0dc;
  --muted: #8f99b8;
  --line: rgba(255, 255, 255, .09);
  --mint: #7ff5d6;
  --mint-deep: #2fc9a4;
  --lav: #c9b6ff;
  --pink: #ffb3c7;
  --gold: #ffe28a;

  /* light cards on dark (template: white / #f4eee9 / #e4ebda) */
  --card-light: #f3f5fa;
  --card-cream: #eef0f6;
  --card-mint: #dff7ee;
  --ink-on-light: #0f1225;
  --muted-on-light: #4f5670;

  --font-display: "Fredoka", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", "Inter", system-ui, sans-serif;

  --radius: 8px;           /* template cards & images */
  --radius-pill: 50px;     /* template buttons */
  --container: 1360px;     /* 1440 - 2×40 */
  --gutter: 40px;
  --section: 150px;        /* template vertical rhythm */
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 900px) { :root { --gutter: 20px; --section: 90px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.63;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
ol, ul { list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); max-width: 440px; margin: 12px auto 0; }

/* ---------- type scale (template: Instrument Sans 600, tight tracking) ---------- */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: inherit; }
.h1 { font-size: 56px; line-height: 1.02; letter-spacing: -.02em; }
.h2 { font-size: 50px; line-height: 1.04; letter-spacing: -.02em; }
.h2--wide { max-width: 900px; margin: 0 auto; font-size: 44px; line-height: 1.12; }
.h3 { font-size: 40px; line-height: 1.05; letter-spacing: -.02em; }
.h4 { font-size: 32px; line-height: 1.13; letter-spacing: -.02em; }
.h5 { font-size: 28px; line-height: 1.14; letter-spacing: -.015em; }
.h6 { font-size: 24px; line-height: 1.22; letter-spacing: -.02em; }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-dim); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lav); margin-bottom: 14px; }
@media (max-width: 900px) {
  .h1 { font-size: 40px; } .h2, .h2--wide { font-size: 34px; } .h3 { font-size: 32px; } .h4 { font-size: 26px; } .h5 { font-size: 24px; } .h6 { font-size: 21px; }
  .lead { font-size: 18px; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- buttons (template: pill 50px, primary 58px high / 40px pad, dark 46px / 30px pad) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 58px; padding: 0 40px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { height: 46px; padding: 0 30px; font-size: 15px; }
.btn--primary { background: var(--mint); color: var(--ink-on-light); box-shadow: 0 10px 30px -12px rgba(127, 245, 214, .55); }
.btn--primary:hover { background: #9dfae2; box-shadow: 0 16px 36px -12px rgba(127, 245, 214, .7); }
.btn--dark { background: var(--ink-on-light); color: #fff; }
.btn--dark:hover { background: #1c2140; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .11); }
.btn--outline { background: rgba(10, 13, 25, .35); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); }
.link { color: var(--mint); font-weight: 600; font-size: 15px; }
.link:hover { text-decoration: underline; }

.pill { display: inline-flex; align-items: center; gap: 12px; border-radius: var(--radius-pill); padding: 10px 18px 10px 12px; font-size: 14px; line-height: 1.25; }
.pill--light { background: #fff; color: var(--ink-on-light); }
.pill b { font-weight: 800; }
.pill small { color: var(--muted-on-light); font-size: 12px; }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--demo { background: rgba(255, 226, 138, .14); color: var(--gold); border: 1px solid rgba(255, 226, 138, .35); }
.badge--demo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
body.live .badge--demo { display: none; }
.badge--live { background: rgba(127, 245, 214, .12); color: var(--mint); border: 1px solid rgba(127, 245, 214, .35); }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pulse 2s infinite; }

/* ---------- ticker logos: brand mark in a circle, like Swapy's grid ---------- */
.tile {
  --d: 44px; display: inline-grid; place-items: center; flex: 0 0 auto;
  width: var(--d); height: var(--d); border-radius: 50%; background: var(--bg, #fff); overflow: hidden;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.tile i { display: block; width: calc(var(--d) * var(--scale, .6)); height: calc(var(--d) * var(--scale, .6)); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.tile img { width: calc(var(--d) * var(--scale, .6)); height: calc(var(--d) * var(--scale, .6)); object-fit: contain; }
.tile--text { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--ink-on-light); background: var(--tile); }
.tile--lg { --d: 72px; }
.tile--xl { --d: 128px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tiles { display: inline-flex; }
.tiles .tile { --d: 32px; border: 2px solid #fff; margin-right: -8px; }
.tiles--row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tiles--row .tile { --d: 40px; margin: 0; border: 0; }

/* ---------- reveal (template "appear" animation: fade + 20px rise) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0; transition: background .35s, padding .35s, box-shadow .35s; }
.nav.scrolled { background: rgba(10, 13, 25, .78); backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: .02em; }
.logo__dot { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--mint) 30%, var(--mint-deep) 100%); box-shadow: 0 0 16px rgba(127, 245, 214, .8); }
.nav__links { display: flex; gap: 32px; font-weight: 600; font-size: 15px; color: var(--ink-dim); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, top .3s; top: 17px; }
.nav__burger span + span { top: 25px; }
.nav__burger[aria-expanded="true"] span { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span + span { transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links { position: fixed; top: 70px; left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 8px; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .3s; }
  .nav__links a { padding: 14px 16px; border-radius: 10px; }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; }
  .nav__right .btn { display: none; }
  .badge--demo { height: 24px; padding: 0 9px; font-size: 10px; }
}

/* =========================================================
   HERO  (template: giant wordmark behind a cutout, copy bottom-left, card bottom-right)
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 48px; overflow: hidden; isolation: isolate; }
.hero__glow { position: absolute; left: 50%; top: 58%; width: 1100px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(127, 245, 214, .22), rgba(201, 182, 255, .08) 45%, transparent 72%); filter: blur(10px); z-index: -2; pointer-events: none; }
.hero__wordmark {
  position: absolute; left: 50%; top: 132px; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 19.5vw, 290px); line-height: .85; letter-spacing: -.02em;
  color: #fff; opacity: .88; white-space: nowrap; z-index: -1; user-select: none;
  background: linear-gradient(180deg, #fff 45%, rgba(255, 255, 255, .78)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__creature { position: absolute; left: 57%; bottom: -2%; transform: translateX(-50%); width: min(820px, 58vw); aspect-ratio: 1 / 1; z-index: 0; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; pointer-events: none; }
.hero__grid > * { pointer-events: none; }
.hero__copy > *, .hero__side > * { pointer-events: auto; }
.hero__copy { max-width: 420px; }
.hero__copy .lead { margin: 20px 0 30px; max-width: 400px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.feeders-pill { box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.status-card { width: 300px; background: var(--card-light); color: var(--ink-on-light); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.status-card__line { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.status-card__line b { font-weight: 800; }
.status-card__meals { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(15, 18, 37, .1); font-size: 13px; color: var(--muted-on-light); }
.status-card__meals span { display: flex; align-items: center; gap: 8px; }
.status-card__meals .tile { --d: 26px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 0 rgba(47, 201, 164, .6); animation: pulse 2s infinite; }
.dot.hungry { background: #ff8a5b; box-shadow: 0 0 0 0 rgba(255, 138, 91, .6); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 201, 164, .55); } 70% { box-shadow: 0 0 0 10px rgba(47, 201, 164, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 201, 164, 0); } }

.quip { position: absolute; right: 57%; top: 46%; transform: translate(0, 8px) scale(.96); transform-origin: 100% 50%; z-index: 2; background: #fff; color: var(--ink-on-light); font-family: var(--font-display); font-weight: 500; font-size: 18px; padding: 12px 18px; border-radius: 18px; opacity: 0; transition: .4s var(--ease); pointer-events: none; white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.quip::after { content: ""; position: absolute; right: -7px; top: 50%; width: 16px; height: 16px; background: #fff; transform: translateY(-50%) rotate(45deg); border-radius: 3px; }
.quip.show { opacity: 1; transform: translate(0, 0) scale(1); }
.sound { position: absolute; right: var(--gutter); top: 92px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: var(--ink-dim); }
.sound[data-on="true"] .sound__mute, .sound[data-on="false"] .sound__wave { display: none; }
.sound[data-on="true"] { color: var(--mint); border-color: rgba(127, 245, 214, .4); }

@media (max-width: 900px) {
  .hero { padding: 96px 0 32px; align-items: stretch; flex-direction: column; min-height: 0; }
  .hero__wordmark { top: 92px; font-size: 27vw; }
  .hero__creature { position: relative; left: auto; transform: none; width: 92vw; margin: -2vw auto 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
  .hero__copy { max-width: none; }
  .hero__side { flex-direction: row; align-items: stretch; flex-wrap: wrap; }
  .status-card { width: 100%; }
  .quip { right: auto; left: 50%; top: 84px; transform: translate(-50%, 8px) scale(.96); transform-origin: 50% 100%; font-size: 15px; }
  .quip.show { transform: translate(-50%, 0) scale(1); }
  .quip::after { right: auto; left: 50%; top: auto; bottom: -8px; transform: translateX(-50%) rotate(45deg); }
  .sound { top: 80px; }
  .hero__glow { top: 40%; width: 120vw; height: 120vw; }
}

/* =========================================================
   STATS BAND (template: beige full-width strip, 40px numbers)
   ========================================================= */
.stats { padding: 0 0 40px; }
.stats__band { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: 24px; background: var(--card-cream); color: var(--ink-on-light); border-radius: var(--radius); padding: 36px 40px; }
.stat { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; position: relative; }
.stat__num { font-family: var(--font-display); font-weight: 600; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.stat__label { font-size: 15px; line-height: 1.3; font-weight: 500; }
.stat__label small { display: block; color: var(--muted-on-light); font-size: 12px; font-weight: 400; margin-top: 2px; }
.stats__note { grid-column: 1 / -1; margin: -8px 0 0; font-size: 12px; color: var(--muted-on-light); }
.stats__note:empty { display: none; }
.bar { width: 100%; height: 6px; border-radius: 6px; background: rgba(15, 18, 37, .1); overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--mint-deep), var(--lav)); transition: width 1.2s var(--ease); }
@media (max-width: 900px) {
  .stats__band { grid-template-columns: 1fr 1fr; padding: 24px 20px; gap: 24px 16px; }
  .stat { flex-direction: column; gap: 4px; align-items: center; text-align: center; }
  .stat--wide { grid-column: 1 / -1; }
  .stat__num { font-size: 32px; }
}

/* =========================================================
   ADVENTURES (template "articles": heading row, big media card, list)
   ========================================================= */
.adventures { background: var(--bg-2); }
.adventures__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.adventures__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.adv-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.adv-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-video__cover { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(10, 13, 25, 0) 40%, rgba(10, 13, 25, .75)); cursor: pointer; transition: opacity .4s; }
.adv-video.playing .adv-video__cover { opacity: 0; pointer-events: none; }
.adv-video__play { width: 84px; height: 84px; border-radius: 50%; background: var(--mint); color: var(--ink-on-light); display: grid; place-items: center; box-shadow: 0 20px 40px -12px rgba(127, 245, 214, .7); transition: transform .35s var(--ease); }
.adv-video__cover:hover .adv-video__play { transform: scale(1.08); }
.adv-video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.adv-video__meta { position: absolute; left: 28px; right: 28px; bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; pointer-events: none; }
.adv-video__meta h3 { font-size: 28px; }
.adv-video__meta small { display: block; color: var(--ink-dim); font-size: 14px; margin-top: 4px; }
.adv-video__len { flex: 0 0 auto; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 50px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.adv-side { background: var(--card-cream); color: var(--ink-on-light); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.adv-side > p { color: var(--muted-on-light); font-size: 15px; margin-bottom: 18px; }
.chapters { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.chapter { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; border: 1px solid rgba(15, 18, 37, .08); background: #fff; text-align: left; transition: transform .3s var(--ease), border-color .2s; }
.chapter:hover { transform: translateX(4px); border-color: rgba(15, 18, 37, .25); }
.chapter.active { border-color: var(--mint-deep); box-shadow: 0 0 0 3px rgba(47, 201, 164, .18); }
.chapter img { width: 72px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.chapter b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.chapter small { color: var(--muted-on-light); font-size: 13px; }
.chapter time { font-family: ui-monospace, monospace; font-size: 12px; color: var(--muted-on-light); padding-right: 6px; }
.adventures__more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.adventures__more:empty { display: none; }
.adv-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); cursor: pointer; transition: transform .35s var(--ease); }
.adv-card:hover { transform: translateY(-4px); }
.adv-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.adv-card div { padding: 18px 20px 20px; }
.adv-card b { font-family: var(--font-display); font-weight: 600; font-size: 20px; display: block; }
.adv-card small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) {
  .adventures__head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .adventures__grid { grid-template-columns: 1fr; }
  .adv-video__meta { left: 16px; right: 16px; bottom: 14px; }
  .adv-video__meta h3 { font-size: 20px; }
  .adv-video__play { width: 64px; height: 64px; }
  .adv-side { padding: 20px; }
  .adventures__more { grid-template-columns: 1fr; }
}


/* =========================================================
   HOW IT WORKS (3 cards in one row + flow line)
   ========================================================= */
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-card { position: relative; border-radius: var(--radius); padding: 32px 32px 36px; min-height: 380px; display: flex; flex-direction: column; overflow: hidden; }
.how-card p { margin-top: 10px; font-size: 15px; opacity: .8; }
.how-card__num { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; opacity: .55; }
.how-card__art { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; margin: 12px 0 18px; }
.card--light { background: var(--card-cream); color: var(--ink-on-light); }
.card--mint { background: var(--card-mint); color: var(--ink-on-light); }
.card--dark { background: var(--bg-2); color: #fff; border: 1px solid var(--line); }
.tiles--stack { display: flex; }
.tiles--stack .tile { --d: 52px; margin-right: -14px; border: 3px solid var(--bg-2); }
.growth { display: flex; align-items: flex-end; gap: 10px; }
.growth i { width: calc(72px * var(--s)); height: calc(72px * var(--s)); border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 30%, #fff 0 8%, var(--mint) 28%, var(--mint-deep)); box-shadow: 0 10px 20px -10px rgba(47, 201, 164, .8); }
.split__bar { display: flex; height: 56px; width: 100%; border-radius: 50px; overflow: hidden; background: rgba(15, 18, 37, .08); }
.split__bar i { display: flex; align-items: center; padding: 0 18px; font-style: normal; font-weight: 700; font-size: 14px; white-space: nowrap; }
.split__belly { width: 70%; background: linear-gradient(90deg, var(--mint-deep), var(--mint)); color: var(--ink-on-light); }
.split__holders { width: 30%; background: var(--lav); color: var(--ink-on-light); justify-content: center; }
.how__flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; color: var(--muted); font-size: 14px; font-weight: 600; }
.how__flow span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 50px; color: var(--ink-dim); }
.how__flow i { width: 28px; height: 1px; background: var(--line); position: relative; }
.how__flow i::after { content: ""; position: absolute; right: -1px; top: -3px; width: 6px; height: 6px; border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 16px; }
  .how-card { min-height: 0; padding: 24px; }
  .how-card__art { min-height: 90px; margin: 8px 0 12px; }
  .how__flow i { display: none; }
}

/* =========================================================
   EVOLUTIONS ROW + BELLY PILLS
   ========================================================= */
.evos { background: var(--bg-2); }
.evos__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; }
.evo { text-align: center; }
.evo__img { position: relative; aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(circle at 50% 70%, rgba(127, 245, 214, .2), rgba(255, 255, 255, .03) 65%); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.evo__img img { width: calc(36% + 56% * var(--s)); filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .45)); }
.evo__name { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.evo__th { color: var(--muted); font-size: 13px; margin-top: 2px; }
.evo--current .evo__img { border-color: rgba(127, 245, 214, .7); box-shadow: 0 0 0 4px rgba(127, 245, 214, .12), 0 30px 60px -30px rgba(127, 245, 214, .6); }
.evo--current .tag { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--mint); color: var(--ink-on-light); padding: 3px 8px; border-radius: 50px; }
.evo--locked { opacity: .55; }
.evo--locked .evo__img img { filter: grayscale(.85) brightness(.6); }
.evo--locked .evo__img::after { content: "🔒"; position: absolute; right: 10px; top: 8px; font-size: 14px; }
.evo--done .evo__th::before { content: "✓ "; color: var(--mint); }
.belly { margin-top: 48px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.belly__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.belly__total { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--mint); }
.belly__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.belly-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 50px; background: var(--bg-3); border: 1px solid var(--line); font-size: 14px; }
.belly-pill .tile { --d: 34px; }
.belly-pill b { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.belly-pill small { color: var(--muted); font-size: 12px; }
.belly__empty { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .evos__row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .evos__row .evo:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .evo__name { font-size: 18px; }
  .belly { padding: 18px; }
}

/* =========================================================
   FEED HIM (address card + meal list + board + CTA)
   ========================================================= */
.feed__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.feed-card { background: var(--card-light); color: var(--ink-on-light); border-radius: var(--radius); padding: 32px; }
.feed-card .eyebrow { color: var(--mint-deep); margin-bottom: 12px; }
.addr { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; background: #fff; border: 1px solid rgba(15, 18, 37, .12); border-radius: 50px; padding: 12px 8px 12px 18px; text-align: left; transition: border-color .2s, transform .3s var(--ease); }
.addr:hover { border-color: rgba(15, 18, 37, .35); transform: translateY(-1px); }
.addr code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-on-light); }
.addr__copy { flex: 0 0 auto; background: var(--ink-on-light); color: #fff; border-radius: 50px; padding: 8px 14px; font-size: 12px; font-weight: 700; }
.addr.copied .addr__copy { background: var(--mint-deep); }
.addr--dark { background: rgba(255, 255, 255, .06); border-color: var(--line); }
.addr--dark code { color: var(--ink); }
.addr--dark .addr__copy { background: var(--mint); color: var(--ink-on-light); }
.feed-card__board { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(15, 18, 37, .1); }
.feed-card__board .h6 { margin-bottom: 12px; }
.board { display: flex; flex-direction: column; gap: 8px; }
.board li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(15, 18, 37, .08); }
.board li:first-child { border-color: var(--mint-deep); }
.board__rank { width: 26px; height: 26px; border-radius: 50%; background: var(--card-cream); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 12px; }
.board li:first-child .board__rank { background: var(--mint); }
.board__addr { font-family: ui-monospace, monospace; font-size: 13px; }
.board__addr small { display: block; font-family: var(--font-body); color: var(--muted-on-light); font-size: 12px; }
.board__usd { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.board__empty { color: var(--muted-on-light); font-size: 14px; }
.meals { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); padding: 28px 32px; }
.meals__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.meals__count { color: var(--muted); font-size: 13px; }
.meal-list { display: flex; flex-direction: column; }
.meal-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.meal-row:first-child { border-top: 0; }
.meal-row .tile { --d: 40px; }
.meal-row__main { font-size: 15px; }
.meal-row__main b { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.meal-row__main small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.meal-row__side { text-align: right; font-size: 13px; color: var(--muted); }
.meal-row__side b { display: block; color: var(--ink); font-weight: 700; font-family: ui-monospace, monospace; font-size: 13px; }
.meal-row__side a { color: var(--mint); }
.meal-row.new { animation: pop .6s var(--ease); }
@keyframes pop { 0% { background: rgba(127, 245, 214, .18); } 100% { background: transparent; } }
.meal-list__empty { color: var(--muted); padding: 12px 0; }
.feed__cta { text-align: center; margin-top: 96px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
@media (max-width: 900px) {
  .feed__grid { grid-template-columns: 1fr; }
  .feed-card, .meals { padding: 22px; }
  .feed__cta { margin-top: 64px; }
}

/* =========================================================
   FOOTER (template: logo + newsletter row, 4 link columns, bottom line)
   ========================================================= */
.footer { background: #070913; padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--muted); margin-top: 14px; font-size: 15px; }
.footer__wallet { max-width: 520px; justify-self: end; width: 100%; }
.footer__small { color: var(--muted); font-size: 13px; margin-top: 12px; }
.footer__small code { color: var(--mint); }
.footer__links { display: flex; gap: 20px; margin-top: 16px; }
.footer__links a { color: var(--ink-dim); font-size: 14px; font-weight: 600; }
.footer__links a:hover { color: #fff; }
.footer__bottom { padding-top: 32px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.footer__bottom p:first-child { max-width: 720px; }
@media (max-width: 900px) {
  .footer { padding-top: 56px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__wallet { justify-self: start; }
}
