/* ==========================================================================
   Хостинг-гид — дизайн-система
   Направление: «печатный журнал». Ось вёрстки на 42% ширины, сплошные поля цвета,
   два шрифта: Onest (интерфейс и заголовки) и Literata (чтение статей).
   ========================================================================== */

:root {
  --bg: #eef0f3;
  --surface: #e2e5ea;
  --surface-2: #d5dbe6;
  --ink: #0b0c0e;
  --muted: #4f5662;
  --accent: #1a47e6;
  --accent-press: #1236bd;
  --accent-ink: #ffffff;
  --accent-soft: #c9d4fb;
  --dark: #0b0c0e;
  --dark-2: #17191e;
  --dark-ink: #f2f3f5;
  --dark-muted: #a7aeba;
  --ok: #148a4a;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --read: "Literata", Georgia, "Times New Roman", serif;

  --m: clamp(16px, 2.6vw, 40px);
  --axis: 42%;
  --max: 1600px;

  --t-hero: clamp(40px, 7vw, 124px);
  --t-h2: clamp(30px, 3.9vw, 60px);
  --t-h3: clamp(20px, 1.5vw, 23px);
  --t-body: 18px;
  --t-small: 15px;

  --gap: clamp(96px, 11vw, 190px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--font);
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 10px; }
.muted { color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px;
  font: 600 17px/1 var(--font); letter-spacing: -.01em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-press); color: var(--accent-ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.ad-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ---------- Шапка ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.bar-in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--m);
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -.04em; text-decoration: none; }
.menu { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.menu a:not(.btn) { text-decoration: none; font-size: 16px; font-weight: 500; }
.menu a[aria-current="page"]:not(.btn) { color: var(--accent); }
.menu-btn { display: none; }

/* ---------- Сетка страницы с осью ---------- */
.page { max-width: var(--max); margin: var(--gap) auto 0; padding: 0 var(--m); }
.axis-col { margin-left: var(--axis); max-width: 900px; }
.standfirst { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; max-width: 40ch; }
.crumbs { font-size: var(--t-small); color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }

/* ---------- Первый экран ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: 0 var(--m); }
.hero-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.35fr 1fr;
  min-height: min(46vh, 470px);
}
.tile { position: relative; padding: clamp(20px, 2vw, 32px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.tile-accent { background: var(--accent); color: var(--accent-ink); }
.tile-dark { background: var(--dark); color: var(--dark-ink); }
.tile-surface { background: var(--surface-2); }
.tile-ui { background: var(--surface); justify-content: center; }
.tile-label { font-weight: 600; font-size: var(--t-small); margin: 0 0 auto; }
.trial-figure { font-size: clamp(52px, 5.6vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin: 0 0 14px; }
.trial-figure span:last-child { display: block; }
.tile-text { font-size: var(--t-small); line-height: 1.45; margin: 0; max-width: 30ch; }
.tile-big { font-size: clamp(44px, 4.4vw, 80px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin: 0 0 14px; white-space: nowrap; }
.tile-rack { justify-content: space-between; }
.rack { width: 92%; max-width: 260px; margin: 8px auto 0; flex: none; }
.tile-caption { font-size: var(--t-small); margin: 12px 0 0; color: var(--dark-ink); }
.leds circle { animation: blink 3.2s infinite steps(1); }
.leds circle:nth-child(3n) { animation-delay: .7s; }
.leds circle:nth-child(4n) { animation-delay: 1.6s; }
@keyframes blink { 0%, 86% { opacity: 1; } 87%, 92% { opacity: .25; } 93% { opacity: 1; } }

.hero-text {
  display: grid; grid-template-columns: 1fr minmax(300px, 34%); gap: 32px 48px; align-items: end;
  padding: clamp(36px, 4vw, 64px) 0 0;
}
.hero h1 { font-size: var(--t-hero); font-weight: 800; letter-spacing: -.05em; line-height: .92; max-width: 13ch; }
.hero-side .lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.45; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* фрагмент интерфейса панели (data-ui: свои правила рамок) */
.panel { background: #fff; color: #1c2230; font-size: 14px; width: 100%; max-width: 420px; margin: 0 auto; border: 1px solid #d3d8e2; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-weight: 600; background: #f5f7fa; border-bottom: 1px solid #e3e7ee; }
.panel-plus { color: var(--accent); font-weight: 600; font-size: 13px; }
.panel-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #eef1f5; }
.panel-row:last-child { border-bottom: 0; }
.panel .dom { font-weight: 500; color: #1c2230; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel .ok { color: var(--ok); font-weight: 600; white-space: nowrap; }
.panel .ok::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.panel .meta { color: #6a7385; white-space: nowrap; }
.panel .is-busy { position: relative; }
.panel .is-busy::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 40%; background: var(--accent); animation: busy 2.4s var(--ease) infinite; }
@keyframes busy { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Почему ---------- */
.why { display: grid; grid-template-columns: var(--axis) 1fr; }
.why .axis-col { margin-left: 0; }
.side-notes { padding-right: 48px; font-size: var(--t-small); line-height: 1.45; display: grid; align-content: start; gap: 20px; }
.side-notes p { margin: 0; max-width: 28ch; }
.side-notes strong { display: block; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px; }
.why h2, .launch h2, .faq h2, .fresh h2, .prices h2, .related h2 { font-size: var(--t-h2); margin-bottom: 28px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; margin-top: 56px; }
.two-col h3 { font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.two-col p { margin: 0; }

/* ---------- Подбор тарифа ---------- */
.field-accent { background: var(--accent); color: var(--accent-ink); }
.field-dark { background: var(--dark); color: var(--dark-ink); }
.picker { margin-top: var(--gap); padding: clamp(64px, 8vw, 128px) 0; }
.picker-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--m); display: grid; grid-template-columns: var(--axis) 1fr; gap: 48px 0; }
.picker h2 { font-size: var(--t-h2); margin-bottom: 18px; }
.picker-hint { max-width: 32ch; }
.choices { display: grid; gap: 4px; margin-top: 28px; padding-right: 48px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: block; padding: 16px 20px; font-weight: 500; font-size: 17px;
  background: rgba(255, 255, 255, .1); transition: background-color .2s var(--ease), color .2s var(--ease), padding .2s var(--ease);
}
.choice:hover span { background: rgba(255, 255, 255, .2); }
.choice input:checked + span { background: #fff; color: var(--ink); padding-left: 28px; }
.choice input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.picker-a { display: grid; align-content: start; }
.answer { grid-area: 1 / 1; background: var(--dark); color: var(--dark-ink); padding: clamp(28px, 3.4vw, 56px); }
.answer[data-hidden] { display: none; }
html:not(.js) .answer { grid-area: auto; margin-bottom: 4px; }
html:not(.js) .answer[data-hidden] { display: block; }
.js .answer { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.js .answer.entering { opacity: 0; transform: translateY(14px); }
.answer-for { font-size: var(--t-small); color: var(--dark-muted); margin-bottom: 14px; }
.answer h3 { font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 20px; max-width: 20ch; }
.answer p { max-width: 54ch; }
.answer ol { margin: 8px 0 32px 1.2em; display: grid; gap: 8px; }
.answer li::marker { color: var(--accent-soft); font-weight: 700; }

/* ---------- Запуск ---------- */
.launch { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 6vw, 112px); align-items: center; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 4px; margin-bottom: 28px; }
.steps li { background: var(--surface); padding: 18px 22px; line-height: 1.5; }
.steps li:nth-child(even) { background: var(--surface-2); }
.steps strong { font-weight: 700; }
.launch-ui { background: var(--surface-2); padding: clamp(28px, 4vw, 72px); }
.panel-lg { max-width: 560px; font-size: 15px; }
.cms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; border-bottom: 1px solid #eef1f5; }
.cms { padding: 12px 8px; text-align: center; border: 1px solid #dde2ea; font-weight: 500; font-size: 14px; }
.cms.is-on { border-color: var(--accent); color: var(--accent); background: #f0f4ff; }
.panel-foot { padding: 16px; display: flex; justify-content: flex-end; }
.panel-btn { background: var(--accent); color: #fff; padding: 10px 20px; font-weight: 600; }

/* ---------- Блог на главной ---------- */
.fresh-head { display: grid; grid-template-columns: var(--axis) 1fr; align-items: end; margin-bottom: 40px; }
.fresh-head h2 { margin: 0; }
.fresh-head p { margin: 0; }
.fresh-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px clamp(32px, 4vw, 72px); }
.lead-story { text-decoration: none; display: block; }
.lead-story img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; margin-bottom: 22px; transition: transform .6s var(--ease); }
.lead-story:hover img { transform: scale(1.015); }
.lead-story h3 { font-size: clamp(26px, 2.5vw, 40px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 14px; }
.lead-story:hover h3 { color: var(--accent); }
.lead-story p:last-child { color: var(--ink); margin: 0; max-width: 56ch; }
.story-meta { display: block; font-size: var(--t-small); color: var(--muted); margin-bottom: 8px; }
.story-list { list-style: none; display: grid; gap: 4px; align-content: start; }
.story-list a { display: block; text-decoration: none; padding: 18px 22px; background: var(--surface); transition: background-color .2s var(--ease), padding .2s var(--ease); }
.story-list a:hover { background: var(--surface-2); padding-left: 30px; color: var(--ink); }
.story-title { display: block; font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; }

/* ---------- Реклама на главной ---------- */
.advert { margin-top: var(--gap); padding: clamp(64px, 8vw, 128px) 0; }
.advert-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--m); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px clamp(40px, 6vw, 120px); align-items: end; }
.advert h2 { font-size: var(--t-h2); margin-bottom: 24px; max-width: 16ch; }
.advert .standfirst { color: var(--dark-ink); }
.big-num { font-size: var(--t-hero); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.advert-figure p:not(.big-num) { margin: 0 0 4px; }
.field-dark .muted { color: var(--dark-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: var(--axis) 1fr; }
.faq-list { display: grid; gap: 4px; }
.faq details { background: var(--surface); }
.faq details:nth-child(even) { background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 64px 22px 24px; font-weight: 600; font-size: 19px; line-height: 1.35; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 24px; margin: 0; max-width: 68ch; }

/* ---------- Финал ---------- */
.closing { margin-top: var(--gap); padding: clamp(72px, 9vw, 150px) 0; }
.closing-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--m); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }
.closing h2 { font-size: var(--t-h2); max-width: 18ch; }

/* ---------- Подвал ---------- */
.foot { background: var(--dark); color: var(--dark-ink); margin-top: 0; padding: clamp(64px, 7vw, 112px) 0 32px; }
main > :last-child:not(.closing):not(.field-accent):not(.field-dark) { margin-bottom: var(--gap); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--m); }
.foot a { color: var(--dark-ink); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 40px; }
.foot-h { font-weight: 600; color: var(--dark-muted); font-size: var(--t-small); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; font-size: 16px; }
.counter { background: var(--dark-2); padding: 24px; align-self: start; }
.counter-num { font-size: clamp(44px, 4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.counter p:last-child { margin: 0; font-size: var(--t-small); color: var(--dark-muted); }
.foot-note { margin: 56px 0 0; font-size: 14px; color: var(--dark-muted); max-width: 90ch; }
.foot-name { font-size: clamp(56px, 13.5vw, 230px); font-weight: 800; letter-spacing: -.06em; line-height: .82; margin: 48px 0 24px; white-space: nowrap; overflow: hidden; text-overflow: clip; color: var(--dark-ink); }
.foot-copy { font-size: 14px; color: var(--dark-muted); margin: 0; }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: var(--m); right: var(--m); bottom: 16px; z-index: 60; max-width: 640px; margin-left: auto; background: var(--ink); color: #fff; padding: 16px 20px; display: flex; gap: 16px; align-items: center; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; }
.cookie a { color: #fff; }

/* ---------- Блог: список ---------- */
.list-head { margin-top: clamp(48px, 6vw, 96px); }
.list-head h1, .ads-hero h1, .contact h1, .about h1, .legal h1, .notfound h1 { font-size: var(--t-hero); font-weight: 800; letter-spacing: -.05em; line-height: .92; margin-bottom: 28px; }
.ads-hero h1 { max-width: 14ch; }
.search { display: flex; gap: 0; max-width: 620px; margin: 32px 0; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 2px solid var(--surface-2); background: #fff; font: inherit; font-size: 16px; border-radius: 0; }
.search input:focus { outline: none; border-color: var(--accent); }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cats a { text-decoration: none; padding: 8px 14px; background: var(--surface); font-size: 15px; font-weight: 500; transition: background-color .2s var(--ease); }
.cats a:hover { background: var(--surface-2); color: var(--ink); }
.cats a[aria-current="page"] { background: var(--ink); color: #fff; }
.list-body { margin-top: 56px; }
.article-list { list-style: none; display: grid; gap: 4px; }
.row-link { display: grid; grid-template-columns: minmax(200px, 30%) 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; text-decoration: none; padding: 16px; background: var(--surface); transition: background-color .2s var(--ease); }
.row-link:hover { background: var(--surface-2); color: var(--ink); }
.row-link img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.row-title { display: block; font-weight: 700; font-size: clamp(21px, 1.9vw, 30px); letter-spacing: -.03em; line-height: 1.12; margin-bottom: 10px; }
.row-link:hover .row-title { color: var(--accent); }
.row-excerpt { display: block; color: var(--ink); max-width: 68ch; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--surface); font-weight: 600; }
.pager [aria-current="page"] { background: var(--ink); color: #fff; }
.pager .gap { background: none; }

/* ---------- Статья ---------- */
.post-head { margin-top: clamp(40px, 5vw, 80px); }
.post-head h1 { font-size: clamp(30px, 3.6vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 24ch; margin-bottom: 22px; text-wrap: balance; }
.post-meta { color: var(--muted); font-size: var(--t-small); }
.post-meta a { color: var(--muted); }
.draft-note { background: #fff3c4; padding: 12px 16px; font-size: var(--t-small); }
.sponsor-note { display: inline-block; background: var(--ink); color: #fff; padding: 6px 12px; font-size: 14px; }
.post-cover { max-width: var(--max); margin: 40px auto 0; padding: 0 var(--m); }
.post-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; max-height: 640px; }
.post-grid { display: grid; grid-template-columns: var(--axis) minmax(0, 720px); margin-top: 56px; }
.post-aside { padding-right: 48px; }
.toc { position: sticky; top: 96px; background: var(--surface); padding: 24px; max-width: 360px; margin-left: auto; }
.toc-h { font-weight: 700; margin-bottom: 12px; }
.toc ol { margin-left: 1.1em; display: grid; gap: 8px; font-size: var(--t-small); line-height: 1.4; }
.toc a { text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--accent); }

.prose { font-family: var(--read); font-size: 19px; line-height: 1.68; }
.prose > * { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--font); font-size: clamp(26px, 2.3vw, 36px); letter-spacing: -.03em; line-height: 1.12; margin: 2em 0 .7em; }
.prose h3 { font-family: var(--font); font-size: 22px; letter-spacing: -.02em; line-height: 1.25; margin: 1.6em 0 .5em; }
.prose h4 { font-family: var(--font); font-size: 19px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--ink); }
.prose strong { font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--surface); font-family: var(--font); font-size: 17px; line-height: 1.55; }
.prose blockquote p:last-child { margin: 0; }
.prose code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .86em; background: var(--surface); padding: .1em .35em; }
.prose pre { background: var(--dark); color: var(--dark-ink); padding: 20px 22px; overflow-x: auto; font-size: 15px; line-height: 1.55; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose figure { margin: 1.8em 0; }
.prose img { width: 100%; }
.table-wrap { overflow-x: auto; font-family: var(--font); font-size: 16px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--surface-2); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; }
.prose hr { border: 0; height: 24px; }

.prose .summary { background: var(--surface); padding: 20px 24px; margin: 0 0 1.8em; font-family: var(--font); font-size: 17px; line-height: 1.55; }
.prose .summary p { margin: 0; }
.prose .summary .summary-h { font-weight: 700; margin-bottom: 6px; color: var(--accent); }
.cta { background: var(--accent); color: var(--accent-ink); padding: clamp(24px, 3vw, 40px); margin: 2em 0; font-family: var(--font); font-size: 17px; line-height: 1.5; }
.cta-title { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 10px; }
.cta .ad-note { color: var(--accent-soft); font-size: 12px; margin-bottom: 0; }
.prose .cta a.btn { color: var(--ink); text-decoration: none; margin-top: 6px; }
.prose .cta a.btn:hover { color: #fff; }

.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font); font-size: 15px; margin-top: 2.4em; }
.share span { color: var(--muted); margin-right: 4px; }
.share a, .share button { text-decoration: none; background: var(--surface); padding: 8px 14px; color: var(--ink); border: 0; font: inherit; cursor: pointer; transition: background-color .2s var(--ease); }
.prose .share a { color: var(--ink); }
.share a:hover, .share button:hover { background: var(--surface-2); }
.author { font-family: var(--font); background: var(--surface); padding: 24px 26px; margin-top: 2em; font-size: 16px; }
.author-name { font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.author p:last-child { margin: 0; }

.related-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.related-list a { text-decoration: none; display: block; }
.related-list img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; margin-bottom: 16px; transition: transform .5s var(--ease); }
.related-list a:hover img { transform: scale(1.02); }
.related-list a:hover .story-title { color: var(--accent); }

/* ---------- Размещение ---------- */
.ads-hero { margin-top: clamp(48px, 6vw, 96px); }
.ads-stats { margin-top: 72px; padding: clamp(48px, 6vw, 96px) 0; }
.ads-stats-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--m); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ads-stats .big-num { font-size: clamp(44px, 5vw, 88px); }
.ads-stats-in p:not(.big-num) { margin: 0; color: var(--dark-muted); font-size: 16px; max-width: 22ch; }
.ads-stats-note { max-width: var(--max); margin: 40px auto 0; padding: 0 var(--m); font-size: 14px; color: var(--dark-muted); }
.prices { display: grid; grid-template-columns: var(--axis) 1fr; }
.prices h2 { grid-column: 1 / -1; }
.price-list { grid-column: 2; display: grid; gap: 4px; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; padding: 24px 26px; background: var(--surface); }
.price-row:nth-child(even) { background: var(--surface-2); }
.price-row h3 { font-size: var(--t-h3); letter-spacing: -.02em; line-height: 1.2; }
.price-row p { grid-column: 1; margin: 0; }
.price-row .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: clamp(26px, 2.4vw, 38px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rules { grid-column: 1; grid-row: 2; padding-right: 48px; }
.rules h3 { font-size: var(--t-h3); margin-bottom: 14px; }
.rules ul { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; font-size: 16px; }
.rules p { font-size: 16px; color: var(--muted); }
.order { display: grid; grid-template-columns: var(--axis) 1fr; }
.order h2 { font-size: var(--t-h2); margin-bottom: 20px; }
.order-text { padding-right: 48px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; background: var(--surface); padding: clamp(24px, 3vw, 44px); }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: 15px; }
.form .wide { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 17px; border: 2px solid transparent; background: #fff; border-radius: 0; color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 22px; min-height: 22px; height: 22px; flex: none; margin: 2px 0 0; accent-color: var(--accent); }
.form button { justify-self: start; }
.form-errors { grid-column: 1 / -1; background: #fde2e2; color: #8a1414; padding: 14px 18px; }
.form-errors p { margin: 0 0 4px; }
.form-done { background: var(--accent); color: #fff; padding: clamp(28px, 3vw, 48px); }
.form-done h3 { font-size: var(--t-h2); margin-bottom: 16px; }
.form-done a { color: #fff; }
.hp { position: absolute; left: -9999px; }

/* ---------- Контакты, о проекте, политика ---------- */
.contact, .about, .legal, .notfound { margin-top: clamp(48px, 6vw, 96px); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px clamp(40px, 6vw, 120px); }
.contact-name { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-bottom: 20px; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 14px 32px; font-size: 20px; margin: 32px 0; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-side { background: var(--surface); padding: clamp(24px, 3vw, 44px); align-self: start; }
.contact-side h2 { font-size: var(--t-h3); margin: 0 0 10px; letter-spacing: -.02em; }
.contact-side p { font-size: 16px; }
.contact-side .btn { margin-bottom: 40px; }
.about .axis-col, .legal .axis-col { max-width: 760px; }
.about h2, .legal h2 { font-size: clamp(24px, 2.2vw, 34px); margin: 48px 0 16px; letter-spacing: -.03em; line-height: 1.1; }
.about ul, .legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin-bottom: 1em; }
.legal .prose { font-family: var(--font); font-size: 17px; }
.notfound .article-list { margin-top: 48px; }

/* ---------- Появление при прокрутке (только при работающем JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero h1 .mask { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.js .hero h1 .mask > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.js.ready .hero h1 .mask > span { transform: none; }

/* ---------- Планшет ---------- */
@media (max-width: 1100px) {
  :root { --axis: 34%; }
  .hero-band { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 260px; }
  .hero-text { grid-template-columns: 1fr; }
  .hero h1 { max-width: 15ch; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .ads-stats-in { grid-template-columns: 1fr 1fr; }
  .related-list { grid-template-columns: 1fr 1fr; }
  .related-list li:nth-child(3) { display: none; }
}

/* ---------- Телефон ---------- */
@media (max-width: 820px) {
  :root { --t-body: 17px; --gap: 88px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--surface); border: 0; font: 600 15px var(--font); color: var(--ink); cursor: pointer; }
  .menu { position: absolute; left: 0; right: 0; top: 72px; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--m) 24px; display: none; box-shadow: 0 18px 30px rgba(0, 0, 0, .12); }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; font-size: 19px; }
  .menu .btn { margin-top: 12px; }
  html:not(.js) .menu { position: static; display: flex; flex-direction: row; flex-wrap: wrap; box-shadow: none; padding: 0 0 12px; gap: 4px 16px; }
  html:not(.js) .menu-btn { display: none; }
  .bar-in { flex-wrap: wrap; }

  .hero-band { grid-template-columns: 1fr 1fr; margin: 0 calc(var(--m) * -1); }
  .tile { min-height: 210px; padding: 18px; }
  .tile-ui { grid-column: 1 / -1; order: 4; min-height: 0; padding: 24px 16px; }
  .tile-surface { order: 3; grid-column: 1 / -1; min-height: 0; }
  .tile-rack { order: 2; }
  .trial-figure, .tile-big { font-size: 46px; }
  .rack { width: 82%; }

  .why, .faq, .picker-in, .fresh-head, .prices, .order, .post-grid { grid-template-columns: 1fr; }
  .side-notes { padding: 0 0 40px; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
  .side-notes strong { font-size: 20px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .choices { padding-right: 0; }
  .launch { grid-template-columns: 1fr; }
  .launch-ui { margin: 0 calc(var(--m) * -1); padding: 24px 16px; }
  .fresh-grid { grid-template-columns: 1fr; }
  .fresh-head { gap: 12px; }
  .advert-in { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 18px 52px 18px 18px; }
  .faq summary::after { right: 18px; }
  .faq details p { padding: 0 18px 18px; }
  .closing-in { flex-direction: column; align-items: flex-start; }

  .row-link { grid-template-columns: 1fr; padding: 12px; gap: 14px; }
  .post-aside { padding: 0; }
  .toc { position: static; margin: 0 0 32px; max-width: none; }
  .post-cover { padding: 0; }
  .prose { font-size: 18px; }
  .related-list { grid-template-columns: 1fr; }
  .related-list li:nth-child(3) { display: block; }

  .price-list, .rules { grid-column: 1; grid-row: auto; }
  .rules { padding: 40px 0 0; }
  .price-row { grid-template-columns: 1fr; }
  .price-row .price { grid-column: 1; grid-row: auto; }
  .order-text { padding: 0 0 24px; }
  .form { grid-template-columns: 1fr; margin: 0 calc(var(--m) * -1); }
  .ads-stats-in { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; font-size: 18px; }
  .contact-list dd { margin-bottom: 14px; }
  .foot-cols { grid-template-columns: 1fr; gap: 32px; }
  .cookie { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .side-notes { grid-template-columns: 1fr; }
  .ads-stats-in { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero h1 .mask > span { transform: none; }
}

@media print {
  .bar, .foot, .cookie, .cta, .share, .toc, .related { display: none; }
  body { background: #fff; }
}
