/* Affirmer: simple document pages (privacy, terms, 404) */
:root {
  --bg: #7A0F2E;
  --card: #FFE9EE;
  --paper: #FFF7F9;
  --ink: #2A0614;
  --muted: #6B4A55;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 24px 16px 48px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 22px 32px;
  border-radius: 32px;
  background: var(--paper);
}
@media (min-width: 640px) { .doc { padding: 44px 48px 48px; } }
.doc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bg); font-weight: 700; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
h1, h2 { font-family: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif; font-weight: 400; color: var(--bg); letter-spacing: -.015em; text-transform: lowercase; }
h1 { margin: 0 0 6px; font-size: clamp(44px, 9vw, 64px); line-height: .9; }
h2 { margin: 36px 0 8px; font-size: 28px; line-height: 1; }
p, li { max-width: 66ch; text-wrap: pretty; }
ul { padding-left: 1.2em; }
li + li { margin-top: 6px; }
a { color: var(--bg); text-underline-offset: 3px; }
.updated { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.lead { font-size: 19px; }
.box { margin: 20px 0; padding: 16px 18px; border-radius: 20px; background: var(--card); }
.box p { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: #fff;
  font: 600 15px/1 "Instrument Sans", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn--ghost { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 2px var(--bg); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #E0245E; outline-offset: 2px; }
.status { margin: 10px 0 0; font-weight: 600; color: var(--bg); min-height: 1.6em; }
.doc-foot { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(42, 6, 20, .12); font-size: 15px; }

/* 404 */
.lost { display: grid; place-items: center; min-height: calc(100vh - 72px); }
.lost .doc { text-align: left; }
.lost-poster { position: relative; margin: 8px 0 20px; padding: 24px 22px; border-radius: 26px; background: var(--card); overflow: hidden; }
.lost-poster b { display: block; font-family: "Bagel Fat One", system-ui, sans-serif; font-weight: 400; font-size: clamp(64px, 18vw, 120px); line-height: .8; color: var(--bg); }
.lost-poster span { position: absolute; right: 6%; top: 18%; font-size: clamp(70px, 20vw, 130px); line-height: 1; transform: rotate(-12deg); }
