*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .2s, color .2s;
}

[data-theme="dark"] body {
  background-color: #1a1e1c;
  background-image:
    radial-gradient(circle at 60% 0, rgba(43,179,42,.14), transparent 28%),
    radial-gradient(circle at 0 58%, rgba(43,179,42,.10), transparent 24%),
    url("/assets/images/theme/home-dark-galaxy.png");
  background-position: center top, left center, center 2944px;
  background-size: 100% 1100px, 900px 1400px, 1090px 2218px;
  background-repeat: no-repeat;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
}

.t-display { font-size: clamp(52px, 6.5vw, 88px); letter-spacing: -0.02em; line-height: 1.08; }
.t-h1   { font-size: clamp(40px, 5vw, 68px); }
.t-h2   { font-size: clamp(28px, 3.2vw, 44px); }
.t-h3   { font-size: clamp(20px, 2vw, 28px); }
.t-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: var(--text-muted); font-weight: 400; }
.t-body { font-size: 16px; line-height: 1.75; color: var(--text-muted); }
.t-small{ font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section--alt {
  background: var(--bg-alt);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.items-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-8   { gap: 8px; }  .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24  { gap: 24px; } .gap-32 { gap: 32px; }
.text-center { text-align: center; }

/* ── Eyebrow ────────────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 var(--space-3);
}
.eyebrow__icon { color: var(--accent); }

/* ── Section Header ─────────────────────────────────────────── */
.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
  margin: 0 0 var(--space-7);
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--bg-alt); }
.btn--primary {
  background: var(--accent);
  color: #03241a;
}
.btn--primary:hover { background: var(--accent-strong); color: #fff; }
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn--hero {
  background: #00cd5f;
  color: #021914;
  height: 60px;
  padding: 0 28px;
  border-radius: 50px;
  min-width: 200px;
  width: auto;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  border: none;
  white-space: nowrap;
}
.btn--hero:hover {
  background: #00b854;
}
@media (max-width: 480px) {
  .btn--hero,
  .btn--hero-ghost {
    width: auto;
    min-width: min(180px, 100%);
    max-width: 100%;
  }
}
.btn--hero-ghost {
  background: transparent;
  color: #03241a;
  height: 60px;
  padding: 0 28px;
  border-radius: 50px;
  min-width: 200px;
  width: auto;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  border: 2px solid #00cd5f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn--hero-ghost:hover {
  background: #f0faf5;
}

[data-theme="dark"] .btn--hero-ghost {
  color: #e6eeea;
  border-color: #00cd5f;
}
[data-theme="dark"] .btn--hero-ghost:hover {
  background: rgba(0, 205, 95, 0.12);
}

/* ── Reveal Animation ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
  margin-block: var(--section-py);
}

/* ── Pill (Verifai "Soon" badge) ────────────────────────────── */
.pill--mint {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(43, 182, 115, 0.15);
  color: var(--accent);
  letter-spacing: 0.04em;
}

@media (max-width: 880px) {
  .container { padding: 0 20px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn { padding: 10px 18px; font-size: 13px; }
  .btn--lg { padding: 12px 24px; font-size: 14px; }
}
