:root {
  --bg: #020617;
  --bg-alt: #020617;
  --card: #020617;
  --border: #1f2933;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius: 1.5rem;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --max-width: 1120px;
  --transition: 200ms ease;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top left, #0f172a, #020617 55%);
  color: var(--text);
  font-family: var(--font-main);
}

body {
  min-height: 100vh;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: radial-gradient(circle at top, #020617, #020617 60%);
}

.center {
  text-align: center;
}

.max-60 {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.margin-top {
  margin-top: 1.25rem;
}

/* Header / nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.6),
    transparent
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color var(--transition), transform var(--transition);
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 3.4rem;
    padding: 0.75rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    background: #020617;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  background-image: radial-gradient(
      circle at top,
      rgba(34, 211, 238, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at bottom, #020617, #000 70%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.5),
      transparent 40%,
      transparent 60%,
      rgba(15, 23, 42, 0.6)
    ),
    radial-gradient(circle at top left, rgba(8, 47, 73, 0.7), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 40rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 1.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badges span {
  font-size: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.25rem 0.7rem;
  background: rgba(15, 23, 42, 0.7);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn.primary {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #020617;
  box-shadow: 0 18px 40px rgba(34, 211, 238, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(34, 211, 238, 0.5);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
  border-color: var(--accent);
}

/* Sections / cards */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
}

h3 {
  margin-top: 0;
}

p {
  line-height: 1.5;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.85rem;
}

.tiny {
  font-size: 0.74rem;
}

.feature-list {
  padding-left: 1.1rem;
  margin-top: 0.5rem;
}

.feature-list li + li {
  margin-top: 0.3rem;
}

.card-highlight,
.stats-card,
.card {
  background: radial-gradient(circle at top left, #020617, #020617 55%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

@media (max-width: 880px) {
  .cards-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card .tagline {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.section-cta {
  margin-top: 2.3rem;
}

/* Steps */

.steps {
  list-style: decimal;
  padding-left: 1.2rem;
}

.steps li + li {
  margin-top: 0.4rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
  background: #020617;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}

.footer-links li + li {
  margin-top: 0.25rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Generic page styles for About / Boards / etc. */

.page-hero {
  padding: 4.5rem 0 2rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.85);
  background: radial-gradient(circle at top, #020617, #000 65%);
}

.page-hero h1 {
  margin-bottom: 0.4rem;
  font-size: 2rem;
}

.breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-body {
  padding: 3rem 0 4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
}

@media (max-width: 820px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
