/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-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;
}

/* ---------- tokens ---------- */
:root {
  --header-bg: #081C76;
  --page-bg: #FFFFFF;
  --text: #000000;
  --muted: #595959;

  --content-w: 1109px;
  --line: 29px; /* Inter 24px "normal" line height — also the blank-line gap */

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
html { -webkit-text-size-adjust: 100%; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }

/* ---------- header ---------- */
.site-header {
  height: 316px;
  padding-top: 104px;
  background-color: var(--header-bg);
}
.site-header a {
  display: block;
  width: 405px;
  margin: 0 auto;
}
.site-header img { width: 405px; height: 109px; }

/* ---------- policy ---------- */
.policy {
  width: var(--content-w);
  margin: 0 auto;
  padding-bottom: 96px;
  font-size: 24px;
  font-weight: 400;
  line-height: var(--line);
}

.policy__title {
  margin: 59px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: var(--line);
  text-align: center;
  text-decoration: underline;
  text-underline-position: from-font;
}

.policy__dates {
  display: flex;
  justify-content: space-between;
  margin: 67px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: var(--muted);
}

.policy .policy__intro { margin-top: 42px; }
.policy__body { margin-top: var(--line); }

.policy p,
.policy ul { margin: 0; }

/* one blank line between blocks, as in the design */
.policy section > * + *,
.policy__body > * + * { margin-top: var(--line); }

/* a heading's text follows it with no gap */
.policy h3 + p { margin-top: 0; }

.policy h2,
.policy h3 {
  margin: 0;
  font-size: 24px;
  line-height: var(--line);
  font-weight: 800;
}

.policy strong { font-weight: 800; }

.policy ul { padding-left: 1.2em; }

.policy hr {
  margin: var(--line) 0;
  border: 0;
  border-top: 1px solid #D9D9D9;
}

.policy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.policy a:hover { color: var(--header-bg); }

/* ---------- small screens ---------- */
@media (max-width: 1160px) {
  :root { --line: 1.5em; }

  .site-header {
    height: auto;
    padding: 56px 24px;
  }
  .site-header a,
  .site-header img {
    width: min(405px, 70vw);
    height: auto;
  }

  .policy {
    width: auto;
    max-width: var(--content-w);
    padding: 0 24px 64px;
    font-size: 18px;
  }
  .policy__title,
  .policy h2,
  .policy h3 { font-size: 20px; }
  .policy__title { margin-top: 40px; }

  .policy__dates {
    flex-wrap: wrap;
    gap: 4px 24px;
    margin-top: 32px;
    font-size: 16px;
  }
  .policy .policy__intro { margin-top: 32px; }
}
