/* Design 01 · privacy and terms pages only, loaded after styles.css.
   Request (owner, 2026-11-04): the skeleton's two policy pages in design 01's type, spacing and colour rule.
   Design: one centred reading column (about 75 characters a line), as long documents read best; the title in the
   heavy display type of the homepage, section headings in the weight of the pricing card titles, body text in the
   soft ink of the homepage paragraphs, and lists with the round ink bullets of the plan cards. The terms' "On this
   page" links are a row of pills (the Menu button's outline) that wraps on phones. Everything here is neutral: no
   palette colour on these pages. Section jumps stop below the sticky header, like every other jump on the site.
   No :root here: the colour check reads the palette from styles.css. */

.policy {
  max-width: 40rem;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  color: var(--ink-soft);
  overflow-wrap: break-word;
}
.policy h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}
.policy .note { margin-top: 1rem; font-size: 0.9375rem; }
.policy .lead { margin-top: 1.5rem; }

/* Terms: "On this page" */
.policy nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.policy nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4em 1.05em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.policy nav a:hover { border-color: var(--ink-soft); }

.policy h2 {
  margin-top: 2.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  scroll-margin-top: 6rem;
}
.policy h2 + :is(p, ul) { margin-top: 0.75rem; }
.policy > ul { display: grid; gap: 0.6rem; }
.policy > ul li { position: relative; padding-left: 1.25rem; }
/* The dot sits on the middle of the first line: half the line height, less half the dot */
.policy > ul li::before { content: ""; position: absolute; top: calc(0.8em - 0.2rem); left: 0; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--ink); }
.policy strong { font-weight: 600; color: var(--ink); }
.policy > :is(p, ul) a { color: var(--ink); text-underline-offset: 0.2em; }
.policy > :is(p, ul) a:hover { text-decoration-thickness: 2px; }
