:root {
  --blue-deep: #003d99;
  --blue-mid: #0066ff;
  --blue-bright: #1a8cff;
  --blue-glow: #4da6ff;
  --board: #0047b3;
  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.92);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-40: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.35);
  --shadow: 0 8px 32px rgba(0, 20, 80, 0.45);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white-90);
  background: linear-gradient(165deg, var(--blue-deep) 0%, var(--board) 35%, var(--blue-mid) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--white);
  text-decoration: none;
}

a:hover {
  color: var(--blue-glow);
}

code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.92em;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.container-wide {
  width: min(1200px, 96vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 61, 153, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1200px, 94vw);
  margin-inline: auto;
  padding-inline: 0.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.nav-brand img {
  border-radius: 50%;
  border: 2px solid var(--white-40);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.9;
}

.nav-links a:not(.btn):hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  color: var(--blue-deep);
  box-shadow: 0 12px 40px rgba(0, 30, 100, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white-70);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid var(--line);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section:nth-child(even) {
  background: rgba(0, 0, 0, 0.08);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #ccc 40%, #888 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.board-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  padding: 3rem 0 4rem;
}

.hero-logo-wrap {
  margin: 0 auto 1.5rem;
  width: min(200px, 45vw);
}

.hero-logo {
  width: 100%;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.35));
  animation: float 4s ease-in-out infinite;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white-70);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.hero-title .accent {
  color: var(--blue-glow);
  text-shadow: 0 0 40px rgba(77, 166, 255, 0.6);
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  opacity: 0.95;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--white-70);
  max-width: 32ch;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ca-box {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.ca-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-70);
}

.ca-value {
  background: none;
  border: none;
  padding: 0;
  font-size: 1rem;
  color: var(--white);
}

/* About — board cards */
.board-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.board-card {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.board-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #999);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}

.board-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}

.board-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--white-70);
}

.tweet-wrap {
  display: flex;
  justify-content: center;
  min-height: 120px;
}

.twitter-tweet {
  margin: 0 auto !important;
}

/* How to buy */
.steps {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--white);
  color: var(--blue-deep);
  border-radius: 50%;
}

.step h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--white-70);
}

.howtobuy-cta {
  text-align: center;
}

.howtobuy-cta .muted {
  margin-top: 1rem;
  color: var(--white-70);
  font-size: 0.9rem;
}

/* Chart */
.chart-frame-wrap {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d1117;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  min-height: 420px;
}

.chart-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.chart-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Join us — banner only here */
.joinus-banner {
  border: 3px solid var(--white-40);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  line-height: 0;
}

.joinus-banner img {
  width: 100%;
}

.joinus-text {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
  color: var(--white-70);
}

.joinus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 2px solid var(--line);
  background: rgba(0, 30, 90, 0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--white-70);
}

.footer-inner p {
  margin: 0;
}

.footer-ca code {
  font-size: 0.85em;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 61, 153, 0.97);
    border-bottom: 2px solid var(--line);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
