:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --text: #1b1c1d;
  --muted: #62666d;
  --line: #ddd6c7;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --shadow: 0 18px 60px rgba(35, 31, 25, 0.08);
}

* {
  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-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 760;
}

h2 {
  margin-top: 34px;
  font-size: 1.25rem;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent-strong);
}

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

.content-grid article {
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.content-grid h2 {
  margin-top: 0;
}

.content-grid p,
.document p {
  color: var(--muted);
}

.footer {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
}

.document {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.document h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.document h2 {
  padding-top: 18px;
}

.back-link {
  font-weight: 700;
}

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

@media (max-width: 760px) {
  .page {
    padding-top: 40px;
  }

  .hero {
    padding: 32px 0 42px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
