@font-face {
  font-family: 'Golos Text';
  src: url('/assets/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Golos Text';
  src: url('/assets/golos-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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 {
  --paper: #f1f1f3;
  --white: #ffffff;
  --ink: #24242a;
  --body: #656577;
  --muted: #656577;
  --line: #e2e2e9;
  --green: var(--accent-ink);
  --pale: #eeebfa;
  --accent: #7868dc;
  --accent-ink: #6754c5;
  --accent-soft: #eeebfa;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, a, input, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
input { min-width: 0; }
img { max-width: 100%; display: block; }
p { line-height: 1.65; }
h1, h2, h3 { font-weight: 650; }
h1, h2 { letter-spacing: -.055em; line-height: 1.03; }
h2 { font-size: clamp(36px, 3.6vw, 54px); }
[hidden] { display: none !important; }
::selection { color: var(--ink); background: var(--accent-soft); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 5px;
}
a:hover { text-decoration-color: currentColor; }
.wrap { width: calc(100% - 96px); max-width: 1320px; margin-inline: auto; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 90; background: var(--accent-ink); color: var(--white); border-radius: 12px; padding: 14px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 58px;
  padding: 18px 24px;
  border: 1px solid var(--accent-ink);
  border-radius: 14px;
  background: var(--accent-ink);
  color: var(--white);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.2;
  transition: background .18s, color .18s, box-shadow .18s;
}
.button .icon { width: 20px; height: 20px; }
.button:hover { box-shadow: 0 0 0 3px var(--accent-soft); }
.button.secondary { background: var(--white); color: var(--accent-ink); border-color: var(--line); }
.button.secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--accent-ink); font-size: 14px; font-weight: 500; line-height: 1.5; }
.text-link .icon { width: 19px; height: 19px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--accent-ink); }
.icon-button:hover { background: var(--accent-soft); border-color: var(--accent); }
.eyebrow { font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--muted); }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.muted { color: var(--muted); }

/* Shared navigation */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1416px; margin-inline: auto; padding: 18px 48px; display: flex; align-items: center; gap: 50px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand > span { font-weight: 750; font-size: 30px; letter-spacing: -.065em; line-height: 1; }
.brand-plus { font-weight: 500; }
.brand small { font-size: 11px; padding: 3px 5px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); align-self: center; line-height: 1; margin-left: 1px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 34px; font-size: 13px; }
.desktop-nav a { padding: 12px 0; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 7px; }
.header-actions { display: flex; align-items: center; gap: 21px; }
.search-trigger .icon { width: 20px; height: 20px; }
.header-download { display: inline-flex; align-items: center; gap: 17px; font-size: 13px; padding: 13px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--accent-ink); }
.header-download .icon { width: 17px; height: 17px; }
.header-download:hover { background: var(--accent-soft); border-color: var(--accent); }
.header-access { color: var(--white); background: var(--accent-ink); border-color: var(--accent-ink); }
.header-access:hover { color: var(--white); background: #5946b2; border-color: #5946b2; }
.access-dock { display: none; }
.menu-toggle { display: none; }
.mobile-nav { display: flex; flex-direction: column; padding: 13px 32px 22px; border-top: 1px solid var(--line); }
.mobile-nav a { font-size: 16px; padding: 13px 0; }

/* One download module, shared with download guides */
.device-chooser { min-width: 0; }
.device-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.device-tabs button { border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--accent-ink); padding: 16px 5px; display: flex; align-items: center; flex-direction: column; gap: 12px; font-size: 13px; transition: background .18s, border-color .18s; }
.device-tabs button .icon { width: 25px; height: 25px; }
.device-tabs button[aria-selected=true] { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }
.device-tabs button:hover { background: var(--accent-soft); border-color: var(--accent); }
.device-panel { display: flex; gap: 20px; padding: 25px 0 22px; align-items: flex-start; }
.device-symbol { display: none; }
.device-panel > div:last-child { width: 100%; }
.device-kind { font-size: 11px; color: var(--muted); }
.device-panel h3 { font-size: 26px; letter-spacing: -.03em; margin-top: 7px; }
.device-panel p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.device-links { display: flex; gap: 23px; align-items: center; margin-top: 23px; }
.device-links .button { font-size: 13px; padding: 16px 17px; min-height: 52px; gap: 20px; }
.device-links .text-link { font-size: 12px; max-width: 130px; }
.download-note { display: flex; gap: 9px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 16px; font-size: 11px; color: var(--muted); }
.download-note .icon { width: 15px; height: 15px; margin-top: 2px; }

/* Shared diagnostics */
.diagnostic { border: 1px solid var(--line); border-radius: 18px; background: var(--white); padding: 26px; min-width: 0; }
.diagnostic-copy h2 { font-size: 26px; letter-spacing: -.035em; margin-bottom: 13px; }
.diagnostic-copy p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.diagnostic-copy > .text-link { font-size: 12px; }
.diagnostic-options { margin-top: 23px; }
.diagnostic-options > a { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 11px; padding: 18px 0; font-size: 13px; line-height: 1.5; }
.diagnostic-options > a[aria-expanded=true] { background: var(--accent-soft); color: var(--accent-ink); margin-inline: -12px; padding-inline: 12px; border-radius: 10px; }
.diagnostic-options > a:hover { background: var(--pale); }
.diagnostic-options > a:last-child { padding-bottom: 10px; }
.diagnostic-options .icon { width: 19px; height: 19px; }
.diagnostic-options .icon:last-child { width: 17px; height: 17px; margin-left: auto; }
.diagnostic-result { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.diagnostic-result h3 { font-size: 18px; line-height: 1.4; font-weight: 550; }
.diagnostic-result p { margin-top: 12px; font-size: 14px; color: var(--body); line-height: 1.8; }
.diagnostic-result a { margin-top: 16px; font-size: 12px; }
.inline-search { display: flex; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 5px; }
.inline-search input { border: 0; width: 100%; font-size: 13px; padding: 14px 13px; background: transparent; outline-offset: -4px; }
.inline-search button { width: 45px; height: 45px; background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.inline-search button:hover { border-color: var(--accent); }
.inline-search button .icon { width: 20px; height: 20px; }

/* Footer and search */
.site-footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1fr 1.4fr 1.6fr; gap: 40px; align-items: start; padding-block: 42px; }
.footer-main > p { font-size: 13px; color: var(--body); line-height: 1.7; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 12px; }
.footer-main nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: grid; grid-template-columns: 1fr 2.4fr auto; gap: 35px; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); padding-block: 22px; }
.footer-bottom p { line-height: 1.6; }
dialog { width: min(700px, calc(100% - 32px)); max-height: 85vh; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 24px 80px #24242a26; }
dialog::backdrop { background: #24242a80; }
.search-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.search-dialog-head h2 { font-size: 29px; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 5px 5px 5px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.search-form .icon { width: 20px; height: 20px; color: var(--muted); }
.search-form input { border: 0; flex: 1; width: 100%; background: transparent; padding: 14px 0; font-size: 14px; }
.search-form button { background: var(--white); color: var(--accent-ink); border: 1px solid var(--line); padding: 14px 16px; border-radius: 10px; font-size: 13px; }
.search-form button:hover { background: var(--accent-soft); border-color: var(--accent); }
#search-summary { font-size: 13px; color: var(--muted); margin-top: 20px; line-height: 1.6; }
.search-results { list-style: none; padding: 0; margin: 12px 0; max-height: 47vh; overflow-y: auto; }
.search-results a { display: block; padding: 17px 12px; border-bottom: 1px solid var(--line); }
.search-results a:hover { background: var(--accent-soft); }
.search-results strong { display: block; font-size: 15px; line-height: 1.6; font-weight: 500; }
.search-results span { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.search-hint { font-size: 12px; color: var(--muted); margin-top: 22px; }
.search-hint a { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { padding-inline: 32px; gap: 30px; }
  .desktop-nav { gap: 23px; }
  .header-actions { gap: 12px; }
  .header-download { padding-inline: 12px; gap: 10px; }
  .device-links { gap: 14px; }
  .device-links .button { font-size: 12px; gap: 12px; }
}
@media (max-width: 900px) {
  .has-access-offers { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
  .has-access-offers :where(a, button, input, summary, [tabindex]) { scroll-margin-bottom: 100px; }
  .access-dock:not([hidden]) { position: fixed; z-index: 25; bottom: 0; inset-inline: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 22px #24242a08; }
  .access-dock > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .access-dock > div > .icon { color: var(--accent-ink); width: 22px; height: 22px; flex-shrink: 0; }
  .access-dock span { color: var(--muted); font-size: 11px; line-height: 1.5; }
  .access-dock strong { display: block; color: var(--ink); font-size: 12px; font-weight: 550; }
  .access-dock .button { min-height: 46px; font-size: 12px; gap: 10px; padding: 12px 15px; flex-shrink: 0; }
  .access-dock .button .icon { width: 16px; height: 16px; }
  .header-inner { justify-content: space-between; padding-block: 14px; }
  .desktop-nav, .header-download { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 6px; }
  .device-tabs { gap: 4px; }
  .device-tabs button { font-size: 10px; padding-block: 13px; }
  .device-tabs .icon { width: 23px; height: 23px; }
  .device-panel h3 { font-size: 23px; }
  .device-panel p { font-size: 12px; }
  .device-links { flex-direction: column; align-items: start; gap: 16px; }
  .device-links .text-link { max-width: none; }
  .download-note { font-size: 10px; }
  .diagnostic { padding: 22px 18px; }
  .diagnostic-copy h2 { font-size: 23px; }
  .diagnostic-options > a { font-size: 12px; }
  .diagnostic-options .icon { width: 17px; height: 17px; }
  .inline-search input { font-size: 11px; padding-inline: 10px; }
  .footer-main { gap: 30px; grid-template-columns: 1fr 1.2fr; }
  .footer-main > p { display: none; }
  .footer-bottom { grid-template-columns: 1fr 2fr; gap: 20px; font-size: 9px; }
  .footer-bottom > a { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { padding: 13px 20px; }
  .brand { gap: 8px; }
  .brand img { width: 34px; height: 34px; border-radius: 9px; }
  .brand > span { font-size: 28px; }
  .brand small { font-size: 9px; }
  .mobile-nav { padding-inline: 25px; }
  .device-tabs { gap: 6px; }
  .device-tabs button { padding: 15px 4px; font-size: 12px; gap: 10px; }
  .device-tabs button .icon { width: 25px; height: 25px; }
  .device-panel { padding: 25px 0 22px; }
  .device-kind { font-size: 11px; }
  .device-panel h3 { font-size: 26px; }
  .device-panel p { font-size: 13px; }
  .device-links { flex-direction: row; gap: 20px; align-items: center; }
  .device-links .button { font-size: 12px; gap: 14px; padding-inline: 15px; }
  .device-links .text-link { font-size: 11px; max-width: 112px; }
  .download-note { font-size: 11px; }
  .diagnostic { padding: 24px 20px; border-radius: 16px; }
  .diagnostic-copy h2 { font-size: 26px; }
  .diagnostic-copy p { font-size: 14px; }
  .diagnostic-copy > .text-link { font-size: 12px; }
  .diagnostic-options > a { font-size: 13px; padding-block: 19px; gap: 9px; }
  .diagnostic-options .icon { width: 17px; height: 17px; }
  .diagnostic-result p { font-size: 14px; }
  .inline-search input { font-size: 12px; padding-inline: 10px; }
  .footer-main { grid-template-columns: 1fr; gap: 29px; padding-block: 32px; }
  .footer-main nav { font-size: 12px; gap: 21px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; font-size: 10px; padding-block: 22px; }
  dialog { padding: 20px; }
  .search-dialog-head { margin-bottom: 20px; }
  .search-dialog-head h2 { font-size: 25px; }
  .search-form { padding-left: 10px; gap: 5px; }
  .search-form > .icon { display: none; }
  .search-form input { font-size: 12px; }
  .search-form button { padding: 13px; font-size: 12px; }
  .search-results a { padding: 15px 8px; }
  .search-results strong { font-size: 14px; }
  .search-hint { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
