/* ==========================================================================
   Klimpa — единая дизайн-система прототипа
   Токены, компоненты, страницы. Без сборки, без зависимостей.
   ========================================================================== */

/* ---- Токены -------------------------------------------------------------- */
:root {
  --ink: #0b1f1a;
  --ink-2: #33473f;
  --muted: #64776e;
  --line: #dce7e2;
  --line-2: #eaf1ee;
  --paper: #ffffff;
  --sand: #f6f3ec;
  --sand-2: #efe9dc;
  --mist: #eef5f1;
  --brand: #0f9d6b;
  --brand-700: #0b7d55;
  --brand-050: #e7f6ef;
  --brand-100: #cdeede;
  --sky: #2f7fe0;
  --sky-050: #e8f1fd;
  --sun: #f4a422;
  --sun-050: #fdf3e0;
  --alert: #c8503c;
  --alert-050: #fbece8;
  --night: #0d2b24;
  --night-2: #123a31;

  --grad-brand: linear-gradient(120deg, #0f9d6b 0%, #2f7fe0 100%);
  --grad-sun: linear-gradient(120deg, #f4a422 0%, #f6c66a 100%);
  --grad-paper: linear-gradient(160deg, #ffffff 0%, #f6faf8 100%);

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-xs: 0 1px 2px rgba(11, 31, 26, 0.06);
  --shadow-sm: 0 2px 8px rgba(11, 31, 26, 0.06), 0 1px 2px rgba(11, 31, 26, 0.04);
  --shadow: 0 12px 34px rgba(11, 31, 26, 0.1);
  --shadow-lg: 0 34px 80px rgba(11, 31, 26, 0.16);

  --maxw: 1180px;
  --gutter: clamp(18px, 4vw, 40px);

  --font: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --ink: #eaf3ee;
  --ink-2: #c2d3cb;
  --muted: #91a89e;
  --line: #23423a;
  --line-2: #1a332c;
  --paper: #11201b;
  --sand: #0f1a16;
  --sand-2: #142420;
  --mist: #0f1d18;
  --brand: #2bbf87;
  --brand-700: #1fa474;
  --brand-050: #123127;
  --brand-100: #174434;
  --sky: #5b9df0;
  --sky-050: #12263c;
  --sun: #f4b445;
  --sun-050: #2a2213;
  --alert: #ec7360;
  --alert-050: #2d1713;
  --night: #08120f;
  --night-2: #0d1c17;
  --grad-paper: linear-gradient(160deg, #11201b 0%, #0d1a16 100%);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.6);
}

/* ---- Сброс --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--brand-100);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---- Раскладка ----------------------------------------------------------- */
.container {
  width: min(var(--maxw), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--night {
  background: var(--night);
  color: #eaf3ee;
}
.section--night .lead,
.section--night .muted { color: #a9c1b8; }
.section--night .eyebrow { color: #6fd3ab; }

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* ---- Типографика --------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.7;
}
.section-head--center .eyebrow::before { display: none; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}

.display {
  font-size: clamp(38px, 6.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

.h3 {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
}

.body { color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.serif { font-family: var(--serif); }
.nums { font-variant-numeric: tabular-nums; }

.text-brand { color: var(--brand-700); }
.text-sun { color: #b97800; }
.text-sky { color: var(--sky); }

.mark {
  background: linear-gradient(180deg, transparent 58%, var(--brand-100) 58%);
  padding: 0 4px;
  border-radius: 3px;
  color: var(--ink);
}

/* ---- Кнопки -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 157, 107, 0.28);
}
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--brand);
  background-image: linear-gradient(135deg, #12a873 0%, #0b8a5e 100%);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover { box-shadow: 0 10px 24px rgba(11, 31, 26, 0.3); }
.btn--sun {
  background-image: var(--grad-sun);
  color: #3a2600;
}
.btn--sun:hover { box-shadow: 0 10px 24px rgba(244, 164, 34, 0.35); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-700);
  box-shadow: none;
  background: var(--brand-050);
}
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16.5px; }

.btn .arrow {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Чипы и бейджи ------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.chip--sun::before { background: var(--sun); }
.chip--sky::before { background: var(--sky); }
.chip--plain::before { display: none; }
.chip--soft { background: var(--brand-050); border-color: transparent; color: var(--brand-700); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--brand-050);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.badge--sun { background: var(--sun-050); color: #9a6400; border-color: #f3ddb0; }
.badge--sky { background: var(--sky-050); color: #1d61b3; border-color: #cfe1f8; }
.badge--alert { background: var(--alert-050); color: #a2372a; border-color: #f2cdc5; }

/* ---- Карточки ------------------------------------------------------------ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.card--lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}
.card--soft { background: var(--grad-paper); }
.card--night {
  background: var(--night-2);
  border-color: rgba(255, 255, 255, 0.08);
  color: #eaf3ee;
}
.card--night .muted { color: #a9c1b8; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-050);
  color: var(--brand-700);
  margin-bottom: 18px;
  flex: none;
}
.card-icon--sun { background: var(--sun-050); color: #b97800; }
.card-icon--sky { background: var(--sky-050); color: var(--sky); }

/* ---- Сетки --------------------------------------------------------------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---- Шапка --------------------------------------------------------------- */
.concept-bar {
  background: var(--night);
  color: #cfe3da;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 44px 7px 16px;
  position: relative;
  z-index: 60;
}
.concept-bar b { color: #fff; }
.concept-bar__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}
.concept-bar__close:hover { background: rgba(255, 255, 255, 0.22); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(11, 31, 26, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background-image: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 157, 107, 0.3);
}
.logo__mark svg { width: 20px; height: 20px; }
.logo__sub {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.15;
  white-space: nowrap;
  display: none;
}
@media (min-width: 560px) {
  .logo__sub { display: block; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  padding: 9px 11px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover,
.nav a.is-active {
  color: var(--brand-700);
  background: var(--brand-050);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  color: var(--ink-2);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-700); }
.icon-btn svg { width: 19px; height: 19px; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 84px 20px 24px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 70;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: grid; }
  .header-actions .btn--header { display: none; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px);
  background:
    radial-gradient(60% 55% at 82% 8%, rgba(47, 127, 224, 0.12), transparent 70%),
    radial-gradient(50% 50% at 12% 90%, rgba(15, 157, 107, 0.12), transparent 70%),
    var(--paper);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero .display {
  margin-bottom: 20px;
}
.hero .display em {
  font-style: normal;
  color: var(--brand-700);
  position: relative;
  white-space: nowrap;
}
.hero__lead {
  font-size: clamp(16.5px, 1.55vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 26px;
  max-width: 560px;
}
.hero__form {
  display: flex;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.hero__form .field-inline {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  min-width: 0;
}
.hero__form .field-inline svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.hero__form input {
  border: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font-size: 15.5px;
  padding: 12px 0;
  outline: none;
  letter-spacing: 0.02em;
}
.hero__form input::placeholder { color: var(--muted); }
.hero__form .btn { flex: none; }
.hero__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero__note svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero__stat span { font-size: 13px; color: var(--muted); }

/* ---- Hero визуал --------------------------------------------------------- */
.hero__visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}
.doc-stack {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.72;
  perspective: 1200px;
}
.doc-sheet {
  position: absolute;
  inset: 0;
  background: var(--grad-paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 26px;
  transition: transform 0.5s var(--ease);
}
.doc-sheet--back {
  transform: translate(22px, 26px) rotate(3.5deg) scale(0.965);
  background: var(--sand);
  opacity: 0.9;
}
.doc-sheet--mid {
  transform: translate(11px, 13px) rotate(1.6deg) scale(0.982);
  background: var(--mist);
  opacity: 0.95;
}
.doc-sheet--front { z-index: 3; }

.doc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.doc-head .logo { font-size: 17px; }
.doc-head .logo__mark { width: 26px; height: 26px; border-radius: 7px; }
.doc-head .logo__mark svg { width: 16px; height: 16px; }
.doc-head small { font-size: 11px; color: var(--muted); text-align: right; line-height: 1.4; }

.doc-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.doc-sub { font-size: 11.5px; color: var(--muted); margin-bottom: 16px; }

.doc-canvas {
  position: relative;
  border-radius: 12px;
  background:
    linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 14px;
}
.doc-canvas svg { width: 100%; height: auto; }

.doc-mini-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}
.doc-mini {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: var(--paper);
}
.doc-mini h4,
.doc-mini .doc-mini__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.doc-mini svg { width: 100%; height: auto; }

.doc-foot {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* Плавающие чипы на визуале */
.float-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  max-width: 230px;
  white-space: nowrap;
}
.float-chip > span:last-child { white-space: normal; }
.float-chip .dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
}
.float-chip .dot svg { width: 15px; height: 15px; }
.float-chip--a { top: 33%; left: -9%; }
.float-chip--b { top: 44%; right: -9%; }
.float-chip--c { bottom: 7%; left: -6%; }
.float-chip__val { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 420px; }
  .doc-stack { width: min(100%, 380px); }
  .float-chip--a { left: 0; }
  .float-chip--b { right: 0; }
  .float-chip--c { left: 2%; }
}
@media (max-width: 560px) {
  .hero__form { flex-direction: column; }
  .hero__form .btn { width: 100%; }
  .hero__form .field-inline { padding: 6px 10px; }
  .float-chip { font-size: 12px; padding: 8px 11px; }
  .float-chip .dot { width: 22px; height: 22px; }
  .hero__visual { min-height: 380px; }
}

/* ---- Логотип-полоса источников ------------------------------------------ */
.logos-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.logos-strip__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding-block: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.logos-strip__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}
.logos-strip__item {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-2);
  opacity: 0.85;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.logos-strip__item svg { width: 16px; height: 16px; color: var(--brand); }

/* ---- Боль (цена ошибки) -------------------------------------------------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.pain__num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--alert);
  line-height: 1;
  margin-bottom: 10px;
}
.pain h3 { font-size: 17px; margin-bottom: 6px; }
.pain p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.pain__cost {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* ---- Группы «что внутри» ------------------------------------------------- */
.inside-group {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.inside-group:nth-child(even) .inside-group__visual { order: -1; }
.inside-group + .inside-group { margin-top: 20px; }
.inside-group__text { padding: clamp(26px, 3.4vw, 44px); }
.inside-group__visual {
  background: var(--mist);
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 40px);
  min-height: 280px;
}
.inside-group__visual svg { width: 100%; max-width: 340px; height: auto; }
.inside-group h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }
.inside-group p { color: var(--ink-2); margin-bottom: 18px; }
.check-list { display: grid; gap: 10px; align-content: start; }
.check-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f9d6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  margin-top: 1px;
}

/* ---- Сравнение ----------------------------------------------------------- */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare th,
.compare td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
}
.compare thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--mist);
  font-weight: 700;
  position: sticky;
  top: 0;
}
.compare thead th:last-child { color: var(--brand-700); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .col-con { text-align: center; width: 170px; }
.compare .col-klimpa { text-align: center; width: 190px; background: var(--brand-050); }
.compare td.col-klimpa { background: color-mix(in srgb, var(--brand-050) 60%, transparent); }
.yes, .no {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.yes { background: var(--brand); color: #fff; }
.no { background: var(--line); color: var(--muted); }
.yes svg, .no svg { width: 13px; height: 13px; }

/* ---- Галерея листов ------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sheet-thumb {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  aspect-ratio: 0.72;
  display: flex;
  flex-direction: column;
}
.sheet-thumb:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.sheet-thumb__bar {
  height: 6px;
  background-image: var(--grad-brand);
  flex: none;
}
.sheet-thumb__inner {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
}
.sheet-thumb__inner .st-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}
.sheet-thumb__inner .st-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.sheet-thumb__art {
  flex: 1;
  border-radius: 8px;
  background: var(--mist);
  display: grid;
  place-items: center;
  padding: 8px;
  min-height: 0;
}
.sheet-thumb__art svg { width: 100%; height: auto; max-height: 100%; }
.sheet-thumb__cap {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.35;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 18, 15, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__panel {
  width: min(760px, 100%);
  max-height: 88vh;
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.lightbox__body { overflow: auto; padding: 24px; }
.lightbox__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.lightbox__head h3 { font-size: 17px; }
.lightbox__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__close:hover { border-color: var(--brand); color: var(--brand-700); }
.lightbox__art {
  border-radius: 12px;
  background: var(--mist);
  padding: 24px;
  margin-bottom: 16px;
}
.lightbox__art svg { width: 100%; height: auto; }

/* ---- Шаги ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-100);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.step__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-050);
  padding: 5px 10px;
  border-radius: 999px;
}

/* ---- Персоны ------------------------------------------------------------- */
.persona {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.persona:hover { border-color: var(--brand); transform: translateY(-2px); }
.persona__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-050);
  color: var(--brand-700);
  flex: none;
}
.persona__icon svg { width: 22px; height: 22px; }
.persona h3 { font-size: 16px; margin-bottom: 4px; }
.persona p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ---- ИИ-блок ------------------------------------------------------------- */
.ai-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.ai-card__copy { padding: clamp(28px, 4vw, 52px); }
.ai-card__visual {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(15, 157, 107, 0.18), transparent 60%),
    var(--night);
  color: #eaf3ee;
  padding: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.ai-chat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #dcebe4;
}
.ai-chat--me {
  background: rgba(15, 157, 107, 0.22);
  border-color: rgba(15, 157, 107, 0.4);
  margin-left: 12%;
}
.ai-chat b { color: #fff; }
.ai-chat__label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7fd0b1;
  margin-bottom: 5px;
  font-weight: 700;
}
.ai-card .check-list li { color: var(--ink-2); }

/* ---- Тарифы -------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card--featured {
  border: 2px solid var(--brand);
  box-shadow: 0 24px 60px rgba(15, 157, 107, 0.16);
  transform: translateY(-6px);
}
.price-card--featured:hover { transform: translateY(-9px); }
.price-card__flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-image: var(--grad-brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(15, 157, 107, 0.3);
}
.price-card__name { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 4px;
}
.price-card__price b {
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-card__price span { font-size: 14px; color: var(--muted); }
.price-card__pages { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-card .check-list { flex: 1; margin-bottom: 22px; }
.price-card .check-list li { font-size: 14px; }
.price-card--featured .check-list li::before {
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---- Форма заказа -------------------------------------------------------- */
.order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.order-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
}
.order-card h3 { font-size: 22px; margin-bottom: 6px; }
.order-card > .muted { margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 15.5px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent);
}
.field input.is-error { border-color: var(--alert); }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field__error { font-size: 12.5px; color: #a2372a; margin-top: 6px; display: none; }
.field.has-error .field__error { display: block; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex: none;
}
.check a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }

.order-result {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.order-result.is-ok { display: block; background: var(--brand-050); color: var(--brand-700); border: 1px solid var(--brand-100); }
.order-result.is-err { display: block; background: var(--alert-050); color: #a2372a; border: 1px solid #f2cdc5; }

.order-aside { display: grid; gap: 16px; }
.guarantee {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
}
.guarantee svg { width: 24px; height: 24px; color: var(--brand-700); flex: none; }
.guarantee b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 2px; }
.guarantee span { font-size: 13px; color: var(--brand-700); }

/* ---- Доверие / источники ------------------------------------------------- */
.source-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.source-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.source-card b { font-size: 16px; }
.source-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.faq-q:hover { color: var(--brand-700); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s;
}
.faq-icon svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.faq-item.is-open .faq-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.faq-item.is-open .faq-icon svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a__inner {
  padding: 0 4px 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 680px;
}

/* ---- CTA-полоса ---------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  background:
    radial-gradient(70% 120% at 90% 10%, rgba(47, 127, 224, 0.35), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(244, 164, 34, 0.22), transparent 60%),
    var(--night);
  color: #fff;
}
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: #b9d0c7; max-width: 560px; margin-top: 14px; }
.cta-band__form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  max-width: 540px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px;
  border-radius: var(--radius-sm);
}
.cta-band__form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  color: #fff;
  font-size: 15.5px;
  outline: none;
}
.cta-band__form input::placeholder { color: #8fb0a5; }

/* ---- Подвал -------------------------------------------------------------- */
.footer {
  background: var(--night);
  color: #b7ccc4;
  padding-block: 56px 32px;
}
.footer a { color: #b7ccc4; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer .logo { color: #fff; }
.footer__desc { font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 300px; }
.footer__col h4,
.footer__col .footer__col-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7fa094;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer__col ul { display: grid; gap: 9px; font-size: 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #84a196;
}
.footer__disclaimer {
  font-size: 12.5px;
  color: #7d9a8f;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 760px;
}

/* ---- Мобильная липкая панель --------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 31, 26, 0.08);
}
.mobile-cta__price { font-size: 13px; color: var(--muted); }
.mobile-cta__price b { display: block; font-size: 18px; color: var(--ink); }
@media (max-width: 900px) {
  .mobile-cta { display: flex; }
}

/* ---- Утилиты ------------------------------------------------------------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.hide { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Появление при скролле ----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Адаптив ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .inside-group { grid-template-columns: 1fr; }
  .inside-group:nth-child(even) .inside-group__visual { order: 0; }
  .ai-card { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr; }
  .compare-wrap { border-radius: var(--radius-sm); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--auto { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band__form { flex-direction: column; }
  .cta-band__form .btn { width: 100%; }
  .hero__stats { gap: 20px; }
}

/* ---- Печать -------------------------------------------------------------- */
@media print {
  .site-header, .concept-bar, .mobile-cta, .footer, .cta-band { display: none !important; }
  .hero { padding: 0; }
  body { background: #fff; color: #000; }
  .card, .pain, .price-card, .step { break-inside: avoid; box-shadow: none; }
}
