:root {
  --bg: #0b1220;
  --bg-soft: #111827;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --surface: rgba(17, 24, 39, 0.7);
  --surface-border: #273247;
  --primary: #00d1b2;
  --secondary: #2f80ff;
  --warning: #b8f20d;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 209, 178, 0.18), transparent 40%),
    radial-gradient(circle at 95% 20%, rgba(47, 128, 255, 0.18), transparent 45%),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.75);
  border-bottom: 1px solid rgba(39, 50, 71, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero {
  padding: 5rem 0 3.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0, 209, 178, 0.32);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

h1 span {
  color: var(--primary);
}

.lead {
  margin: 1.2rem 0 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.07rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: all 160ms ease;
}

.btn-primary {
  background: var(--primary);
  color: #0b1f3a;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 209, 178, 0.3);
}

.btn-secondary {
  background: rgba(47, 128, 255, 0.18);
  border-color: rgba(47, 128, 255, 0.45);
  color: #dbe7ff;
}

.btn-secondary:hover {
  background: rgba(47, 128, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  border-color: var(--surface-border);
  color: var(--text);
}

.btn-ghost:hover,
.btn-nav:hover {
  border-color: rgba(0, 209, 178, 0.45);
}

.btn-nav {
  border-color: var(--surface-border);
  color: var(--text);
}

.cards-section {
  padding: 1rem 0 2.25rem;
}

.cards-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.card-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.card-link:hover {
  text-decoration: underline;
}

.pill {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(184, 242, 13, 0.16);
  border: 1px solid rgba(184, 242, 13, 0.35);
  color: var(--warning);
  font-size: 0.82rem;
  font-weight: 600;
}

.mission {
  padding: 1rem 0 2.3rem;
}

.mission h2 {
  margin-bottom: 0.8rem;
}

.mission p {
  margin: 0;
  max-width: 80ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.cards-compact .card p {
  min-height: 3.2rem;
}

.site-footer {
  border-top: 1px solid rgba(39, 50, 71, 0.6);
  margin-top: 2rem;
}

.footer-content {
  min-height: 78px;
  display: flex;
  align-items: center;
  color: #95a1b4;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 0.8rem;
    min-height: 64px;
  }

  .btn-nav {
    padding: 0.55rem 0.7rem;
    font-size: 0.88rem;
  }
}
