:root {
  color-scheme: light;
  --bg: #f8faf7;
  --ink: #17201b;
  --muted: #5d6961;
  --line: #dfe7e1;
  --accent: #006d5b;
  --accent-soft: #dcefeb;
}

* {
  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.65;
}

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

.shell {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

main {
  padding: 56px 0 72px;
}

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

h1 {
  margin: 0 0 14px;
  max-width: 760px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 42px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

p,
li {
  font-size: 16px;
}

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

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: #ffffff;
}

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

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

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

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 40px;
  }
}
