/* Support, privacy and terms: the landing's look (dark, bold, hairlines), made for reading. */
:root {
  --paper: #0b0908;
  --ink: #ece6dd;
  --soft: #c9c1b6;
  --muted: #8e877d;
  --line: #ffffff1a;
  --red: #ef4a3c;
  --spring: cubic-bezier(.2, .9, .25, 1);
  --sys: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Inter", system-ui, sans-serif;
  --sys-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-500-700.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-cyr.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-cyr.woff2") format("woff2"); font-weight: 500 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font: 500 17px/1.6 var(--sys-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: -20vh -20vw auto; height: 90vh; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 18% 30%, #ef4a3c26, transparent 70%), radial-gradient(35% 45% at 85% 10%, #f0a05014, transparent 70%); }
a { color: inherit; }
::selection { background: #ef4a3c66; }

/* Header: language, logo, way back */
.top { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px clamp(16px, 4vw, 48px); background: #0b090866; -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: inset 0 -1px 0 #ffffff0d; }
.lang { justify-self: start; display: flex; gap: 2px; height: 40px; padding: 3px; border-radius: 999px; background: #ffffff0f; box-shadow: inset 0 0 0 1px #ffffff1a; }
.lang a { display: grid; place-items: center; padding: 0 14px; border-radius: 999px; color: #a39b90; font: 800 13px/1 var(--sys-text); text-decoration: none; }
.lang a.is-on { background: #fff; color: #111; }
.logo-link { justify-self: center; display: block; }
.logo { display: block; height: 30px; }
.home { justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #ffffff0f; box-shadow: inset 0 0 0 1px #ffffff1a; color: var(--ink); text-decoration: none; font: 800 13px/1 var(--sys-text); transition: background .2s; }
.home:hover { background: #ffffff1c; }
.home svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Opening */
.doc { max-width: 1120px; margin: 0 auto; padding: clamp(64px, 10vw, 140px) clamp(16px, 5vw, 48px) 40px; }
.kicker { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; color: var(--red); font: 800 13px/1 var(--sys-text); letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.doc h1 { margin: 0; max-width: 12ch; font: 900 clamp(56px, 9vw, 136px)/.88 var(--sys); letter-spacing: -.06em; }
.lede { margin: 28px 0 0; max-width: 34ch; color: var(--soft); font: 600 clamp(19px, 1.8vw, 24px)/1.4 var(--sys-text); letter-spacing: -.01em; }
.date { margin: 18px 0 0; color: var(--muted); font: 600 14px/1.4 var(--sys-text); }

/* The short version: a few bold lines */
.short { margin: clamp(56px, 8vw, 96px) 0 0; border-top: 1px solid var(--line); }
.short h2 { margin: 26px 0 8px; color: var(--muted); font: 800 13px/1 var(--sys-text); letter-spacing: .08em; text-transform: uppercase; }
.short ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.short li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.short b { display: block; font: 900 clamp(22px, 2.2vw, 30px)/1.1 var(--sys); letter-spacing: -.035em; }
.short span { display: block; margin-top: 8px; color: var(--soft); font: 500 16px/1.5 var(--sys-text); max-width: 44ch; }

/* The full text: contents on the left, sections on the right */
.body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; margin-top: clamp(72px, 10vw, 120px); align-items: start; }
.toc { position: sticky; top: 100px; }
.toc p { margin: 0 0 14px; color: var(--muted); font: 800 13px/1 var(--sys-text); letter-spacing: .08em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.toc a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: #b9b1a6; text-decoration: none; font: 700 15px/1.3 var(--sys-text); transition: color .2s, padding .3s var(--spring); }
.toc a:hover { color: var(--ink); padding-left: 6px; }
.sec { padding: 34px 0 30px; border-top: 1px solid var(--line); }
.sec:first-child { border-top: 0; padding-top: 0; }
.sec h2 { margin: 0 0 16px; font: 900 clamp(26px, 2.6vw, 38px)/1.05 var(--sys); letter-spacing: -.04em; }
.sec h3 { margin: 26px 0 8px; font: 800 19px/1.25 var(--sys); letter-spacing: -.02em; }
.sec p, .sec li { color: var(--soft); max-width: 64ch; }
.sec p { margin: 0 0 14px; }
.sec ul { margin: 6px 0 14px; padding: 0; list-style: none; }
.sec li { position: relative; padding-left: 22px; margin: 0 0 10px; }
.sec li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.sec strong { color: var(--ink); font-weight: 800; }
.sec a { color: var(--ink); text-decoration-color: #ef4a3c99; text-underline-offset: 3px; }

/* Support: answers as a hairline list, contacts as pills */
.contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: #ffffff10; box-shadow: inset 0 0 0 1px #ffffff1f; color: var(--ink); text-decoration: none; font: 800 15px/1 var(--sys-text); transition: background .2s, transform .15s var(--spring); }
.pill:hover { background: #ffffff1c; }
.pill:active { transform: scale(.97); }
.pill.is-main { background: var(--red); box-shadow: none; color: #fff; }
.pill.is-main:hover { background: #ff5a4a; }
.pill svg { width: 18px; height: 18px; }
.answers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 56px; margin-top: clamp(72px, 10vw, 120px); align-items: start; }
.answers h2.side { position: sticky; top: 100px; margin: 0; font: 900 clamp(40px, 5vw, 72px)/.95 var(--sys); letter-spacing: -.05em; }
.qa { border-bottom: 1px solid var(--line); }
.qa details { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font: 800 clamp(20px, 2vw, 28px)/1.15 var(--sys); letter-spacing: -.03em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat, #ffffff10; box-shadow: inset 0 0 0 1px #ffffff1f; transition: transform .35s var(--spring), background-color .2s; }
.qa details[open] summary::after { transform: rotate(45deg); background-color: #ef4a3c26; }
.qa .a { margin: -6px 0 26px; color: var(--soft); font: 500 clamp(16px, 1.3vw, 18px)/1.6 var(--sys-text); max-width: 58ch; }
.qa .a p { margin: 0 0 10px; }
.qa details[open] .a { animation: answer .45s var(--spring) both; }
@keyframes answer { from { opacity: 0; transform: translateY(-6px); } }
.steps { margin: 6px 0 10px; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 0 8px 34px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #ffffff14; color: var(--ink); font: 800 12px/1 var(--sys-text); }
.path { color: var(--ink); font-weight: 800; white-space: nowrap; }

/* Footer, as on the landing */
.end { text-align: center; padding: 120px 16px 56px; }
.end-big { margin: 0; font: 900 clamp(44px, 6vw, 96px)/1 var(--sys); letter-spacing: -.045em; }
.foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; margin-top: 70px; color: var(--muted); font: 600 14px/1 var(--sys-text); }
.foot a { color: #b9b1a6; text-decoration: none; } .foot a:hover, .foot a[aria-current] { color: var(--ink); }
.foot .ico { width: 20px; height: 20px; display: block; }

@media (max-width: 859px) {
  .top { padding: 12px 16px; }
  .logo { height: 24px; }
  .home span { display: none; }
  .home { width: 40px; padding: 0; justify-content: center; }
  .short ul { grid-template-columns: 1fr; }
  .body, .answers { grid-template-columns: 1fr; gap: 24px; }
  .toc, .answers h2.side { position: static; }
  .toc ol { columns: 2; column-gap: 20px; }
  .toc a { break-inside: avoid; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .qa details[open] .a { animation: none; } }
