/* ---- Outfit, stored locally in ./fonts (relative to this stylesheet) ---- */
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* warm neutral palette pulled from the Figma screen */
  --bg:      #f4f3f0;
  --heading: #2b2a27;   /* title + section headings */
  --muted:   #9c9a92;   /* last-updated + body copy */

  /* spacing scale lifted from the mockup */
  --pad-x: 24px;
  --gap-section: 28px;
  --gap-title-body: 10px;

  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Dark theme — disabled for now, light only.
@media (prefers-color-scheme: dark) {
  :root {
    --bg:      #171614;
    --heading: #f1efe9;
    --muted:   #8d8b83;
  }
}
*/

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  -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-size: clamp(1.625rem, 3vw + 1rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

.updated {
  margin: 0 0 var(--gap-section);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---- document sections ---- */
.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: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}
