:root {
  color-scheme: light dark;
  --background: #f4f5f7;
  --surface: #ffffff;
  --text: #18202a;
  --muted: #66717e;
  --line: #dce1e7;
  --accent: #28739f;
  --accent-soft: #dcebf3;
  --dark: #18202a;
  --dark-text: #f5f7f9;
  --dark-muted: #b8c0c9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  margin-right: auto;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.button-primary {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--dark-text);
}

.hero {
  max-width: 760px;
  margin: 86px auto 58px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin: 16px 0;
  font-size: clamp(42px, 7vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  margin: 8px 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
}

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

.chart-card {
  margin-bottom: 110px;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.chart-label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chart-note,
.caption {
  color: var(--muted);
  font-size: 14px;
}

.chart {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  margin: 110px 0;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.number {
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 12px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: clamp(30px, 6vw, 64px);
  border-radius: 22px;
  background: var(--dark);
  color: var(--dark-text);
}

.privacy-panel .eyebrow {
  color: #84c4c2;
}

.privacy-panel p,
.privacy-panel li {
  color: var(--dark-muted);
}

.privacy-panel ul {
  margin: 0;
  padding-left: 20px;
}

.closing {
  max-width: 720px;
  margin: 110px auto;
  text-align: center;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer span {
  margin-right: auto;
}

.footer a {
  color: var(--muted);
}

.document {
  width: min(720px, calc(100% - 40px));
  margin: 60px auto 100px;
}

.document h1 {
  font-size: clamp(36px, 6vw, 52px);
}

.document h2 {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.document .updated {
  color: var(--muted);
}

@media (max-width: 760px) {
  .nav {
    gap: 16px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    margin-top: 54px;
  }

  .grid,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .chart-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111418;
    --surface: #1b2026;
    --text: #eef1f4;
    --muted: #a7b0ba;
    --line: #343b43;
    --accent: #79b8dc;
    --accent-soft: #203947;
    --dark: #080a0c;
  }
}
