:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --text: #1e242d;
  --muted: #5d6978;
  --line: #d8dee8;
  --accent: #176f6b;
  --accent-dark: #0f4d4a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.intro {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}

.intro.compact {
  padding-bottom: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.15;
}

h1 {
  max-width: 780px;
  font-size: clamp(1.75rem, 6vw, 4rem);
  overflow-wrap: anywhere;
}

h2 {
  margin-top: 30px;
  font-size: 1.2rem;
}

p {
  margin: 12px 0 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.16rem;
}

.content {
  max-width: 760px;
  padding: 8px 0 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 8px 14px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 24px, 920px);
    padding: 32px 0;
  }

  .intro {
    padding-top: 24px;
  }

  .lead {
    font-size: 1rem;
  }

  .links {
    align-items: stretch;
    flex-direction: column;
  }

  .links a {
    justify-content: center;
  }
}

footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
