:root {
  --ink: #172033;
  --ink-strong: #0f172a;
  --muted: #5b677b;
  --muted-light: #7b879a;
  --page: #f5f7fa;
  --white: #ffffff;
  --primary: #2457c5;
  --primary-dark: #173f98;
  --primary-soft: #edf3ff;
  --success: #16794c;
  --success-soft: #edf8f3;
  --line: #dde4ef;
  --line-soft: #edf1f7;
  --surface-unpaved: #d2b478;
  --surface-mid: #7f7167;
  --surface-paved: #111827;
  --danger: #a33d45;
  --sans: Arial, 'Helvetica Neue', Helvetica, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --max: 1200px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(36, 87, 197, 0.28);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.display {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(3rem, 5.6vw, 5.75rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-title {
  max-width: 850px;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.62;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(36, 87, 197, 0.18);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #bac7da;
  background: #f9fbff;
  color: var(--primary-dark);
}

.text-link {
  color: var(--primary);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(36, 87, 197, 0.3);
  text-underline-offset: 4px;
}

.metric-value {
  display: block;
  color: var(--ink-strong);
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.metric-label {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.fine {
  color: var(--muted-light);
  font-size: 0.74rem;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
