:root {
  --bg: #020617;
  --bg-alt: #111827;
  --card: #020617;
  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --accent-2: #a3e635;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.85);
  --shadow-subtle: 0 10px 35px rgba(15, 23, 42, 0.65);
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.96),
      rgba(15, 23, 42, 0.82),
      transparent
    );
  border-bottom: 1px solid rgba(15, 23, 42, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.86rem;
}

.site-nav a {
  color: var(--muted);
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.18s ease-out;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav .nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text);
}

.nav-toggle {
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.nav-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.nav-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.nav-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav open */
.site-nav.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 0.75rem;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: var(--shadow-subtle);
}

/* Hero */
.hero-section {
  padding: 3.5rem 0 3rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-text {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

.hero-footnote {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Hero panel */
.hero-panel {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(34,211,238,0.15), transparent 55%),
              radial-gradient(circle at bottom right, rgba(163,230,53,0.12), transparent 55%),
              rgba(15,23,42,0.95);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 1rem;
  align-items: center;
}

.hero-orbit {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit-ring {
  position: absolute;
  width: 150%;
  height: 150%;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 0 45px rgba(34, 211, 238, 0.4);
}

.hero-orbit-core {
  position: relative;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at top, #22d3ee, #0ea5e9);
  color: #0b1120;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 15px 40px rgba(8, 47, 73, 0.95);
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--muted);
}

.hero-points .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-top: 0.3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020617;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(34, 211, 238, 0.45);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text);
  background: rgba(15, 23, 42, 0.8);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15,23,42,0.7), #020617 45%);
}

.section h2 {
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
}

.section-intro {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 32rem;
}

.two-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Cards */
.highlight-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.08), transparent 65%),
              rgba(15, 23, 42, 0.98);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

.highlight-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.highlight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Pillars grid */
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  margin-top: 1.8rem;
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

.pillar-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.pillar-card p {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillar-card li::before {
  content: "• ";
  color: var(--accent-2);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: var(--muted);
}

/* Stories */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  margin-top: 1.8rem;
}

.story-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

.story-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.story-card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.story-meta {
  font-size: 0.78rem;
  color: var(--accent-2);
}

/* Join */
.join-section {
  border-top: 1px solid rgba(15, 23, 42, 1);
}

.join-inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.join-inner p {
  color: var(--muted);
}

.join-form {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: #020617;
  color: var(--text);
  padding: 0.5rem 0.6rem;
  font-size: 0.85rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid rgba(34, 211, 238, 0.8);
  border-color: rgba(34, 211, 238, 0.9);
}

.form-footnote {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(15, 23, 42, 1);
  background: radial-gradient(circle at top, #020617, #000 70%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 2rem 0 1.5rem;
}

.brand-footer {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 22rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  font-size: 0.8rem;
}

.footer-grid h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.footer-grid a,
.footer-note {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 0.7rem 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (min-width: 720px) {
  .site-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .hero-section {
    padding: 4rem 0 3.5rem;
  }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.8rem;
  }
  h1 {
    font-size: 2.45rem;
  }
  .hero-panel {
    max-width: 380px;
  }
  .two-col {
    flex-direction: row;
  }
  .two-col > * {
    flex: 1;
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .join-inner {
    flex-direction: row;
    align-items: flex-start;
  }
  .join-inner > * {
    flex: 1;
  }
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}