:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #66615b;
  --paper: #fffdf8;
  --panel: #f5efe5;
  --line: #ded3c5;
  --accent: #b84a30;
  --accent-dark: #823321;
  --green: #2f6957;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

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

.page {
  min-height: 100vh;
  padding: 32px 22px 48px;
}

.wrap {
  width: min(880px, 100%);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 72px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

.links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.links a {
  text-decoration: none;
}

.hero {
  max-width: 760px;
}

.eyebrow {
  color: var(--green);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(44px, 8vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0 0 22px;
  max-width: 760px;
}

.lead {
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 660px;
}

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

.button {
  border: 1px solid var(--accent);
  border-radius: 6px;
  display: inline-flex;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

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

.rule {
  border-top: 1px solid var(--line);
  margin: 74px 0 34px;
}

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

.note {
  border-top: 3px solid var(--accent);
  padding-top: 16px;
}

.note h2 {
  font-size: 22px;
  margin: 0 0 8px;
}

.note p,
.doc p,
.doc li {
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.doc {
  max-width: 760px;
}

.doc h1 {
  font-size: clamp(38px, 7vw, 64px);
}

.doc h2 {
  border-top: 1px solid var(--line);
  font-size: 24px;
  margin: 40px 0 12px;
  padding-top: 24px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  margin-top: 70px;
  padding-top: 18px;
}

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

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