:root {
  color-scheme: light;
  --page: #f4f1eb;
  --paper: #fbfaf6;
  --ink: #202225;
  --muted: #62666d;
  --soft: #e8e1d5;
  --deep: #26343f;
  --accent: #8a6f48;
  --accent-soft: #d6c5aa;
  --max: 920px;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.68;
  letter-spacing: 0;
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 72px;
}

article {
  background: var(--paper);
  padding: clamp(28px, 6vw, 72px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin: 54px 0 14px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 34px 0 10px;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 760;
}

p {
  margin: 0 0 18px;
}

a {
  color: var(--deep);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

strong {
  color: var(--deep);
  font-weight: 760;
}

.lead {
  max-width: 790px;
  margin-top: 26px;
  color: var(--deep);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.42;
}

.meta {
  margin-top: 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.note {
  margin: 34px 0;
  padding: 24px;
  background: var(--soft);
  color: var(--deep);
}

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

.chat {
  margin-top: 24px;
  padding: clamp(22px, 5vw, 42px);
  background: var(--deep);
  color: #f8f3e9;
}

.chat h2,
.chat h3 {
  color: #f8f3e9;
}

.chat a {
  color: #f8f3e9;
  text-decoration-color: var(--accent-soft);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: #f8f3e9;
  color: var(--deep);
  font-size: 16px;
  font-weight: 720;
}

.button-label.secondary {
  background: #d8c8ad;
}

.doc-end {
  margin-top: 54px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  main {
    width: min(100% - 20px, var(--max));
    padding: 20px 0 44px;
  }

  article {
    padding: 24px 18px 34px;
  }

  .note,
  .chat {
    padding: 18px;
  }

  .button-row {
    display: block;
  }

  .button-label {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
}
