/* Вариант «Графит»: сталь и кобальт. Мир точного инструмента: шлифованный графитовый алюминий,
   плашки с фасками (срезаны верхний левый и нижний правый углы), точёный диск под каждым объектом,
   один насыщенный кобальт #2747D0 как анодированная деталь. Шрифты — Sofia Sans Semi Condensed (заголовки)
   и Sofia Sans (текст), кириллица есть, self-host из Fontsource. */

@font-face {
  font-family: "Sofia Sans";
  src: url("/fonts/graphite-text-cyr.5484160a.woff2") format("woff2-variations");
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans";
  src: url("/fonts/graphite-text-lat.b7a15607.woff2") format("woff2-variations");
  font-weight: 1 1000;
  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+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sofia Sans Semi Condensed";
  src: url("/fonts/graphite-head-cyr.a524574f.woff2") format("woff2-variations");
  font-weight: 1 1000;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia Sans Semi Condensed";
  src: url("/fonts/graphite-head-lat.8d330c8a.woff2") format("woff2-variations");
  font-weight: 1 1000;
  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+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cobalt: #2747d0;          /* анодированный кобальт: кнопки, кольца, метки. Белый на нём 7.3:1 */
  --cobalt-deep: #1b34a3;     /* наведение, нижний край анодированных панелей */
  --cobalt-ink: #2340bd;      /* ссылки и мелкий кобальтовый текст на светлом: ≥6:1 */
  --cobalt-soft: #dfe5fa;     /* метки на светлом */
  --ink: #15181d;             /* графит, заголовки */
  --text: #39404a;            /* абзацы */
  --muted: #545c67;           /* подписи до 15px: 5.6:1 на алюминии */
  --steel: #a3adbb;           /* светлая сталь на тёмном графите: 7:1 */
  --on-dark: #c9cfd8;         /* абзацы на графите */
  --bg: #ffffff;
  --alu: #eceef1;             /* светлый алюминий — фон чередующихся секций */
  --alu-2: #dfe3e8;
  --line: #d3d8df;
  --graphite: #1c1f24;
  --graphite-2: #262a31;
  --tg: #2a9ad6;

  /* шлифовка: горизонтальные штрихи из шума, светлые — для графита, тёмные — для алюминия */
  --brush-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.75' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.9 0 0 0 -0.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --brush-k: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.75' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.1 0 0 0 0 0.13 0.34 0 0 0 -0.13'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* фаска: срезаны верхний левый и нижний правый углы, как у фрезерованной детали */
  --c: 22px;
  --chamfer: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  --c-s: 10px;
  --chamfer-s: polygon(var(--c-s) 0, 100% 0, 100% calc(100% - var(--c-s)), calc(100% - var(--c-s)) 100%, 0 100%, 0 var(--c-s));
  /* точёный диск: веер бликов по кругу плюс кольца резца */
  --spun:
    repeating-radial-gradient(circle at 50% 50%, rgb(255 255 255 / 0) 0 3px, rgb(20 24 30 / .045) 3px 4px),
    conic-gradient(from 20deg, #c9ced6, #f7f8fa 10%, #cfd4db 22%, #eef0f3 34%, #bfc5ce 48%, #f4f5f7 60%, #c7ccd4 72%, #eceef1 85%, #c9ced6);

  --font: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sofia Sans Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: 24px;
  --section: 96px;           /* единый шаг между секциями: 96 на компьютере, 64 на телефоне */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top)); background: #fff; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.55 var(--font); hyphens: none; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cobalt-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.hero__panel :focus-visible, .cta :focus-visible, .price__main :focus-visible, .feats :focus-visible, .case--mint :focus-visible { outline-color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(36px, 2.4vw + 18px, 58px); line-height: 1; }
p { margin: 0; }
/* вторая часть заголовка: та же сталь, под ней кобальтовая анодированная полоса */
.hl { display: block; }
.hl::after { content: ""; display: block; width: 88px; height: 8px; margin-top: 16px; background: var(--cobalt); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
h2 .hl { color: #5d6672; } /* светлая сталь: 4.9:1 на алюминии */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
/* секции из шлифованного алюминия */
.section--alu, .section--tint { background: var(--alu) var(--brush-k) 0 0 / 800px 400px; }

.head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px 64px; align-items: end; margin-bottom: 56px; }
.head--stack { grid-template-columns: minmax(0, 1fr); }
.head--stack > p { max-width: 36em; }
.head > p { color: var(--text); font-size: 20px; line-height: 1.5; max-width: 30em; padding-bottom: 6px; }
#works .head h2, #price .head h2, .cta h2 { font-size: clamp(44px, 3.8vw + 12px, 84px); line-height: .95; }

/* кнопки: прямоугольник с фасками, как плашка на корпусе прибора */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 30px;
  clip-path: var(--chamfer-s);
  font: 700 19px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.pill:focus-visible { outline-offset: -6px; }
.pill svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.pill svg path[fill="none"] { fill: none; }
.pill--cobalt { background: var(--cobalt) linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / 0) 55%); color: #fff; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .22); }
.pill--cobalt:hover { background-color: var(--cobalt-deep); color: #fff; }
.pill--white { background: #fff linear-gradient(180deg, #fff, #e9ecf0); color: var(--ink); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .1); }
.pill--white svg { fill: var(--cobalt); }
.pill--white:hover { color: var(--cobalt-ink); }
.pill--ghost { color: #fff; background: rgb(255 255 255 / .13) linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / 0)); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .25); }
.pill--ghost:hover { background-color: rgb(255 255 255 / .22); color: #fff; }
.pill--dark { background: var(--graphite) linear-gradient(180deg, #343943, #15181d); color: #fff; }
.pill--dark:hover { background: #000; color: #fff; }
.pill--line { background: var(--alu-2); color: var(--ink); }
.pill--line:hover { background: var(--ink); color: #fff; }

/* шапка */
.top { position: sticky; top: env(safe-area-inset-top); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; margin-right: auto; padding-left: 40px; }
.brand::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); background: var(--cobalt) linear-gradient(135deg, rgb(255 255 255 / .35), rgb(255 255 255 / 0) 50%); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: 0; text-transform: uppercase; }
.brand__role { font-size: 14px; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-right: 18px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 12px 0; }
.nav a:hover, .top__phone:hover { color: var(--cobalt-ink); }
.top__phone { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 20px; white-space: nowrap; margin-right: 4px; padding: 10px 0; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; color: #fff; flex: none; clip-path: var(--chamfer-s); }
.round svg { width: 22px; height: 22px; fill: currentColor; }
.round--tg { background: var(--cobalt); }
.round--wa { background: #179c49; }
.round--call { display: none; background: var(--ink); }
.round:hover { filter: brightness(1.12); color: #fff; }
.top__cta { min-height: 44px; padding: 0 20px; font-size: 16px; background: var(--ink); color: #fff; }
.top__cta:hover { background: var(--cobalt); color: #fff; }

/* первый экран: панель шлифованного графита, точёный диск, объект и стальные плашки фактов */
.hero { padding: 0 12px; }
.hero__panel {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #2a2e35 0%, #1b1e23 55%, #14171b 100%);
  clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}
.hero__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--brush-w) 0 0 / 800px 400px; opacity: .22; }
/* блик полировки — одна мягкая косая полоса, как на анодированном корпусе */
.hero__panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 38%, rgb(255 255 255 / .05) 48%, rgb(255 255 255 / .09) 52%, transparent 62%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 19px; color: var(--steel); margin-bottom: 22px; }
.hero__kicker::before { content: ""; width: 34px; height: 4px; background: var(--cobalt); }
.hero h1 { font-size: clamp(54px, 4.6vw + 14px, 98px); line-height: .9; letter-spacing: -0.012em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--steel); }
.hero__offer { font-size: 23px; font-weight: 500; line-height: 1.4; margin: 28px 0 36px; max-width: 25em; color: #e6e9ee; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__hint { margin-top: 22px; font-size: 18px; color: var(--on-dark); }
.hero__hint a { display: inline-block; padding: 10px 0; color: #fff; white-space: nowrap; }
.hero__art { position: relative; justify-self: end; width: min(100%, 520px); aspect-ratio: 1; }

.disc { position: absolute; border-radius: 50%; background: var(--spun); }
.disc--hero, .disc--cta {
  inset: 4%;
  /* фаска диска: светлая полированная кромка, затем тёмный паз */
  box-shadow: inset 0 0 0 10px rgb(255 255 255 / .35), inset 0 0 0 11px rgb(0 0 0 / .18), 0 0 0 12px rgb(255 255 255 / .05), 0 0 0 13px rgb(255 255 255 / .12), 0 30px 60px rgb(0 0 0 / .45);
}
.hero__obj { position: absolute; left: 7%; top: 2%; width: 86%; height: auto; filter: drop-shadow(0 24px 22px rgb(0 0 0 / .45)); }

/* плашки фактов: полированная сталь, кобальтовая цифра */
.badge {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 22px 14px 20px; background: linear-gradient(180deg, #ffffff, #e4e7ec); color: var(--ink);
  clip-path: var(--chamfer-s); white-space: nowrap;
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12);
}
.badge b { font-family: var(--font-head); font-weight: 800; font-size: 30px; letter-spacing: -0.01em; color: var(--cobalt); line-height: 1; }
.badge small { font-size: 15px; color: var(--muted); font-weight: 600; }
.badge--0 { top: 4%; right: -2%; }
.badge--1 { top: 44%; right: -6%; }
.badge--check { flex-direction: row; align-items: center; gap: 10px; bottom: 9%; left: -4%; padding: 12px 20px 12px 12px; font-weight: 700; font-size: 17px; background: var(--cobalt); color: #fff; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .25); }
.badge--check::before {
  content: ""; width: 28px; height: 28px; flex: none; background: #fff;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.badge--check::after { content: ""; position: absolute; left: 12px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232747d0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* обо мне: фото в рамке с фаской и кобальтовой риской */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: stretch; }
.about__frame { position: relative; min-height: 520px; padding: 10px; background: linear-gradient(160deg, #fafbfc, #c9ced6 45%, #eef0f3 70%, #b9bfc9); clip-path: var(--chamfer); }
.about__frame::after { content: ""; position: absolute; z-index: 1; left: 34px; top: 0; width: 64px; height: 10px; background: var(--cobalt); }
.about__photo { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: 50% 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); filter: saturate(.85) contrast(1.04); }
.about__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.about__text h2 { margin-bottom: 26px; }
.about__text p { font-size: 20px; color: var(--text); max-width: 34em; }
.about__text p + p { margin-top: 14px; }
.about__facts { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.about__facts li { position: relative; background: #fff; clip-path: var(--chamfer-s); padding: 20px 18px 18px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.about__facts li::before { content: ""; display: block; width: 24px; height: 4px; margin-bottom: 12px; background: var(--cobalt); }

/* работы: металлические карточки, макет в графитовом корпусе уходит за край */
.cases { display: grid; gap: 28px; }
.case { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 40px; align-items: center; padding: 60px 0 0 60px; min-height: 540px; clip-path: var(--chamfer); }
.case::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--brush-k) 0 0 / 800px 400px; }
.case > * { position: relative; }
.case--blue { background: linear-gradient(135deg, #e3e9f7 0%, #b8c5e4 100%); }
.case--peach { background: linear-gradient(135deg, #f1ede6 0%, #d6cdbf 100%); }
.case--mint { background: linear-gradient(135deg, #2b2f36 0%, #17191d 100%); color: #fff; }
.case--mint::before { background-image: var(--brush-w); opacity: .18; }
.case__text { padding-bottom: 60px; }
.case__kind { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.case__kind span { padding: 8px 14px; background: rgb(255 255 255 / .85); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); font-size: 15px; font-weight: 700; white-space: nowrap; color: var(--ink); }
.case__kind span:first-child { background: var(--cobalt); color: #fff; }
.case h3 { font-size: clamp(36px, 2.6vw + 14px, 58px); line-height: .95; text-transform: uppercase; margin-bottom: 24px; }
.case__points { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; font-size: 18px; color: var(--text); }
.case--mint .case__points { color: var(--on-dark); }
.case__points li { position: relative; padding-left: 24px; }
.case__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--cobalt); clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px); }
.case--mint .case__points li::before { background: #fff; }
.case__scene { align-self: end; margin-right: -90px; margin-bottom: -70px; padding-top: 80px; }
.case__scene .devices { padding-right: 0; padding-bottom: 0; }
.case__scene .device--desktop { width: 100%; }
.case__scene .device--phone { right: 118px; bottom: 98px; width: 21%; }

/* макеты: графитовые корпуса с полированной кромкой */
.devices { position: relative; padding-right: 14%; padding-bottom: 6%; }
.device { overflow: hidden; background: #1b1e23; box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset, 0 30px 60px rgb(10 14 22 / .35); }
.device img, .device .shot-ph { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device--desktop { aspect-ratio: 16 / 10; border-radius: 14px; border: 8px solid #1b1e23; border-top-width: 0; display: flex; flex-direction: column; }
.device--desktop > img, .device--desktop > .shot-ph { flex: 1; min-height: 0; border-radius: 4px; }
.device__bar { display: flex; gap: 6px; align-items: center; flex: none; height: 26px; padding: 0 4px; }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #5d636d; }
.device__bar i:first-child { background: var(--cobalt); }
.device--phone { position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 9 / 19.5; border-radius: 24px; border: 6px solid #1b1e23; box-shadow: 0 0 0 1.5px #8d95a1, 0 24px 48px rgb(10 14 22 / .4); }
.device--phone img, .device--phone .shot-ph { border-radius: 17px; }
.photo-ph, .shot-ph { display: flex; align-items: center; justify-content: center; background: var(--alu-2); color: var(--muted); font-size: 15px; }

.works-cta { position: relative; margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 36px 44px; background: var(--alu) var(--brush-k) 0 0 / 800px 400px; clip-path: var(--chamfer); }
.works-cta::before { content: ""; position: absolute; left: 44px; top: 0; width: 56px; height: 6px; background: var(--cobalt); }
.works-cta__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 1vw + 22px, 38px); line-height: 1.1; }
.works-cta__act { display: flex; flex-wrap: wrap; gap: 12px; }

/* объект на точёном диске — общая деталь карточек «Узнаёте» и шагов */
.obj { position: relative; display: block; }
.obj::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%; background: var(--spun);
  /* полированная кромка, тёмный паз, графитовый обод и тень — диск не сливается со шлифовкой */
  box-shadow: inset 0 0 0 4px rgb(255 255 255 / .75), inset 0 0 0 5px rgb(20 24 30 / .28),
    0 0 0 1px rgb(20 24 30 / .45), 0 0 0 5px #cfd4db, 0 0 0 6px rgb(20 24 30 / .3), 0 18px 30px -4px rgb(20 24 30 / .4);
}
.obj img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgb(20 24 30 / .3)); }

/* узнаёте свою клинику: белые плашки, объект на диске выходит за угол */
.pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-top: 40px; }
.pain { position: relative; isolation: isolate; padding: 182px 36px 40px; }
.pain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: var(--chamfer); }
.pain::after { content: ""; position: absolute; left: 36px; top: 0; width: 56px; height: 6px; background: var(--cobalt); }
.pain__obj { position: absolute; top: -58px; right: 8px; width: 240px; height: 240px; }
.pain h3 { font-size: 30px; line-height: 1.02; margin-bottom: 14px; padding-right: 30px; }
.pain p { color: var(--text); }

/* как это работает: четыре плашки, главный шаг — анодированный кобальт */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; padding-top: 30px; }
.step { --pt: 132px; position: relative; isolation: isolate; counter-increment: step; display: flex; flex-direction: column; padding: var(--pt) 26px 30px; min-height: 380px; }
.step::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--alu) var(--brush-k) 0 0 / 800px 400px; clip-path: var(--chamfer); }
/* номер шага выгравирован в углу плашки */
.step::after { content: counter(step); position: absolute; right: 24px; top: calc(var(--pt) - 8px); font: 800 46px/1 var(--font-head); color: #2a2f38; }
.step__obj { position: absolute; top: -34px; left: 14px; width: 156px; height: 156px; }
.step h3 { font-size: 26px; line-height: 1.05; margin-top: 14px; }
.step p { font-size: 17px; line-height: 1.5; margin-top: 10px; color: var(--text); }
.step:nth-child(2) { color: #fff; }
.step:nth-child(2)::before { background: var(--cobalt) linear-gradient(160deg, rgb(255 255 255 / .16), rgb(0 0 0 / .18)); }
.step:nth-child(2)::after { color: #fff; }
.step:nth-child(2) p { color: #fff; }
.step:nth-child(2) .tag { background: #fff; color: var(--cobalt-ink); }
.tag { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; background: var(--ink); color: #fff; clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); font-size: 14px; font-weight: 700; white-space: nowrap; }

/* цена: графитовая плита с суммой, справа что входит */
.price { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); clip-path: var(--chamfer); background: #eef0f3; }
.price__main { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 64px 52px 52px; color: #fff; background: linear-gradient(170deg, #2b2f36, #16191d); }
.price__main::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--brush-w) 0 0 / 800px 400px; opacity: .2; }
.price__main > * { position: relative; }
.price__label { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: #b8bfcb; }
.price__amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 2.6vw + 30px, 80px); letter-spacing: -0.01em; line-height: 1; margin: 8px 0 20px; white-space: nowrap; }
.price__main .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.price__main .tag { background: var(--cobalt); }
.price__note { font-size: 18px; color: var(--on-dark); max-width: 24em; }
.price__act { margin-top: auto; padding-top: 34px; }
.price__after { margin-top: 14px; font-size: 17px; color: var(--on-dark); }
.price__inc { padding: 60px 52px 52px; }
.price__inc-title { font-family: var(--font-head); font-weight: 800; font-size: 28px; margin-bottom: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
.checks li { position: relative; padding-left: 42px; color: var(--text); font-size: 17px; line-height: 1.5; }
.checks b { display: block; color: var(--ink); font-weight: 700; font-size: 18px; line-height: 1.3; margin-bottom: 4px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* что можно добавить: графитовая плита, вещи — гравированные ячейки */
.feats { position: relative; background: linear-gradient(170deg, #262a31, #15181c); color: #fff; padding: 68px 60px 56px; clip-path: var(--chamfer); }
.feats::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--brush-w) 0 0 / 800px 400px; opacity: .18; }
.feats > * { position: relative; }
.feats .head h2 { color: #fff; }
.feats h2 .hl { color: var(--steel); }
.feats .head > p { color: var(--on-dark); }
.feats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feat { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 28px 26px; background: rgb(255 255 255 / .045); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .06); clip-path: var(--chamfer-s); }
.feat__obj { width: 104px; height: 104px; margin: 0 0 12px -10px; }
.feat__obj::before { box-shadow: inset 0 0 0 3px rgb(255 255 255 / .75), inset 0 0 0 4px rgb(20 24 30 / .3), 0 0 0 3px #3a3f48, 0 12px 22px rgb(0 0 0 / .45); }
.feat__obj img { filter: drop-shadow(0 8px 8px rgb(0 0 0 / .35)); }
.feat h3 { font-size: 26px; line-height: 1.05; }
.feat p { color: var(--on-dark); font-size: 17px; line-height: 1.5; margin-top: 10px; }
.feat .feat__gain { margin-top: auto; padding-top: 20px; color: #fff; font-weight: 700; font-size: 17px; display: flex; gap: 12px; align-items: baseline; }
.feat .feat__gain::before { content: ""; flex: none; width: 18px; height: 4px; background: #5b78ff; transform: translateY(-4px); }
.feats__more { margin-top: 12px; width: 100%; border: 0; cursor: pointer; }
.feats__more[hidden] { display: none; }
.feats__list.is-short > :nth-child(n+4) { display: none; }
#features { padding: 72px 0; }
.feats__note { margin-top: 24px; color: var(--on-dark); font-size: 16px; }

/* вопросы */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq__side { position: sticky; top: 116px; }
.faq__help { margin-top: 30px; background: #fff; clip-path: var(--chamfer-s); padding: 26px 28px; display: grid; gap: 10px; justify-items: start; }
.faq__help p { color: var(--text); margin-bottom: 4px; }
.faq__help a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--cobalt); }
.faq__help a:hover { color: var(--cobalt-ink); }
.faq__help svg { width: 16px; height: 16px; }
.qas { display: grid; gap: 8px; }
.qa { background: #fff; clip-path: var(--chamfer-s); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 78px; padding: 18px 24px 18px 28px; font-weight: 700; font-size: 20px; line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 42px; height: 42px; background: var(--alu); clip-path: var(--chamfer-s); transition: background-color .2s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .2s; }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa summary:hover i { background: var(--alu-2); }
.qa[open] summary i { background: var(--cobalt); }
.qa[open] summary i::before { background: #fff; }
.qa[open] summary i::after { background: #fff; transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:focus-visible { outline-offset: -5px; }
.qa p { color: var(--text); padding: 0 80px 26px 28px; max-width: 44em; }

/* финальный призыв: панель анодированного кобальта, телефон на точёной подставке */
#faq { padding-bottom: 64px; }
.cta-sec { padding: 0 12px 48px; background: var(--alu) var(--brush-k) 0 0 / 800px 400px; }
.cta { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, #3152e0 0%, #2747d0 45%, #1b34a3 100%); clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px); }
.cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--brush-w) 0 0 / 800px 400px; opacity: .16; }
.cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 40%, rgb(255 255 255 / .07) 50%, transparent 60%); }
.cta__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 40px; align-items: center; padding-top: 72px; }
.cta__text { padding-bottom: 72px; }
.cta h2 { color: #fff; }
.cta h2 .hl { color: #fff; }
.cta h2 .hl::after { background: #fff; }
.cta__text > p { font-size: 21px; margin: 22px 0 32px; max-width: 30em; color: #fff; }
.cta__hint { margin-top: 12px; font-size: 18px; color: #fff; }
.cta .hero__hint { color: #fff; }
.cta__art { position: relative; align-self: center; width: min(100%, 470px); aspect-ratio: 1; justify-self: end; margin: 24px 0 48px; }
.cta__obj { position: absolute; left: 8%; top: 4%; width: 84%; filter: drop-shadow(0 24px 22px rgb(5 12 50 / .45)); }
.disc--cta { box-shadow: inset 0 0 0 10px rgb(255 255 255 / .4), inset 0 0 0 11px rgb(0 0 0 / .16), 0 0 0 12px rgb(255 255 255 / .08), 0 0 0 13px rgb(255 255 255 / .2), 0 30px 60px rgb(5 12 50 / .45); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 26px; clip-path: var(--chamfer-s);
  font: 700 19px/1 var(--font); text-decoration: none; white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn--telegram, .btn--primary { background: var(--cobalt); color: #fff; }
.btn--whatsapp { background: #179c49; color: #fff; }
.btn--phone { background: #fff; color: var(--ink); }
.btn:hover { filter: brightness(1.1); }

/* подвал */
.foot { background: var(--graphite); color: var(--on-dark); padding: 24px 0 30px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; }
.foot__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; margin-right: auto; }
.foot__in a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.foot__in a:hover { color: #9fb2ff; }

/* страница кейса и 404 (шаблон) */
.case-head { padding: 56px 0 8px; }
.case-head h1 { font-size: clamp(34px, 3vw + 14px, 56px); margin: 18px 0 14px; }
.lead { font-size: 20px; color: var(--text); max-width: 34em; }
.back { font-weight: 600; text-decoration: none; }
.back::before { content: "← "; }
.nf { padding: 112px 0 136px; }
.nf h1 { font-size: clamp(36px, 4vw + 12px, 72px); margin-bottom: 18px; }

@media (max-width: 1279px) {
  .price { grid-template-columns: minmax(0, 1fr); }
  .price__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
  .price__main > * { grid-column: 1; }
  .price__act { grid-column: 2; grid-row: 1 / span 4; align-self: end; padding-top: 0; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .badge--0 { right: 0; }
  .badge--1 { right: 0; }
  .badge--check { left: -2%; }
  .about__facts { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step { min-height: 0; }
}

@media (max-width: 1100px) {
  .pain { padding: 140px 26px 32px; }
  .pain__obj { width: 170px; height: 170px; top: -40px; right: -10px; }
  .pain h3 { font-size: 26px; padding-right: 0; }
}

@media (max-width: 960px) {
  .feats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .head > p { max-width: 560px; }
  .hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .hero__art { width: min(80%, 440px); justify-self: center; margin-top: 8px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about__frame { max-width: 560px; min-height: 0; aspect-ratio: 4 / 3.4; }
  .pains { grid-template-columns: minmax(0, 1fr); padding-top: 0; row-gap: 14px; }
  .pain { padding: 26px 26px 26px 26px; display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 22px; align-items: center; }
  .pain__obj { position: static; width: 130px; height: 130px; grid-row: span 2; }
  .case { grid-template-columns: minmax(0, 1fr); padding: 44px 0 0 44px; }
  .case__text { padding: 0 44px 0 0; }
  .case__scene { padding-top: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq__side { position: static; }
  .faq__help { max-width: 460px; }
  .cta__in { grid-template-columns: minmax(0, 1fr); padding-top: 44px; }
  .cta__art { order: -1; width: 240px; justify-self: start; margin: 0 0 20px; }
  .cta__text { padding-bottom: 52px; }
}

@media (max-width: 760px) {
  :root { --section: 64px; --gutter: 16px; --c: 16px; }
  #features { padding: 48px 0; }
  #faq { padding-bottom: 40px; }
  .works-cta { flex-direction: column; align-items: stretch; padding: 30px 20px 22px; margin-top: 20px; }
  .works-cta::before { left: 20px; }
  .feat__obj { width: 92px; height: 92px; }
  body { font-size: 17px; }
  h2 { font-size: clamp(34px, 8vw + 4px, 44px); }
  .head { margin-bottom: 32px; }
  .head > p { font-size: 17px; }
  .hl::after { width: 64px; height: 6px; margin-top: 12px; }
  .feats { padding: 36px 16px 28px; }
  .feats__list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .feat { padding: 22px 20px; }
  .feat h3 { font-size: 23px; }
  html { scroll-padding-top: calc(124px + env(safe-area-inset-top)); }
  .top__in { min-height: 60px; gap: 8px; flex-wrap: wrap; }
  /* ряд разделов прокручивается: правый край гаснет, чтобы было видно продолжение */
  .nav { display: flex; order: 3; flex: 0 0 calc(100% + 2 * var(--gutter)); gap: 8px; margin: 0 calc(-1 * var(--gutter)); padding: 0 48px 10px var(--gutter); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--alu); clip-path: var(--chamfer-s); font-size: 15px; font-weight: 700; white-space: nowrap; }
  .brand { padding-left: 34px; }
  .brand::before { width: 24px; height: 24px; }
  .brand__role, .top__cta, .top__phone { display: none; }
  .brand__name { font-size: 21px; }
  .round--call { display: inline-grid; }
  .hero { padding: 0 var(--gutter); }
  .hero__panel { clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
  .hero__panel .wrap, .cta .wrap { padding-left: 20px; padding-right: 20px; }
  .hero__in { padding-top: 30px; padding-bottom: 40px; gap: 8px; }
  .hero__kicker { font-size: 16px; margin-bottom: 14px; }
  .hero h1 { font-size: min(52px, calc((100vw - 72px) / 8)); }
  .hero__offer { font-size: 19px; margin: 18px 0 22px; }
  .hero__act .pill { width: 100%; }
  .pill { padding: 0 18px; font-size: 18px; }
  .hero__hint { font-size: 16px; }
  .hero__art { width: 86%; margin: 24px auto 0; }
  .badge { padding: 9px 13px 9px 12px; }
  .badge b { font-size: 21px; }
  .badge small { font-size: 13px; }
  .badge--0 { right: -8%; top: 0; }
  .badge--1 { right: -10%; top: 40%; }
  .badge--check { left: -8%; bottom: 6%; font-size: 15px; padding: 9px 14px 9px 9px; }
  .badge--check::before, .badge--check::after { width: 22px; height: 22px; }
  .badge--check::after { left: 9px; background-size: 13px; }
  .about__text p { font-size: 18px; }
  .about__text .pill { width: 100%; }
  .case { padding: 30px 20px 0; min-height: 0; gap: 24px; }
  .case__text { padding: 0; }
  .case h3 { font-size: 40px; }
  .case__points { font-size: 17px; }
  .case .pill { width: 100%; }
  .case__scene { margin: 0 auto -60px; width: 70%; padding: 0; }
  .case__scene .device--desktop { display: none; }
  .case__scene .device--phone { position: static; width: 100%; border-width: 6px; border-radius: 26px; }
  .case__scene .device--phone img { border-radius: 20px; }
  .works-cta__act, .works-cta__act .pill { width: 100%; }
  .devices { padding-right: 12%; }
  .price__main, .price__inc { padding: 30px 22px; }
  .price__main { display: flex; align-items: stretch; }
  .price__act { padding-top: 26px; }
  .price__act, .price__act .pill { width: 100%; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .qa summary { font-size: 18px; min-height: 66px; padding: 14px 16px 14px 20px; }
  .qa summary i { width: 36px; height: 36px; }
  .qa p { padding: 0 20px 22px; }
  .cta-sec { padding: 0 var(--gutter) 40px; }
  .cta { clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
  .faq__side { display: contents; }
  .faq__help { order: 2; margin-top: 0; max-width: none; }
  .faq { gap: 24px; }
  .cta__text > p { font-size: 18px; }
  .contact-buttons { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .pain { display: block; padding: 24px 22px; }
  .pain__obj { position: absolute; width: 116px; height: 116px; top: -20px; right: 4px; }
  .pain h3 { font-size: 25px; margin: 52px 0 8px; padding-right: 70px; }
  .pains { row-gap: 26px; padding-top: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 16px; }
  .step { --pt: 104px; padding: var(--pt) 22px 24px; }
  .step__obj { width: 120px; height: 120px; top: -20px; left: 8px; }
  .step::after { font-size: 40px; }
  .step h3 { font-size: 25px; }
  .cta__art { width: 232px; justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* iPhone с viewport-fit=cover: шапка ниже строки статуса, а сама строка закрыта полосой цвета шапки */
body { padding-top: env(safe-area-inset-top); }
body::before { content: ""; position: fixed; z-index: 30; inset: 0 0 auto; height: env(safe-area-inset-top); background: #fff; }
