/* BITS - main stylesheet
   Brand tokens + layout from project.md
*/
:root {
  --bits-lime: #DBE64C;
  --bits-green: #74C465;
  --bits-cyan: #3BEFFF;
  --bits-blue: #294DDD;
  --bits-bg: #000000;
  --bits-bg-elevated: #0A0F1A;
  --bits-text: #FFFFFF;
  --bits-text-muted: #D9F99D;
  --bits-text-soft: rgba(255, 255, 255, 0.72);
  --bits-border: rgba(219, 230, 76, 0.18);
  --bits-gradient-logo: linear-gradient(180deg, #DBE64C 0%, #74C465 100%);
  --bits-gradient-cubes: linear-gradient(180deg, #3BEFFF 0%, #294DDD 100%);
  --bits-gradient-cta: linear-gradient(90deg, #DBE64C 0%, #3BEFFF 100%);
  --font-heading: "Michroma", "EurostileUnicaseLTW04-Rg", "Eurostile", sans-serif;
  --font-body: "Poppins", sans-serif;
  --max: 1120px;
  --section-pad: clamp(4.5rem, 10vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bits-bg);
  color: var(--bits-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bits-text-muted);
  margin-bottom: 1rem;
}

h1, h2, h3, .brand-word {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--bits-text-soft);
 /*  max-width: 42rem; */
}

.accent { color: var(--bits-lime); }

 
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 70%, transparent 100%);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-logo {
  display: block;
  width: auto;
  height: 52px;
  object-fit: contain;
}

.site-logo--footer {
  display: block;
  height: 110px;
  width: auto;
  margin: 0 auto 1rem;
}

.nav-links {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--bits-text-soft);
}

.nav-links a:hover { color: var(--bits-lime); }

.nav-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ext {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.nav-links a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--bits-lime);
}

.inline-link {
  color: var(--bits-cyan);
  border-bottom: 1px solid rgba(59, 239, 255, 0.4);
}

.inline-link:hover {
  color: var(--bits-lime);
  border-bottom-color: var(--bits-lime);
}

.site-nav.menu-open {
  background: rgba(0, 0, 0, 0.97);
}

.nav-toggle {
  display: grid;
  place-items: center;
  align-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--bits-border);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--bits-text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: 0.25s ease;
}

/* Hamburger morphs into an X */
/* spans are 2px tall with 3px margins (grid margins don't collapse) = 8px apart */
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  max-height: calc(100dvh - 5.5rem);
  overflow-y: auto;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu.open { display: block; }

.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.85rem 0;
  font-size: 1.05rem;
  color: var(--bits-text-soft);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a:not(.btn):hover { color: var(--bits-lime); }

.mobile-menu a.nav-ext { display: flex; align-items: center; gap: 0.4rem; }


@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* â€”â€”â€” Buttons â€”â€”â€” */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--bits-gradient-cta);
  color: #041018;
  box-shadow: 0 0 28px rgba(59, 239, 255, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(219, 230, 76, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(59, 239, 255, 0.45);
  color: var(--bits-cyan);
  background: rgba(41, 77, 221, 0.12);
}

.btn-ghost:hover {
  border-color: var(--bits-lime);
  color: var(--bits-lime);
}

.text-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bits-cyan);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--bits-lime);
  border-bottom-color: var(--bits-lime);
}
 

/* â€”â€”â€” Logo mark â€”â€”â€” */
/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 7rem 0 4.5rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.28) 40%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url("../assets/images/hero-bg.png") center / cover no-repeat;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 35%, rgba(41, 77, 221, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(116, 196, 101, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-orb {
  display: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    padding: 6rem 0 3rem;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  letter-spacing: 0.12em;
  line-height: 0.95;
  background: var(--bits-gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.1rem;
  animation: rise-in 0.9s ease both;
}

.hero h1 {
  animation: rise-in 0.9s ease 0.12s both;
  max-width: 16ch;
}

.hero .lead {
  margin-top: 1.15rem;
  animation: rise-in 0.9s ease 0.22s both;
}

.hero .btn-row { animation: rise-in 0.9s ease 0.32s both; }

.hero-visual {
  display: grid;
  place-items: center;
  animation: rise-in 1s ease 0.2s both;
}

.hero-visual-frame {
  position: relative;
  width: min(100%, 336px); /* 80% of 420px */
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-coin {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 36px rgba(219, 230, 76, 0.35))
    drop-shadow(0 0 48px rgba(59, 239, 255, 0.22));
  animation: float-y 5.5s ease-in-out infinite;
}

/* ——— Sections ——— */
section,
.tile[id] {
  scroll-margin-top: 5.5rem;
}

section {
  padding: var(--section-pad) 0;
  position: relative;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.grad {
  background: var(--bits-gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.display {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin-bottom: 0;
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}

.section-head--center {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.section-head--center .section-sub {
  margin-inline: auto;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.35fr 1fr;
    align-items: end;
    gap: 3.5rem;
  }
}

/* Glass card with gradient border + cursor spotlight (see main.js) */
.card {
  position: relative;
  border: 1px solid transparent;
  border-radius: 1.4rem;
  background:
    linear-gradient(160deg, #0d1424 0%, #070b14 100%) padding-box,
    linear-gradient(140deg, rgba(219, 230, 76, 0.38), rgba(59, 239, 255, 0.1) 45%, rgba(41, 77, 221, 0.45)) border-box;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 239, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(41, 77, 221, 0.28), 0 0 0 1px rgba(219, 230, 76, 0.12);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.97rem;
  line-height: 1.65;
}

.rule-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.95rem;
  color: var(--bits-lime);
  background: linear-gradient(140deg, rgba(219, 230, 76, 0.16), rgba(59, 239, 255, 0.08));
  border: 1px solid rgba(219, 230, 76, 0.3);
  box-shadow: 0 0 24px rgba(219, 230, 76, 0.1);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.rule-tag {
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bits-cyan) !important;
  margin-bottom: 0.5rem;
}

.pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #a8eb9b;
  background: rgba(116, 196, 101, 0.16);
  border: 1px solid rgba(116, 196, 101, 0.45);
}

.pill--soon {
  color: var(--bits-lime);
  background: rgba(219, 230, 76, 0.14);
  border-color: rgba(219, 230, 76, 0.5);
}

.fine {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 44rem;
}

/* Floating brand cubes */
.float-cube {
  position: absolute;
  width: 84px;
  height: 84px;
  z-index: 0;
  opacity: 0.75;
  filter: drop-shadow(0 0 22px rgba(59, 239, 255, 0.45));
  animation: float-y 7s ease-in-out infinite;
  pointer-events: none;
}

.float-cube--a { top: 3.5rem; right: 5%; }
.float-cube--b { bottom: 3rem; left: 2%; width: 52px; height: 52px; opacity: 0.45; animation-delay: -3s; }
.float-cube--c { top: 12%; left: 7%; width: 64px; height: 64px; animation-delay: -2s; }
.float-cube--d { bottom: 14%; right: 8%; width: 48px; height: 48px; opacity: 0.55; animation-delay: -4s; }

.wrap.reveal,
.cta-panel > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .float-cube--a { width: 52px; height: 52px; top: 1.5rem; }
  .float-cube--b, .float-cube--c, .float-cube--d { display: none; }
}

/* Ticker */
.ticker {
  overflow: hidden;
  padding: 0.95rem 0;
  background: var(--bits-gradient-cta);
  box-shadow: 0 0 40px rgba(59, 239, 255, 0.25);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker span {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #041018;
  white-space: nowrap;
}

.ticker i {
  width: 0.55rem;
  height: 0.55rem;
  background: #041018;
  transform: rotate(45deg);
  flex-shrink: 0;
}

@keyframes ticker {
  to { transform: translateX(calc(-50% - 0.875rem)); }
}

/* Why Bits */
.manifesto {
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(41, 77, 221, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 100% 65%, rgba(219, 230, 76, 0.07) 0%, transparent 70%),
    #000;
}

.story {
  display: grid;
  gap: 1.25rem;
}

.story-card {
  padding: 2rem 1.75rem;
}

.story-num {
  position: absolute;
  top: 1rem;
  right: 1.35rem;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(59, 239, 255, 0.4);
  pointer-events: none;
}

.story-step {
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bits-cyan) !important;
  margin-bottom: 2.5rem;
}

.story-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
}

.story-card--hot {
  background:
    linear-gradient(160deg, rgba(219, 230, 76, 0.12) 0%, #0b1220 55%, #070b14 100%) padding-box,
    linear-gradient(140deg, rgba(219, 230, 76, 0.85), rgba(116, 196, 101, 0.4) 50%, rgba(59, 239, 255, 0.5)) border-box;
}

.story-card--hot .story-step { color: var(--bits-lime) !important; }
.story-card--hot .story-num { -webkit-text-stroke-color: rgba(219, 230, 76, 0.55); }

@media (min-width: 860px) {
  .story { grid-template-columns: repeat(3, 1fr); }
}

/* Principles */
.principles {
  background:
    radial-gradient(ellipse 35% 35% at 100% 40%, rgba(219, 230, 76, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 0% 60%, rgba(41, 77, 221, 0.25) 0%, transparent 70%),
    #000;
}

.rules {
  display: grid;
  gap: 1.25rem;
}

.rule {
  padding: 1.85rem 1.6rem;
}

@media (min-width: 620px) {
  .rules { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .rules { grid-template-columns: repeat(4, 1fr); }
}

/* Bits-Crypto */
.coin {
  overflow: hidden;
  background:
    radial-gradient(ellipse 40% 45% at 80% 50%, rgba(41, 77, 221, 0.38) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 85% 40%, rgba(116, 196, 101, 0.12) 0%, transparent 60%),
    #000;
}

.coin-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.coin-copy .section-sub {
  margin-top: 1.25rem;
}

.spec {
  padding: 2rem 1.75rem;
}

.spec:hover {
  transform: none;
}

.spec-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.spec-coin {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 0 22px rgba(219, 230, 76, 0.4));
  animation: float-y 5.5s ease-in-out infinite;
}

.spec-name {
  font-family: var(--font-heading);
  font-size: 2.1rem !important;
  letter-spacing: 0.14em;
  line-height: 1.1 !important;
  background: var(--bits-gradient-logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.spec-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem !important;
  color: #a8eb9b !important;
  margin-top: 0.3rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--bits-green);
  box-shadow: 0 0 0 0 rgba(116, 196, 101, 0.7);
  animation: pulse 2s ease-out infinite;
}

.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-list dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.spec-list dd {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

@media (min-width: 900px) {
  .coin-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
  }
}

/* Ecosystem bento */
.ecosystem {
  background:
    radial-gradient(600px 380px at 0% 400px, rgba(219, 230, 76, 0.08) 0%, transparent 70%),
    radial-gradient(600px 460px at 100% calc(100% - 520px), rgba(59, 239, 255, 0.09) 0%, transparent 70%),
    #000;
}

.bento {
  display: grid;
  gap: 1.25rem;
}

.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 30rem;
  border-radius: 1.4rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(59, 239, 255, 0.2);
  background: var(--bits-bg-elevated);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 6, 12, 0.05) 0%, rgba(3, 6, 12, 0.78) 34%, rgba(3, 6, 12, 0.97) 52%, #03060c 100%);
}

.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(219, 230, 76, 0.5);
  box-shadow: 0 22px 60px rgba(41, 77, 221, 0.3), 0 0 30px rgba(219, 230, 76, 0.1);
}

.tile:hover img {
  transform: scale(1.06);
}

.tile-body {
  padding: 1.75rem;
}

.tile-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--bits-cyan);
}

.tile h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin-bottom: 0.4rem;
}

.tile-tag {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bits-lime);
  margin-bottom: 0.6rem;
}

.tile-body > p:not(.tile-meta):not(.tile-tag) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34rem;
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bits-cyan);
  transition: color 0.2s ease, gap 0.25s ease;
}

.tile-link .ico {
  width: 1.1rem;
  height: 1.1rem;
}

.tile-link:hover {
  color: var(--bits-lime);
  gap: 0.75rem;
}

/* Text-heavy tile: keep the image only as a faint backdrop */
.tile--dense::after {
  background: linear-gradient(180deg, rgba(3, 6, 12, 0.55) 0%, rgba(3, 6, 12, 0.92) 22%, #03060c 45%);
}

.wallet-options {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.wallet-options li {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(10, 15, 26, 0.75);
  border: 1px solid rgba(59, 239, 255, 0.22);
}

.wallet-options strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.wallet-options li > span {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }

  /* Wide tiles: text on the left, image shows on the right */
  .tile--wide::after,
  .tile--full::after {
    background: linear-gradient(90deg, #03060c 0%, rgba(3, 6, 12, 0.92) 38%, rgba(3, 6, 12, 0.35) 70%, rgba(3, 6, 12, 0.1) 100%);
  }

  .tile--wide,
  .tile--full {
    align-items: center;
    min-height: 24rem;
  }

  .tile--wide .tile-body,
  .tile--full .tile-body {
    max-width: 58%;
    padding: 2.25rem;
  }

  .tile--wide img,
  .tile--full img {
    left: 30%;
    width: 70%;
  }
}

@media (min-width: 700px) and (max-width: 1039px) {
  .tile--full::after {
    background: linear-gradient(180deg, rgba(3, 6, 12, 0) 0%, rgba(3, 6, 12, 0.6) 32%, rgba(3, 6, 12, 0.95) 58%, #03060c 100%);
  }

  .tile--full {
    align-items: flex-end;
    min-height: 30rem;
  }

  .tile--full .tile-body {
    max-width: none;
    padding: 1.75rem;
  }

  .tile--full img {
    left: 0;
    width: 100%;
  }
}

@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile--full { grid-column: 1 / -1; min-height: 20rem; }
  .tile--full .tile-body { max-width: 46%; }
}

/* Responsible AI */
.ai {
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 40% at 0% 45%, rgba(41, 77, 221, 0.32) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 100% 60%, rgba(59, 239, 255, 0.1) 0%, transparent 70%),
    #000;
}

.ai-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.ai-grid .section-sub {
  margin-top: 1.25rem;
}

.ai-list {
  display: grid;
  gap: 1rem;
}

.ai-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
}

.ai-item .rule-icon {
  margin-bottom: 0;
}

.ai-item h3 {
  margin-bottom: 0.35rem;
}

@media (min-width: 900px) {
  .ai-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }
}

/* Belief statement */
.belief {
  text-align: center;
  padding: clamp(5rem, 11vw, 8rem) 0;
  background:
    radial-gradient(ellipse 60% 48% at 50% 50%, rgba(41, 77, 221, 0.4) 0%, transparent 75%),
    #000;
}

.belief::before,
.belief::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(70%, 560px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(219, 230, 76, 0.6), rgba(59, 239, 255, 0.6), transparent);
}

.belief::before { top: 0; }
.belief::after { bottom: 0; }

.belief-text p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}

/* Builders */
.builders {
  overflow: hidden;
  background: #000;
}

.builders::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 239, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 239, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black, transparent 75%);
  pointer-events: none;
}

.paths {
  display: grid;
  gap: 1.25rem;
}

.path {
  display: block;
  padding: 2rem 1.75rem;
}

.path-go {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--bits-lime);
  border: 1px solid rgba(219, 230, 76, 0.4);
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s ease;
}

.path:hover .path-go {
  background: var(--bits-lime);
  color: #041018;
  transform: rotate(-45deg);
}

@media (min-width: 860px) {
  .paths { grid-template-columns: repeat(3, 1fr); }
}

/* Roadmap */
.roadmap {
  background:
    radial-gradient(ellipse 45% 35% at 50% 60%, rgba(59, 239, 255, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 35% 40% at 0% 45%, rgba(41, 77, 221, 0.22) 0%, transparent 70%),
    #000;
}

.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  list-style: none;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--bits-lime), var(--bits-cyan) 40%, rgba(41, 77, 221, 0.4));
}

.milestone {
  position: relative;
}

.milestone-dot {
  position: absolute;
  left: -2rem;
  top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--bits-cyan);
}

.milestone--now .milestone-dot {
  background: var(--bits-lime);
  border-color: var(--bits-lime);
  box-shadow: 0 0 0 0 rgba(219, 230, 76, 0.6);
  animation: pulse-lime 2s ease-out infinite;
}

.milestone-phase {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bits-cyan);
  margin-bottom: 0.6rem;
}

.milestone--now .milestone-phase { color: var(--bits-lime); }

.milestone h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.milestone p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  line-height: 1.6;
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.75rem;
    padding-left: 0;
    padding-top: 2.5rem;
  }

  .timeline::before {
    left: 0;
    right: 0;
    top: 0.5rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--bits-lime), var(--bits-cyan) 35%, rgba(41, 77, 221, 0.5));
  }

  .milestone-dot {
    left: 0;
    top: -2.5rem;
  }
}

/* Global */
.global {
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 50% 55%, rgba(41, 77, 221, 0.3) 0%, transparent 72%),
    #000;
}

.hellos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 54rem;
  margin: 0 auto;
}

.hellos li {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 500;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  color: var(--bits-cyan);
  border: 1px solid rgba(59, 239, 255, 0.32);
  background: rgba(41, 77, 221, 0.14);
  animation: bob 5s ease-in-out infinite;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hellos li:nth-child(3n + 2) {
  color: var(--bits-lime);
  border-color: rgba(219, 230, 76, 0.35);
  background: rgba(219, 230, 76, 0.08);
  animation-delay: -1.6s;
}

.hellos li:nth-child(3n) {
  color: #a8eb9b;
  border-color: rgba(116, 196, 101, 0.38);
  background: rgba(116, 196, 101, 0.1);
  animation-delay: -3.2s;
}

.hellos li:hover {
  background: var(--bits-lime);
  border-color: var(--bits-lime);
  color: #041018;
}

/* Closing CTA */
.cta {
  background: #000;
  padding-top: 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 4rem) clamp(5rem, 12vw, 9rem);
  border-radius: 2rem;
  border: 1px solid transparent;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(41, 77, 221, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(219, 230, 76, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(59, 239, 255, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #060b18, #03050b) padding-box,
    linear-gradient(140deg, rgba(219, 230, 76, 0.6), rgba(59, 239, 255, 0.25) 50%, rgba(41, 77, 221, 0.6)) border-box;
}

.cta-watermark {
  position: absolute !important;
  left: 50%;
  bottom: -0.42em;
  transform: translateX(-50%);
  z-index: 0 !important;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 22vw, 15rem);
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(219, 230, 76, 0.12) 0%, rgba(59, 239, 255, 0) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

.cta-panel .float-cube {
  position: absolute;
  z-index: 0;
}

.cta-coin {
  width: clamp(110px, 16vw, 150px);
  height: auto;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 0 30px rgba(219, 230, 76, 0.4)) drop-shadow(0 0 50px rgba(59, 239, 255, 0.25));
  animation: float-y 5.5s ease-in-out infinite;
}

.cta-panel .display {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
}

.cta-panel .section-sub {
  margin: 1.25rem auto 0;
}

.cta-panel .btn-row {
  justify-content: center;
  margin-top: 2rem;
}

.cta-tagline {
  margin-top: 2.25rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bits-lime);
}

@keyframes pulse {
  to { box-shadow: 0 0 0 10px rgba(116, 196, 101, 0); }
}

@keyframes pulse-lime {
  to { box-shadow: 0 0 0 12px rgba(219, 230, 76, 0); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Phone tweaks: bigger tap targets and readable small text */
@media (max-width: 699px) {
  .hero .lead {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.8);
  }

  .tile-link,
  .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .tile-link { margin-top: 0.5rem; }

  .pill { font-size: 0.72rem; }

  .rule-tag,
  .story-step,
  .milestone-phase {
    font-size: 0.76rem !important;
  }

  /* keep long labels clear of the big outline number */
  .story-step { padding-right: 4.75rem; }
  .story-num { font-size: 3rem; }

  .footer-links a { padding: 0.6rem 0; }
}

/* Social links (rendered by main.js from js/site-config.js into [data-social]) */
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--bits-text);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a.social-link:hover {
  color: #041018;
  background: var(--bits-gradient-cta);
  border-color: transparent;
  transform: translateY(-2px);
}

.social-link.is-pending {
  opacity: 0.55;
  cursor: default;
}

.social-soon {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bits-lime);
}

/* Footer: compact round icons */
.social--footer {
  margin: 0.25rem 0 1.25rem;
}

.social--footer .social-list { justify-content: center; }

.social--footer .social-link {
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(59, 239, 255, 0.3);
  background: rgba(41, 77, 221, 0.12);
}

.social--footer .social-name,
.social--footer .social-soon {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 760px) {
  .social--footer .social-list { justify-content: center; }
}

/* Contact section: labelled tiles */
.social--tiles .social-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.social--tiles .social-link {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(59, 239, 255, 0.25);
  background: rgba(10, 15, 26, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
}

.social--tiles .social-link .ico {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--bits-lime);
}

a.social-link:hover .ico { color: inherit; }

/* "Soon" sits as a corner badge so tiles stay narrow enough for two across on phones */
.social--tiles .social-soon {
  position: absolute;
  top: -0.5rem;
  right: 0.6rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.58rem;
  background: #0b1220;
  border: 1px solid rgba(219, 230, 76, 0.45);
}

.social--tiles li,
.social--tiles .social-link,
.contact-grid > * { min-width: 0; }

.social--tiles .social-name { white-space: nowrap; }

/* three across only while the contact intro is full width (the form stacks below it) */
@media (min-width: 520px) and (max-width: 959px) {
  .social--tiles .social-list { grid-template-columns: repeat(3, 1fr); }
}

/* Contact */
.contact {
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 40% at 0% 50%, rgba(41, 77, 221, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 100% 50%, rgba(219, 230, 76, 0.06) 0%, transparent 70%),
    #000;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro .section-sub { margin-top: 1.25rem; }

.contact-follow {
  margin: 2rem 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bits-cyan);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.contact-form:hover { transform: none; }

.field-row {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--bits-text);
  padding: 0.8rem 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(59, 239, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bits-cyan) 50%), linear-gradient(135deg, var(--bits-cyan) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.25rem; }

.field select option { background: #0b1220; color: var(--bits-text); }

.field textarea { resize: vertical; min-height: 8rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bits-lime);
  box-shadow: 0 0 0 3px rgba(219, 230, 76, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #ff7a7a;
}

.field-error {
  min-height: 0;
  font-size: 0.82rem;
  color: #ff9a9a;
}

.field-error:empty { display: none; }

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.contact-form .btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }

.form-status {
  font-size: 0.92rem;
  font-weight: 500;
}

.form-status:empty { display: none; }
.form-status[data-kind="success"] { color: #a8eb9b; }
.form-status[data-kind="error"] { color: #ff9a9a; }
.form-status[data-kind="info"] { color: var(--bits-cyan); }

@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(41, 77, 221, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 100% 100%, rgba(59, 239, 255, 0.06) 0%, transparent 50%),
    #000;
}

.site-footer .wrap {
  width: min(100% - 2rem, 1400px);
}

.footer-shell {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  padding: 1.35rem;
  border: 1px solid rgba(59, 239, 255, 0.22);
  background:
    linear-gradient(160deg, rgba(10, 15, 26, 0.95) 0%, rgba(0, 0, 0, 0.88) 100%);
  box-shadow:
    0 0 0 1px rgba(219, 230, 76, 0.06) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.footer-shell-glow {
  position: absolute;
  inset: -30% auto auto 40%;
  width: 55%;
  height: 60%;
  background: radial-gradient(circle, rgba(219, 230, 76, 0.1), transparent 65%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-brand-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--bits-lime);
  margin-bottom: 0.45rem;
}

.footer-brand > p:not(.footer-brand-tag) {
  color: var(--bits-text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 18rem;
  margin: 0 auto 1.25rem;
}

.footer-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.footer-brand-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.8rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bits-lime);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(219, 230, 76, 0.2);
}

.footer-links {
  display: grid;
  gap: 0.15rem;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--bits-text-soft);
  padding: 0.35rem 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--bits-cyan);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

.footer-copy {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 760px) {
  .footer-shell {
    padding: 2rem 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes grid-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(72px, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
