/* Diaverse — единая тёмная тема (фиолетовая гамма приложения).
   Контраст текста проверен для фонов --bg / --card / --card-2: все пары ≥ 4.5:1. */
:root {
  color-scheme: dark;
  --bg: #0d0a14;
  --card: #15111f;
  --card-2: #1c1729;
  --line: #2b2340;
  --line-2: #3d3159;
  --ink: #efeaf8;          /* основной текст */
  --ink-body: #cbc4da;     /* длинный текст статей */
  --ink-2: #a69fb8;        /* второстепенный */
  --muted: #8a82a0;        /* приглушённый: подписи, мета */
  --accent: #8b5cf6;       /* рамки, точки, декоративное */
  --accent-text: #b794ff;  /* акцент для текста: курсив, надзаголовки, ссылки */
  --accent-soft: rgba(139, 92, 246, .12);
  --grad: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%); /* белый текст ≥ 5.38:1 в любой точке */
  --ok: #34d399;
  --no: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Фокус с клавиатуры виден везде */
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: var(--radius-sm); }

/* Типографика */
h1, h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
h1 em, h2 em { font-style: italic; color: var(--accent-text); }
h1 {
  font-size: clamp(32px, 3.4vw + 16px, 60px); line-height: 1.08; letter-spacing: -.015em;
  margin: 16px 0 20px;
}
h2 { font-size: clamp(28px, 2.2vw + 18px, 42px); line-height: 1.14; letter-spacing: -.01em; margin: 0 0 28px; max-width: 24ch; }
h2 + .sub { margin-top: -14px; }
h3 { color: var(--ink); }
.eyebrow, .list-title {
  display: block; margin: 0;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
}
.lead { font-size: clamp(17px, .5vw + 15px, 19px); color: var(--ink-2); max-width: 62ch; margin: 0 0 28px; }
.sub { color: var(--ink-2); max-width: 62ch; margin: 0 0 36px; }
.hint { margin: 0; font-size: 14px; color: var(--muted); }

/* Шапка */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 10, 20, .82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--accent-text); }
.nav { display: flex; gap: 4px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; }
.nav a:hover { color: var(--ink); background: var(--card-2); }
.nav a[aria-current] { color: var(--ink); border-color: var(--line-2); }
.top .btn { white-space: nowrap; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  font: 650 16px/1.2 var(--font); text-decoration: none; text-align: center;
  color: var(--ink); background: rgba(255, 255, 255, .02); border: 1px solid var(--line-2);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 10px 28px -12px rgba(139, 92, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(139, 92, 246, 1), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Мягкое фиолетовое свечение за первым экраном */
.hero, .blog-hero, .post { position: relative; isolation: isolate; }
.hero::before, .blog-hero::before, .post::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48% 55% at 28% 0%, rgba(139, 92, 246, .20), transparent 72%),
    radial-gradient(32% 40% at 86% 8%, rgba(168, 85, 247, .10), transparent 70%);
}
.post::before { height: 520px; opacity: .8; }

/* Первый экран: большая карточка + карточка основателя */
.hero { padding: 40px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 20px; align-items: stretch; }
.card.hero-main {
  padding: 44px 44px 40px;
  background: linear-gradient(180deg, rgba(139, 92, 246, .05), rgba(139, 92, 246, 0) 40%), var(--card);
}
.hero-main h1 { max-width: 17ch; }
.nowrap { white-space: nowrap; }
.card.hero-main .lead { margin: 0 0 28px; color: var(--ink-2); }
.stats {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats li { padding: 18px 16px; border-left: 1px solid var(--line); min-width: 0; }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.stats span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.stats a { display: block; text-decoration: none; }
.stats a b { color: var(--accent-text); }
.stats a:hover span { color: var(--ink-2); }
.hero-cta { gap: 12px 16px; }
.hero-cta .hint { flex: 1 1 200px; }

.card.hero-side { padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.hero-side > p { color: var(--ink-2); font-size: 15.5px; }
.side-head { display: flex; align-items: center; gap: 14px; }
.side-head .avatar { flex-basis: 60px; width: 60px; height: 60px; font-size: 26px; }
.side-name { margin: 2px 0 0 !important; font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--ink) !important; }
.side-figures { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; background: var(--card-2); }
.side-figures div { padding: 14px 12px; text-align: center; }
.side-figures div + div { border-left: 1px solid var(--line); }
.side-figures b { display: block; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--ink); }
.side-figures span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.dots { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.dots li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink-2); }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(139, 92, 246, .8); }
.dots b { color: var(--ink); }
.side-cta { margin-top: auto; display: grid; gap: 10px; text-align: center; }

/* Секции */
section { padding: 72px 0; }
section + section { border-top: 1px solid rgba(43, 35, 64, .6); }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 650; letter-spacing: -.005em; line-height: 1.3; }
.card p { margin: 0; color: var(--ink-2); }
.card a:not(.btn) { color: var(--accent-text); }
/* подписи внутри карточек не должны перекрашиваться общим .card p */
.card .eyebrow, .card .list-title, .product .eyebrow { color: var(--accent-text); }
.card .hint, .card .meta, .card .fine, .product .fine { color: var(--muted); }
.fear { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--ink) !important; margin-bottom: 10px !important; }
.fear::before { content: "«"; color: var(--accent-text); } .fear::after { content: "»"; color: var(--accent-text); }

/* Шаги */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 64px; display: flex; flex-direction: column; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 22px; left: 26px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center; box-shadow: 0 0 16px rgba(139, 92, 246, .45);
}
.meta { font-size: 14px; color: var(--muted); margin-top: auto !important; padding-top: 14px; }
.step .meta { border-top: 1px solid var(--line); margin-top: auto !important; }
.step h3 + p { margin-bottom: 16px; }
.rhythm { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.rhythm span { background: var(--card-2); border: 1px solid var(--line); color: var(--accent-text); border-radius: 10px; padding: 8px 14px; font-size: 15px; font-weight: 600; }

/* Цены */
.price { display: flex; flex-direction: column; }
.price.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(139, 92, 246, .08), rgba(139, 92, 246, 0) 35%), var(--card);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .3), 0 28px 60px -30px rgba(139, 92, 246, .55);
}
.badge { align-self: flex-start; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.amount { font-family: var(--serif); font-size: 44px; font-weight: 500; letter-spacing: -.01em; line-height: 1.1; margin: 10px 0 4px; color: var(--ink); }
.amount small { font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--ink-2); }
.amount-word { font-size: clamp(30px, 1vw + 22px, 36px); }
.amount-word small { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--accent-text); }
.term { color: var(--ink-2); font-size: 15px; margin-bottom: 18px !important; }
.list { list-style: none; padding: 0; margin: 0 0 14px; font-size: 15.5px; }
.list li { padding: 5px 0 5px 24px; position: relative; color: var(--ink-2); }
.list.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.list.no li::before { content: "—"; position: absolute; left: 0; color: var(--no); font-weight: 700; }
.list-title { margin: 12px 0 6px; font-size: 12px; }
.price .btn { margin-top: auto; }
.card > .list:last-child { margin-bottom: 0; }
.note { font-size: 15px; color: var(--muted); margin-top: 20px; }

/* Сравнение и таблицы */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15.5px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); background: var(--card-2); }
td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
#compare th:last-child { color: var(--accent-text); }
#compare td:last-child { color: var(--ink); font-weight: 600; background: rgba(139, 92, 246, .07); }

/* Кейс */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.case > div > p { color: var(--ink-2); }
.quote { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--ink) !important; margin: 0 0 18px; padding-left: 20px; border-left: 2px solid var(--accent); }
.numbers { display: grid; gap: 12px; }
.num { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.num b { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.num span { color: var(--ink-2); font-size: 15px; }
.num.after { border-color: var(--accent); background: linear-gradient(180deg, rgba(139, 92, 246, .08), rgba(139, 92, 246, 0)), var(--card); }
.num.after b { color: var(--accent-text); }
.fine { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

/* Команда */
.founder { display: flex; gap: 20px; align-items: center; margin-bottom: 16px; }
.avatar {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--accent), 0 0 22px rgba(139, 92, 246, .5);
}
.founder p { margin: 0; color: var(--ink-2); }
.team-roles { margin-bottom: 16px; }
.product {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.product h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.product p { color: var(--ink-2); margin: 0 0 10px; }
.product a { color: var(--accent-text); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.shots img { width: 100%; height: auto; border-radius: 14px; display: block; border: 1px solid var(--line); }

/* Diaverse в цифрах */
.metrics { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
.metrics-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.product .metrics-big { margin: 0; color: var(--ink); font-size: 18px; font-weight: 600; }
.metrics-big b { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 2vw + 24px, 48px); line-height: 1.05; color: var(--accent-text); margin-right: 6px; }
.metrics-total .fine { flex: 1 1 300px; margin: 0; }
.metrics .stats { margin: 14px 0 0; }
.stats-lg b { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 1.4vw + 18px, 34px); line-height: 1.15; }
.stats-lg li:last-child b { color: var(--accent-text); }
.metrics .fine { margin-top: 14px; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
details[open] { border-color: var(--line-2); }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 650; list-style: none; color: var(--ink); padding-right: 28px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--accent-text); font-weight: 400; font-size: 22px; line-height: 1.2; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 12px 0 0; }

/* Контакт */
.final {
  background: radial-gradient(55% 70% at 50% 0%, rgba(139, 92, 246, .18), transparent 70%), var(--card);
  border: 1px solid var(--line); border-radius: 24px; padding: 64px 40px; text-align: center;
}
.final h2 { margin: 0 auto 12px; max-width: none; }
.final p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 28px; }
.final .cta { justify-content: center; }
.final .final-links { margin: 24px auto 0; font-size: 15px; }
.final .final-links a { color: var(--accent-text); }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }

/* Блог: список статей */
.blog-hero { padding: 64px 0 36px; }
.blog-hero h1 { max-width: 18ch; }
.blog-hero .lead { margin-bottom: 0; }
.post-list { display: grid; gap: 16px; padding-bottom: 72px; }
.post-card { transition: border-color .15s ease; }
.post-card:hover { border-color: var(--line-2); }
.post-card h2 { font-size: clamp(23px, 1.2vw + 18px, 30px); line-height: 1.2; margin: 8px 0 10px; max-width: 32ch; }
.card.post-card h2 a { text-decoration: none; color: var(--ink); }
.card.post-card h2 a:hover { color: var(--accent-text); }
.post-meta { font-size: 14.5px; color: var(--muted); margin: 0; }
.card .post-meta { color: var(--muted); }
.card a.more, .more { display: inline-block; margin-top: 14px; font-weight: 650; color: var(--accent-text); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Блог: статья */
.post-wrap { max-width: 780px; padding-top: 36px; padding-bottom: 72px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.post h1 { font-size: clamp(30px, 3vw + 18px, 48px); line-height: 1.1; letter-spacing: -.015em; max-width: none; margin: 14px 0 14px; }
.post .lead { margin: 22px 0 28px; color: var(--ink-body); }
.post h2 { font-size: clamp(25px, 1.4vw + 19px, 32px); line-height: 1.18; max-width: none; margin: 52px 0 14px; scroll-margin-top: 84px; }
.post h3 { font-size: 19.5px; letter-spacing: -.005em; margin: 30px 0 8px; }
.post p { margin: 0 0 16px; color: var(--ink-body); }
.post ul, .post ol { margin: 0 0 18px; padding-left: 24px; color: var(--ink-body); }
.post li { margin: 7px 0; }
.post ol li::marker { color: var(--accent-text); font-weight: 700; }
.post ul:not(.list) { list-style: none; padding-left: 0; }
.post ul:not(.list) > li { position: relative; padding-left: 22px; }
.post ul:not(.list) > li::before { content: "–"; position: absolute; left: 2px; color: var(--accent-text); font-weight: 700; }
.post strong { color: var(--ink); }
.post a:not(.btn) { color: var(--accent-text); }
.post .card { margin: 24px 0; }
.post .card p { color: var(--ink-2); }
.post .card .list-title { color: var(--accent-text); margin-top: 0; }
.post .card ul { margin-bottom: 0; }
.post .list { padding-left: 0; }
.post .list li { color: var(--ink-body); }
.post .table-wrap { margin: 20px 0 24px; }
.post table { min-width: 560px; }
.post td { color: var(--ink-body); }
.callout {
  margin: 24px 0; padding: 18px 22px;
  background: rgba(139, 92, 246, .10); border: 1px solid rgba(139, 92, 246, .32); border-left: 3px solid var(--accent);
  border-radius: 14px;
}
.post .callout p { color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.post .numbers { margin: 22px 0; }
.post .num span { color: var(--ink-2); }
.post .fine { color: var(--muted); }

/* Лестница проверки: от дешёвого к дорогому */
.ladder { list-style: none; counter-reset: l; padding: 0 !important; margin: 24px 0 28px !important; display: grid; gap: 8px; }
.ladder li { counter-increment: l; margin: 0; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.ladder li::before { content: counter(l); grid-row: span 2; align-self: center; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(139, 92, 246, .16); border: 1px solid rgba(139, 92, 246, .4);
  color: var(--accent-text); font-weight: 700; font-size: 14px; }
.ladder li:last-child { border-color: var(--accent); }
.ladder li:last-child::before { background: var(--grad); border-color: transparent; color: #fff; }
.ladder b { color: var(--ink); }
.ladder span { font-size: 14.5px; color: var(--muted); }
@media (min-width: 681px) {
  .ladder li:nth-child(2) { margin-left: 4%; } .ladder li:nth-child(3) { margin-left: 8%; }
  .ladder li:nth-child(4) { margin-left: 12%; } .ladder li:nth-child(5) { margin-left: 16%; }
  .ladder li:nth-child(6) { margin-left: 20%; }
}

/* Мягкий призыв в конце статьи */
.post-cta {
  margin-top: 56px; padding: 36px 32px; border-radius: 24px;
  background: radial-gradient(60% 80% at 0% 0%, rgba(139, 92, 246, .16), transparent 70%), var(--card);
  border: 1px solid var(--accent);
  box-shadow: 0 28px 60px -34px rgba(139, 92, 246, .6);
}
.post .post-cta h2 { margin: 0 0 12px; }
.post .post-cta p { color: var(--ink-2); }
.post .post-cta a:not(.btn) { color: var(--accent-text); }
.post-cta .cta { margin-top: 22px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main h1 { max-width: 18ch; }
}
@media (max-width: 900px) {
  .g3 { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav .nav-extra { display: none; }
  .stats-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-lg li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-lg li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { display: none; }
  .g2 { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 44px; }
  .card.hero-main { padding: 26px 20px 24px; }
  .card.hero-side { padding: 22px 20px; }
  .card { padding: 22px 20px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { padding: 14px 12px; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  section { padding: 52px 0; }
  .product { padding: 20px; }
  .quote { font-size: 19px; padding-left: 16px; }
  .num b { font-size: 25px; }
  .final { padding: 40px 20px; border-radius: 20px; }
  .cta .btn { width: 100%; }
  .hero-cta .hint { flex-basis: 100%; text-align: center; }
  .blog-hero { padding: 40px 0 28px; }
  .post-cta { padding: 28px 20px; border-radius: 20px; }
  /* таблицы: на телефоне каждая строка — карточка (подписи из data-label) */
  .table-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  table { min-width: 0 !important; }
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 0; margin-bottom: 10px; }
  td, tr:last-child td { border: 0; padding: 5px 16px; }
  #compare td:last-child { background: none; }
  td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
  #compare td[data-label="Diaverse"]::before { color: var(--accent-text); }
}
@media (max-width: 380px) {
  .top .btn-sm { padding: 8px 12px; font-size: 14px; }
  .logo { font-size: 22px; }
  .side-figures b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .post-card { transition: none; }
  .btn:hover { transform: none; }
}

/* Фото основателя в кружке (с запасом, чтобы срезать белую кайму исходника) */
.avatar { overflow: hidden; padding: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); display: block; border-radius: 50%; }

/* Первый экран «Было → стало» */
.hero-figures { list-style: none; padding: 0; margin: 26px 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-figures li { background: var(--card-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.hero-figures b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 1.6vw + 16px, 36px); line-height: 1.1; color: var(--ink); }
.hero-figures b small { font-family: var(--sans, inherit); font-size: 15px; color: var(--muted); margin-left: 4px; font-weight: 500; }
.hero-figures span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.hero-figures .tag { display: inline-block; margin: 0 0 6px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-figures .was b { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(248, 113, 113, .7); }
.hero-figures .now { border-color: var(--accent); box-shadow: 0 0 24px rgba(139, 92, 246, .18); }
.hero-figures .now b, .hero-figures .now .tag { color: var(--accent-text); }
.hero-figures a { display: block; text-decoration: none; color: inherit; }
.hero-figures a b { color: var(--accent-text); }
.hero-figures sup { font-size: 10px; }
.hero-note { font-size: 12px; line-height: 1.5; color: var(--muted); margin: 0 0 18px; }
@media (max-width: 520px) { .hero-figures { grid-template-columns: 1fr; } }
.hero-figures .was b { font-size: clamp(20px, 0.9vw + 13px, 27px); white-space: nowrap; }
.hero-note { margin-bottom: 22px; }
@media (max-width: 900px) and (min-width: 521px) { .hero-figures .was b { white-space: normal; } }

/* Телефон: пара «было → стало» на первом экране вместе с подзаголовком */
@media (max-width: 520px) {
  .card.hero-main .lead { font-size: 16px; margin-bottom: 18px; }
  .hero-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
  .hero-figures li { padding: 12px 14px; }
  .hero-figures li:nth-child(n+3) { grid-column: 1 / -1; }
  .hero-figures .was b, .hero-figures .now b { font-size: 21px; white-space: normal; }
  .hero-figures .was span:not(.tag), .hero-figures .now span:not(.tag) { display: none; }
  .hero-figures b small { white-space: nowrap; }
}
