/* Fonts: IBM Plex Sans and Literata (SIL Open Font License), self-hosted. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(fonts/ibm-plex-sans-cyrillic-300-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(fonts/ibm-plex-sans-latin-ext-300-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 300;
  src: url(fonts/ibm-plex-sans-latin-300-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-latin-400-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-sans-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(fonts/ibm-plex-sans-latin-500-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-latin-600-normal.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/ibm-plex-sans-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/ibm-plex-sans-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/ibm-plex-sans-latin-700-normal.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;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/literata-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/literata-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/literata-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/literata-latin-400-normal.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;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/literata-cyrillic-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/literata-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/literata-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/literata-latin-600-normal.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;
}

/* Гүүр — shared styles. Page sections keep the design's inline styles; this file holds the shared header,
   footer, article layout, forms and helpers. Colors match the approved slate-blue palette. */

:root {
  --main: #0573BD;
  --util: #035286;
  --rule: #55ADE7;
  --gold: #F6CF6A;
  --gold-text: #FFFFFF;   /* small gold text on blue (the build makes it white for the sky theme) */
  --gold-2: #E0AE3C;
  --gold-ink: #045890;
  --off: #ECF7FD;
  --ink: #1C2938;
  --ink-2: #2E3645;
  --muted: #5B6472;
  --line: #D4DAE2;
  --line-2: #C6CFDA;
  --soft: #F0F9FF;
  --soft-2: #ECF7FE;
  --sans: 'IBM Plex Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --serif: Literata, Georgia, 'Times New Roman', serif;
}

html { background: var(--main); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--main); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
main:focus { outline: none; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { box-sizing: border-box; max-width: 1320px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Utility bar ---------- */
.util { background: var(--util); color: var(--soft-2); font-size: 13px; }
.util .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; }
.util p { margin: 0; padding: 12px 0; letter-spacing: 0.02em; }
.util-right { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.util a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; }
.util-sep { width: 1px; height: 14px; background: var(--rule); }
.util-fb { display: inline-flex; align-items: center; gap: 0 18px; }
.lang { display: flex; align-items: center; gap: 8px; }
.lang > * { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; letter-spacing: 0.08em; }
.lang [aria-current] { color: #FFFFFF; font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Header ---------- */
.site-header { position: relative; background: var(--main); color: #FFFFFF; border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 16px; min-height: 48px; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: 0.24em; }
.brand-tag { font-size: 12px; line-height: 1.3; letter-spacing: 0.02em; color: var(--soft-2); }
.hdr-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 15px; font-weight: 500; }
.main-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: #FFFFFF; text-decoration: none; }
.main-nav a:hover { color: var(--gold-text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: #FFFFFF; }
.icon-btn:hover { color: var(--gold); }
.btn-outline { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid #FFFFFF; color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; }
.btn-outline:hover { background: #FFFFFF; color: var(--main); }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 0; background: transparent; color: #FFFFFF; font: 600 15px/1 var(--sans); cursor: pointer; }
.menu-btn .bars { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }

@media (min-width: 1100px) and (max-width: 1379px) {
  .site-header .wrap { column-gap: 20px; }
  .hdr-right { column-gap: 12px; }
  .main-nav a { padding: 0 9px; }
  .btn-outline { padding: 0 16px; }
}
@media (max-width: 1099px) {
  .menu-btn { display: inline-flex; }
  .hdr-right { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; border-top: 1px solid var(--rule); }
  .site-header.open .hdr-right { display: flex; }
  .main-nav { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 0; min-height: 52px; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .hdr-actions { padding-top: 14px; gap: 12px; }
  .hdr-actions .icon-btn { border: 1px solid var(--rule); }
  .brand-tag { display: none; }
}
@media (max-width: 560px) { .util p { display: none; } .util .wrap { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--main); color: var(--soft); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 64px; padding-bottom: 36px; }
.ftr-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.ftr-brand { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ftr-brand p { margin: 0; max-width: 300px; font-size: 15px; line-height: 1.6; color: var(--soft-2); }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.ftr-col { display: flex; flex-direction: column; font-size: 15px; }
.ftr-col h2 { margin: 0; padding-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #FFFFFF; }
.ftr-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); text-decoration: none; }
.ftr-col a:hover, .ftr-bottom a:hover { color: var(--gold-text); text-decoration: underline; text-decoration-color: var(--gold); }
.ftr-disclaimer { margin: 0; max-width: 900px; font-size: 14px; line-height: 1.6; color: var(--soft-2); }
.ftr-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; }
.ftr-bottom span { color: var(--soft-2); }
.ftr-bottom div { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ftr-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--soft); }

/* ---------- Page hero (articles, glossary, legal, search) ---------- */
.page-hero { background: var(--main); color: #FFFFFF; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; padding-bottom: 56px; }
.crumbs { font-size: 13px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--soft-2); }
.crumbs a { color: var(--soft); }
.crumbs [aria-current] { color: #FFFFFF; font-weight: 600; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }
.page-hero h1 { margin: 0; max-width: 900px; font-size: clamp(34px, 4vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.page-hero .lead { margin: 0; max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--soft); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 14px; color: var(--soft-2); }
.meta .by { display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; font-weight: 600; }
.meta .by span { width: 36px; height: 36px; background: var(--util); display: flex; align-items: center; justify-content: center; }

/* ---------- Article layout ---------- */
.article-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 96px); }
.article { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.article > section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.short-answer, .next-steps { padding: 32px; background: var(--main); color: #FFFFFF; }
.short-answer h2, .next-steps h2 { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.short-answer h2::before, .next-steps h2::before { content: ""; flex: none; width: 32px; height: 1px; background: currentColor; }
.short-answer p { margin: 0; font-size: 19px; line-height: 1.6; color: #FFFFFF; text-wrap: pretty; }
.next-steps ol, .next-steps ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.6; }
.next-steps li::marker { color: var(--gold-text); font-weight: 600; }
.next-steps p { margin: 0; font-size: 17px; line-height: 1.6; color: #FFFFFF; }
.short-answer a, .next-steps a { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.short-answer a:hover, .next-steps a:hover { color: var(--gold-text); text-decoration-thickness: 2px; }
.prose h2 { margin: 0; font-size: 28px; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.prose h3 { margin: 8px 0 0; font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.prose p, .prose li { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--ink); }
.prose p { margin: 0; }
.prose ul, .prose ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: square; }
.prose li::marker { color: var(--main); }
.prose strong { font-weight: 600; }
.prose a { color: var(--main); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; border-top: 2px solid var(--main); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.prose th { padding: 12px 14px; background: var(--off); text-align: left; font-weight: 600; color: var(--ink); vertical-align: bottom; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose td:first-child { font-weight: 500; color: var(--ink); }
.note { padding: 18px 20px; background: var(--off); border-top: 2px solid var(--main); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 24px; background: #FBF6EA; border: 1px solid #D4A645; }
.cta-box p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.cta-box a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; background: var(--main); color: #FFFFFF; font-weight: 600; text-decoration: none; }
.sources { gap: 12px !important; padding-top: 28px; border-top: 1px solid var(--line); }
.sources h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sources ol, .sources ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sources a { color: var(--main); text-decoration: underline; text-underline-offset: 3px; }
.sources .foot { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.card { padding: 24px; background: #FFFFFF; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.card.toc { border-top: 2px solid var(--main); }
.card h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 15px; }
.toc a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid #EDF6FC; color: var(--ink); text-decoration: none; }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--main); }
.related { padding: 24px; background: var(--off); display: flex; flex-direction: column; gap: 12px; }
.related h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.related a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #FFFFFF; color: var(--ink); text-decoration: none; }
.related a span:first-child { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--main); }
.related a span:last-child { font-size: 15px; font-weight: 500; line-height: 1.4; }
.related a:hover span:last-child { text-decoration: underline; }
.ask h2 { font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.ask p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; background: var(--main); color: #FFFFFF; font-weight: 600; text-decoration: none; border: 0; border-radius: 0; font-family: var(--sans); font-size: 16px; cursor: pointer; }
.btn:hover { background: var(--util); color: #FFFFFF; }

/* ---------- Simple pages (legal, glossary, search, 404) ---------- */
.page-body { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 96px); }
.narrow { max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.narrow.prose > section { display: flex; flex-direction: column; gap: 14px; }

.gloss-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: 24px; border-bottom: 2px solid var(--main); }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 320px; max-width: 520px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input { box-sizing: border-box; width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid #6B7484; border-radius: 0; background: #FFFFFF; color: var(--ink); font-size: 17px; font-family: var(--sans); }
.gloss-count { margin: 0; font-size: 14px; color: var(--muted); }
.gloss-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 0 48px; }
.gloss-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.gloss-item:target { background: #FBF6EA; box-shadow: 0 0 0 12px #FBF6EA; }
.gloss-item dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.gloss-item dt b { font-size: 18px; font-weight: 600; color: var(--ink); }
.gloss-item dt span { font-size: 15px; color: var(--main); font-weight: 500; }
.gloss-item dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.search-form { display: flex; flex-wrap: wrap; gap: 8px 0; max-width: 760px; }
.search-form input { flex: 1 1 260px; min-width: 0; box-sizing: border-box; min-height: 56px; padding: 0 18px; border: 1px solid #6B7484; border-radius: 0; font-size: 17px; font-family: var(--sans); }
.search-form button { min-height: 56px; padding: 0 28px; border: 0; border-radius: 0; background: var(--gold); color: var(--ink); font: 600 16px var(--sans); cursor: pointer; }
.results { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--main); max-width: 900px; }
.results li a { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.results li a:hover .r-title { text-decoration: underline; }
.r-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--main); }
.r-title { font-size: 20px; font-weight: 600; line-height: 1.35; }
.r-sum { font-size: 15px; line-height: 1.55; color: var(--muted); }
.results-note { margin: 0; font-size: 15px; color: var(--muted); }
.r-read { font-size: 13px; color: var(--muted); }
.post-list { max-width: 900px; }
.list-more { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 32px; }
.list-more a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--main); font-weight: 600; text-decoration: none; }
.list-more a:hover { text-decoration: underline; }
.search-wrap { gap: 20px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; font-size: 14px; }
.chips span { margin-right: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); background: #FFFFFF; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--main); color: var(--main); }
.nf-links { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 2px solid var(--main); }
.nf-links a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; }
.nf-links a:hover { color: var(--main); text-decoration: underline; }
.legal { gap: 14px; }
.legal h2 { margin-top: 22px; font-size: 24px; scroll-margin-top: 16px; }
.legal p, .legal li { font-family: var(--sans); font-size: 17px; }
.legal td, .legal th { font-size: 15px; }

/* ---------- Forms ---------- */
.form-msg { margin: 0; padding: 12px 16px; font-size: 15px; line-height: 1.5; background: #FFFFFF; border-left: 3px solid var(--main); color: var(--ink-2); }
.form-msg.ok { border-left-color: #2F7D4F; }
.form-msg.warn { border-left-color: var(--gold-2); }
.download-ready { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.download-ready a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; }

@media print {
  .util, .site-header, .site-footer, .aside, .skip { display: none !important; }
  .page-hero { background: none; color: #000; }
  .page-hero h1, .page-hero .crumbs, .meta { color: #000; }
}
