/* Shared styles for the privacy and terms pages. Palette matches index.html. */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/noto-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
  src: url(fonts/noto-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #000181;
  --navy-deep: #00005c;
  --brand: #1974d3;
  --sky: #53ccec;
  --peach: #ffcc98;
  --line: #e5e7eb;
  --ink: #14163a;
  --muted: #565a78;
  --white: #ffffff;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans', system-ui, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Header ---------- */
.top { background: var(--navy); color: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: 46px; width: auto; }
.nav a.back { color: rgba(255,255,255,.82); text-decoration: none; font-size: 0.975rem; }
.nav a.back:hover { color: var(--white); }

.title { padding-top: 56px; padding-bottom: 64px; }
.title h1 {
  margin: 0;
  font-stretch: 72%;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.title p { margin: 16px 0 0; color: rgba(255,255,255,.8); }

/* ---------- Document ---------- */
main { flex: 1; padding-top: 56px; padding-bottom: 96px; }
.doc { max-width: 44em; }
.doc h2 {
  margin: 48px 0 0;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 28px 0 0; font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.doc p, .doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-top: 6px; }
.doc a { color: var(--brand); }
.doc strong { font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: 0.925rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; margin-left: 24px; }
.footer a:first-child { margin-left: 0; }
.footer a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wordmark img { height: 38px; }
  .title { padding-top: 40px; padding-bottom: 48px; }
  main { padding-top: 40px; padding-bottom: 64px; }
}
