/* Dony Sans / Dony Display — self-hosted, replaces the Google Fonts <link>
   in apps/site/public/index.html and apps/site/public/en/index.html.
   Wired in 2026-09-25 (#1412 merged, three-decision PR set): see
   ops/font-dony/README.md for build provenance, ss01/ss02, licensing.

   Weights: 300/400/500, not the original 400/500/700 -- checked against
   the live page (site.css body{font-weight:300} is the primary text
   weight; the Google Fonts URL this replaces was
   family=Manrope:wght@300;400;500, i.e. no 700; grep for font-weight:700,
   <b> and <strong> across apps/site/public found zero uses of 700).
   Rebuilt via ops/font-dony/build/build_dony.py with WEIGHTS changed
   accordingly.

   Paths below assume these files are copied to apps/site/public/fonts/
   in the lifeos repo. unicode-range values are the *actual* final cmap
   of each subset file (computed from the built font, not hand-guessed)
   so a browser only fetches this family when the page actually contains
   a matching character. */

@font-face {
  font-family: "Dony Sans";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/DonySans-Light.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A7, U+00AB, U+00BB, U+00D3, U+00F3,
    U+0400-045F, U+0490-0491, U+2013-2014, U+2018-2019, U+201C-201E, U+2026,
    U+20BD, U+2116;
}

@font-face {
  font-family: "Dony Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/DonySans-Regular.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A7, U+00AB, U+00BB, U+00D3, U+00F3,
    U+0400-045F, U+0490-0491, U+2013-2014, U+2018-2019, U+201C-201E, U+2026,
    U+20BD, U+2116;
}

@font-face {
  font-family: "Dony Sans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/DonySans-Medium.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0, U+00A7, U+00AB, U+00BB, U+00D3, U+00F3,
    U+0400-045F, U+0490-0491, U+2013-2014, U+2018-2019, U+201C-201E, U+2026,
    U+20BD, U+2116;
}

/* Заголовки — Dony Display Regular 400 (собственный шрифт 0.201, решение
   Руководителя проекта 27.09; BRANDBOOK §5.2 «три голоса — много»: Display
   заменяет Dony Serif, а не соседствует с ним — Serif с сайта снят 28.09).
   unicode-range не задан: cmap покрывает латиницу, кириллицу и знаки
   набора страницы; чего в файле нет (например, «|»), дорисует следующий
   шрифт стопки --display в tokens.css — на странице таких знаков нет. */
@font-face {
  font-family: "Dony Display";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/DonyDisplay-Regular.woff2") format("woff2");
}

/* apps/site/public/tokens.css, applied by this deliverable:

   --display: "Dony Display", Georgia, "Times New Roman", serif;
   --ui: "Dony Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

   Brand marks (opt-in per element, not global; not wired into the site
   by this PR -- left for a follow-up once the operator picks where):
   .mark-D  { font-feature-settings: "ss01" 1; }   // "D." -> V1 brass-dot mark (Dony Sans only)
   .accent-o{ font-feature-settings: "ss02" 1; }   // enlarged accent for "Dóny" wordmark
*/

/* Словесный знак «Dóny» и заголовки h1/h2 на legal-страницах — Dony Display
   (BRANDBOOK §5.1; оба веса — копии assets/brand/fonts/DonyDisplay-*.woff2,
   tools/check-wordmark.mjs). Regular подключён 28.09 для #1674: h1/h2 на
   /terms/, /privacy/, /consent/ набраны Dony Display, а не Dony Serif —
   сериф Dony Display тот же, что у знака «Dóny» в шапке, и заголовок
   становится частью одной системы со знаком, а не вторым серифом сбоку.
   Medium остаётся за словесным знаком (.brand__word, font-weight: 500). */
@font-face {
  font-family: "Dony Display";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/DonyDisplay-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Dony Display";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/DonyDisplay-Medium.woff2") format("woff2");
}
