/* Сайт программы — в стиле остеопат-москва.рф: светлый бело-голубой фон, тёмно-синие заголовки,
   фирменный синий для акцентов и солнечный для главных кнопок. Цвета — токены в :root. */
:root {
  --bg: #f5fcff; --surface: #ffffff; --tint: #e7f6fd;
  --dark: #003851; --dark2: #0a4a66;
  --blue: #1189bb; --blue-h: #0d6d96; --cyan: #6bdefa; --sun: #fcb316; --sun-h: #f0a400;
  --text: #12303f; --muted: #587683; --line: #d9e8ef;
  --ok: #18a46c; --danger: #c44a4a;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(0, 56, 81, .10);
  --font: 'Manrope', system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Sylfaen, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-h); text-decoration: underline; }
h1, h2, h3 { color: var(--dark); line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 14px; font-weight: 800; }
h2 em { font-style: normal; color: var(--blue); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); } .small { font-size: 14px; } .tiny { font-size: 12.5px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; margin: 0 0 28px; }

/* шапка */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--dark); font-weight: 800; font-size: 20px; text-decoration: none !important; }
.logo img { width: 42px; height: 42px; }
.logo small { display: block; font-weight: 600; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
header.top nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
header.top nav a { color: var(--text); }
header.top nav a:hover { color: var(--blue); text-decoration: none; }
@media (max-width: 960px) { header.top nav { display: none; } header.top details.langs, header.top nav + details.langs { margin-left: auto; } }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--sun); color: #2b1a00; font: 800 16px var(--font); cursor: pointer; text-decoration: none !important; box-shadow: 0 0 0 6px rgba(252, 179, 22, .18); transition: background .15s, transform .15s; }
.btn:hover { background: var(--sun-h); color: #2b1a00; transform: translateY(-1px); }
.btn.blue { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(17, 137, 187, .14); }
.btn.blue:hover { background: var(--blue-h); color: #fff; }
.btn.ghost { background: var(--surface); color: var(--dark); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; box-shadow: none; }
.btn.big { min-height: 62px; padding: 0 34px; font-size: 18px; }
.btn small { display: block; font-weight: 600; font-size: 12.5px; opacity: .8; }
.btn .lines { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }

/* первый экран */
.hero { padding: 54px 0 40px; background: radial-gradient(900px 500px at 85% 0%, #dff3fc 0%, transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding-left: 34px; margin: 10px 0; font-size: 17px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dl-main { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.dl-hint { margin-top: 14px; font-size: 14px; color: var(--muted); }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 56, 81, .08); background: #04121f; line-height: 0; }
.shot.frame { border: 10px solid var(--dark); border-bottom-width: 14px; border-radius: 22px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

/* тёмная полоса с цифрами */
.band { background: var(--dark); color: #fff; padding: 40px 0; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.band b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--sun); line-height: 1.1; }
.band span { color: #bcd6e2; font-size: 15px; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr 1fr; } }

/* секции */
section.s { padding: 76px 0; }
section.tint { background: var(--tint); }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
@media (max-width: 520px) { .g2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 18px rgba(0, 56, 81, .05); }
.card h3 { margin: 12px 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ic { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* скриншоты */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; cursor: zoom-in; }
.gallery figure .shot { transition: transform .2s; }
.gallery figure:hover .shot { transform: translateY(-3px); }
.gallery figcaption { margin-top: 12px; font-size: 15px; }
.gallery figcaption b { display: block; color: var(--dark); font-size: 16.5px; }
.gallery figcaption span { color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0, 25, 38, .88); display: none; align-items: center; justify-content: center; padding: 3vw; cursor: zoom-out; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* шаги */
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: st; content: counter(st); position: absolute; left: 24px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* скачивание */
.dl-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 14px; }
.dl-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1.5px solid var(--line); color: var(--text); text-decoration: none !important; transition: border-color .15s, box-shadow .15s; }
.dl-item:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.dl-item.rec { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(252, 179, 22, .18); }
.dl-item .os { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--tint); color: var(--dark); display: flex; align-items: center; justify-content: center; }
.dl-item .os svg { width: 26px; height: 26px; fill: currentColor; }
.dl-item b { display: block; color: var(--dark); font-size: 16.5px; }
.dl-item span { color: var(--muted); font-size: 14px; }
.dl-item .rec-tag { display: none; margin-left: auto; font-size: 12px; font-weight: 800; color: #7a5400; background: #fff2cc; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.dl-item.rec .rec-tag { display: inline-block; }
.sha { font: 12px/1.4 ui-monospace, Consolas, monospace; color: var(--muted); word-break: break-all; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 18px; font: 700 14.5px var(--font); color: var(--dark); cursor: pointer; }
.tabs button.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.tabpane { display: none; } .tabpane.on { display: block; }
.tabpane ol { margin: 0; padding-left: 22px; } .tabpane li { margin: 8px 0; }
.note { border-left: 4px solid var(--sun); background: #fffaf0; padding: 14px 18px; border-radius: 0 12px 12px 0; margin-top: 16px; font-size: 15px; }
.mobile-note { display: none; }

/* бесплатно */
.free { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.free .big0 { font-size: clamp(64px, 9vw, 120px); font-weight: 800; color: var(--blue); line-height: 1; }
@media (max-width: 860px) { .free { grid-template-columns: 1fr; } }

/* автор */
.author { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: center; }
.author .photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; }
.author .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author h3 { font-size: 30px; margin: 0 0 6px; }
.author .role { color: var(--blue); font-weight: 700; margin: 0 0 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.tags span { background: var(--tint); color: var(--dark); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
.collage { margin-top: 30px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.collage img { display: block; width: 100%; }
@media (max-width: 860px) { .author { grid-template-columns: 1fr; } .author .photo { max-width: 320px; } }

/* вопросы */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--dark); font-size: 16.5px; list-style: none; position: relative; padding-right: 30px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* форма */
.form { display: grid; gap: 12px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.form input, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #f9fdff; padding: 14px 16px; font: 16px var(--font); color: var(--text); outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--blue); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.form .agree input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; }
.ok { background: #e9f9f1; border: 1px solid #b7ead2; color: #0f6b46; padding: 14px 18px; border-radius: 12px; margin-bottom: 14px; }
.err { background: #fdeeee; border: 1px solid #f1c4c4; color: #8a2e2e; padding: 14px 18px; border-radius: 12px; margin-bottom: 14px; }

/* текстовые страницы */
.doc { max-width: 860px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc pre { white-space: pre-wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font: 12.5px/1.5 ui-monospace, Consolas, monospace; color: var(--text); max-height: 360px; overflow: auto; }
.doc table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; }
.doc td, .doc th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }

/* подвал */
footer { background: var(--dark); color: #bcd6e2; padding: 44px 0 50px; font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer a { color: #fff; }
footer b { color: #fff; display: block; margin-bottom: 8px; }
footer p { margin: 6px 0; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* админка */
.adm { padding: 30px 0 70px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-size: 30px; line-height: 1.1; color: var(--dark); }
.stat span { color: var(--muted); font-size: 13px; }
.stat i { font-style: normal; color: var(--blue); font-size: 13px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 10px 0 0; }
.chart .d { flex: 1; display: flex; gap: 1px; align-items: flex-end; height: 100%; }
.chart .d i { flex: 1; border-radius: 2px 2px 0 0; min-height: 1px; }
.lg { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 8px; }
.lg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.c-dl { background: var(--sun); } .c-inst { background: var(--ok); } .c-start { background: var(--blue); } .c-view { background: var(--cyan); } .c-click { background: #e0569a; }
form.f { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 14px; }
form.f label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
form.f input, form.f select { height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 0 10px; font: 14px var(--font); }
form.f input[type=file] { padding: 8px 10px; }
form.f .wide { grid-column: 1 / -1; }
.ban { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.ban img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.ban.off { opacity: .5; }
.tag { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 10px; background: var(--tint); color: var(--muted); }
.tag.on { background: #e3f7ee; color: var(--ok); }
.msg { background: var(--tint); border: 1px solid #bfe4f4; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; }
.btn.danger { background: #fff; color: var(--danger); border: 1.5px solid #f1c4c4; box-shadow: none; }
details summary { cursor: pointer; color: var(--blue); }
.q { border-top: 1px solid var(--line); padding: 14px 0; }
.q.done { opacity: .55; }
.q p { margin: 6px 0; white-space: pre-wrap; }
@media (max-width: 760px) { .ban { grid-template-columns: 1fr; } }

/* плашка тестового режима, код, кликабельный кадр */
.testbar { background: var(--sun); color: #2b1a00; text-align: center; font-size: 14px; font-weight: 600; padding: 7px 16px; }
.testbar a { color: #2b1a00; text-decoration: underline; }
code { font: 13.5px ui-monospace, Consolas, monospace; background: var(--tint); color: var(--dark); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.shot[data-full] { cursor: zoom-in; }
.mobile-note { display: none; }
section.tint .kicker { background: #fff; }

/* баннер согласия на cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 56, 81, .22); padding: 18px 20px; display: flex; gap: 18px; align-items: center; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; color: var(--text); }
.cookie-btns { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .cookie { flex-direction: column; align-items: stretch; } .cookie-btns > * { flex: 1; } }

/* выбор языка в шапке */
header.top details.langs { position: relative; }
@media (min-width: 961px) { header.top nav + details.langs { margin-left: -6px; } }
details.langs summary { list-style: none; display: flex; align-items: center; gap: 5px; cursor: pointer; padding: 7px 9px; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--dark); border: 1px solid var(--line); background: var(--surface); }
details.langs summary::-webkit-details-marker { display: none; }
details.langs summary:hover, details.langs[open] summary { border-color: var(--blue); color: var(--blue); }
details.langs summary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.langs-list { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 2px; z-index: 30; width: max-content; max-width: calc(100vw - 32px); }
.langs-list a { padding: 7px 10px; border-radius: 8px; color: var(--text); font-size: 14px; white-space: nowrap; }
.langs-list a:hover { background: var(--tint); text-decoration: none; }
.langs-list a.on { background: var(--tint); color: var(--blue); font-weight: 700; }
.doc .trnote { background: var(--tint); border-left: 3px solid var(--blue); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
/* Узкий экран: длинные переводы не должны выталкивать шапку за край */
@media (max-width: 600px) {
  header.top .wrap { gap: 10px; }
  .logo { min-width: 0; font-size: 17px; }
  .logo img { width: 36px; height: 36px; }
  .logo > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .logo small { display: none; }
  header.top .btn.sm { padding: 0 12px; font-size: 13.5px; white-space: nowrap; }
}
@media (max-width: 480px) { header.top .btn.sm { display: none; } }
/* Страница «Об авторе»: путь по годам */
.author-h { font-size: 34px; margin: 0 0 6px; }
.path { list-style: none; margin: 26px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.path li { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.path img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; order: -1; }
.path .yr { margin: 16px 18px 0; font-weight: 800; font-size: 22px; color: var(--blue); }
.path p { margin: 6px 18px 18px; }
.path { align-items: start; }
.path li.now { grid-column: 1 / -1; border-left: 4px solid var(--blue); }
/* 30.10: первый экран — сразу ясно, что это бесплатная программа для МРТ и КТ и для кого она */
.hero-sub { font-size: 19px; color: var(--muted); margin: 0 0 18px; max-width: 620px; }
.who { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -10px 0 24px; font-size: 14px; }
.who b { color: var(--dark); margin-right: 4px; }
.who span { background: var(--tint); color: var(--dark); border-radius: 999px; padding: 4px 11px; font-weight: 600; }
.free .big0 { font-size: clamp(44px, 6vw, 72px); }
/* Легенда автора */
.legend { margin: 0 0 18px; padding: 18px 22px; background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 17px; max-width: 860px; }
section.tint .legend { background: var(--surface); }
.legend p { margin: 0 0 10px; }
.legend footer { color: var(--blue); font-weight: 700; font-size: 15px; background: none; padding: 0; }
/* Антивирус */
.card.av { margin-top: 18px; border-left: 4px solid var(--sun); }
.card.av h3 { margin-top: 0; }
.card.av ol { margin: 0; padding-left: 20px; }
.card.av li { margin: 6px 0; }
/* Компактнее: меньше воздуха между блоками */
section.s { padding: 56px 0; }
.hero { padding: 40px 0 36px; }
.band { padding: 30px 0; }
.lead { margin-bottom: 22px; }
/* Телефон */
@media (max-width: 600px) {
  section.s { padding: 36px 0; }
  .hero { padding: 22px 0 26px; }
  .hero .wrap { gap: 22px; }
  .hero h1 { font-size: 31px; margin-bottom: 12px; }
  .hero-sub { font-size: 16.5px; margin-bottom: 12px; }
  .checks { margin-bottom: 18px; }
  .checks li { font-size: 15.5px; margin: 7px 0; padding-left: 30px; }
  .who { margin: -4px 0 18px; font-size: 13px; }
  .kicker { font-size: 11.5px; padding: 5px 11px; margin-bottom: 10px; }
  h2 { font-size: 26px; margin-bottom: 10px; }
  .lead { font-size: 16px; margin-bottom: 18px; }
  .band { padding: 22px 0; }
  .band .wrap { gap: 16px; }
  .band b { font-size: 24px; }
  .band span { font-size: 13.5px; }
  .card { padding: 16px; }
  .card h3 { font-size: 17px; margin: 6px 0 4px; }
  .card p { font-size: 14.5px; }
  .g3 .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; }
  .g3 .card .ic { grid-row: span 2; margin: 0; width: 40px; height: 40px; border-radius: 11px; }
  .g3 .card .ic svg { width: 22px; height: 22px; }
  .g3 .card h3 { margin-top: 2px; }
  .grid { gap: 10px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; }
  .gallery figure { flex: 0 0 82%; scroll-snap-align: start; }
  .steps { gap: 10px; }
  .steps .card { padding: 14px 16px 14px 60px; }
  .steps .card::before { left: 16px; top: 16px; }
  .steps .card h3 { margin-top: 0; }
  .free .card { padding: 18px; }
  .author { gap: 20px; }
  .author .photo { max-width: 240px; }
  .author h3, .author-h { font-size: 25px; }
  .legend { font-size: 15.5px; padding: 14px 16px; }
  .faq details { padding: 13px 16px; }
  .faq summary { font-size: 15.5px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; gap: 10px; }
  .cookie p { font-size: 12.5px; line-height: 1.4; }
  .cookie-btns .btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
  /* в шапке на телефоне тоже видно, что это бесплатная программа для МРТ */
  .logo > span { white-space: normal; line-height: 1.15; }
  .logo small { display: block; font-size: 10.5px; white-space: normal; margin-top: 2px; }
}
/* Прямые ссылки на скачивание во вкладках «Как установить» */
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.dl-inline { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 14px; background: var(--sun); color: #2b1a00 !important; text-decoration: none !important; box-shadow: 0 0 0 5px rgba(252, 179, 22, .16); }
.dl-inline:hover { background: var(--sun-h); }
.dl-inline .os { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .55); display: flex; align-items: center; justify-content: center; flex: none; }
.dl-inline .os svg { width: 19px; height: 19px; fill: currentColor; }
.dl-inline b { display: block; font-size: 15.5px; line-height: 1.2; }
.dl-inline small { display: block; font-size: 12.5px; opacity: .8; }
.hero h1 { font-size: clamp(34px, 4vw, 50px); }
@media (max-width: 600px) { .dl-inline { flex: 1 1 100%; } .hero h1 { font-size: 31px; } }
.author { align-items: start; }
.author .photo { margin-top: 6px; }
