/* Brand font source. Publish a new content-hashed copy after every edit.
   Unicode ranges were verified against the existing WOFF2 cmaps (see tools/typography-fonts.json).
   Latin / Cyrillic / extended Latin / extended Cyrillic / Vietnamese, without overlapping ranges.
   Tenge and some symbols are absent in these files: the explicit system fallback remains necessary. */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-98bbbccb.woff2) format("woff2");
  unicode-range: U+0020-007E, U+00A0-00AC, U+00AE-00FF, U+0102, U+0131, U+0152-0153, U+02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2191, U+2193, U+2212;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-875ccdd4.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-001175b1.woff2) format("woff2");
  unicode-range: U+0100-0101, U+0103-0113, U+0116-012B, U+012E-0130, U+0132-0137, U+0139-013E, U+0141-0148, U+014A-014D, U+0150-0151, U+0154-017E, U+018F, U+0192, U+01A0-01A1, U+01AF-01B0, U+01CD-01CE, U+01E4-01E9, U+0218-021B, U+0237, U+0259, U+02B9, U+02C7-02C8, U+02DD, U+1E20-1E21, U+1E80-1E85, U+1E9E, U+1EF2-1EF9, U+2020, U+20AA, U+20B1, U+20B4, U+20B9, U+20BD, U+A78B-A78C;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-ff2310f5.woff2) format("woff2");
  unicode-range: U+0462-0463, U+046A-046B, U+0472-0475, U+0492-0493, U+0496-0497, U+049A-049B, U+04A2-04A3, U+04AE-04AF, U+04B2-04B3, U+04B6-04B7, U+04BA-04BB, U+04C0, U+04CF, U+04D8-04D9, U+04E2-04E3, U+04E8-04E9, U+04EE-04EF;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/_vinext_fonts/geist-8ac0455e797f/geist-52306abf.woff2) format("woff2");
  unicode-range: U+1EA0-1EF1;
}

:root {
  --font-geist-sans: Geist;
  --qavi-font-family: var(--font-geist-sans), Arial, sans-serif;
  --font-sans: var(--qavi-font-family);
}

/* Keep the contextual size scales; optical role adjustments follow below.
   Controls and inline code use the same brand family as headings and prose. */
html, body, button, input, select, textarea, code, kbd, samp, pre {
  font-family: var(--qavi-font-family);
}

/* Long text and enlarged type must reflow rather than clip.
   Intrinsic heights keep the original minimums while allowing extra text lines. */
html { overflow-wrap: anywhere; }
.header { flex-wrap: wrap; }
.header > nav { flex-wrap: wrap; }
.header > :is(.brand, .logo, nav), .header :is(.brand, .logo) > span {
  min-width: 0;
  max-width: 100%;
}
body > .header { height: auto; min-height: 94px; row-gap: 12px; padding-block: 12px; }
body:not(.guide-page) .top .header { height: auto; min-height: 92px; }
.layout > *, .grid > *, .heroGrid > *, .guide-layout > * { min-width: 0; }
body > .strip { height: auto; min-height: 70px; flex-wrap: wrap; }
.store { height: auto; min-height: 54px; max-width: 100%; }
body > .footer { height: auto; min-height: 105px; }
@media (max-width: 560px) {
  body > .header { min-height: 78px; }
}
/* Keep each two-digit TOC marker intact when long link text reflows. */
.guide-toc a::before { white-space: nowrap; flex-shrink: 0; }

/* TYPOGRAPHY-002: contextual optical spacing and a calmer reading rhythm.
   Keep the existing size scales and the brand wordmark rules. */
.hero h1 { letter-spacing: -.022em; font-weight: 650; line-height: 1.08; }
.privacy-hero h1 { letter-spacing: -.018em; line-height: 1.12; }
.guide-hero h1 { letter-spacing: -.018em; font-weight: 650; line-height: 1.14; }
.section h2 { letter-spacing: -.02em; font-weight: 650; line-height: 1.16; }
.article h2 { letter-spacing: -.015em; font-weight: 650; line-height: 1.2; }
.faq h2, .related h2 { letter-spacing: -.015em; font-weight: 650; line-height: 1.18; }
.card h2, .card h3 { letter-spacing: -.005em; font-weight: 600; line-height: 1.3; }
.feature h3 { letter-spacing: -.01em; font-weight: 600; line-height: 1.35; }
.tile strong { letter-spacing: -.005em; font-weight: 600; line-height: 1.25; }
.guide-copy h2 { letter-spacing: -.012em; font-weight: 650; line-height: 1.22; }
.guide-copy h3 { letter-spacing: -.008em; font-weight: 600; line-height: 1.3; }
.eyebrow { letter-spacing: .06em; font-weight: 650; }
.kicker { letter-spacing: .08em; font-weight: 650; }
.tile small { letter-spacing: .05em; font-weight: 650; }
.header nav, .nav { font-weight: 600; }
.languageSwitch { letter-spacing: .02em; font-weight: 650; }
.button, .nav .cta, .navCta { font-weight: 650; }
.guide-toc summary, .guide-table th { font-weight: 650; }
.guide-toc a::before { font-weight: 600; }
.guide-copy p, .guide-copy li { line-height: 1.72; }
@media (max-width: 560px) {
  .guide-copy p, .guide-copy li { line-height: 1.7; }
}
/* Keep theme labels whole and the home brand line together on narrow screens. */
.themeSwitch { width: max-content; max-width: 100%; flex-wrap: wrap; }
.themeSwitch button { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 360px) {
  .heroGrid h1 { font-size: 40px; }
}
/* Audited AA readability fixes, reusing the existing ink/teal palette. */
.sectionHead .kicker { color: #087d82; }
main > .footer { color: var(--muted); }
.tile small { color: #46636b; }
.languageOption.active { background: #087d82; }
.screenRail:focus-visible { outline: 3px solid #087d82; outline-offset: 4px; }
