:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #55606e;
  --line: #dcd9d0;
  --accent: #1f4e79;
  --accent-text: #ffffff;
  --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181e;
    --surface: #1c222a;
    --text: #e8eaed;
    --muted: #a9b1bc;
    --line: #2e3640;
    --accent: #7fb2e5;
    --accent-text: #0d1b2a;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding-inline: 1.25rem;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

.hero {
  padding-block: 3.5rem 2.5rem;
  border-bottom: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 1.75rem;
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  line-height: 1.2;
  text-wrap: balance;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

section {
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

section p {
  margin: 0;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.1);
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card-number {
  font-size: 1.75rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.card-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.source {
  color: var(--muted);
  font-size: 0.875rem;
}

.people {
  display: grid;
  gap: 1rem;
}

.person {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.person img {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

.person p {
  margin-bottom: 0.25rem;
}

.closing {
  border-bottom: none;
  padding-bottom: 3rem;
}

.closing p {
  margin-bottom: 1.25rem;
}

.footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.legal {
  padding-block: 2rem 3rem;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 30rem) {
  .person {
    flex-direction: column;
  }

  .button {
    display: block;
    text-align: center;
  }
}
