:root {
  --bg: #080506;
  --bg-soft: #120a08;
  --panel: rgba(20, 12, 10, 0.92);
  --panel-soft: rgba(26, 16, 13, 0.86);
  --line: rgba(255, 214, 125, 0.12);
  --line-strong: rgba(255, 222, 152, 0.24);
  --text: #fff6e7;
  --muted: #d9c7b8;
  --muted-soft: #baaa9f;
  --gold: #ffc861;
  --gold-strong: #ffdc86;
  --orange: #ff9a3c;
  --rose: #ff9bb4;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 181, 75, 0.10), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(255, 129, 170, 0.10), transparent 18%),
    linear-gradient(180deg, #090506 0%, #120907 34%, #090506 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-glow,
.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.page-grid {
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 44%, transparent 100%);
}
.page-glow {
  filter: blur(36px);
  opacity: 0.44;
}
.glow-left {
  width: 320px;
  height: 320px;
  top: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 199, 90, 0.38), transparent 70%);
}
.glow-right {
  width: 280px;
  height: 280px;
  top: 120px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 134, 172, 0.28), transparent 70%);
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(8, 5, 6, 0.58);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-logo,
.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-size: 12px;
  color: var(--muted-soft);
}
.main-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav {
  color: var(--muted);
  font-size: 15px;
}
.main-nav a:hover { color: var(--gold-strong); }

.btn,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover,
.pill:hover {
  transform: translateY(-1px);
}
.btn {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
}
.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-primary {
  background: linear-gradient(135deg, #ffd977 0%, #ffbc57 50%, #ff9843 100%);
  color: #24160a;
  box-shadow: 0 18px 34px rgba(255, 165, 63, 0.24);
}
.btn-secondary {
  background: linear-gradient(180deg, rgba(34,22,18,0.98), rgba(18,12,10,0.98));
  color: var(--text);
}
.pill {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.section-first { padding: 56px 0 34px; }
.section { padding: 88px 0; }
.card {
  background: linear-gradient(180deg, rgba(29,18,15,0.94), rgba(14,9,8,0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.surface-xl { padding: 34px; }
.surface-lg { padding: 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 30px;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
}
.hero-side {
  display: grid;
  gap: 20px;
  align-content: start;
}
.eyebrow,
.tag,
.phase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 212, 127, 0.18);
  background: rgba(255, 198, 95, 0.10);
  color: var(--gold-strong);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
}
.tag-dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  color: var(--muted);
}

h1,h2,h3,p { margin: 0; }
.hero-copy h1,
.section-head h2 {
  margin-top: 18px;
  letter-spacing: -0.045em;
}
.hero-copy h1 {
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: .95;
  max-width: 11.5ch;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}
.lead,
.section-head p,
.info-card p,
.narrative-card p,
.bullet-list li,
.roadmap-card p,
.whitepaper-main p,
.whitepaper-point span,
.faq-item p,
.footer-brand p,
.small,
.link-list a,
.spec-row span,
.spec-row strong {
  color: var(--muted);
}
.lead {
  margin-top: 22px;
  max-width: 60ch;
  line-height: 1.82;
  font-size: 18px;
}
.small { font-size: 13px; line-height: 1.7; }
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}
.max-840 { max-width: 840px; }
.max-860 { max-width: 860px; }
.compact { margin-bottom: 28px; }

.hero-chip-row,
.hero-action-row,
.social-pills,
.inline-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-chip-row { margin-top: 26px; }
.hero-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}
.hero-action-row { margin: 28px 0 18px; }
.social-pills { margin-bottom: 24px; }

.hero-stats-grid,
.info-grid,
.token-layout,
.footer-grid,
.faq-list {
  display: grid;
  gap: 18px;
}
.hero-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat-card {
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.stat-card span,
.stat-card small {
  display: block;
  color: var(--muted-soft);
}
.stat-card strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.mascot-card {
  overflow: hidden;
}
.mascot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mascot-image-wrap {
  margin: 22px auto 18px;
  width: min(100%, 410px);
  aspect-ratio: 1 / 1;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
}
.mascot-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mascot-caption h3,
.panel-head h3,
.narrative-card h3,
.info-card h3,
.roadmap-card h3,
.faq-item h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.mascot-caption p {
  margin-top: 10px;
  line-height: 1.8;
}
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.link-list {
  display: grid;
  gap: 12px;
}
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.link-list a::after {
  content: "↗";
  color: var(--gold-strong);
}

.section-head {
  display: grid;
  gap: 16px;
}
.info-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.info-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}
.info-card,
.roadmap-card,
.faq-item {
  display: grid;
  gap: 12px;
}
.info-card p,
.roadmap-card p,
.faq-item p,
.narrative-card p,
.whitepaper-main p,
.whitepaper-point span {
  line-height: 1.8;
}

.two-col-layout {
  display: grid;
  gap: 28px;
}
.token-layout {
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
}
.token-specs {
  display: grid;
  gap: 2px;
}
.spec-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 2px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.spec-row:last-child { border-bottom: none; }
.spec-row span { font-size: 14px; }
.spec-row strong {
  font-size: 16px;
  color: var(--text);
}
.spec-row a { color: var(--gold-strong); }
.spec-row-contract strong { font-size: 14px; }
.narrative-card {
  display: grid;
  gap: 18px;
}
.bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}
.phase {
  justify-self: start;
  margin-bottom: 2px;
}

.whitepaper-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: center;
}
.whitepaper-side {
  display: grid;
  gap: 14px;
}
.whitepaper-point {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.whitepaper-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.site-footer {
  padding: 30px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(7,4,4,0.42);
}
.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) auto;
  align-items: center;
}
.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-links {
  justify-content: flex-end;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover { color: var(--gold-strong); }
.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  color: var(--muted-soft);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .hero-grid,
  .token-layout,
  .whitepaper-panel,
  .footer-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .info-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy h1 { max-width: none; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 920px) {
  .nav-shell {
    min-height: auto;
    padding: 16px 0;
    flex-wrap: wrap;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .hero-stats-grid,
  .info-grid.cols-3,
  .info-grid.cols-4,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1220px); }
  .section-first { padding: 30px 0 18px; }
  .section { padding: 64px 0; }
  .surface-xl,
  .surface-lg { padding: 22px; }
  .main-nav { font-size: 14px; }
  .hero-stats-grid,
  .info-grid.cols-3,
  .info-grid.cols-4,
  .faq-list {
    grid-template-columns: 1fr;
  }
  .spec-row {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 14px 0;
    gap: 8px;
  }
  .btn,
  .pill { width: 100%; }
  .nav-actions { width: 100%; }
  .nav-actions .btn { flex: 1 1 0; }
  .footer-bottom { font-size: 13px; }
}
