@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;800&family=Monomakh&display=swap");

:root {
  --bg:      #221C1E;
  --heading: #F4EAE4;
  --text:    #D6C5BF;
  --muted:   #AE9B96;
  --accent:  #F4EAE4;

  --pad-x: 24px;
  --gap-section: 28px;
  --gap-title-body: 10px;

  --font-display: "Monomakh", Georgia, "Times New Roman", serif;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* mobile-first: full-bleed column; widens into a centered document on desktop */
.page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px var(--pad-x) 64px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  .page { padding-top: 72px; }
}

.title {
  margin: 0 0 var(--gap-section);
  color: var(--heading);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 42px;
  text-align: center;
  text-wrap: balance;
}

.updated {
  margin: 0 0 var(--gap-section);
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-section);
  max-width: 62ch;
}
.section { display: flex; flex-direction: column; gap: var(--gap-title-body); }
.section h2 {
  margin: 0;
  color: var(--heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
}
.section p,
.section ul {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
}
.section h3 {
  margin: 0;
  color: var(--heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}
.section ul { padding-left: 1.25em; }
.section li { margin: 0; }
.section strong { color: var(--heading); font-weight: 400; }
.section a { color: var(--accent); text-decoration: underline; }
.section p.item { padding-left: 1.25em; }
.section h2.caps { text-transform: uppercase; }
.section .italic { font-style: italic; }
