/* Onest Variable, self-hosted under SIL OFL 1.1. */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/static/fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/static/fonts/onest-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/static/fonts/onest-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/static/fonts/onest-latin-wght-normal.woff2") format("woff2-variations");
  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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --navy: #071022;
  --navy-deep: #050914;
  --accent: #3658df;
  --accent-bright: #4b6cf0;
  --white: #f7f9fd;
  --muted: #9aa5b9;
  --dark-line: rgba(255, 255, 255, .12);
  --paper: #f8f9fb;
  --ink: #151a24;
  --ink-soft: #3d4654;
  --ink-muted: #727c8b;
  --paper-line: #dfe3e8;
  --shell: 1120px;
  font-family: "Onest", "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--white);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font: inherit; }
::selection { color: #fff; background: var(--accent); }

.reading-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--accent-bright);
}

.skip-link {
  position: fixed;
  z-index: 110;
  top: 10px;
  left: 12px;
  translate: 0 -180%;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { translate: 0; }

.legal-header {
  border-bottom: 1px solid var(--dark-line);
  background: var(--navy);
}

.legal-header__inner,
.legal-shell,
.legal-site-footer {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.legal-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-symbol {
  width: 29px;
  height: 17px;
  display: flex;
  gap: 2px;
  transform: skewX(-22deg);
}

.brand-symbol i { flex: 1; background: var(--accent-bright); }
.brand b { font-size: 19px; font-weight: 800; letter-spacing: -.045em; }

.header-back {
  color: #aab4c8;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.header-back:hover { color: #fff; }
.header-back span { margin-left: 6px; color: #849bff; }

.document-intro-zone { background: var(--navy); }

.document-intro-zone .legal-shell {
  padding-top: 42px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: #a8b3c8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  content: "";
}

.document-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.hero-copy { min-width: 0; }

.document-heading h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.document-intro {
  max-width: 700px;
  margin: 20px 0 0;
  color: #aeb8ca;
  font-size: 15px;
  line-height: 1.62;
}

.print-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid #637399;
  background: transparent;
  color: #b8c1d2;
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.print-button:hover { color: #fff; border-color: var(--accent-bright); }

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin: 24px 0 0;
}

.document-meta div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.document-meta dt {
  color: #68758c;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.document-meta dd {
  margin: 0;
  color: #d9deea;
  font-size: 11px;
  font-weight: 600;
}

.document-switcher {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  overflow-x: auto;
  border-top: 1px solid var(--dark-line);
  scrollbar-width: none;
}

.document-switcher::-webkit-scrollbar { display: none; }

.document-switcher a {
  position: relative;
  flex: none;
  padding: 17px 0 18px;
  color: #8591a7;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.document-switcher a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--accent-bright);
  content: "";
}

.document-switcher a:hover,
.document-switcher a[aria-current="page"] { color: #fff; }
.document-switcher a[aria-current="page"]::after { transform: scaleX(1); }

.document-zone {
  color: var(--ink);
  background: var(--paper);
}

.document-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 72px;
}

.aside-sticky {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 30px;
}

.contents-panel {
  border-top: 1px solid var(--paper-line);
}

.contents-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  color: #4e5868;
  cursor: pointer;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  list-style: none;
  text-transform: uppercase;
}

.contents-panel summary::-webkit-details-marker { display: none; }
.contents-panel summary i { color: #9199a5; font-style: normal; transition: rotate 160ms ease; }
.contents-panel[open] summary i { rotate: 180deg; }

.section-nav {
  max-height: 62vh;
  display: grid;
  overflow-y: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.section-nav a {
  position: relative;
  padding: 7px 0 7px 12px;
  border-left: 1px solid #d7dce3;
  color: #7a8492;
  font-size: 10.5px;
  line-height: 1.45;
  text-decoration: none;
}

.section-nav a::before {
  position: absolute;
  top: 50%;
  left: -2px;
  width: 3px;
  height: 0;
  background: var(--accent);
  content: "";
  translate: 0 -50%;
  transition: height 140ms ease;
}

.section-nav a:hover,
.section-nav a[aria-current="location"] { color: #1e2734; }
.section-nav a[aria-current="location"]::before { height: 18px; }

.aside-help {
  padding-top: 18px;
  border-top: 1px solid var(--paper-line);
}

.aside-help p { display: grid; gap: 4px; margin: 0 0 10px; }
.aside-help strong { color: #303946; font-size: 11px; }
.aside-help small { color: #7b8491; font-size: 10px; line-height: 1.45; }
.aside-help a {
  display: block;
  width: fit-content;
  margin-top: 6px;
  color: #3154c8;
  font-size: 10.5px;
  font-weight: 650;
  text-underline-offset: 3px;
}

.legal-document { min-width: 0; }
.document-body { max-width: 720px; }
.document-body > :first-child { margin-top: 0; }

.document-body h2 {
  margin: 58px 0 18px;
  padding-top: 18px;
  border-top: 1px solid var(--paper-line);
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.2;
  scroll-margin-top: 22px;
  text-wrap: balance;
}

.document-body h3 {
  margin: 34px 0 12px;
  color: #202735;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.document-body p,
.document-body li {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.72;
}

.document-body p { margin: 0 0 16px; }
.document-body ul,
.document-body ol { margin: 12px 0 25px; padding-left: 24px; }
.document-body li { margin-bottom: 8px; padding-left: 4px; }
.document-body li::marker { color: var(--accent); font-weight: 700; }
.document-body strong,
.document-body b { color: #171d28; font-weight: 700; }
.document-body a { color: #294fbf; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.document-body a:hover { color: #183583; }

.document-body .notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  background: #edf0fa;
}

.document-body .notice p:last-child { margin-bottom: 0; }

.document-body .info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 38px;
  overflow: hidden;
  border: 1px solid var(--paper-line);
  background: var(--paper-line);
}

.document-body .info-card {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #f1f3f6;
}

.document-body .info-card span,
.operator-label {
  color: #7b8492;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.document-body .info-card strong {
  font-size: 17px;
  letter-spacing: -.02em;
  line-height: 1.28;
}

.operator-card {
  margin-top: 74px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  padding: 30px 0;
  border-block: 1px solid var(--paper-line);
}

.operator-label { margin: 0 0 10px; }

.operator-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.operator-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
}

.operator-card dl div { display: grid; gap: 4px; }
.operator-card dt {
  color: #848d99;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.operator-card dd {
  margin: 0;
  color: #38414e;
  font-size: 11px;
  line-height: 1.45;
}

.operator-card dd a { color: #294fbf; text-underline-offset: 3px; }

.document-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: #89919d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.document-footer a { text-decoration: none; }
.document-footer a:hover { color: var(--accent); }

.legal-site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #718097;
  font-size: 10px;
}

.legal-site-footer a { margin-left: auto; color: #aab4c8; text-decoration: none; }
.legal-site-footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .document-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
  .operator-card { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .document-intro-zone .legal-shell { padding-top: 32px; }
  .document-heading { display: block; }
  .print-button { margin-top: 22px; }
  .document-meta { gap: 12px 24px; margin-top: 24px; }
  .document-switcher { margin: 24px -20px 0; padding-inline: 20px; gap: 24px; }
  .document-layout { grid-template-columns: 1fr; padding-top: 42px; }
  .document-aside { display: none; }
  .document-body { max-width: none; }
}

@media (max-width: 560px) {
  .legal-header__inner,
  .legal-shell,
  .legal-site-footer { width: min(100% - 32px, var(--shell)); }

  .legal-header__inner { min-height: 60px; }
  .brand b { font-size: 18px; }
  .brand-symbol { width: 26px; height: 16px; }
  .header-back { font-size: 11px; }
  .document-intro-zone .legal-shell { padding-top: 26px; }
  .eyebrow { margin-bottom: 13px; }
  .document-heading h1 { font-size: clamp(34px, 10.5vw, 42px); line-height: 1.04; }
  .document-intro { margin-top: 16px; font-size: 14px; line-height: 1.58; }
  .print-button { margin-top: 17px; font-size: 10px; }

  .document-meta { display: grid; gap: 8px; margin-top: 18px; }
  .document-meta div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
  .document-switcher { margin-inline: -16px; padding-inline: 16px; }
  .document-switcher a { padding-block: 15px 16px; font-size: 10.5px; }

  .document-layout { padding-top: 34px; padding-bottom: 50px; }
  .document-body h2 { margin-top: 46px; padding-top: 16px; font-size: 23px; }
  .document-body h3 { margin-top: 30px; font-size: 16px; }
  .document-body p,
  .document-body li { font-size: 15px; line-height: 1.68; }
  .document-body .info-grid { grid-template-columns: 1fr; }
  .document-body .info-card { min-height: 100px; }

  .operator-card { margin-top: 56px; padding-block: 26px; }
  .operator-card h2 { font-size: 21px; }
  .operator-card dl { grid-template-columns: 1fr; }
  .document-footer { padding-top: 20px; }

  .legal-site-footer {
    min-height: 106px;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-block: 24px;
  }

  .legal-site-footer a { width: 100%; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@page { size: A4; margin: 18mm 16mm 18mm; }

@media print {
  :root { color-scheme: light; }
  html,
  body { color: #111; background: #fff; font-family: Arial, sans-serif; }
  .reading-progress,
  .skip-link,
  .legal-header,
  .document-switcher,
  .document-aside,
  .print-button,
  .document-footer,
  .legal-site-footer { display: none !important; }

  .legal-shell { width: 100%; }
  .document-intro-zone { color: #111; background: #fff; }
  .document-intro-zone .legal-shell { padding: 0 0 10mm; }
  .eyebrow { color: #333; }
  .eyebrow::before { background: #333; }
  .document-heading h1 { max-width: none; color: #111; font-size: 26pt; }
  .document-intro { max-width: none; color: #333; font-size: 11pt; }
  .document-meta { margin-top: 7mm; }
  .document-meta dt { color: #555; }
  .document-meta dd { color: #111; }
  .document-zone { background: #fff; }
  .document-layout { display: block; padding: 0; }
  .document-body { max-width: none; }
  .document-body h2 { margin: 10mm 0 4mm; padding-top: 3mm; border-color: #bbb; color: #111; font-size: 16pt; break-after: avoid; }
  .document-body h3 { color: #111; font-size: 12pt; break-after: avoid; }
  .document-body p,
  .document-body li { color: #222; font-size: 10.5pt; line-height: 1.48; orphans: 3; widows: 3; }
  .document-body a { color: #111; }
  .document-body .notice { background: #f2f2f2; border-color: #888; break-inside: avoid; }
  .document-body .info-grid { border-color: #aaa; background: #aaa; break-inside: avoid; }
  .document-body .info-card { min-height: 0; background: #f5f5f5; }
  .operator-card { margin: 12mm 0 0; display: block; padding: 7mm 0; color: #111; border-color: #999; break-inside: avoid; }
  .operator-card h2,
  .operator-card dd { color: #111; }
  .operator-card dl { margin-top: 6mm; }
}
