* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --text: #0c0f14;
  --text-muted: #4a5568;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --border: #e2e8f0;
  --hero-top: #0f172a;
  --hero-bottom: #1e3a5f;
}

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

a:hover {
  color: var(--accent);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.2;
}

.logo:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a {
  padding: 6px 4px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

/* Hero band */
.hero-wrap {
  background: linear-gradient(
    165deg,
    var(--hero-top) 0%,
    var(--hero-bottom) 55%,
    #1e40af 100%
  );
  color: #f1f5f9;
  padding: 56px 0 64px;
  margin-bottom: 8px;
}

.hero-wrap .container {
  max-width: 720px;
  text-align: center;
}

.hero-wrap h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  line-height: 1.15;
}

.hero-wrap .lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(241, 245, 249, 0.88);
  margin: 0 0 24px;
}

.hero-wrap .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #93c5fd;
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions--tight-top {
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.pill--solid {
  background: #fff;
  color: var(--hero-top);
  border-color: #fff;
}

.pill--solid:hover {
  background: #eff6ff;
  color: var(--hero-top);
}

/* Buttons on light backgrounds */
.pill-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pill-light:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.product-strip {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.product-strip strong {
  color: #fff;
  font-size: 0.95rem;
}

.product-strip p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(241, 245, 249, 0.85);
}

/* Sections */
.page {
  padding: 40px 0 32px;
}

.page h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.page h1 {
  margin-top: 0;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.page p,
.page li {
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 72ch;
}

.page ul {
  padding-left: 1.25rem;
}

.mission p {
  max-width: 72ch;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 8px 0 36px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: #bfdbfe;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:focus .card,
.card-link:hover .card {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: #bfdbfe;
}

/* Legal */
.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.prose h2 {
  font-size: 1.2rem;
  margin-top: 28px;
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 0 36px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: var(--accent);
  font-weight: 500;
}

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

.muted {
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .nav {
    font-size: 0.8rem;
    gap: 6px 12px;
  }

  .hero-wrap {
    padding: 40px 0 48px;
  }
}
