:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #22c55e;
  --bg: #020617;
  --bg-elevated: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --radius: 0.75rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --max-width: 1120px;
  --nav-height: 64px;
  --transition: 200ms ease;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top bar */

.top-bar {
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22c55e, #2563eb 55%, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Nav links */

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #2563eb);
  transition: width var(--transition);
}

.nav-link:hover {
  color: #e5e7eb;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #e5e7eb;
}

.nav-link.active::after {
  width: 100%;
}

/* CTA button */

.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #2563eb);
  color: #0b1120;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-outline:hover {
  color: #e5e7eb;
  border-color: #e5e7eb;
}

/* Mobile nav toggle */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  cursor: pointer;
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

/* Mobile menu */

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0 1rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0;
}

.mobile-menu a.active {
  color: #e5e7eb;
}

/* Hero */

.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 55%);
  color: var(--muted);
  font-size: 0.75rem;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.1;
  margin: 1.1rem 0 0.75rem;
}

.hero-title span {
  background: linear-gradient(135deg, #22c55e, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta strong {
  color: #e5e7eb;
  font-weight: 500;
}

/* Hero visual */

.hero-card {
  border-radius: 1.25rem;
  background: radial-gradient(circle at top, #0f172a, #020617 55%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--muted);
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.metric-card {
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.7rem 0.8rem;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.metric-trend {
  font-size: 0.7rem;
  color: #22c55e;
}

.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.section-title {
  font-size: 1.4rem;
  margin: 0.4rem 0;
}

.section-description {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card {
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.1rem 1.1rem 1.2rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #22c55e, #2563eb);
  color: #0b1120;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Timeline / steps */

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 0.75rem;
}

.step-index {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.step-body {
  font-size: 0.9rem;
}

.step-title {
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.step-text {
  color: var(--muted);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.25rem;
}

.contact-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-meta p {
  margin: 0.2rem 0;
}

.contact-meta a {
  color: #38bdf8;
  text-decoration: none;
}

.contact-meta a:hover {
  text-decoration: underline;
}

.form {
  display: grid;
  gap: 0.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.8rem;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */

.footer {
  margin-top: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

.footer-inner {
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* Utilities */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--muted);
}

/* Page headers */

.page-hero {
  padding: 2.2rem 0 1.5rem;
}

.page-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 32rem;
}

/* Privacy / content */

.prose {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.prose h2 {
  font-size: 1.05rem;
  color: #e5e7eb;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.prose p {
  margin: 0.4rem 0;
}

.prose ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0;
}

.prose li {
  margin: 0.2rem 0;
}

/* Responsive */

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
