:root {
  --color-bg: #020617;
  --color-surface: #0b1120;
  --color-surface-alt: #020617;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #22c55e;
  --color-text: #f9fafb;
  --color-muted: #9ca3af;
  --color-border: #1f2937;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 60%, #000 100%);
  color: var(--color-text);
}

/* Layout helpers */

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

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 55%);
}

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.1rem;
}

.logo-mark {
  font-size: 1.4rem;
}

.logo-text strong {
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  z-index: 1;
}

.hero-copy h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

.highlight {
  background: linear-gradient(120deg, #bfdbfe, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--color-muted);
  background: rgba(15, 23, 42, 0.8);
}

.hero-subtitle {
  color: var(--color-muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  max-width: 20rem;
}

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

  .hero {
    padding-top: 3.2rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #eff6ff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.5);
}

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

.btn.ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
}

/* Sections */

.section h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
}

.section-lead {
  max-width: 40rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Cards, grids */

.bullets {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.bullets li::before {
  content: "• ";
  color: var(--color-accent);
}

.about-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

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

@media (max-width: 680px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  position: relative;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.2), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.7);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.card-tag {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #bfdbfe;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}

.step {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.7);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

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

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

@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Newsletter */

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: rgba(15, 23, 42, 0.96);
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.newsletter-form input[type="email"] {
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
  color: var(--color-text);
  font-size: 0.9rem;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: #6b7280;
}

.newsletter-note {
  font-size: 0.8rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .newsletter {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer */

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

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.site-footer a {
  color: #93c5fd;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  max-width: 30rem;
}

/* Misc */

p {
  line-height: 1.6;
}

a {
  color: #bfdbfe;
}

a:hover {
  color: #e5e7eb;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
