/* Text pages (privacy policy, support): a reading layout on the shared dark guide shell from universities.css. */
.university-page ::selection{background:#D70217;color:#fff}
.text-page{max-width:1240px;margin:0 auto;padding:clamp(40px,6vw,88px) clamp(20px,5vw,72px) clamp(64px,8vw,112px);display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"header" "body";row-gap:40px}
.text-page--contents{grid-template-areas:"header" "contents" "body"}
.text-page__header{grid-area:header;max-width:68ch}
/* The longest Russian heading word (конфиденциальности) fits a 320px screen without syllable splits. */
.text-page h1{font-size:clamp(24px,7.6vw,60px);margin:0 0 20px;text-wrap:balance;hyphens:manual;overflow-wrap:break-word}
.text-page__lede{margin:0;max-width:60ch;font-size:clamp(17px,1.6vw,19px);line-height:1.7;color:#d6d9df}
.text-page__meta{margin:16px 0 0;font-size:14px;line-height:1.5;color:#aeb3bd}
.text-page__body{grid-area:body;min-width:0;max-width:68ch;font-size:17px;line-height:1.75;color:#d6d9df}
.text-page__body>:first-child{margin-top:0}
.text-page__body h2{font-size:clamp(24px,2.6vw,32px);margin:56px 0 16px;padding-top:40px;border-top:1px solid #ffffff20;scroll-margin-top:16px;text-wrap:balance}
.text-page__body>h2:first-child{padding-top:0;border-top:0}
.text-page__body h3{font-size:19px;letter-spacing:-.015em;margin:32px 0 8px}
.text-page__body h2+h3{margin-top:24px}
.text-page__body p{margin:0 0 16px}
.text-page__body ul,.text-page__body ol{margin:0 0 16px;padding-left:1.25em}
.text-page__body li{margin-bottom:8px;padding-left:4px}
.text-page__body li::marker{color:#f77785}
.text-page__body a{color:#f9a6af;border-bottom:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;overflow-wrap:anywhere}
.text-page__body a:hover{color:#fff}
.text-page__todo{padding:.05em .3em;border-radius:3px;background:#ffd54a;color:#1d1d1b;font-weight:600;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.text-page__contacts{margin:0 0 24px;border-top:1px solid #ffffff20}
.text-page__contacts>div{display:grid;grid-template-columns:9rem minmax(0,1fr);gap:4px 24px;align-items:baseline;padding:10px 0;border-bottom:1px solid #ffffff20}
.text-page__contacts dt{font-size:14px;color:#aeb3bd}
.text-page__contacts dd{margin:0;color:#f8f8fa}
.text-page__contacts dd a{display:inline-flex;align-items:center;min-height:44px}
.text-page__toc{grid-area:contents;min-width:0}
.text-page__toc h2{margin:0 0 8px;font:600 15px/1.4 var(--font-body);letter-spacing:0}
.text-page__toc ol{list-style:none;margin:0;padding:0;columns:2 15rem;column-gap:32px}
.text-page__toc li{break-inside:avoid}
.text-page__toc a{display:flex;align-items:center;min-height:44px;padding:6px 0 6px 16px;border:0;border-left:1px solid #ffffff20;color:#bfc2ca;font-size:15px;line-height:1.4;text-decoration:none;transition:color .15s,border-color .15s}
.text-page__toc a:hover{color:#fff;border-left-color:#f77785}
.university-page .text-page__toc a:focus-visible{outline-offset:2px}
@media(min-width:1024px){
  .text-page--contents{grid-template-columns:15rem minmax(0,68ch);grid-template-areas:". header" "contents body";column-gap:clamp(48px,6vw,96px);justify-content:start}
  .text-page--contents .text-page__toc{position:sticky;top:24px;align-self:start;max-height:calc(100vh - 48px);overflow-y:auto}
  .text-page--contents .text-page__toc ol{columns:auto}
  .text-page--contents .text-page__toc a{min-height:36px;font-size:14px}
}
@media(max-width:560px){
  .text-page{row-gap:32px}
  .text-page__body{font-size:16px;line-height:1.7}
  .text-page__body h2{margin-top:44px;padding-top:32px}
  .text-page__contacts>div{grid-template-columns:minmax(0,1fr);padding:12px 0 4px}
}
@media(prefers-reduced-motion:reduce){.text-page__toc a{transition:none}}
@media print{
  .university-page{background:#fff;color:#000}
  .skip-link,.university-nav,.university-footer,.text-page__toc{display:none}
  .text-page{display:block;padding:0}
  .university-page h1,.university-page h2,.university-page h3,.text-page__lede,.text-page__meta,.text-page__body,.text-page__body a,.text-page__contacts dd{color:#000}
}
