:root {
  --color-bg: #f7f8fb;
  --color-surface: #ffffff;
  --color-surface-soft: #eef2f8;
  --color-text: #1b2d6b;
  --color-muted: #5a647d;
  --color-border: rgba(27, 45, 107, 0.14);
  --color-primary: #1b2d6b;
  --color-accent: #c73033;
  --color-accent-hover: #a92528;
  --color-white: #ffffff;

  --shadow-soft: 0 18px 45px rgba(24, 35, 70, 0.08);
  --shadow-card: 0 10px 30px rgba(24, 35, 70, 0.07);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --content-width: 1180px;

  --font-body: "Manrope", Arial, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
}

h1,
h2,
h3 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.08;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  max-width: 12ch;
  font-size: 5.4rem;
  letter-spacing: 0;
}

h2 {
  font-size: 3.15rem;
  letter-spacing: 0;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: 0;
}

p {
  color: var(--color-muted);
}

.lead {
  max-width: 58ch;
  margin-top: 1.4rem;
  font-size: 1.2rem;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 0.85rem;
  color: var(--color-accent);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(27, 45, 107, 0.06);
  color: var(--color-primary);
}

.pill.light {
  color: rgba(255, 255, 255, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  border-color: var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-secondary:hover {
  border-color: rgba(27, 45, 107, 0.28);
}

.btn-secondary.inverse {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.section-spacer {
  margin-top: 1.25rem;
}
