:root {
  --bg: #020617;
  --bg-elevated: #02081f;
  --bg-soft: #02081f;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --primary: #0ea5e9;
  --primary-soft: rgba(14, 165, 233, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
  --danger: #f97373;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 999px;
  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.9);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #082f49 0, #020617 48%, #000 100%);
  color: var(--text-main);
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.85));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  width: 75px;
  height: 75px;
  border-radius: 999px;
  display: block;
}

.brand-text {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: var(--text-main);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.main-nav a:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.05s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border-color: rgba(56, 189, 248, 0.9);
  color: #0b1120;
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
}

.nav-secondary {
  display: none;
}

.nav-cta {
  display: inline-flex;
}

/* Hero */

.hero {
  padding: 3.75rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #38bdf8;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.3vw, 3rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.lead {
  margin: 0 0 1.6rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 32rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.cta-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.cta-form input[type="email"]::placeholder {
  color: rgba(148, 163, 184, 0.85);
}

.cta-form input[type="email"]:focus {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.microcopy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero card */

.hero-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(circle at bottom right, rgba(8, 47, 73, 0.95), #020617 70%);
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

.badge {
  align-self: flex-start;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.18);
  color: #bbf7d0;
  font-size: 0.7rem;
  font-weight: 600;
}

.hero-card-label {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.8);
}

.hero-card-amount {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0;
}

.hero-card-list {
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hero-card-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
}

.hero-card-list dt {
  color: var(--text-muted);
}

.hero-card-list dd {
  margin: 0;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-card-list .negative {
  color: #fecaca;
}

.hero-card-footer {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.85);
}

/* Sections */

.section {
  padding: 3.2rem 0;
}

.section-alt {
  background: radial-gradient(circle at top right, rgba(15, 23, 42, 0.9), #020617 46%);
}

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 1.8rem;
}

/* Feature grid */

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

.feature {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid rgba(30, 64, 175, 0.4);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.8);
}

.feature h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  counter-reset: step;
}

.steps li {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem 1.5rem;
  border: 1px solid rgba(30, 64, 175, 0.4);
  position: relative;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.8);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.steps h3 {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* FAQ */

.faq {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.faq-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.02rem;
}

.faq-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  padding: 1.6rem 0 2.2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text-main);
}

.footer-logo {
  width: 26px;
  height: 26px;
  border-radius: 999px;
}

.footer-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-copy {
  margin: 0;
  color: rgba(100, 116, 139, 0.9);
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 420px;
    margin-inline: auto;
  }

  .grid-3,
  .steps,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
  }

  .nav-secondary {
    display: inline-flex;
  }
}

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

  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-form input[type="email"] {
    width: 100%;
  }

  .nav-cta {
    flex: 1;
    justify-content: center;
  }
}
