/* ============================================================
   Habibi — styles.css
   Golden hour. Sand and cream backgrounds, sunset orange and
   gold accents, warm oil-black for the live panel and footer.
   Every color was picked from the mascot and the meme set.
   Cards are stickers: thick outline, hard offset shadow.
   ============================================================ */

:root {
  --sand: #fbf1e2;
  --sand-2: #f5e3c8;
  --sand-3: #e6cfae;
  --cream: #fffaf2;
  --oil: #160f0b;
  --oil-2: #221813;
  --oil-3: #2d2019;
  --sun: #f28b2e;
  --sun-2: #ffa94d;
  --sun-soft: rgba(242, 139, 46, 0.16);
  --gold: #e6a63a;
  --gold-2: #f8cf72;
  --gold-soft: rgba(230, 166, 58, 0.18);
  --ink: #1d130d;
  --ink-2: #5c4634;
  --ink-3: #8c7361;
  --on-oil: #fff6e6;
  --on-oil-2: #d9c4a8;
  --on-oil-3: #a08b74;
  --line-oil: rgba(255, 230, 190, 0.13);
  --line-oil-2: rgba(255, 230, 190, 0.24);
  --danger: #d64b3c;

  --font-display: "Lilita One", "Arial Rounded MT Bold", "Arial Black", Impact, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --stroke: 2px;
  --topbar-h: 64px;
  --wrap: 1140px;
  --pad: clamp(16px, 4vw, 32px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--topbar-h);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
code { font-family: var(--font-mono); }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.ico, .step__icon, .buystep__icon, .empty__icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hide-xs { display: inline; }
@media (max-width: 479px) { .hide-xs { display: none; } }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--oil); color: var(--on-oil); padding: 8px 14px; border-radius: 8px; font-weight: 800;
}
.skip:focus { top: 8px; }

/* ---------- Type ---------- */
h1, h2, h3, .card__big, .stat__value, .marquee, .step__num, .buystep__num, .stop__marker, .hero__hook, .hero__ticker { font-family: var(--font-display); font-weight: 400; }
h2 {
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: 0.01em; }
.accent { color: var(--sun); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.section__sub { color: var(--ink-2); margin-top: 14px; max-width: 58ch; font-size: 1.02rem; }
.fineprint { color: var(--ink-3); font-size: 0.86rem; margin-top: 22px; max-width: 70ch; }

/* ---------- Buttons & chips (sticker style) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em; white-space: nowrap;
  border: var(--stroke) solid var(--oil);
  box-shadow: 4px 4px 0 var(--oil);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  will-change: transform;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--oil); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--oil); }
.btn--sun { background: var(--sun); color: var(--oil); }
.btn--sun:hover { background: var(--sun-2); }
.btn--ghost { background: var(--cream); color: var(--ink); }
.btn--ghost:hover { background: #fff; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--oil); }
.btn.is-disabled, .btn[aria-disabled="true"] {
  background: var(--sand-2); color: var(--ink-3); border-style: dashed; border-color: var(--ink-3);
  cursor: not-allowed; pointer-events: none; box-shadow: none; transform: none;
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 0 12px;
  border: var(--stroke) solid var(--oil); border-radius: 999px; background: var(--cream);
  font-size: 0.85rem; font-weight: 800; color: var(--ink);
  box-shadow: 2px 2px 0 var(--oil);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--oil); background: #fff; }
.chip--dark { background: var(--oil-3); color: var(--on-oil); border-color: var(--line-oil-2); box-shadow: none; }
.chip--dark:hover { background: var(--oil-2); border-color: var(--gold); box-shadow: none; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar-h);
  background: rgba(251, 241, 226, 0.84);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: var(--stroke) solid var(--oil);
}
.topbar__inner {
  height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.02em; white-space: nowrap; flex: none; }
.topbar .btn { flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: var(--stroke) solid var(--oil); }
.topbar .brand__name { display: none; }
.topnav { display: none; gap: 2px; margin-left: 6px; }
.topnav a { padding: 8px 10px; border-radius: 999px; font-size: 0.9rem; font-weight: 800; color: var(--ink-2); }
.topnav a:hover { color: var(--ink); background: var(--sun-soft); }
@media (min-width: 640px) { .topbar .brand__name { display: inline; } }
@media (min-width: 1024px) { .topnav { display: flex; } }

/* Contract address blocks */
.ca { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-2); }
.ca__tag {
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--oil); background: var(--gold-2); padding: 3px 7px; border-radius: 6px; flex: none;
}
.ca__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1 1 auto; text-align: left; }
.ca--bar {
  flex: 1 1 auto; min-width: 0; margin-left: auto;
  height: 38px; padding: 0 10px 0 6px;
  border: var(--stroke) solid var(--oil); border-radius: 999px; background: var(--cream);
  transition: background 0.15s ease;
}
.ca--bar:hover { background: #fff; }
.ca--bar .ico { width: 1em; height: 1em; color: var(--ink-3); }
.ca--bar:disabled { cursor: default; border-style: dashed; border-color: var(--ink-3); background: transparent; }
.ca--bar.is-copied { color: var(--sun); }
@media (min-width: 1024px) { .ca--bar { flex: 0 1 380px; } }

.ca--hero {
  flex-wrap: wrap;
  margin-top: 26px; padding: 12px 14px;
  border: var(--stroke) dashed var(--ink-3); border-radius: 16px; background: rgba(255, 250, 242, 0.55);
  max-width: 100%;
}
.ca--hero .ca__text { white-space: normal; word-break: break-all; text-align: left; font-size: 0.85rem; color: var(--ink); flex: 0 1 auto; }
.ca__copy, .ca__explorer {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 800;
  color: var(--ink); padding: 6px 10px; border-radius: 8px; border: var(--stroke) solid var(--oil); background: var(--cream);
  transition: background 0.15s ease;
}
.ca__copy:hover, .ca__explorer:hover { background: var(--gold-2); }
.ca__copy:disabled { opacity: 0.45; cursor: not-allowed; }
.ca__copy:disabled:hover { background: var(--cream); }
.ca__copy.is-copied { background: var(--gold-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(20px, 4vw, 56px) 0 0;
  background:
    radial-gradient(60% 40% at 50% 100%, rgba(242, 139, 46, 0.55), transparent 70%),
    linear-gradient(180deg, var(--sand) 0%, #fde6c6 55%, #f9bf7c 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(18px, 4vw, 40px);
  padding-bottom: clamp(96px, 14vw, 150px);
  text-align: center;
}
.hero__figure { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__sun {
  position: absolute; z-index: 0; left: 50%; top: 36%;
  width: min(92vw, 470px); aspect-ratio: 1; transform: translate(-50%, -38%);
  border-radius: 50%;
  background: radial-gradient(circle, #ffe3a1 0%, #ffc466 38%, rgba(255, 178, 87, 0) 70%);
  animation: sun 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sun { from { transform: translate(-50%, -38%) scale(0.96); } to { transform: translate(-50%, -38%) scale(1.04); } }
.hero__mascot {
  position: relative; z-index: 1;
  width: min(62vw, 300px); height: auto;
  filter: drop-shadow(0 18px 22px rgba(60, 30, 10, 0.28));
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.5deg); } 50% { transform: translateY(-8px) rotate(0.6deg); } }

/* Speech bubble */
.bubble {
  position: relative; z-index: 2;
  background: var(--cream); color: var(--ink);
  border: var(--stroke) solid var(--oil); box-shadow: 4px 4px 0 var(--oil);
  font-weight: 700; font-size: 1rem; line-height: 1.3;
  padding: 10px 16px; border-radius: 18px;
  max-width: 280px; text-align: center;
  margin-bottom: 14px;
  transform: rotate(-2deg);
}
.bubble strong { color: var(--sun); font-weight: 800; }
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 16px; height: 16px;
  background: var(--cream); border-right: var(--stroke) solid var(--oil); border-bottom: var(--stroke) solid var(--oil);
  transform: translateX(-50%) rotate(45deg);
}

.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__ticker {
  display: inline-block;
  background: var(--oil); color: var(--gold-2);
  font-size: clamp(0.82rem, 2.4vw, 1rem); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  transform: rotate(-1.5deg);
}
.hero__title {
  margin-top: 10px;
  font-size: clamp(4.4rem, 20vw, 10rem);
  line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--cream);
  -webkit-text-stroke: 0.03em var(--oil);
  paint-order: stroke fill;
  text-shadow: 0.06em 0.06em 0 var(--oil);
}
.hero__hook {
  margin-top: 16px;
  font-size: clamp(1.4rem, 4.6vw, 2.2rem); line-height: 1.1;
  color: var(--oil);
  text-shadow: 0.06em 0.06em 0 var(--sun);
}
.hero__lede { margin-top: 16px; font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: var(--ink-2); max-width: 40ch; text-wrap: balance; }
.hero__lede strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
@media (max-width: 420px) {
  .hero__cta { width: 100%; }
  .hero__cta .btn--sun { flex: 1 1 100%; }
  .hero__cta .btn--ghost { flex: 1 1 calc(50% - 6px); }
}

.stamps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.stamps li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em;
  background: var(--cream); border: var(--stroke) solid var(--oil); border-radius: 999px; padding: 5px 11px;
  box-shadow: 2px 2px 0 var(--oil);
}
.stamps li:nth-child(odd) { transform: rotate(-1.2deg); }
.stamps li:nth-child(even) { transform: rotate(1deg); }
.stamps .ico { color: var(--sun); }

/* Oil-field horizon */
.horizon { position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(70px, 11vw, 130px); pointer-events: none; }
.horizon::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--oil);
}
.pj { position: absolute; bottom: 8px; fill: var(--oil); }
.pj--1 { left: 3%; width: clamp(60px, 9vw, 110px); height: auto; aspect-ratio: 1.2; }
.pj--2 { left: 24%; width: clamp(40px, 6vw, 80px); aspect-ratio: 1.2; opacity: 0.85; }
.pj--3 { right: 20%; width: clamp(46px, 7vw, 90px); aspect-ratio: 1.2; opacity: 0.9; }
.pj--4 { right: 2%; width: clamp(72px, 11vw, 140px); aspect-ratio: 1.2; }
@media (max-width: 520px) { .pj--2, .pj--3 { display: none; } }

@media (min-width: 900px) {
  .hero { padding-top: clamp(24px, 4vw, 48px); }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; text-align: left; }
  .hero__figure { order: 2; }
  .hero__copy { order: 1; align-items: flex-start; }
  .hero__cta { justify-content: flex-start; }
  .stamps { justify-content: flex-start; }
  .hero__title { font-size: clamp(4.4rem, 11.6vw, 10rem); }
  .hero__mascot { width: min(34vw, 440px); }
  .hero__sun { width: min(46vw, 620px); top: 40%; }
  .bubble {
    position: absolute; z-index: 3; top: -2%; left: -10%; width: 230px; max-width: none; margin: 0;
    transform: rotate(-4deg); text-align: left; font-size: 1.02rem;
  }
  .bubble::after { left: auto; right: 22px; bottom: -10px; transform: rotate(45deg); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 112px) 0; position: relative; }
.section__head { margin-bottom: clamp(26px, 4vw, 44px); }

/* ---------- Live panel (oil) ---------- */
.live { background: var(--oil); color: var(--on-oil); padding-bottom: clamp(70px, 10vw, 120px); }
.live .eyebrow { color: var(--gold); }
.live .section__sub { color: var(--on-oil-2); }
.live .accent { color: var(--gold-2); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-oil-2); border-radius: 999px;
  font-size: 0.85rem; font-weight: 800; color: var(--on-oil);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-oil-3); display: inline-block; flex: none; }
.dot.is-live { background: var(--gold-2); animation: pulse 1.8s ease-out infinite; }
.dot.is-stale { background: var(--sun); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(248, 207, 114, 0.5); } 100% { box-shadow: 0 0 0 10px rgba(248, 207, 114, 0); } }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat {
  background: var(--oil-3); border: 1px solid var(--line-oil); border-radius: var(--radius);
  padding: 18px 16px; min-width: 0;
  transition: border-color 0.18s ease;
}
.stat:hover { border-color: var(--line-oil-2); }
.stat--wide {
  grid-column: 1 / -1; padding: 24px 20px;
  background: linear-gradient(140deg, #3a2716 0%, var(--oil-3) 60%);
  border-color: rgba(230, 166, 58, 0.45);
  box-shadow: inset 0 0 0 1px rgba(248, 207, 114, 0.08), 0 20px 60px -30px rgba(248, 207, 114, 0.35);
}
.stat__label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-oil-3); }
.stat__value {
  margin-top: 8px; font-size: clamp(1.45rem, 4.8vw, 2.1rem); line-height: 1.1; letter-spacing: 0.01em;
  overflow-wrap: anywhere; font-variant-numeric: tabular-nums; color: var(--on-oil);
}
.stat--wide .stat__value { font-size: clamp(2.1rem, 7.5vw, 3.8rem); }
.stat__value--gold { color: var(--gold-2); }
.stat__value--mono { font-variant-numeric: tabular-nums; }
.stat__note { margin-top: 8px; font-size: 0.8rem; color: var(--on-oil-3); }
.live__meta { margin-top: 14px; font-size: 0.8rem; color: var(--on-oil-3); }
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .stat--wide { grid-column: 1 / 3; grid-row: 1 / 4; display: flex; flex-direction: column; justify-content: center; }
}

.links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.links__label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-oil-3); margin-right: 6px; }

/* Oil dripping off the bottom edge of the panel */
.drips { position: absolute; left: 0; right: 0; top: 100%; height: 70px; pointer-events: none; z-index: 2; }
.drips span {
  position: absolute; top: 0; width: 22px; height: var(--h, 30px);
  background: var(--oil); border-radius: 0 0 11px 11px;
  transform-origin: top; animation: drip 5s ease-in-out infinite alternate;
}
.drips span:nth-child(1) { left: 5%;  --h: 34px; animation-delay: -0.4s; }
.drips span:nth-child(2) { left: 16%; --h: 18px; width: 16px; animation-delay: -1.3s; }
.drips span:nth-child(3) { left: 27%; --h: 48px; animation-delay: -2.1s; }
.drips span:nth-child(4) { left: 39%; --h: 24px; width: 18px; animation-delay: -0.9s; }
.drips span:nth-child(5) { left: 50%; --h: 58px; width: 26px; animation-delay: -3s; }
.drips span:nth-child(6) { left: 62%; --h: 20px; width: 16px; animation-delay: -1.7s; }
.drips span:nth-child(7) { left: 73%; --h: 40px; animation-delay: -2.6s; }
.drips span:nth-child(8) { left: 85%; --h: 26px; width: 18px; animation-delay: -0.2s; }
.drips span:nth-child(9) { left: 94%; --h: 44px; animation-delay: -3.5s; }
@keyframes drip { from { transform: scaleY(0.88); } to { transform: scaleY(1.12); } }

/* ---------- How it works ---------- */
.how { padding-top: clamp(90px, 13vw, 150px); }
.steps { display: grid; gap: 14px; }
.step {
  position: relative; background: var(--cream); border: var(--stroke) solid var(--oil); border-radius: var(--radius);
  box-shadow: 5px 6px 0 var(--oil);
  padding: 24px 20px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step:hover { transform: translate(-2px, -2px); box-shadow: 7px 8px 0 var(--oil); }
.step__num {
  position: absolute; top: -16px; left: 18px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--oil); border: var(--stroke) solid var(--oil);
  font-size: 1.15rem;
}
.step__icon { width: 38px; height: 38px; color: var(--sun); stroke-width: 1.8; margin: 4px 0 14px auto; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.97rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .step { padding: 30px 24px 26px; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--gold); color: var(--oil);
  font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 0;
  transform: rotate(-1.4deg) scale(1.03);
  border-top: 3px solid var(--oil); border-bottom: 3px solid var(--oil);
  margin: 0;
  position: relative; z-index: 1;
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { white-space: nowrap; padding-right: 0.5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tokenomics ---------- */
.tokenomics { background: var(--sand-2); }
.grid--tok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  background: var(--cream); border: var(--stroke) solid var(--oil); border-radius: var(--radius);
  box-shadow: 4px 5px 0 var(--oil);
  padding: 20px 16px; min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 7px 0 var(--oil); }
.card:nth-child(odd) { transform: rotate(-0.6deg); }
.card:nth-child(even) { transform: rotate(0.5deg); }
.card:nth-child(odd):hover { transform: rotate(-0.6deg) translate(-2px, -2px); }
.card:nth-child(even):hover { transform: rotate(0.5deg) translate(-2px, -2px); }
.card__big { font-size: clamp(1.5rem, 5vw, 2.3rem); line-height: 1.05; color: var(--sun); overflow-wrap: anywhere; text-shadow: 0.05em 0.05em 0 var(--oil); }
.card h3 { margin-top: 10px; font-size: 1.05rem; }
.card p:last-child { margin-top: 6px; color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 719px) { .grid--tok .card:first-child, .grid--tok .card:last-child { grid-column: 1 / -1; } }
@media (min-width: 720px) { .grid--tok { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .card { padding: 26px 22px; } }

/* ---------- How to buy ---------- */
.buysteps { display: grid; gap: 14px; }
.buystep { background: var(--cream); border: var(--stroke) solid var(--oil); border-radius: var(--radius); box-shadow: 4px 5px 0 var(--oil); padding: 22px 18px; }
.buystep__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.buystep__num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); color: var(--oil); border: var(--stroke) solid var(--oil); font-size: 1.1rem;
}
.buystep__icon { width: 26px; height: 26px; color: var(--sun); flex: none; }
.buystep p { color: var(--ink-2); font-size: 0.97rem; }
.buystep p strong { color: var(--ink); }
.buystep__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.netinfo { margin-top: 16px; border-top: 1px dashed var(--sand-3); }
.netinfo > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-bottom: 1px dashed var(--sand-3); }
.netinfo dt { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.netinfo dd { margin: 0; font-family: var(--font-mono); font-size: 0.85rem; color: var(--ink); overflow-wrap: anywhere; }
.copyval { display: inline-flex; align-items: center; gap: 6px; text-align: left; color: var(--ink); border-radius: 6px; }
.copyval .ico { color: var(--ink-3); width: 1em; height: 1em; }
.copyval:hover { color: var(--sun); }
.copyval.is-copied, .copyval.is-copied .ico { color: var(--sun); }
@media (min-width: 720px) {
  .buysteps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .buystep { padding: 26px 24px; }
  .buystep--wide { grid-column: 1 / -1; }
  .netinfo > div { grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline; }
}

/* ---------- Gallery (polaroids) ---------- */
.banner { margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; border: var(--stroke) solid var(--oil); box-shadow: 5px 6px 0 var(--oil); background: var(--oil); }
.banner img { width: 100%; height: auto; }
.album { columns: 2; column-gap: 12px; padding-top: 6px; }
.polaroid {
  display: block; width: 100%; margin: 0 0 14px; break-inside: avoid;
  background: #fff; border: var(--stroke) solid var(--oil); border-radius: 10px;
  padding: 7px 7px 9px; text-align: left;
  box-shadow: 4px 5px 0 var(--oil);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.polaroid:nth-child(4n+1) { transform: rotate(-1.4deg); }
.polaroid:nth-child(4n+2) { transform: rotate(1.1deg); }
.polaroid:nth-child(4n+3) { transform: rotate(0.6deg); }
.polaroid:nth-child(4n+4) { transform: rotate(-0.8deg); }
.polaroid:hover { transform: rotate(0deg) translate(-2px, -3px) scale(1.015); box-shadow: 7px 9px 0 var(--oil); z-index: 1; position: relative; }
.polaroid__img { width: 100%; height: auto; display: block; border-radius: 4px; background: var(--sand-2); opacity: 0; transition: opacity 0.4s ease; }
.polaroid__img.is-loaded { opacity: 1; }
.polaroid__caption { display: block; margin-top: 7px; font-size: 0.8rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.polaroid__caption:empty { display: none; }
@media (min-width: 640px) { .album { columns: 3; column-gap: 16px; } .polaroid { margin-bottom: 18px; padding: 9px 9px 11px; } .polaroid__caption { font-size: 0.86rem; } }
@media (min-width: 1024px) { .album { columns: 4; } }
.empty {
  text-align: center; padding: clamp(36px, 6vw, 64px) 20px;
  border: var(--stroke) dashed var(--ink-3); border-radius: var(--radius); color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.empty__icon { width: 44px; height: 44px; color: var(--sun); }
.empty strong { color: var(--ink); }

/* ---------- Roadmap ---------- */
.roadmap { background: var(--sand-2); }
.route { position: relative; display: grid; gap: 16px; }
.stop { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.stop__marker {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun); border: var(--stroke) solid var(--oil); color: var(--oil);
  font-size: 1.15rem; position: relative; z-index: 1; box-shadow: 2px 2px 0 var(--oil);
}
.stop:not(:last-child)::before {
  content: ""; position: absolute; left: 20px; top: 42px; bottom: -16px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--oil) 0 6px, transparent 6px 12px); opacity: 0.5;
}
.stop__body { background: var(--cream); border: var(--stroke) solid var(--oil); border-radius: var(--radius); box-shadow: 4px 5px 0 var(--oil); padding: 18px 18px; }
.stop__body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.stop__body p { color: var(--ink-2); font-size: 0.95rem; }
@media (min-width: 900px) {
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .stop { grid-template-columns: 1fr; gap: 12px; }
  .stop:not(:last-child)::before { left: 44px; right: -20px; top: 20px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--oil) 0 6px, transparent 6px 12px); }
  .stop__body { min-height: 150px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 3px solid var(--oil); background: var(--oil); color: var(--on-oil); padding: clamp(40px, 6vw, 64px) 0 max(24px, env(safe-area-inset-bottom)); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer .brand img { width: 44px; height: 44px; border-color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.92rem; color: var(--on-oil-2); padding: 6px 0; }
.footer__links a:hover { color: var(--gold-2); }
.footer__risk { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-oil); display: grid; gap: 10px; color: var(--on-oil-3); font-size: 0.86rem; max-width: 80ch; }
.footer__risk strong { color: var(--on-oil); }
.footer__copy { margin-top: 24px; font-size: 0.8rem; color: var(--on-oil-3); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18, 11, 7, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 12px 24px;
  animation: fade 0.18s ease;
}
@keyframes fade { from { opacity: 0; } }
.lightbox__figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__figure img { max-width: min(100%, 92vw); max-height: calc(100vh - 130px); width: auto; height: auto; border-radius: 8px; border: 3px solid #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9); }
.lightbox__figure figcaption { font-size: 0.9rem; font-weight: 800; color: var(--on-oil-2); font-variant-numeric: tabular-nums; text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--oil); border: var(--stroke) solid var(--oil); box-shadow: 3px 3px 0 var(--oil);
  transition: background 0.18s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold-2); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; }
.lightbox__nav .ico { width: 1.3em; height: 1.3em; }
@media (max-width: 640px) { .lightbox__nav { top: auto; bottom: 14px; transform: none; } .lightbox__nav--prev { left: calc(50% - 56px); } .lightbox__nav--next { right: calc(50% - 56px); } .lightbox { padding-bottom: 76px; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 95; max-width: calc(100vw - 32px);
  background: var(--oil); color: var(--on-oil); font-weight: 700; font-size: 0.9rem;
  padding: 10px 16px; border-radius: 16px; text-align: center; line-height: 1.35;
  border: var(--stroke) solid var(--gold);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
  animation: toast-in 0.2s ease;
}
.toast.toast--error { background: var(--danger); color: #fff; border-color: var(--oil); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-io .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .step, .polaroid, .chip { transition: none; }
  .btn:hover, .step:hover, .polaroid:hover { transform: none; }
  .hero__mascot, .hero__sun, .marquee__track, .drips span, .dot.is-live { animation: none; }
}
