/* Оформление юридических страниц ФАКМИ — в стиле основного сайта */

/* Те же локальные шрифты, что и на главной, — без обращения к Google */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-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-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-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;
}

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

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/unbounded-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;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #0c0c0c;
  scroll-behavior: smooth;
}

/* Тонкий тёмный скроллбар — как на основном сайте */
* {
  scrollbar-width: thin;
  scrollbar-color: #26262b transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #26262b;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3a42;
}

body {
  background: #0c0c0c;
  color: #d7e2ea;
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding: 40px 20px 80px;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 10px 22px;
  border: 2px solid rgba(215, 226, 234, 0.4);
  border-radius: 999px;
  color: #d7e2ea;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.back:hover {
  background: rgba(215, 226, 234, 0.1);
}

.brand {
  background: linear-gradient(180deg, #646973 0%, #bbccd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  opacity: 0.55;
  text-transform: uppercase;
}

h1 {
  margin: 44px 0 8px;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin: 44px 0 14px;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  margin: 28px 0 10px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

strong {
  color: #fff;
  font-weight: 600;
}

a {
  color: #d7e2ea;
  text-decoration: underline;
  text-decoration-color: #b600a8;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

hr {
  margin: 40px 0;
  border: none;
  border-top: 1px solid rgba(215, 226, 234, 0.18);
}

table {
  width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid rgba(215, 226, 234, 0.2);
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(215, 226, 234, 0.07);
  color: #fff;
  font-weight: 600;
}

/* Плейсхолдеры для реквизитов — чтобы их нельзя было не заметить */
.wrap strong:has(+ *),
strong {
  color: #fff;
}

.note {
  margin: 32px 0;
  padding: 18px 22px;
  border: 2px solid rgba(182, 0, 168, 0.5);
  border-radius: 18px;
  background: rgba(182, 0, 168, 0.08);
  font-size: 0.9rem;
}

.updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(215, 226, 234, 0.18);
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 640px) {
  body {
    padding: 24px 16px 60px;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
