@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-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: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-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;
}

/* Shared MG design rules. Page styles retain only their specific layouts. */
:root { --mg-accent: #f2b65c; --mg-accent-hover: #ffd18a; --mg-muted: #526b78; --mg-enter-duration: 280ms; }
main :is(h1,h2,h3) { font-family: 'Source Serif 4', Georgia, serif; font-optical-sizing: auto; font-weight: 500; letter-spacing: -.025em; }
::selection { color: #002b46; background: var(--mg-accent); }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #0072bb; outline-offset: 4px; }
:where(.site-header,.hero,.page-hero,.article-hero,.cta) :where(a,button):focus-visible { outline-color: #a8d9eb; }
body:not(.home-page) :is(.page-hero,.article-hero) { padding: 36px 0; }
body:not(.home-page) :is(.page-hero,.article-hero) h1 { margin: 0; max-width: 26ch; font-size: 44px; line-height: 1.12; letter-spacing: -.025em; }
body:not(.home-page) .page-hero p { margin-top: 14px; max-width: 68ch; font-size: 16px; line-height: 1.6; color: #d4e4eb; }
body:not(.home-page) .article-hero .back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 20px; }
body:not(.home-page) .article-hero > .shell > .eyebrow { display: none; }
body:not(.home-page) .section { padding: 40px 0 48px; }
body:not(.home-page) .contacts-content { padding: 32px 0 40px; }
body:not(.home-page) .section-heading { margin-bottom: 28px; }
body:not(.home-page) .section-heading h2 { font-size: 32px; line-height: 1.2; }
body:not(.home-page) .prose { font-size: 17px; line-height: 1.8; }
body:not(.home-page) .prose h2 { font-size: 28px; line-height: 1.25; }
body:not(.home-page) .article-hero + .section { background: #fff; }
body:not(.home-page) .cta { padding: 48px 0; }
body:not(.home-page) .cta h2 { font-size: 36px; line-height: 1.2; }
.cta .button-light { background: var(--mg-accent); border-color: var(--mg-accent); color: #002b46; }
.cta .button-light:hover { background: var(--mg-accent-hover); border-color: var(--mg-accent-hover); color: #002b46; }
body .button { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
body .button:focus-visible { transform: none; transition: none; }
/* Data labels and values stay in the body family, including the compact contacts. */
.contacts-content :is(dt,dd,strong,span,address) { font-family: Manrope,Arial,sans-serif; }
/* Articles share a compact catalogue, with content rather than repeated graphics. */
.news-page .all-news { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 40px; }
.news-page .news-card { min-height: 0; padding: 24px 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: #fff; transform: none; transition: background-color 160ms ease; }
.news-page .news-card .news-visual, .news-page .news-card > span:first-of-type { display: none; }
.news-page .news-card h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.25; letter-spacing: -.025em; }
.news-page .news-card p { color: var(--mg-muted); font-size: 16px; line-height: 1.7; }
.news-page .news-card .news-card-link { padding-top: 20px; font-size: 14px; font-weight: 700; letter-spacing: normal; text-transform: none; color: #075b91; }
.news-page .article-notice { margin-top: 32px; }
.legal-section .legal-copy { padding: 28px; border: 0; border-radius: 0; box-shadow: none; }
.legal-section .legal-updated { margin-bottom: 28px; font-family: Manrope,Arial,sans-serif; }
.legal-section :is(h2,h3) { overflow-wrap: anywhere; }
.compliance-page .compliance-hero-mark, .compliance-page .compliance-hero .eyebrow { display: none; }
.compliance-page .compliance-hero::after { content: none; }
.compliance-page .compliance-hero-grid { grid-template-columns: 1fr; }
.compliance-page .eyebrow { display: none; }
.compliance-page .compliance-intro { gap: 48px; }
.compliance-page .compliance-intro h2 { margin-top: 0; font-size: 32px; line-height: 1.2; }
.compliance-page .compliance-intro > p { margin-top: 0; font-size: 17px; line-height: 1.8; }
.compliance-page .checker-panel h2, .compliance-page .person-check h2 { font-size: 28px; line-height: 1.25; }
@media (hover:hover) and (pointer:fine) {
    body .button:active:not(:focus-visible) { transform: scale(.98); }
    .news-page .news-card:hover { transform: none; box-shadow: none; background: #eaf2f5; }
    .news-page .news-card:hover h2 { text-decoration: underline; text-decoration-color: var(--mg-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
}
@media (prefers-reduced-motion:no-preference) {
    .site-section-enter { animation: mg-section-enter var(--mg-enter-duration) cubic-bezier(.23,1,.32,1); }
}
@keyframes mg-section-enter { from { opacity: .65; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width:600px) {
    body:not(.home-page) :is(.page-hero,.article-hero) { padding: 28px 0; }
    body:not(.home-page) :is(.page-hero,.article-hero) h1 { font-size: 36px; overflow-wrap: anywhere; }
    body:not(.home-page) .section { padding: 32px 0; }
    body:not(.home-page) .contacts-content { padding: 24px 0 32px; }
    body:not(.home-page) .section-heading h2 { font-size: 28px; }
    body:not(.home-page) .cta { padding: 36px 0; }
    body:not(.home-page) .cta h2 { font-size: 30px; }
    .news-page .all-news { grid-template-columns: 1fr; gap: 0; }
    .news-page .news-card h2 { font-size: 25px; }
    .legal-section .legal-copy { padding: 20px; }
}
@media (prefers-reduced-motion:reduce) {
    .site-section-enter { animation: none; }
    body .button:hover, body .button:active:not(:focus-visible) { transform: none; }
}
@media (hover:none), (pointer:coarse) {
    body .button:hover, body .button:active:not(:focus-visible) { transform: none; }
}
@media print { .site-section-enter { animation: none; } }
