/* Shared styles for the studio's document pages (privacy, terms, support).
 *
 * The homepage is a bookplate: one screen, centred, a showpiece. These are
 * documents: longer, read top-to-bottom, so they keep the plate, palette and
 * type but widen it and set the prose left-aligned. Same binding, different page.
 *
 * Tokens are duplicated from index.html rather than extracted into a shared file
 * that the homepage also loads: the homepage is deliberately a single
 * self-contained file with no render-blocking stylesheet, and splitting it would
 * trade that for a request on the one page that most needs to be instant.
 */
:root {
  --ink: #1d2733;
  --cream: #f5efe2;
  --cream-edge: #d8cdb4;
  --muted: #6e6452;
  --accent: #8a2f24;
  --gold: #9a7b3f;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Cormorant Garamond", Georgia, serif;
  background: var(--ink);
  color: var(--ink);
  display: grid;
  place-items: start center;
  padding: clamp(20px, 5vw, 56px) 20px;
  min-height: 100%;
}
.plate {
  width: min(760px, 100%);
  background: var(--cream);
  border: 1px solid var(--cream-edge);
  box-shadow:
    0 0 0 6px var(--cream),
    0 0 0 7px var(--gold),
    0 30px 80px -20px rgba(0,0,0,.65);
  padding: clamp(32px, 6vw, 60px) clamp(24px, 5.5vw, 56px);
}

/* Back to the shelf. Mono + small caps, like a running head. */
.back {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 26px;
}
.back:hover { color: var(--accent); }

.kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
h1 {
  font-size: clamp(30px, 5.5vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.updated {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: 12px;
}
.rule {
  height: 1px;
  background: rgba(154,123,63,.4);
  margin: 28px 0;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 34px 0 10px;
}
h2:first-of-type { margin-top: 0; }
p, li {
  font-size: 17.5px;
  line-height: 1.62;
  color: #2b3340;
}
p + p { margin-top: 12px; }
ul { margin: 12px 0 0 1.15em; }
li { margin-bottom: 8px; }
li::marker { color: var(--gold); }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(138,47,36,.35); }
a:hover { border-bottom-color: var(--accent); }
strong { font-weight: 600; }

/* The lede under a heading: slightly larger, the "short version". */
.lede { font-size: 19px; line-height: 1.55; }

/* Definition-style rows, for "what we collect" and the volume list. */
.rows { margin-top: 14px; border-top: 1px solid rgba(154,123,63,.28); }
.row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(154,123,63,.28);
}
.row .k {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.row .v { font-size: 16.5px; text-align: right; color: #2b3340; }

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(154,123,63,.4);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
footer p + p { margin-top: 7px; }

@media (max-width: 560px) {
  .row { flex-direction: column; gap: 4px; }
  .row .v { text-align: left; }
  p, li { font-size: 16.5px; }
}
