:root {
  color-scheme: light;
  --bg: #f8faf7;
  --ink: #17211a;
  --muted: #647064;
  --line: #dfe6dd;
  --panel: #ffffff;
  --accent: #2f7d55;
  --accent-strong: #1f6341;
  --soft: #eaf4ec;
  --shadow: 0 18px 50px rgba(23, 33, 26, 0.08);
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero {
  width: min(720px, 100%);
  padding: clamp(36px, 7vw, 72px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 28px;
}

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

h1 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: 20px;
}

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

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

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.document-header {
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.document-header h1 {
  margin-top: 18px;
}

.document-header p {
  margin-top: 14px;
  font-size: 17px;
}

.back-link {
  display: inline-flex;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

section p {
  font-size: 17px;
}

@media (max-width: 560px) {
  .page {
    padding: 18px;
  }

  .hero {
    padding: 30px 24px;
  }

  .lead {
    font-size: 18px;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .document {
    width: min(100% - 28px, 820px);
    padding-top: 36px;
  }
}
