@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-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: "Archivo";
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-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 {
  --ground: #EDF0F4;
  --paper: #FFFFFF;
  --ink: #16233F;
  --ink-2: #4B587A;
  --line: #D3D9E3;
  --mark: #FFE24A;
  --mark-ink: #16233F;
  --band: #16233F;
  --band-ink: #F3F6FA;
  --band-ink-2: #B9C4D8;
  --focus: #2F5BEA;
  --danger: #B42318;
  --radius-card: 14px;
  --radius-ctl: 8px;
  --radius-tag: 4px;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0E1525;
    --paper: #162036;
    --ink: #E6ECF5;
    --ink-2: #A3B0C7;
    --line: #2A3754;
    --mark: #E9CF3E;
    --mark-ink: #16233F;
    --band: #1C2A47;
    --band-ink: #F3F6FA;
    --band-ink-2: #B9C4D8;
    --focus: #8FA9FF;
    --danger: #FF8A7A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-head { padding-block: 20px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 92%; font-size: 1.375rem; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand .tag-body { fill: var(--ink); }
.brand .tag-hole, .brand .tag-line { fill: var(--ground); stroke: var(--ground); }
.head-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-ctl); padding: 3px; background: var(--paper); }
.lang button {
  font: inherit; font-size: 0.8125rem; font-weight: 700; font-stretch: 115%;
  border: 0; background: transparent; color: var(--ink-2);
  padding: 5px 9px; border-radius: 5px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.head-link { font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 8px 2px; border-bottom: 2px solid var(--mark); }
@media (max-width: 520px) { .head-link { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none;
  padding: 0.85em 1.35em; border-radius: var(--radius-ctl); border: 0; cursor: pointer;
}
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.btn-mark { background: var(--mark); color: var(--mark-ink); }
.btn-mark:hover { background: color-mix(in srgb, var(--mark) 85%, #fff); }

/* Footer */
.site-foot { padding-block: 28px 40px; font-size: 0.8125rem; color: var(--ink-2); }
.site-foot .wrap { display: grid; gap: 10px; }
.site-foot p { max-width: 52rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.875rem; }
.foot-links a { color: var(--ink); text-underline-offset: 3px; }

/* Legal pages */
.legal { padding-block: clamp(28px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.legal article { max-width: 44rem; }
.legal h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); line-height: 1.04; font-weight: 800; font-stretch: 80%; letter-spacing: -0.005em; }
.legal .updated { margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; }
.legal .intro { margin-top: 24px; font-size: 1.125rem; }
.legal h2 { margin-top: 40px; font-size: 1.375rem; line-height: 1.25; font-weight: 750; font-stretch: 90%; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { text-underline-offset: 3px; }
