/*
  Shared by the two standalone pages under /dr-timer/ — privacy-policy.html and
  support.html — which exist because the App Store listing for Pilot Timer
  requires a privacy-policy URL and a support URL. Nothing on the site links to
  either; they are reached directly.

  These pages ship out of public/, so the Vite build copies them untouched: no
  bundle, no CSS modules, no @fontsource. Two consequences, both deliberate:

  - The colours below are a copy of the tokens in src/styles/tokens.css, not an
    import. If the palette changes there, it does not change here.
  - The fonts the site bundles (Figtree, Fraunces) are not available, and
    nothing is loaded from a CDN — a page that states the app makes no network
    requests should not itself call out to Google Fonts. Headings fall through
    to Georgia, body text to the system sans, which is what the site's own font
    stacks name as their fallbacks.
*/

:root {
  --ink: #11263c;
  --muted: #46607b;
  --brass-text: #8a6220;
  --panel: #f6f8fa;
  --border: #e6ebf0;
  --paper: #ffffff;
  --gold: #f0c56a;
  --on-ink: #c7d4e2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* The one dark band, as on the main site: it anchors the top so the page below
   reads as the document rather than the whole site. */
.masthead {
  padding: 48px 20px 40px;
  background: var(--ink);
}

.masthead :focus-visible {
  outline: 2px solid var(--paper);
}

.inner {
  /* 1080px is the site's measure; a page of running text wants less. */
  max-width: 42rem;
  margin: 0 auto;
}

h1 {
  font-family: 'Fraunces Variable', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.5rem);
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--paper);
}

/* The line under the h1, inside the dark band: the effective date on the
   policy, what the app is on the support page. */
.standfirst {
  margin: 0;
  color: var(--on-ink);
}

main {
  padding: 40px 20px 8px;
}

h2 {
  font-family: 'Fraunces Variable', Georgia, serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 40px 0 12px;
  color: var(--ink);
}

h2:first-child,
.lead + h2 {
  margin-top: 32px;
}

/* A question in the support list. Smaller than a section heading, and sans:
   these are a list of cases, not sections of the document. */
h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 28px 0 8px;
  color: var(--ink);
}

p {
  margin: 0 0 16px;
}

/* The opening statement, panelled so it is not skimmed past: on the policy it
   is the whole policy in three sentences, on the support page it is the one
   address that reaches a person. */
.lead {
  margin: 0 0 8px;
  padding: 20px 24px;
  background: var(--panel);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}

.lead p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--brass-text);
}

footer {
  max-width: 42rem;
  margin: 48px auto 0;
  padding: 24px 20px 56px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

footer p {
  margin: 0 0 8px;
}

footer p:last-child {
  margin-bottom: 0;
}
