/* The content pages (about, help, privacy, terms, security, delete account,
   404) in the landing page's type and colour. The custom-property names are
   the ones those pages and page.css already use, so their markup is unchanged. */

@font-face { font-family: 'Fraunces'; src: url('assets/fonts/fraunces-latin-full-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('assets/fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --ink: #102a56;          /* 13.6:1 on --cream */
  --ink-hover: #0b1f42;
  --blue: #24508f;         /* links and buttons; 7.3:1 on --cream */
  --blue-hover: #1b3c74;
  --blue-tint: #ebeff6;
  --teal: #0b7a6d;
  --cream: #fbf7ef;
  --track: #f3ebdc;
  --border: #e4dac8;
  --text-2: #47556d;       /* 7.4:1 on --cream */
  --card: #fffdf9;
  --inputBackground: #fffdf9;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 480; font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.125rem, 1.6rem + 2vw, 2.875rem) !important; line-height: 1.08 !important; }
h2 { font-size: 1.5rem !important; }
.brand span { font-weight: 750; letter-spacing: -0.015em; }
.back { text-decoration: none; }
.back:hover { text-decoration: underline; }

.page-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--text-2); }
.page-foot nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.page-foot a { color: var(--ink); text-decoration: none; padding-block: 8px; }
.page-foot a:hover { color: var(--blue); text-decoration: underline; }
.page-foot p { margin: 16px 0 0; font-size: 0.8125rem; line-height: 1.6; max-width: 62ch; }
