@font-face {
  font-family: "Libre Caslon Text";
  src: url("fonts/LibreCaslonText.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --canvas: #f4f4f5;
  --surface: #fcfcfd;
  --ink: #252527;
  --muted: #67676c;
  --line: #dedee2;
  /* The app icon's two background blues, softened over the light canvas. */
  --blue-glow: #173c5940;
  --navy-glow: #081b3030;
  --focus: #245acb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0a0a0b;
    --surface: #111113;
    --ink: #e5e5e8;
    --muted: #a2a2aa;
    --line: #262629;
    --blue-glow: #173c59;
    --navy-glow: #081b30;
    --focus: #9ebdff;
  }
}

* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--surface); }
.skip-link { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .8rem; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.backdrop { position: fixed; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 0% 100%, var(--blue-glow), transparent 42%), radial-gradient(ellipse at 100% 100%, var(--navy-glow), transparent 42%); }
.title-layer { position: fixed; z-index: 0; top: 9rem; left: 1rem; right: 1rem; text-align: center; }
h1 { font-size: clamp(2.7rem, 6vw, 4rem); font-weight: 450; letter-spacing: -.065em; line-height: 1.07; margin: 0; }
.policy-card { position: relative; z-index: 1; width: min(720px, calc(100% - 3rem)); margin: 20rem auto 4rem; padding: 2rem clamp(1.5rem, 6vw, 5rem) 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 60px #00000008; }
.policy-card:focus { outline: none; }
.document-meta { text-align: center; margin-bottom: 3.25rem; font-size: .875rem; color: var(--muted); }
section { margin-bottom: 3rem; scroll-margin-top: 6rem; }
h2 { margin: 0 0 1rem; font-size: .875rem; line-height: 1.5; font-weight: 500; color: var(--muted); }
section p { margin: 0 0 1rem; font-family: "Libre Caslon Text", Georgia, serif; font-size: 1.125rem; line-height: 1.65; letter-spacing: -.01em; overflow-wrap: anywhere; }
strong { font-weight: 600; }

@media (max-width: 600px) {
  .title-layer { top: 6rem; }
  .policy-card { width: calc(100% - 2rem); margin-top: 14rem; padding-inline: 1.5rem; border-radius: 14px; }
  .document-meta { margin-bottom: 2.5rem; }
  section p { font-size: 1.125rem; }
}

@media (forced-colors: active) {
  .backdrop { display: none; }
  .policy-card { background: Canvas; color: CanvasText; }
}

@media print {
  .backdrop, .skip-link { display: none; }
  .title-layer { position: static; margin: 2rem 0; }
  .policy-card { width: 100%; margin: 0; border: 0; padding: 0; box-shadow: none; }
  section { break-inside: avoid; }
}
