@import url('../fonts/fonts.css');

/* ---------------------------------------------------------------- tokens */

:root {
  --bg: #08050f;
  --ink: #f4eefc;
  --ink-soft: #c3b6de;
  --ink-dim: #9d8fc4;
  --ink-faint: #6f6390;

  --cyan: #6fe6ef;
  --cyan-bright: #8fe9f0;
  --cyan-pale: #a9f0f5;
  --violet: #9b4df2;
  --magenta: #e07cf0;

  --line: rgba(160, 120, 255, .2);
  --line-strong: rgba(180, 140, 255, .38);
  --line-hot: rgba(110, 230, 240, .45);
  --surface: rgba(255, 255, 255, .035);

  --holo: linear-gradient(120deg, #5be2e8, #4a7cf5 45%, #9b4df2 80%, #e05ce0);

  --font-display: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', 'Hiragino Sans', 'Noto Sans JP', monospace;

  --shell: 1180px;
  --gutter: 20px;
  --header-h: 62px;

  /* Reserved by the mobile buy-bar so the footer never sits under it. */
  --buybar-h: 0px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }

* { box-sizing: border-box; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);

  /* Decorative glows and the marquee deliberately bleed past the viewport.
     `clip` kills the sideways scroll without turning the root into a scroll
     container (which would break the sticky header); `hidden` is the fallback
     for browsers that predate it. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
  padding-bottom: var(--buybar-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-200%);
  padding: 10px 16px; border-radius: 10px;
  background: var(--cyan); color: var(--bg); font-weight: 700;
}
.skip-link:focus { transform: none; }

/* ------------------------------------------------------------ animations */

@keyframes holo { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob  { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes rise { from { transform: translateY(0); opacity: .55; } to { transform: translateY(-120vh); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .75; transform: scale(1.12); } }
@keyframes blink { 0%, 92%, 100% { opacity: 1; } 95% { opacity: .2; } }

/* --------------------------------------------------------------- ambient */

.aurora,
.bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  background:
    radial-gradient(120% 80% at 15% -10%, rgba(139, 61, 240, .38), transparent 60%),
    radial-gradient(90% 70% at 90% 10%, rgba(61, 140, 240, .28), transparent 60%),
    radial-gradient(80% 60% at 50% 110%, rgba(224, 92, 224, .18), transparent 60%);
}

.bubbles { z-index: 1; overflow: hidden; }

.bubbles i {
  position: absolute;
  bottom: -70px;
  border-radius: 50%;
  border: 1px solid rgba(180, 230, 255, .45);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .45), rgba(120, 200, 255, .07));
  /* Screen-blend so they only ever add light — over the marquee band they'd
     otherwise read as dull grey discs. */
  mix-blend-mode: screen;
  animation: rise linear infinite;
  will-change: transform;
}
.bubbles i:nth-child(1) { left:  8%; width: 46px; height: 46px; animation-duration: 19s; }
.bubbles i:nth-child(2) { left: 27%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 3s; }
.bubbles i:nth-child(3) { left: 55%; width: 64px; height: 64px; animation-duration: 24s; animation-delay: 6s; border-color: rgba(200, 180, 255, .4); }
.bubbles i:nth-child(4) { left: 74%; width: 30px; height: 30px; animation-duration: 17s; animation-delay: 1.5s; }
.bubbles i:nth-child(5) { left: 91%; width: 38px; height: 38px; animation-duration: 21s; animation-delay: 9s; border-color: rgba(220, 180, 255, .4); }

/* Two big blurred layers on a phone is a real paint cost — keep only three. */
@media (max-width: 700px) {
  .bubbles i:nth-child(3),
  .bubbles i:nth-child(5) { display: none; }
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 5, 15, .82);
  border-bottom: 1px solid rgba(160, 120, 255, .18);
  padding-top: env(safe-area-inset-top);
}

@supports (backdrop-filter: blur(14px)) {
  .site-header { background: rgba(8, 5, 15, .68); backdrop-filter: blur(14px); }
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;   /* keeps the whole lockup a comfortable tap target */
  padding-right: 8px;
  color: var(--ink);
  margin-right: auto;
  min-width: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(180, 140, 255, .45);
  background: var(--holo);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand__ticker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: .08em;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
.nav a { color: #cdc0e8; }
.nav a:hover, .nav a:focus-visible { color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--line-hot); }

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Phone / small tablet: nav collapses into a drawer under the bar. */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px var(--gutter) 14px;
    /* Fully opaque: the drawer sits over the hero, and translucency here makes
       the links unreadable against the artwork. */
    background: #0b0714;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .55);
    font-size: 17px;
    display: none;
  }
  .nav[data-open='true'] { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(160, 120, 255, .12);
  }
  .nav a:last-child { border-bottom: 0; }

  .header-actions .btn--ghost-sm { display: none; }
}

@media (max-width: 380px) {
  .brand__ticker { display: none; }
  .header-actions .btn--sm { padding-inline: 13px; }
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease, color .2s ease;
}

.btn--primary {
  color: #08050f;
  background: var(--holo);
  box-shadow: 0 12px 34px rgba(139, 61, 240, .45);
}
.btn--primary:hover, .btn--primary:focus-visible { filter: brightness(1.12); transform: translateY(-2px); color: #08050f; }

.btn--ghost { border-color: rgba(160, 120, 255, .42); color: #e6dcff; }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--cyan); color: var(--cyan); }

.btn--sm { min-height: 40px; padding: 11px 18px; font-size: 14px; box-shadow: 0 6px 20px rgba(139, 61, 240, .4); }
.btn--ghost-sm { min-height: 40px; padding: 11px 16px; font-size: 13px; font-family: var(--font-mono); font-weight: 500; }

/* ------------------------------------------------------------------ hero */

main { position: relative; z-index: 2; }

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-block: 44px 32px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    padding-block: 68px 40px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(110, 230, 240, .35);
  background: rgba(110, 230, 240, .07);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--cyan-bright);
  text-transform: uppercase;
}
@media (min-width: 480px) { .eyebrow { font-size: 12px; letter-spacing: .1em; } }

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 12vw, 104px);
  line-height: .93;
  letter-spacing: -.045em;
  margin: 20px 0 0;
}

.hero h1 .wordmark {
  display: block;
  background: linear-gradient(100deg, #5be2e8, #4a7cf5 30%, #9b4df2 60%, #e05ce0 80%, #5be2e8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo 9s linear infinite;
}

.hero h1 .tagline {
  display: block;
  margin-top: 14px;
  font-size: clamp(17px, 4.4vw, 35px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: #b9a9dd;
  font-weight: 700;
}

.hero p.lede {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 20px 0 0;
}
@media (min-width: 640px) { .hero p.lede { font-size: 17px; margin-top: 24px; } }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
/* One clean full-width stack on the narrowest phones. */
@media (max-width: 420px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
}

/* Contract address block — must wrap, never blow out the viewport. */
.ca {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
}
.ca__label { color: var(--ink-faint); }
.ca__value {
  flex: 1 1 180px;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: #ddd2f5;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
@media (min-width: 640px) { .ca__value { font-size: 13px; } }

.ca__copy {
  flex: none;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid rgba(110, 230, 240, .35);
  background: transparent;
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: background .2s ease;
}
.ca__copy:hover { background: rgba(110, 230, 240, .1); }

/* Hero artwork */
.hero__art { position: relative; }

.hero__art::before {
  content: '';
  position: absolute;
  inset: -7% -6%;
  border-radius: 40px;
  background: conic-gradient(from 0deg, rgba(91, 226, 232, .35), rgba(155, 77, 242, .35), rgba(224, 92, 224, .35), rgba(91, 226, 232, .35));
  filter: blur(38px);
  animation: spin 22s linear infinite;
  will-change: transform;
}
@media (max-width: 700px) { .hero__art::before { filter: blur(26px); inset: -4%; } }

.hero__frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(180, 140, 255, .35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  animation: bob 7s ease-in-out infinite;
}
@media (min-width: 900px) { .hero__frame { border-radius: 28px; } }

.stamp {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(8, 5, 15, .74);
  color: var(--cyan-pale);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.35;
}
@media (min-width: 640px) { .stamp { left: 18px; bottom: 18px; font-size: 11px; letter-spacing: .12em; } }

/* --------------------------------------------------------------- marquee */

.marquee {
  position: relative;
  z-index: 2;
  border-block: 1px solid rgba(160, 120, 255, .18);
  background: rgba(155, 77, 242, .07);
  overflow: hidden;
  padding-block: 14px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marq 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: #cdbdf0;
  text-transform: uppercase;
  will-change: transform;
}
@media (min-width: 640px) { .marquee__track { font-size: 15px; letter-spacing: .16em; } }

.marquee__group {
  display: flex;
  gap: 30px;
  padding-right: 30px;
  white-space: nowrap;
}
@media (min-width: 640px) { .marquee__group { gap: 40px; padding-right: 40px; } }

.marquee b { color: var(--cyan); font-weight: inherit; }
.marquee em { color: var(--magenta); font-style: normal; }

/* -------------------------------------------------------------- sections */

.section { padding-block: 64px 24px; }
@media (min-width: 900px) { .section { padding-block: 88px 32px; } }

.section__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan-bright);
  text-transform: uppercase;
}
@media (min-width: 640px) { .section__kicker { font-size: 12px; letter-spacing: .18em; } }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
@media (min-width: 700px) {
  .section__head--inline {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
  }
}

.section__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(29px, 6vw, 44px);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0;
}

/* ------------------------------------------------------------------ lore */

.lore__intro {
  display: grid;
  gap: 26px;
  align-items: end;
  margin-bottom: 40px;
}
@media (min-width: 860px) {
  .lore__intro { grid-template-columns: 1.1fr .9fr; gap: 48px; margin-bottom: 52px; }
}

.lore__intro h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(31px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 14px 0 0;
}

.ascii {
  font-family: var(--font-mono);
  font-size: clamp(12px, 3.4vw, 19px);
  line-height: 1.5;
  color: var(--cyan-pale);
  margin: 0;
  padding: 20px;
  border-radius: 16px;
  background: rgba(110, 230, 240, .06);
  border: 1px solid rgba(110, 230, 240, .2);
  overflow-x: auto;
  animation: blink 6s ease-in-out infinite;
}
@media (min-width: 640px) { .ascii { padding: 22px 24px; border-radius: 18px; } }

.timeline { display: grid; gap: 16px; }

.beat {
  display: grid;
  gap: 12px;
  padding: 22px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s ease;
}
@media (min-width: 640px) { .beat { padding: 28px 26px; border-radius: 22px; } }
@media (min-width: 780px) {
  .beat { grid-template-columns: 170px 1fr; gap: 20px 32px; padding: 30px; align-items: start; }
}
.beat:hover { border-color: var(--line-hot); }

.beat__when {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--cyan-bright);
  line-height: 1.6;
}
@media (min-width: 640px) { .beat__when { font-size: 13px; } }
.beat__when span { color: var(--ink-faint); }

.beat h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 4.6vw, 24px);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 9px;
}

.beat p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 70ch;
}
@media (min-width: 640px) { .beat p { font-size: 16px; } }

.beat em { color: #e6dcff; font-style: normal; }

.beat--accent { background: rgba(155, 77, 242, .12); border-color: var(--line-strong); }
.beat--accent p { color: #ddd2f5; }

.beat--now {
  background: linear-gradient(120deg, rgba(91, 226, 232, .12), rgba(155, 77, 242, .16) 55%, rgba(224, 92, 224, .12));
  border-color: rgba(110, 230, 240, .4);
}
.beat--now .beat__when { color: var(--cyan-pale); }
.beat--now .beat__when span { color: var(--ink-dim); }
.beat--now p { color: #ecdffb; }

/* --------------------------------------------------------------- gallery */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.tile {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(160, 120, 255, .25);
  background: rgba(255, 255, 255, .02);
}
@media (min-width: 600px) { .tile { border-radius: 22px; } }

/* Crop every tile to one ratio so the grid stays a grid on every breakpoint. */
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .8s cubic-bezier(.22, .7, .24, 1);
}
.tile:hover img { transform: scale(1.04); }

/* Feature tiles run the full width and get a cinematic crop. */
.tile--wide { grid-column: 1 / -1; }
@media (min-width: 600px) { .tile--wide img { aspect-ratio: 2 / 1; } }
@media (min-width: 1000px) { .tile--wide img { aspect-ratio: 21 / 9; } }

.tile figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(8, 5, 15, .74);
  color: var(--cyan-pale);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .09em;
  line-height: 1.4;
}
@media (min-width: 600px) {
  .tile figcaption { left: 16px; bottom: 16px; font-size: 11px; letter-spacing: .1em; }
}

/* ------------------------------------------------------------ card grids */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 940px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px) { .cards--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.card {
  padding: 24px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s ease;
}
@media (min-width: 640px) { .card { padding: 28px 24px; border-radius: 20px; } }
.card:hover { border-color: var(--line-hot); }

.card--hot {
  background: linear-gradient(120deg, rgba(91, 226, 232, .14), rgba(155, 77, 242, .18));
  border-color: rgba(110, 230, 240, .4);
}
.card--hot p { color: #ecdffb; }
.card--hot .card__step { color: var(--cyan-pale); }

.card__stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -.03em;
  line-height: 1;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card__stat--a { background-image: linear-gradient(120deg, #5be2e8, #9b4df2); }
.card__stat--b { background-image: linear-gradient(120deg, #9b4df2, #5be2e8); }
.card__stat--c { background-image: linear-gradient(120deg, #e05ce0, #4a7cf5); }

.card__label { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }

.card__step {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-bright);
  letter-spacing: .16em;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em;
  margin: 12px 0 8px;
}

.card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ------------------------------------------------------------------- cta */

.cta { padding-block: 32px 72px; }

.cta__box {
  border-radius: 22px;
  padding: 40px 22px;
  text-align: center;
  background: linear-gradient(130deg, rgba(91, 226, 232, .12), rgba(74, 124, 245, .14) 40%, rgba(155, 77, 242, .18) 70%, rgba(224, 92, 224, .12));
  border: 1px solid var(--line-strong);
}
@media (min-width: 700px) { .cta__box { border-radius: 28px; padding: 56px 44px; } }

.cta__face {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.5;
  color: var(--cyan-pale);
  margin: 0 0 16px;
}

.cta__box h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 7vw, 56px);
  letter-spacing: -.035em;
  line-height: 1.04;
  margin: 0 0 14px;
}

.cta__box p {
  margin: 0 auto 28px;
  max-width: 56ch;
  color: #cfc2e9;
  font-size: 16px;
  line-height: 1.6;
}
@media (min-width: 640px) { .cta__box p { font-size: 17px; } }

.cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 420px) { .cta__buttons { flex-direction: column; } }

/* ---------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(160, 120, 255, .18);
  background: rgba(8, 5, 15, .6);
}

.site-footer .shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 28px;
  font-size: 13px;
  color: #8d7fb4;
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 860px) {
  .site-footer .shell { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 34px; }
}

.footer__mark { font-family: var(--font-mono); letter-spacing: .1em; }
.footer__disclaimer { max-width: 62ch; line-height: 1.6; }
.footer__link {
  color: #cdc0e8;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  padding-right: 8px;
}
@media (min-width: 860px) { .footer__link { margin-left: auto; align-self: center; } }
.footer__link:hover { color: var(--cyan); }

/* --------------------------------------------------- mobile sticky "buy" */

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 5, 15, .9);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform .35s cubic-bezier(.22, .7, .24, 1);
}
@supports (backdrop-filter: blur(12px)) {
  .buybar { background: rgba(8, 5, 15, .78); backdrop-filter: blur(12px); }
}
.buybar[data-show='true'] { transform: none; }
.buybar .btn { width: 100%; }

@media (max-width: 860px) {
  .buybar { display: block; }
  body { --buybar-h: 74px; }
}

/* ----------------------------------------------------------- reveal / a11y */

/* Content is visible by default and only hidden once app.js has taken
   responsibility for revealing it again — a dead script can never blank the
   page. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22, .7, .24, 1), transform .7s cubic-bezier(.22, .7, .24, 1);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .bubbles { display: none; }
  .marquee__track { animation: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .wordmark {
    /* The holo sweep is the animation — freeze it on a readable frame. */
    background-position: 25% 50%;
  }
}
