:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-soft: #f7fafc;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.08);
  --accent-strong: #2563eb;
  --text-main: #0f172a;
  --text-soft: #64748b;
  --text-on-dark: #e5e7eb;
  --border-subtle: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.4);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.3);
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-fast: 0.18s ease-out;
}

/* Base reset-ish */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 0 0, #1e293b 0, #020617 45%, #020617 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout shells */

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.shell.narrow {
  max-width: 720px;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: #f9fafb;
}

/* Header & nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.85), transparent);
  backdrop-filter: blur(16px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #93c5fd, #3b82f6 50%, #1d4ed8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0b1120;
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.6), 0 12px 25px rgba(15, 23, 42, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.brand-tagline {
  font-size: 11px;
  color: #94a3b8;
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.nav-link {
  color: #cbd5f5;
  padding: 4px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-active {
  color: #e5e7eb;
  font-weight: 500;
}

.nav-link-active::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */

.hero {
  padding: 72px 0 48px;
  color: #e5e7eb;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw + 14px, 40px);
  line-height: 1.1;
}

.hero-accent {
  background-image: linear-gradient(to right, #60a5fa, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: #cbd5f5;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-footnote {
  font-size: 12px;
  color: #94a3b8;
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at 0 0, rgba(96, 165, 250, 0.24), transparent 55%),
  radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.22), transparent 60%),
  var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 14px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #cbd5f5;
  margin-bottom: 10px;
}

.hero-card-label {
  opacity: 0.9;
}

.hero-card-pill {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Chart */

.hero-chart {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 1));
  border: 1px solid rgba(51, 65, 85, 0.9);
  padding: 10px 10px 24px;
  margin-bottom: 10px;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.4) 1px, transparent 1px),
    linear-gradient(to top, rgba(15, 23, 42, 0.6) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.8;
}

.chart-line {
  position: absolute;
  inset: 22px 12px 30px 12px;
  border-radius: 999px;
  mix-blend-mode: screen;
}

.chart-line-main {
  background: linear-gradient(
    90deg,
    rgba(96, 165, 250, 0.1) 0%,
    rgba(96, 165, 250, 0.65) 18%,
    rgba(129, 140, 248, 0.9) 52%,
    rgba(45, 212, 191, 0.85) 100%
  );
  clip-path: polygon(0% 60%, 12% 46%, 26% 62%, 40% 38%, 54% 50%, 68% 32%, 82% 42%, 100% 28%, 100% 100%, 0% 100%);
}

.chart-line-secondary {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.6) 40%,
    rgba(192, 132, 252, 0.7) 100%
  );
  clip-path: polygon(0% 74%, 16% 66%, 32% 78%, 48% 60%, 64% 66%, 80% 54%, 100% 62%, 100% 100%, 0% 100%);
  opacity: 0.7;
}

.chart-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 72px;
  margin-top: 26px;
}

.chart-bars span {
  flex: 1;
  max-width: 14px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.9));
  height: var(--h, 100px);
}

/* Hero metrics */

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}

.hero-metric {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 10px;
  padding: 8px;
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.hero-metric-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.hero-metric-value {
  font-size: 11px;
  color: #e5e7eb;
}

.hero-card-note {
  font-size: 10px;
  color: #9ca3af;
  margin: 4px 0 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

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

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

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

/* Section headers */

.section-header {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 24px;
  margin: 0 0 6px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* Ensure good contrast for section headings on dark background sections */
.section:not(.section-alt) .section-title {
  color: #e5e7eb;
}

.section:not(.section-alt) .section-subtitle {
  color: #cbd5f5;
}

/* Cards & grids */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
}

.section-alt .card {
  background: #ffffff;
}

.card-title {
  font-size: 16px;
  margin: 0 0 6px;
}

.card-body {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

.card-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  margin: 0 0 8px;
}

.card-list .list {
  padding-left: 18px;
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.card-list .list li + li {
  margin-top: 4px;
}

.card-placeholder {
  margin-top: 18px;
}

.list {
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

/* CTA */

.cta {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, rgba(129, 140, 248, 0.14), transparent 60%),
  #020617;
  color: #e5e7eb;
  border: 1px solid rgba(129, 140, 248, 0.5);
  padding: 18px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.cta .section-title {
  color: #e5e7eb;
}

.cta .section-subtitle {
  color: #cbd5f5;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Page shells */

.page-section {
  padding: 72px 0 56px;
  background: #f9fafb;
}

.page-title {
  font-size: 26px;
  margin: 0 0 10px;
}

.page-lede {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0 0 18px;
}

.page-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

/* Contact form */

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.for
