/* Kaja Hangul — the palette and page chrome shared by everything outside the
   app shell: the privacy page, the admin page, and the server-rendered
   unsubscribe page.

   These three each carried their own copy of the colours, and by the time this
   file was written two of them had drifted: they were still painting the
   pre-Dancheong palette that index.html had already replaced. One definition,
   linked from all of them, so that can't happen again. */
:root {
  --paper:#FBF6EC; --ink:#26273A;
  --jade:#1FA08C; --jade-d:#15776A;
  --gold:#F4B83F; --verm:#EC5A43;
  --soft:#F3ECDC; --line:#ECE3D1; --mute:#756b5e;
}

body.page {
  font-family: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  line-height: 1.6;
}
body.page.narrow { max-width: 560px; }

.page h1 { color: var(--jade); font-size: 26px; }
.page h2 { color: var(--verm); margin-top: 32px; font-size: 18px; }
.page h3 { color: var(--verm); font-size: 15px; margin-top: 24px; }
.page a  { color: var(--jade); font-weight: 700; text-decoration: none; }
.page a:hover { text-decoration: underline; }
.page a:focus-visible { outline: 2px solid var(--verm); outline-offset: 2px; }
.page code { background: var(--soft); padding: 1px 5px; border-radius: 4px; }
.page .muted { color: var(--mute); font-size: 13px; }

/* The wordmark, as it appears on the pages that aren't the app. */
.page .brand { font-size: 20px; font-weight: 800; color: var(--jade); }

/* Stat tiles + rows — admin, and anywhere else numbers get listed. */
.page .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.page .stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; }
.page .stat b { display: block; font-size: 30px; color: var(--jade); font-variant-numeric: tabular-nums; }
.page .stat span { font-size: 12px; color: var(--mute); }
.page .row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line);
  padding: 7px 2px; font-size: 14px; }
