/* Privacy, terms and support pages. Same typefaces and colours as the app. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/dm-sans.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/dm-serif-display.woff2') format('woff2'); }
:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --surface: #fffefa;
  --ink: #233b32;
  --muted: #52645b;
  --border: #d9dfd5;
  --green: #275441;
  --sage: #e8eee3;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-text-size-adjust: 100%; }
.legal { max-width: 720px; margin: 0 auto; padding: 28px 18px calc(56px + env(safe-area-inset-bottom)); }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--green); font-weight: 600; text-decoration: none; }
.brand { font: 400 22px/1 'DM Serif Display', Georgia, serif; color: var(--ink); }
.brand span { color: #955b42; }
h1 { font: 400 clamp(34px, 7vw, 48px)/1.12 'DM Serif Display', Georgia, serif; letter-spacing: -.03em; margin: 0 0 8px; }
h2 { font: 400 25px/1.3 'DM Serif Display', Georgia, serif; letter-spacing: -.015em; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, li { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
a { color: var(--green); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid #a56336; outline-offset: 3px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.summary { background: var(--sage); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 20px 0 8px; }
.summary ul { margin: 6px 0 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 14px 0; }
.card h3 { margin-top: 0; }
.contact { font-size: 18px; font-weight: 600; }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--muted); }
/* In the app the page draws under the status bar (viewport-fit=cover). */
.is-native .legal { padding-top: calc(16px + env(safe-area-inset-top)); }
