:root {
  color-scheme: light;
  --paper: #fff8ea;
  --parchment: #f1dfc0;
  --parchment-soft: #f8ecd3;
  --green-900: #0f3b24;
  --green-800: #174c31;
  --green-300: #8ea489;
  --ink: #172019;
  --muted: #5f6259;
  --line: rgba(15, 59, 36, 0.16);
  --shadow: rgba(15, 59, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 16%, rgba(142, 164, 137, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 78%, rgba(15, 59, 36, 0.10), transparent 24rem),
    var(--parchment);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: var(--green-800);
}

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

.home {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.hero {
  width: min(680px, 100%);
  text-align: center;
  padding: 44px 28px;
}

.brand-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--paper);
  font-size: 38px;
  line-height: 1;
  box-shadow: 0 18px 45px var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2 {
  color: var(--green-900);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 74px);
  line-height: 0.96;
}

.lede {
  margin: 18px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.78);
  color: var(--green-900);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--green-900);
  color: var(--paper);
}

.document-page {
  padding: 26px 0 64px;
}

.topnav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.topnav a {
  text-decoration: none;
}

.topnav div {
  display: flex;
  gap: 14px;
}

.topnav [aria-current="page"] {
  color: var(--ink);
}

.document {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.86);
  box-shadow: 0 22px 60px var(--shadow);
}

.document h1 {
  margin-bottom: 28px;
  font-size: clamp(38px, 6vw, 58px);
}

.document h2 {
  margin: 34px 0 12px;
  font-size: 28px;
}

.document p,
.document li {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.78;
}

.document ul {
  padding-left: 22px;
}

.document strong {
  color: var(--green-900);
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 960px);
  }

  .document {
    padding: 24px 18px;
  }

  .topnav {
    align-items: flex-start;
    flex-direction: column;
  }
}
