/* Shared styles for the privacy policy and terms of use pages. */
:root {
  --teal: #2F6F73;
  --teal-dark: #245A5D;
  --off-white: #F2F6F5;
  --ink: #1E2A2B;
  --bg: var(--off-white);
  --surface: #ffffff;
  --text: var(--ink);
  --muted: #4A5859;
  --accent: var(--teal);
  --border: #D3DEDC;
  --soft: #DDEBEA;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #162021;
    --surface: #1E2A2B;
    --text: var(--off-white);
    --muted: #A9BDBC;
    --accent: #8CC4C7;
    --border: #2F4142;
    --soft: #24393A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #162021;
  --surface: #1E2A2B;
  --text: var(--off-white);
  --muted: #A9BDBC;
  --accent: #8CC4C7;
  --border: #2F4142;
  --soft: #24393A;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  /* With larger text, a long word or address breaks onto the next line instead of making the page scroll
     sideways (fifth audit, L46). */
  overflow-wrap: anywhere;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
.band { background: var(--teal); color: #fff; }
.band a { color: #fff; }
.band header { padding-top: 1.75rem; padding-bottom: 0; display: flex; flex-wrap: wrap; row-gap: 0.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.6); border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer;
}
.theme-toggle:hover { background: rgba(255,255,255,0.12); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (max-width: 400px) {
  .theme-toggle { padding: 0.45rem; }
  .theme-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.logo { display: inline-block; line-height: 0; }
.logo, .theme-toggle { flex-shrink: 0; white-space: nowrap; }
/* The logo is a fixed size, so it doesn't grow with larger text. */
.logo img { height: 36px; width: auto; }
.logo .tm { display: inline-block; vertical-align: top; margin: -2.4px 0 0 -1.6px; font-size: 12px; line-height: 1; color: #F2F6F5; }
.tm { font-size: .6em; vertical-align: super; line-height: 0; }
.hero { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.hero p { color: #E3EEED; margin: 0; }
h1 { font-size: clamp(2rem, 6vw, 2.5rem); line-height: 1.15; margin: 0 0 0.75rem; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.25rem 0 0.5rem; }
p { margin: 0 0 1rem; }
main { padding-bottom: 1rem; }
section { padding: 2rem 0 1rem; border-top: 1px solid var(--border); }
main > section:first-child { border-top: 0; }
ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin: 0.35rem 0; }
li::marker { color: var(--accent); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.band :focus-visible { outline-color: #fff; }
.box {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0.75rem; padding: 1.25rem; margin: 2rem 0 0.5rem;
}
.box ul { margin: 0; }
.box h2 { font-size: 1.2rem; }
.toc { font-size: 1rem; }
.band footer { padding-top: 2rem; padding-bottom: 3rem; font-size: 0.95rem; }
footer p { color: #E3EEED; }
@media print {
  .theme-toggle, .band header { display: none; }
  .band { background: none; color: #000; }
  .band a, footer p, .hero p { color: #000; }
}
