:root {
  --bg: #08090b;
  --panel: #111216;
  --panel-2: #15171c;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.18);
  --text: #f4f6f8;
  --muted: #9ca3ad;
  --glow: #ffffff;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
  --radius: 26px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.05), transparent 22%),
    linear-gradient(180deg, #0b0c0f 0%, #07080a 100%);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .05;
  background-image: radial-gradient(#fff .6px, transparent .6px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8,9,11,.78); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 40px; height: 40px; border-radius: 12px; image-rendering: pixelated;
  border: 1px solid rgba(255,255,255,.12); background: #121316;
}
.brand strong { display: block; letter-spacing: .12em; font-size: 14px; }
.brand span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.navlinks { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
.navlinks a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 18px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; transition: .2s ease; letter-spacing: .01em;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: linear-gradient(180deg, #f4f5f7, #d6d9dd); color: #0b0c0e;
  box-shadow: 0 12px 28px rgba(255,255,255,.10);
}
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,.05); }
.btn.is-disabled { opacity: .42; cursor: default; pointer-events: auto; }
.hero {
  display: grid; grid-template-columns: .96fr 1.04fr; gap: 34px; align-items: center;
  min-height: calc(100vh - 77px); padding: 44px 0 28px;
}
.eyebrow, .section-tag {
  margin: 0 0 10px; color: #d7dbe0; font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: .96; letter-spacing: -.03em; }
h1 { font-size: clamp(72px, 11vw, 132px); font-weight: 850; }
h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 820; }
h3 { font-size: 24px; font-weight: 760; }
.lead { max-width: 560px; margin: 18px 0 0; color: #d7dbe0; font-size: clamp(18px, 2vw, 22px); }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ca-card {
  margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.ca-card span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px; }
.ca-card code { font-size: 14px; white-space: nowrap; overflow: auto; display: block; }
.ca-card button {
  padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #101215; color: var(--text);
}
.hero-frame {
  padding: 16px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow);
}
.hero-frame img { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; object-fit: cover; object-position: center; }
.marquee {
  overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.02);
}
.marquee-track {
  display: flex; gap: 30px; min-width: max-content; padding: 14px 0;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #d7dbe0; animation: marquee 25s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section { padding: 100px 0; }
.two-col { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: start; }
.copy { font-size: 19px; color: #d7dbe0; }
.copy p { margin: 0 0 16px; }
.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
  border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden;
}
.spotlight { display: grid; grid-template-columns: .88fr 1.12fr; align-items: stretch; }
.spotlight-copy { padding: 28px; }
.spotlight img { width: 100%; height: 100%; object-fit: cover; }
.wide-panel img { width: 100%; height: auto; display: block; object-fit: contain; }
.token-card {
  padding: 28px; display: grid; align-content: start; gap: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)),
    url('assets/icon-tile.png') center/120px repeat;
}
.token-card img {
  width: 110px; height: 110px; border-radius: 22px; image-rendering: pixelated;
  border: 1px solid rgba(255,255,255,.12); background: #111216;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { padding: 24px; }
.stat span {
  display: inline-flex; min-width: 56px; height: 56px; padding: 0 14px; align-items: center; justify-content: center;
  border-radius: 16px; background: #101216; border: 1px solid rgba(255,255,255,.12);
  font-weight: 800; font-size: 22px; margin-bottom: 18px;
}
.stat p { color: var(--muted); margin: 12px 0 0; }
.showcase { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: center; }
.showcase-copy p:last-child { color: #d7dbe0; font-size: 18px; margin-top: 16px; }
.wide-panel { padding: 14px; }
.wide-panel img { border-radius: 20px; aspect-ratio: 16 / 9; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.faq-list { display: grid; gap: 14px; }
details {
  padding: 20px 22px; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
summary { cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
details p { margin: 12px 0 0; color: var(--muted); }
.final-box {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 32px;
}
.final-box p:last-child { color: #d7dbe0; font-size: 18px; margin: 16px 0 0; max-width: 560px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer { padding: 28px 0 40px; }
.footer-row {
  display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 22px; align-items: center;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); font-size: 12px;
}
.footer-row p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.footer-brand img { image-rendering: pixelated; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 980px) {
  .navlinks { display: none; }
  .hero, .two-col, .feature-grid, .showcase, .faq, .spotlight, .final-box { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 34px; }
  .section { padding: 76px 0; }
  .final-actions { justify-content: flex-start; }
  .footer-row { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  .wrap { width: min(calc(100% - 24px), var(--max)); }
  h1 { font-size: 56px; }
  .lead, .copy, .showcase-copy p:last-child, .final-box p:last-child { font-size: 17px; }
  .action-row .btn { flex: 1 1 calc(50% - 6px); }
  .ca-card { grid-template-columns: 1fr; }
  .hero-frame { padding: 10px; border-radius: 22px; }
  .hero-frame img { border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; }
  .section { padding: 64px 0; }
}


.hero-art {
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  justify-self: end;
}
.hero-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .hero-art {
    width: min(100%, 560px);
    aspect-ratio: 1 / 1;
    justify-self: center;
  }
}

/* v5: keep the Visual Identity image undistorted */
.wide-panel { padding: 14px; }
.wide-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}
