:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #1e2420;
  --muted: #5f6d64;
  --line: #dfe5dd;
  --accent: #1f7a65;
  --accent-dark: #145846;
  --focus: #0f6fff;
}

* {
  box-sizing: border-box;
}

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

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

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

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

.narrow {
  width: min(760px, calc(100% - 32px));
}

.hero,
.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.hero {
  margin-bottom: 18px;
}

.brand {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(34px, 6vw, 56px);
}

h2 {
  font-size: 23px;
}

p {
  margin: 12px 0 0;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
}

.section {
  margin-top: 18px;
}

details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

details:first-of-type {
  margin-top: 16px;
}

details:last-child {
  padding-bottom: 0;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.links h2 {
  width: 100%;
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
}

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

  .hero,
  .section {
    padding: 20px;
  }

  h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 17px;
  }
}
