/* =========================================================
   LEVERCAT — styles
   Palette sampled from the cat photo: terminal navy, candle
   green + red, lamp amber, fur cream, pink nose.
   ========================================================= */

:root {
  --ink: #0a0e1a;
  --ink-2: #10162a;
  --ink-3: #182038;
  --line: rgba(246, 233, 214, 0.12);
  --cream: #f6e9d6;
  --cream-dim: #b8ac9a;
  --green: #19d67c;
  --green-deep: #0b9a56;
  --red: #ff3b5c;
  --amber: #ffb347;
  --amber-deep: #d97a1c;
  --pink: #f28aa0;
  --steel: #8e96a6;
  --steel-dark: #3a4150;

  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 10px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: #7cf0b6; }
b, strong { font-weight: 700; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--amber); color: var(--ink); padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

.h2 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: .5em;
}
.intro { font-size: 1.2rem; color: var(--cream-dim); max-width: 42ch; margin-bottom: 2.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem;
  border-radius: 8px;
  border: 2px solid transparent;
  font-weight: 700; text-decoration: none; line-height: 1.1;
  transition: transform .15s var(--ease-spring), background .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--buy {
  background: var(--green); color: var(--ink);
  box-shadow: 0 0 0 0 rgba(25, 214, 124, .5);
}
.btn--buy:hover { background: #3ee493; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(25, 214, 124, .7); }
.btn--ghost { border-color: var(--line); color: var(--cream); background: rgba(246, 233, 214, .04); }
.btn--ghost:hover { border-color: var(--cream-dim); color: var(--cream); }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.1rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem var(--gutter);
  background: rgba(10, 14, 26, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display); font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
}
.nav__mark { width: 28px; height: 28px; fill: var(--amber); stroke: var(--amber); }
.nav__links { display: flex; gap: 1.25rem; margin-inline: auto; }
.nav__links a { color: var(--cream-dim); text-decoration: none; font-weight: 500; }
.nav__links a:hover { color: var(--cream); }
.nav__tools { display: flex; align-items: center; gap: .75rem; }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; row-gap: .35rem; }
  .nav__links { order: 3; width: 100%; overflow-x: auto; gap: 1.1rem; margin: 0; padding-bottom: .15rem; scrollbar-width: none; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { white-space: nowrap; font-size: .95rem; }
}

/* ---------- ticker tape ---------- */
.tape {
  overflow: hidden;
  background: var(--green); color: var(--ink);
  font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .04em;
  border-block: 3px solid var(--ink);
}
.tape__track {
  display: flex; gap: 1.25rem; width: max-content; padding: .45rem 0;
  animation: tape 46s linear infinite;
}
.tape__track span { white-space: nowrap; }
.tape__track i { font-style: normal; opacity: .55; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; pointer-events: none; }
.hero::before {
  /* lamp glow, like the warm blur in the photo */
  content: ""; position: absolute; z-index: -2;
  right: -5%; top: -25%; width: 55vw; height: 55vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, rgba(255, 179, 71, .2), rgba(255, 179, 71, 0));
}
.hero__inner {
  width: min(var(--wrap), 100%); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.powered { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin: 0 0 1.4rem; }
.powered__item {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem .35rem .45rem; border-radius: 999px;
  background: rgba(246, 233, 214, .06); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; color: var(--cream);
}
.powered__item img { display: block; }
.hero__title {
  font-family: var(--display);
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .002em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
  max-width: 11ch;
}
.hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 44ch; color: var(--cream); margin-bottom: 1.5rem; }
.hero__lede b { color: var(--green); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.1rem; }
.hero__fine { color: var(--cream-dim); font-size: .88rem; max-width: 46ch; margin: 0; }
.hero__fine a { color: var(--amber); }

/* the cat, pinned up like a polaroid */
.hero__cat {
  position: relative; margin: 0; justify-self: center;
  width: min(100%, 500px);
  padding: 12px 12px 58px;
  background: var(--cream); color: var(--ink);
  rotate: 2.5deg;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 0, 0, .3);
  animation: float 7s ease-in-out infinite;
}
.hero__cat > img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.hero__cat figcaption {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-family: var(--display); text-transform: uppercase; font-size: 1.3rem; letter-spacing: .04em; line-height: 1;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1rem, 1.6vw, 1.3rem); line-height: 1;
  padding: .55em .9em; border-radius: 999px; border: 3px solid var(--ink);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .9);
  white-space: nowrap;
}
.sticker--fee { right: -26px; top: -20px; rotate: 10deg; background: var(--green); color: var(--ink); }
.sticker--xsol { left: -26px; bottom: 74px; rotate: -7deg; background: var(--amber); color: var(--ink); }
.sticker img { display: block; width: 26px; height: 26px; border-radius: 50%; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
  .hero__cat { width: min(100%, 420px); margin-top: 1.5rem; }
  .sticker--fee { right: -8px; }
  .sticker--xsol { left: -8px; }
}

/* ---------- section rhythm ---------- */
.meet, .how, .xsol, .tok, .calc, .memes, .road, .join, .faq { padding-block: var(--section); }
.meet { background: var(--ink-2); border-top: 1px solid var(--line); }
.tok { background: var(--ink-2); }
.calc { background: var(--ink-2); }
.road { background: var(--ink-2); }
.join { padding-block: clamp(3rem, 6vw, 5rem); background: var(--ink); border-top: 1px solid var(--line); }

/* ---------- how it works ---------- */
.flow { margin: 0 0 2rem; }
.flow__svg { width: 100%; height: auto; display: block; }
.flow__pipe { fill: none; stroke: var(--ink-3); stroke-width: 12; stroke-linecap: round; }
.flow__station circle, .flow__station rect { fill: var(--ink-3); stroke: rgba(246, 233, 214, .16); stroke-width: 2; }
.flow__station--tax rect { fill: var(--amber); stroke: var(--amber-deep); }
.flow__emoji { font-size: 46px; text-anchor: middle; }
.flow__emoji--sm { font-size: 28px; }
.flow__pct { font-family: var(--display); font-size: 54px; fill: var(--ink); text-anchor: middle; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step__n {
  display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--cream); color: var(--ink); font-family: var(--display); font-size: 1.25rem;
  margin-bottom: .8rem;
}
.step h3 { font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; line-height: 1.05; margin-bottom: .5rem; }
.step p { color: var(--cream-dim); margin: 0; }
.note {
  margin-top: 3rem; padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--amber); background: rgba(255, 179, 71, .06);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 76ch;
}
.note p:last-child { margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .flow__emoji { font-size: 60px; } .flow__pct { font-size: 64px; }
}

/* ---------- xSOL ---------- */
.xsol__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-bottom: 3.5rem; }
.xsol__copy p { max-width: 58ch; }
.xsol__copy b { color: var(--green); }
.links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .4rem; }

.dial {
  position: sticky; top: 5.5rem;
  padding: 1.5rem; border-radius: 16px;
  background: linear-gradient(180deg, #182038, #10162a);
  border: 1px solid rgba(246, 233, 214, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dial__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.dial__sol { font-family: var(--display); font-size: 2rem; font-variant-numeric: tabular-nums; }
.dial__range, .field input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0 28.5%, var(--ink) 28.5% 29.5%, var(--green) 29.5%);
  outline-offset: 6px; margin: .4rem 0;
}
.field input[type="range"] { background: linear-gradient(90deg, var(--amber), var(--green)); }
.dial__range::-webkit-slider-thumb, .field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c9d0dc, #4a5262); border: 3px solid var(--ink);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5); cursor: grab;
}
.dial__range::-moz-range-thumb, .field input[type="range"]::-moz-range-thumb {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c9d0dc, #4a5262); border: 3px solid var(--ink);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .5); cursor: grab;
}
.dial__ticks { display: flex; justify-content: space-between; font-size: .8rem; color: var(--cream-dim); margin-bottom: 1.25rem; }
.dial__result { display: flex; flex-direction: column; margin-bottom: .75rem; }
.dial__result span { color: var(--cream-dim); }
.dial__result b {
  font-family: var(--display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--green); transition: color .2s;
}
.dial__result b.is-down { color: var(--red); }
.dial__note { font-weight: 700; min-height: 2.6em; margin-bottom: .5rem; }
.dial__fine { font-size: .85rem; color: var(--cream-dim); margin: 0; }
@media (max-width: 860px) { .xsol__grid { grid-template-columns: 1fr; } .dial { position: static; } }

.vs { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .98rem; }
.vs__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.vs__row > span { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.vs__row:last-child > span { border-bottom: 0; }
.vs__row > span:first-child { color: var(--cream-dim); background: rgba(246, 233, 214, .03); }
.vs__row--head > span { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; background: var(--ink-3); }
.vs__row--head > span:nth-child(3) { color: var(--green); }
.vs .bad { color: var(--red); }
.vs .good { color: var(--green); }
@media (max-width: 640px) {
  .vs { font-size: .9rem; }
  .vs__row { grid-template-columns: 1fr 1fr 1fr; }
  .vs__row > span { padding: .7rem .6rem; }
}

/* ---------- tokenomics nameplate ---------- */
.plate {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3.5rem);
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 2px, rgba(0, 0, 0, 0) 2px 6px),
    linear-gradient(160deg, #6f778a 0%, #4b5364 45%, #2f3543 100%);
  color: var(--cream);
  border: 2px solid #23283a;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .28), inset 0 -3px 0 rgba(0, 0, 0, .45), 0 30px 60px -30px rgba(0, 0, 0, .9);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .55);
}
.plate__rivet {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d5dbe6, #5d6576 60%, #2a2f3a);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .7), inset 0 -1px 1px rgba(0, 0, 0, .5);
}
.plate__rivet--tl { top: 12px; left: 12px; } .plate__rivet--tr { top: 12px; right: 12px; }
.plate__rivet--bl { bottom: 12px; left: 12px; } .plate__rivet--br { bottom: 12px; right: 12px; }
.plate__head {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 2px solid rgba(0, 0, 0, .35); box-shadow: 0 1px 0 rgba(255, 255, 255, .12);
  padding-bottom: .75rem; margin-bottom: 1.5rem;
}
.plate__model { font-size: 1.6rem; }
.plate__serial { font-size: 1rem; color: #d8dde8; align-self: end; }
.plate__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; margin: 0; }
.plate__grid div { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .6rem 0; border-bottom: 1px dashed rgba(0, 0, 0, .35); }
.plate__grid dt { color: #cfd5e1; font-size: .85rem; }
.plate__grid dd { margin: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; letter-spacing: .02em; }
.ca { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.ca code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1rem; word-break: break-all; letter-spacing: 0; }
.copy {
  background: var(--ink); color: var(--cream); border: 0; border-radius: 6px; padding: .3rem .7rem; font-size: .8rem; font-weight: 700;
}
.plate__foot { margin: 1.5rem 0 0; font-size: .92rem; color: #dfe4ee; max-width: 70ch; }
@media (max-width: 640px) { .plate__grid { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.field { display: block; margin-bottom: 1.5rem; }
.field__label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; margin-bottom: .5rem; }
.field__label output { font-family: var(--display); font-size: 1.3rem; letter-spacing: .02em; }
.field__num, .field__text {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1.25rem; font-weight: 700;
  color: var(--cream); background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.field__text { font-size: 1rem; font-weight: 500; }
.calc__out {
  padding: 1.5rem; border-radius: 16px;
  background: linear-gradient(180deg, #182038, #10162a);
  border: 1px solid rgba(246, 233, 214, .14);
}
.calc__big { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: .75rem; }
.calc__big span { color: var(--cream-dim); }
.calc__big b { font-family: var(--display); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.calc__row { display: flex; justify-content: space-between; padding: .4rem 0; color: var(--cream-dim); }
.calc__row b { color: var(--cream); font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.calc__fine { margin-top: 1.5rem; font-size: .9rem; color: var(--cream-dim); max-width: 70ch; }
@media (max-width: 760px) { .calc__grid { grid-template-columns: 1fr; } }

/* ---------- memes ---------- */
.meme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); margin-bottom: 4rem; }
.meme {
  position: relative; margin: 0; padding: 8px 8px 30px;
  background: var(--cream); border-radius: 4px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.meme:hover, .meme:focus-within { transform: rotate(0) scale(1.04); z-index: 2; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 1); }
.meme__img { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; border-radius: 2px; }
.meme__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center);
  transform: var(--flip, none) scale(var(--zoom, 1)); transform-origin: var(--pos, center);
  transition: filter .3s;
}
.meme--fried .meme__img img { filter: contrast(2.4) saturate(3.2) brightness(1.15) hue-rotate(-8deg); }
.meme--fried .meme__img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 30% 30%, rgba(255, 60, 0, .08) 0 2px, transparent 2px 5px);
  mix-blend-mode: overlay;
}
.cap {
  position: absolute; left: 0; right: 0; padding: .4rem .5rem; text-align: center;
  font-family: var(--display); text-transform: uppercase; color: #fff;
  font-size: clamp(.95rem, 1.35vw, 1.25rem); line-height: 1.02; letter-spacing: .02em;
  -webkit-text-stroke: 1px #000;
  text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 0 3px 4px rgba(0, 0, 0, .7);
}
.cap--top { top: 0; } .cap--bot { bottom: 0; }
.fry {
  position: absolute; left: 8px; right: 8px; bottom: 6px; height: 20px;
  border: 0; background: none; color: var(--amber-deep);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
  text-align: right; padding: 0;
}
.fry:hover { color: var(--red); }
.meme--fried .fry::after { content: " (cooked)"; letter-spacing: 0; text-transform: none; }
@media (max-width: 1100px) { .meme-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .meme-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .meme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .meme-grid { grid-template-columns: 1fr; } }

.maker {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  padding: clamp(1.25rem, 3vw, 2rem); border-radius: 16px;
  background: var(--ink-2); border: 1px solid var(--line);
}
.maker h3 { font-family: var(--display); text-transform: uppercase; font-size: 2rem; line-height: 1; margin-bottom: 1rem; }
.maker__pick { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.pick { width: 62px; height: 62px; padding: 0; border-radius: 10px; overflow: hidden; border: 3px solid transparent; background: none; opacity: .75; transition: opacity .15s, transform .15s var(--ease-spring); }
.pick:hover { opacity: 1; transform: scale(1.06); }
.pick img { width: 100%; height: 100%; object-fit: cover; }
.pick.is-active { border-color: var(--green); opacity: 1; }
.check { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--green); }
.maker__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.maker__preview { background: var(--cream); padding: 8px; border-radius: 4px; }
.maker__preview canvas { width: 100%; height: auto; display: block; border-radius: 2px; }
@media (max-width: 800px) { .maker { grid-template-columns: 1fr; } }

/* ---------- roadmap notches ---------- */
.notches { list-style: none; margin: 0; padding: 0; position: relative; max-width: 720px; }
.notches::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px;
  background: linear-gradient(180deg, #b8bfcc, #4a5262 60%, #2a2f3a);
}
.notch { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 1.25rem; align-items: start; padding: 1rem 0 1.75rem; }
.notch__mark {
  display: grid; place-items: center; width: 60px; height: 40px; border-radius: 8px;
  background: linear-gradient(160deg, #6f778a, #3a4150); color: var(--cream);
  font-family: var(--display); font-size: 1.25rem; letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 4px 10px rgba(0, 0, 0, .5);
}
.notch.is-now .notch__mark { background: linear-gradient(160deg, #3ee493, #0b9a56); color: var(--ink); }
.notch.is-now .notch__mark::after { content: ""; }
.notch h3 { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; margin-bottom: .3rem; }
.notch p { margin: 0; color: var(--cream-dim); max-width: 52ch; }
.notch.is-now h3::after { content: " you are here"; font-family: var(--body); font-size: .8rem; text-transform: none; color: var(--green); letter-spacing: 0; margin-left: .5rem; }

/* ---------- faq ---------- */
.q { border-bottom: 1px solid var(--line); }
.q summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.15rem;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; translate: 0 -50%;
  font-family: var(--display); font-size: 1.6rem; color: var(--amber); transition: rotate .25s var(--ease-spring);
}
.q[open] summary::after { rotate: 45deg; }
.q p { margin: 0 0 1.25rem; color: var(--cream-dim); max-width: 68ch; }

/* ---------- disclaimer / warning label ---------- */
.warn { background: var(--cream); color: var(--ink); }
.warn__stripe {
  height: 26px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 24px, var(--ink) 24px 48px);
}
.warn .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.warn__label { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.warn__word {
  font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 9vw, 5.5rem); line-height: .9;
  color: var(--ink); background: var(--amber); padding: .05em .2em; border-radius: 6px;
}
.warn__sub { font-weight: 700; font-size: 1.1rem; }
.warn__body p { max-width: 72ch; color: #2a2f3a; }
.warn__body b { color: var(--ink); }
.warn a { color: var(--ink); }

/* ---------- footer ---------- */
.foot { padding: 3rem 0 4rem; border-top: 1px solid var(--line); }
.foot__inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.foot__brand { display: flex; flex-direction: column; }
.foot__name { font-family: var(--display); font-size: 1.6rem; }
.foot__tag { color: var(--cream-dim); }
.foot__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.foot__links a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot__links a:hover { border-color: var(--green); }
.foot__fine { grid-column: 1 / -1; color: var(--cream-dim); font-size: .85rem; margin: 0; }
@media (max-width: 640px) { .foot__inner { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape__track { animation: none; }
  .hero__cat { animation: none; }
  .led { animation: none; }
  .btn, .meme, .q summary::after { transition: none; }
  .flow__coins { display: none; }
  .hero__canvas { display: none; }
}

/* ---------- compact nav on phones ---------- */
@media (max-width: 520px) {
  .nav { gap: .6rem; padding: .6rem .75rem; }
  .nav__brand { font-size: 1.2rem; }
  .nav__mark { width: 22px; height: 22px; }
  .nav__tools { gap: .5rem; margin-left: auto; }
  .nav .btn--buy { padding: .6rem .85rem; font-size: .9rem; }
}

/* ---------- nav gauge (scroll progress) ---------- */
.nav__gauge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--green));
  transform-origin: left center; transform: scaleX(var(--p, 0));
}
.nav .btn--buy { animation: buy-pulse 3.2s ease-in-out infinite; }
@keyframes buy-pulse { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(25, 214, 124, 0); } 85% { box-shadow: 0 0 0 9px rgba(25, 214, 124, .16); } }

/* ---------- headings stamp in when they arrive ---------- */
.js .h2 { opacity: 0; transform: scale(1.12) rotate(-1.5deg); transform-origin: left bottom; transition: opacity .45s var(--ease-spring), transform .45s var(--ease-spring); }
.js .h2.in { opacity: 1; transform: none; }

/* ---------- ticker pauses under the cursor ---------- */
.tape:hover .tape__track { animation-play-state: paused; }

/* ---------- flow diagram extras ---------- */
.flow__label { font-family: var(--body); font-size: 15px; font-weight: 500; fill: var(--cream-dim); text-anchor: middle; }
.flow__flap { fill: var(--amber); }
.flow__clasp { fill: var(--ink); }

/* ---------- faq answers slide in ---------- */
.q[open] p { animation: faq-in .3s ease-out both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- roadmap polaroid ---------- */
.road__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; }
.polaroid {
  margin: 2rem 0 0; width: 100%; max-width: 340px; padding: 10px 10px 14px;
  background: var(--cream); color: var(--ink); rotate: 3deg; justify-self: end;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 1);
  transition: rotate .3s var(--ease-spring), scale .3s var(--ease-spring);
}
.polaroid:hover { rotate: 0deg; scale: 1.03; }
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.polaroid figcaption { font-family: var(--display); text-transform: uppercase; font-size: 1.1rem; margin-top: .6rem; text-align: center; letter-spacing: .03em; }
@media (max-width: 800px) { .road__grid { grid-template-columns: 1fr; } .polaroid { justify-self: start; rotate: -2deg; } }

/* ---------- floating back-to-lever button ---------- */
.fab {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .9);
  opacity: 0; translate: 0 20px; pointer-events: none;
  transition: opacity .25s, translate .25s var(--ease-spring), background .2s;
}
.fab.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.fab:hover { background: #ffc46b; }
.fab svg { width: 26px; height: 26px; fill: currentColor; stroke: currentColor; }

@media (prefers-reduced-motion: reduce) {
  .js .h2 { opacity: 1; transform: none; transition: none; }
  .nav .btn--buy { animation: none; }
  .q[open] p { animation: none; }
  .fab { transition: none; }
  .polaroid { transition: none; }
}

/* ---------- powered-by strip ---------- */
.powered { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1rem; }
.powered__item {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .7rem .35rem .45rem; border-radius: 999px;
  background: rgba(246, 233, 214, .06); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 500; color: var(--cream);
}
.powered__item img { display: block; }
.hero__fine { margin-top: .9rem; }

/* ---------- section heading with a token icon ---------- */
.h2--icon { display: flex; align-items: center; gap: .6rem; }
.h2--icon img { width: clamp(40px, 5vw, 56px); height: auto; flex: 0 0 auto; filter: drop-shadow(0 6px 14px rgba(173, 88, 254, .45)); }

/* ---------- live xSOL bar ---------- */
.live {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem 2rem;
  margin: 0 0 2.5rem; padding: .9rem 1.25rem;
  border-radius: 14px; border: 1px solid rgba(173, 88, 254, .35);
  background: linear-gradient(90deg, rgba(173, 88, 254, .14), rgba(173, 88, 254, .04));
}
.live__head { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.1rem; }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink-live 1.6s ease-in-out infinite; }
@keyframes blink-live { 50% { opacity: .35; } }
.live__grid { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; margin: 0; }
.live__grid div { display: flex; flex-direction: column; }
.live__grid dt { font-size: .75rem; color: var(--cream-dim); }
.live__grid dd { margin: 0; font-family: var(--display); font-size: 1.45rem; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.live__grid dd.is-up { color: var(--green); }
.live__grid dd.is-down { color: var(--red); }
.live__src { font-size: .78rem; color: var(--cream-dim); max-width: 22ch; text-align: right; }
@media (max-width: 760px) { .live { grid-template-columns: 1fr; } .live__src { text-align: left; max-width: none; } }

/* ---------- plate icons ---------- */
.dd--icon { display: flex; align-items: center; gap: .5rem; }
.dd--icon img { display: block; }

/* ---------- footer logos ---------- */
.foot__built { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--cream-dim); font-size: .9rem; }
.foot__logo { display: inline-flex; align-items: center; gap: .45rem; color: var(--cream); text-decoration: none; font-weight: 700; opacity: .9; }
.foot__logo:hover { opacity: 1; }
.foot__logo img { display: block; height: 20px; width: auto; }
.foot__na { margin-left: auto; font-size: .8rem; }
@media (max-width: 640px) { .foot__na { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .live__dot { animation: none; } }

/* ---------- keep pre-reveal transforms from widening the page ---------- */
main > section { overflow-x: clip; }
.js .h2 { transform: scale(1.08) rotate(-1deg); }

/* ---------- flow diagram scrolls sideways on phones instead of shrinking ---------- */
@media (max-width: 700px) {
  .flow { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .5rem; }
  .flow__svg { min-width: 640px; }
}

/* ---------- how to buy: the green band ---------- */
.buy { padding-block: var(--section); background: var(--green); color: var(--ink); }
.buy .h2, .buy .intro { color: var(--ink); }
.buy .intro { opacity: .8; }
.buy__steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.buy .step__n { background: var(--ink); color: var(--green); }
.buy .step h3 { color: var(--ink); }
.buy .step p { color: rgba(10, 14, 26, .8); }
.buy__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #1a2236; color: var(--cream); }
.btn--outline { border-color: rgba(10, 14, 26, .5); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: rgba(10, 14, 26, .06); }
.buy__fine { max-width: 70ch; font-size: .92rem; color: rgba(10, 14, 26, .8); margin: 0; }
.buy a:focus-visible { outline-color: var(--ink); }
@media (max-width: 960px) { .buy__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .buy__steps { grid-template-columns: 1fr; } }
.maker__hint { font-size: .82rem; color: var(--cream-dim); margin: .75rem 0 0; }

/* ---------- meet the cat ---------- */
.meet__grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: 2.5rem; }
.badge {
  position: relative; overflow: hidden;
  background: var(--cream); color: var(--ink); border-radius: 16px;
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 1);
  rotate: -1.5deg;
}
.badge__top { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #5c5548; margin-bottom: .9rem; }
.badge__photo { width: 160px; height: 160px; object-fit: cover; border-radius: 12px; border: 4px solid var(--ink); display: block; margin-bottom: 1rem; }
.badge__fields { margin: 0; display: grid; gap: .55rem; }
.badge__fields div { display: grid; grid-template-columns: 92px 1fr; gap: .5rem; align-items: baseline; border-bottom: 1px dashed rgba(10, 14, 26, .25); padding-bottom: .45rem; }
.badge__fields dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #5c5548; font-weight: 700; }
.badge__fields dd { margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.15; letter-spacing: .01em; }
.badge__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--ink) 14px 28px); }
.strip { list-style: none; margin: 0; padding: .5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.strip__pic { margin: 0; padding: 10px 10px 40px; background: var(--cream); color: var(--ink); rotate: var(--tilt, 0deg); position: relative; box-shadow: 0 25px 50px -25px rgba(0, 0, 0, 1); transition: rotate .3s var(--ease-spring), scale .3s var(--ease-spring); }
.strip__pic:hover { rotate: 0deg; scale: 1.04; z-index: 2; }
.strip__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.strip__pic span { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.lore { max-width: 72ch; }
.lore p { color: var(--cream-dim); font-size: 1.08rem; }
.lore p:last-child { margin: 0; }
@media (max-width: 900px) { .meet__grid { grid-template-columns: 1fr; } .badge { max-width: 420px; } }

/* ---------- join the desk ---------- */
.join__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.join .h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .25em; }
.join .intro { margin-bottom: 0; }
.join__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
