:root {
  --night: #062112;
  --night-deep: #04150b;
  --pistachio: #71d87a;
  --pistachio-soft: #8ee896;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --card: rgba(6, 78, 59, 0.3);
  --card-hover: rgba(6, 95, 70, 0.42);
  --line: rgba(6, 95, 70, 0.5);
  --text: #ecfdf5;
  --muted: rgba(167, 243, 208, 0.78);
  --faint: rgba(167, 243, 208, 0.62);
  --white: #ffffff;
  --shadow-cta: 0 0 30px rgba(52, 211, 153, 0.3);
  --shadow-cta-hover: 0 0 40px rgba(52, 211, 153, 0.5);
  --radius-pill: 999px;
  --radius-card: 1.5rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(16, 185, 129, 0.3);
  color: var(--white);
}

a {
  color: inherit;
}

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

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

.page::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -10% 0 auto;
  height: 42rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(113, 216, 122, 0.14), transparent 62%),
    radial-gradient(ellipse 40% 30% at 80% 10%, rgba(52, 211, 153, 0.08), transparent 55%);
}

.page::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: url("assets/pattern.svg");
  background-size: 280px;
  opacity: 0.045;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

/* Header */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.brand:hover {
  color: var(--pistachio);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--emerald-200);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--emerald-400);
  color: var(--emerald-950) !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.nav-cta:hover {
  background: var(--pistachio-soft);
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.25rem 0 4.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(113, 216, 122, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(6, 78, 59, 0.35);
  color: var(--pistachio);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto 1.6rem;
}

.wordmark {
  width: min(22rem, 78vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 28px rgba(113, 216, 122, 0.22));
}

.lede {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: min(100%, 26rem);
  padding: 1.25rem 2.4rem;
  border-radius: var(--radius-pill);
  background: var(--pistachio);
  color: var(--emerald-950);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cta:hover {
  background: #8ee896;
  transform: translateY(-3px);
  box-shadow: var(--shadow-cta-hover);
}

.cta svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--faint);
}

.cta-note a {
  color: var(--pistachio);
  text-decoration: none;
  font-weight: 600;
}

.cta-note a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  position: relative;
  z-index: 2;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
}

.section-head p {
  margin: 0;
  color: var(--faint);
  font-size: 1.1rem;
}

.services {
  padding: 2rem 0 5rem;
}

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

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem;
  border-radius: var(--radius-card);
  background: var(--card);
  transition: background 0.2s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.07), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover {
  background: var(--card-hover);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1.1rem;
  color: var(--pistachio);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.infra {
  padding: 1rem 0 5.5rem;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-card);
  background: var(--card);
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pistachio);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.signup {
  padding: 0 0 5.5rem;
}

.signup-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(113, 216, 122, 0.08), transparent 40%),
    var(--card);
  border: 1px solid rgba(113, 216, 122, 0.12);
}

.signup-panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--white);
}

.signup-panel p {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 78, 59, 0.55);
  color: var(--emerald-100);
  text-decoration: none;
  font-weight: 600;
}

.cta-secondary:hover {
  background: rgba(6, 95, 70, 0.8);
}

.signup-aside {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(4, 21, 11, 0.45);
}

.signup-aside h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  color: var(--white);
}

.signup-aside ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.signup-aside li + li {
  margin-top: 0.55rem;
}

footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 2rem 0 2.4rem;
  border-top: 2px dashed var(--line);
  text-align: center;
  color: rgba(110, 231, 183, 0.8);
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-brand img {
  width: 1.5rem;
  height: 1.5rem;
}

footer p {
  margin: 0 0 0.85rem;
}

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

footer a:hover {
  color: var(--pistachio-soft);
}

@media (max-width: 960px) {
  .grid,
  .infra-grid,
  .signup-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 2rem));
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 1.5rem 0 3.25rem;
  }

  .grid,
  .infra-grid,
  .signup-panel {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
  }

  .signup-panel {
    padding: 1.5rem;
  }
}
