/* ============================================================
   TEXT PAGES  —  /privacy/, /terms/, /404.html
   ------------------------------------------------------------
   Long-form reading, not marketing layout: one measured column,
   generous line height, clear heading steps. Loaded only by the
   pages that need it.
   ============================================================ */

/* These pages have no hero, so the fixed nav sits straight over
   the top of the content. Same clearance the projects page uses. */
.page { padding-top: calc(90px + clamp(1rem, 3vw, 2rem)); }

.page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: var(--track-tight);
  line-height: 1.05;
  margin-bottom: .6rem;
}

.page__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* ── The prose column ───────────────────────────────────────
   65ch is the readable maximum; below that the measure is set
   by the container, so nothing needs a width at phone size.   */
.prose {
  max-width: 65ch;
  font-size: clamp(.95rem, 2.4vw, 1.02rem);
  line-height: 1.75;
  color: var(--ink-2);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: var(--track-tight);
  line-height: 1.2;
  color: var(--ink);
  margin-top: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: .6rem;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.4rem;
  margin-bottom: .35rem;
}

.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }

.prose ul { margin: 0 0 1rem; padding-left: 1.1rem; list-style: none; }
.prose li { position: relative; margin-bottom: .5rem; }
/* A rule instead of a bullet — quieter, and it matches the section
   marks used across the rest of the site. */
.prose li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: .85em;
  width: .5rem;
  height: 1px;
  background: var(--amethyst);
}

.prose strong { color: var(--ink); font-weight: 600; }

.prose a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}
@media (hover: hover) { .prose a:hover { color: var(--ink); } }

/* Contact block at the foot of each policy. */
.prose__card {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.prose__card p { margin-bottom: .35rem; }

.page__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--rule);
}

/* ── 404 ────────────────────────────────────────────────────
   Centred, short, and always offering a way onward.           */
.lost {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: min(70svh, 560px);
  padding-block: clamp(2rem, 6vw, 4rem);
}
.lost__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 22vw, 11rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: var(--track-tight);
  color: var(--ink);
}
.lost__rule {
  width: min(180px, 40vw);
  height: 1px;
  background: var(--rule);
  margin: clamp(1rem, 3vw, 1.6rem) 0;
}
.lost__lead {
  max-width: 44ch;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: clamp(1.5rem, 4vw, 2.2rem);
}
.lost__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
}
