/* ===================================================================
   AuditCore — landing page
   Палитра: тёмный тил + бирюзово-зелёный акцент (как у логотипа)
   =================================================================== */

:root {
  --primary: #0E7C7B;
  --primary-700: #0B5F5E;
  --primary-50: #E0F2F1;
  --accent: #10B981;
  --accent-50: #ECFDF5;

  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-dark: #0B2E2C;

  /* WCAG AA fixes (2026-07-08 design-audit) */
  --accent-700: #047857;       /* green dark enough for white text  4.6:1 */
  --warn-700:   #B45309;       /* orange dark enough for white text 4.6:1 */
  --muted-on-dark: #94A3B8;    /* lighter slate for dark sections   4.5:1+ */

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);

  --container: 1200px;
  --gutter: 24px;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-700); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent { color: var(--primary); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.4em 0.9em;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--accent); background: rgba(16, 185, 129, 0.15); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.125rem;
}
.brand:hover { color: var(--ink); }
.brand__mark { display: inline-flex; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { white-space: nowrap; }

/* Скрываем ссылки входа/CTA внутри навигации (они для бургер-меню на мобиле) */
.nav__login, .nav__cta { display: none; }

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7em 1.4em;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
}
.btn--lg { padding: 0.95em 1.8em; font-size: 1rem; }
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(14, 124, 123, 0.3);
}
.btn--primary:hover {
  background: var(--primary-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(14, 124, 123, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(16, 185, 129, 0.08), transparent 50%),
    radial-gradient(circle at 100% 50%, rgba(14, 124, 123, 0.08), transparent 50%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__title { margin-top: 0.5rem; }
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text);
  max-width: 540px;
  margin: 1.2rem 0 2rem;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
/* Блок "Автозадачи" — заметная подсветка под CTA в hero */
.hero__highlight {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(14, 124, 123, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  max-width: 540px;
}
.hero__highlight-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--accent-700);
  padding: 0.35em 0.7em;
  border-radius: 6px;
  margin-top: 0.1rem;
}
.hero__highlight-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}
.hero__stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Hero visual: phone + dashboard mockup */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 240px;
  height: 460px;
  background: #0F172A;
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}
.phone--real {
  /* Переопределяем .phone для варианта с реальным скриншотом:
     узкая рамка-безель вокруг изображения, без вложенного .phone__screen */
  padding: 6px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.phone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: #000;
  border-radius: 8px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 32px 16px 16px;
  display: flex;
  flex-direction: column;
}
.phone__status {
  font-size: 0.7rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot--ok { background: var(--accent); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.phone__title { font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.9rem; }
.phone__checklist { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.phone__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text);
  padding: 0.45rem 0.6rem;
  background: var(--bg-alt);
  border-radius: 8px;
}
.phone__item.done { color: var(--ink); }
.phone__item.done .phone__mark { background: var(--accent); color: #fff; }
.phone__item.active { background: var(--primary-50); color: var(--primary-700); font-weight: 600; }
.phone__mark {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  color: #fff;
  flex-shrink: 0;
}
.phone__item.active .phone__mark { border-color: var(--primary); border-style: dashed; }
.phone__footer { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.phone__pill {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  background: var(--bg-alt);
  border-radius: 999px;
  color: var(--muted);
}

.dashboard {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.dashboard__head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem;
}
.dashboard__title { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.dashboard__chip {
  font-size: 0.7rem; font-weight: 700;
  color: var(--accent);
  background: var(--accent-50);
  padding: 0.2em 0.5em;
  border-radius: 999px;
}
.dashboard__bars {
  display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-bottom: 0.8rem;
}
.dashboard__bars span {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.dashboard__row { display: flex; justify-content: space-between; }
.dashboard__metric { font-size: 0.7rem; color: var(--muted); }
.dashboard__metric b { color: var(--ink); font-size: 0.95rem; font-weight: 700; margin-right: 4px; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: #CBD5E1;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.15), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(14, 124, 123, 0.2), transparent 40%);
  pointer-events: none;
}
.section--dark .section__head { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p,
.section--dark .section__lead,
.section--dark .arch__node p,
.section--dark .roadmap__item p { color: var(--muted-on-dark); }
.section--dark .arch__node p b,
.section--dark .roadmap__item p b { color: #fff; }

.section__head {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 1100px;
}
.section__head--light h2 { color: #fff; }
.section__head--light .section__lead { color: #94A3B8; }

.section__title { margin-top: 0.5rem; }
.section__lead { font-size: 1.05rem; color: var(--text); }

/* Текст по ширине (justify) — для описательных блоков.
   Не применяем к заголовкам, кнопкам, бейджам, навигации, eyebrow. */
.hero__subtitle,
.section__lead,
.download__lead,
.download__note,
.card p,
.feature p,
.industry p,
.arch__node p,
.arch__api p,
.roadmap__item p,
.roadmap__cta p,
.result__lead,
.result__list,
.faq__item p,
.contact__aside p,
.contact__note p,
.faq__disclaimer,
.pain__cta p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--primary);
  flex-shrink: 0;
  margin: 0;
}
.card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__icon--teal  { color: #0E7C7B; }
.card__icon--green { color: #047857; }
.card__icon--blue  { color: #0284C7; }

/* Иконка + заголовок всегда в одной строке внутри карточки (даже на узких
   экранах: длинный заголовок переносится ВНУТРИ h3, а не уезжает под иконку).
   align-items: start выравнивает многострочный заголовок по верху иконки. */
.card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  flex-wrap: nowrap;
}
.card__head .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
  margin-top: 2px;
}
.card__head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  min-width: 0;
}

/* Единый стиль иконок в feature/industry — как в card (круглый/скруглённый
   бейдж с фоном и цветной SVG). Emoji заменены на SVG в index.html */
.feature__icon,
.industry__icon {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary);
  flex-shrink: 0;
  margin: 0;
}
.feature__icon svg,
.industry__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Варианты цветов (используются классами feature__icon--* / industry__icon--*) */
.feature__icon--green,  .industry__icon--green  { color: #047857; }
.feature__icon--blue,   .industry__icon--blue   { color: #0284C7; }
.feature__icon--amber,  .industry__icon--amber  { color: #B45309; }
.feature__icon--red,    .industry__icon--red    { color: #DC2626; }
.feature__icon--violet, .industry__icon--violet { color: #7C3AED; }

/* Features */
.features .feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: all var(--transition);
}
.features .feature:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.feature p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Иконка + заголовок в одну строку, описание — на всю ширину карточки
   (по ширине иконки, не сужается в колонку иконки). Широкую AI-карточку
   (.feature--wide) не трогаем — у неё свой layout. */
.feature:not(.feature--wide) {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 0.7rem;
  row-gap: 0.5rem;
  align-items: start;
}
.feature:not(.feature--wide) > .feature__icon {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: start;
}
.feature:not(.feature--wide) > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
.feature:not(.feature--wide) > p {
  grid-column: 1 / -1; /* на всю ширину карточки */
  grid-row: 2;
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.industry {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.industry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-50), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.industry:hover::before { opacity: 1; }
.industry > * { position: relative; z-index: 1; }
.industry h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.industry p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Иконка + заголовок в одну строку, описание — на всю ширину карточки */
.industry {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 0.7rem;
  row-gap: 0.5rem;
  align-items: start;
}
.industry > .industry__icon {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: start;
}
.industry > h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: center;
}
.industry > p {
  grid-column: 1 / -1;
  grid-row: 2;
}

/* Architecture */
.arch {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.arch__col { display: flex; flex-direction: column; gap: 1.2rem; }
.arch__col--right { align-items: flex-start; }

.arch__node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  width: 100%;
  text-align: center;
  transition: all var(--transition);
}
.arch__node:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.arch__icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.arch__node h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.arch__node p { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.5rem; }
.arch__hint {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--primary);
  background: var(--primary-50);
  padding: 0.2em 0.6em;
  border-radius: 999px;
  font-weight: 600;
}

.arch__center { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.arch__api {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  text-align: center;
  min-width: 180px;
}
.arch__api strong { display: block; color: #fff; font-size: 1.1rem; margin: 0.4rem 0; }
.arch__api p { color: #94A3B8; font-size: 0.8rem; margin: 0; }
.arch__api .arch__icon { font-size: 1.6rem; }

.arch__line {
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Clients */
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 220px;
  transition: all var(--transition);
}
.client:hover { border-color: var(--primary); transform: translateY(-2px); }
.client__logo { color: var(--muted); }
.client__name { font-size: 0.85rem; color: var(--muted); }
.clients__note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}
.roadmap__item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}
.roadmap__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.roadmap__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.3em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.roadmap__item h3 { font-size: 1.1rem; margin: 0 0 0.5rem; color: #fff; }
.roadmap__item p { font-size: 0.9rem; color: #94A3B8; margin: 0; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.form__field span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form__field input,
.form__field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  font-family: inherit;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.15);
}
.form__status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 1.2em;
}
.form__status.is-error { color: #DC2626; }

.contact__aside { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.contact__aside h3 { font-size: 1.1rem; margin: 0 0 1.2rem; }
.contact__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact__list li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact__list a { font-weight: 600; }

.contact__note {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.contact__note strong { display: block; margin-bottom: 0.4rem; color: var(--ink); }
.contact__note p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Footer */
.footer { background: #0B2E2C; color: #94A3B8; padding: 3.5rem 0 1.5rem; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer__col h4 { color: #fff; margin: 0 0 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a { color: #94A3B8; font-size: 0.9rem; }
.footer__col a:hover { color: var(--accent); }

.brand--footer { color: #fff; margin-bottom: 0.8rem; }
.brand--footer:hover { color: #fff; }
.footer__about { font-size: 0.9rem; margin: 0; max-width: 280px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748B;
  font-size: 0.85rem;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* (медиа-запросы вынесены в конец файла, чтобы они побеждали базовые правила по порядку источника) */

/* --- ≤1024px (планшет, узкий десктоп/ноутбук) --- */
@media (max-width: 1024px) {
  /* Header: бургер появляется раньше — на планшетах навигация из 7 пунктов
     + 3 кнопки уже не помещаются, не ждём 768px */
  .nav, .header__login, .header__cta { display: none; }
  .header__download { padding: 0.4rem; }
  .header__download-label { display: none; }
  .burger { display: block; }
  .header.is-menu-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1rem;
    gap: 0;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 60;
  }
  .header.is-menu-open .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .header.is-menu-open .nav a:last-child { border-bottom: 0; }
  .header.is-menu-open .nav a::after { display: none; }
  .header.is-menu-open .nav .nav__login {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
  }
  .header.is-menu-open .nav .nav__cta {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin: 0.8rem 0 0;
    border-bottom: 0;
    font-weight: 600;
  }
  .header.is-menu-open .nav .nav__cta:hover { background: var(--primary-700); }
  .header.is-menu-open {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { min-height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero__visual .phone { width: 200px; height: 380px; }
  .hero__visual .dashboard { width: 240px; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats strong { font-size: 1.4rem; }
  .hero__highlight { max-width: 100%; padding: 0.75rem 0.9rem; gap: 0.6rem; margin-bottom: 1.5rem; }
  .hero__highlight-text { font-size: 0.88rem; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .industries, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; gap: 1rem; }
  .arch__center { flex-direction: row; gap: 1rem; }
  .arch__line { width: 30px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
  .arch__col { flex-direction: row; }
  .arch__col--right { flex-direction: row-reverse; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .pain { grid-template-columns: 1fr; }
  .result { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature--wide { grid-template-columns: 1fr; gap: 1rem; }
  .how { grid-template-columns: repeat(2, 1fr); }
  .how__step::after { display: none; }
  .clients--industries { grid-template-columns: repeat(2, 1fr); }

  /* Screenshots: 2×2 с фиксированной высотой, чтобы телефонные не были столбами */
  .screenshots { grid-template-columns: repeat(2, 1fr); max-width: 640px; gap: 1.2rem; }
  .screenshot img { max-height: 360px; object-fit: cover; object-position: top center; }
}

/* --- ≤768px (планшет вертикально / большой телефон): основная мобильная версия --- */

/* --- ≤480px (маленький телефон): предельная компактность --- */

/* ===== Вам нужен AuditCore (pain points) ===== */
.section--pain { background: var(--bg); }

.pain {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  margin-inline: auto;
}
.pain__item {
  padding: 1.1rem 1.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.98rem;
  color: var(--text);
  transition: all var(--transition);
  overflow: hidden; /* контейнер для float */
}
.pain__item:hover {
  border-color: #FCA5A5;
  background: #FEF2F2;
  transform: translateX(2px);
}
.pain__item p {
  margin: 0;
  text-align: justify; /* выравнивание по ширине — плотнее */
  hyphens: auto;        /* переносы слов для justify на узких экранах */
  -webkit-hyphens: auto;
}
.pain__icon {
  /* float: left — текст оптекает иконку плотно, без пустого столбца справа */
  float: left;
  width: 30px; height: 30px;
  margin: 3px 14px 0 2px; /* чуть отступить от левого края карточки */
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pain__cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.pain__cta p { font-size: 1.05rem; color: var(--ink); font-weight: 500; margin: 0; }

/* ===== Feature wide card (AI) ===== */
.feature--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.8rem;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-50) 100%);
  border: 1px solid var(--primary);
  position: relative;
  overflow: hidden;
}
.feature--wide::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 60%);
  pointer-events: none;
}
.feature--wide:hover {
  border-color: var(--accent);
}
.feature--wide .feature__icon { position: relative; z-index: 1; }
/* Body не grid-контейнер, но grid-column/-row на детях body не работают.
   display:contents делает тело «прозрачным» — дети участвуют в родительской сетке .feature--wide. */
.feature__body { display: contents; }
.feature__body > p {
  grid-column: 1 / -1;
  grid-row: auto;
}
.feature__head h3 sup,
.feature h3 sup,
.industry h3 sup { color: #D97706; font-size: 0.6em; font-weight: 700; margin-left: 2px; vertical-align: super; }
.feature__head h3 { margin: 0; }
.feature__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-700);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--primary);
  padding: 0.3em 0.7em;
  border-radius: 999px;
}
.feature__icon--accent {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #fff !important;
  width: 56px; height: 56px;
  font-size: 1.8rem;
}
.feature__body { position: relative; z-index: 1; }
.feature__body p { margin: 0 0 0.6rem; color: var(--text); }
.feature__body p:last-child { margin-bottom: 0; }
.feature__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Звёздочка "в разработке" в заголовках карточек */
.card__head h3 sup,
.feature h3 sup,
.industry h3 sup {
  color: #B45309;
  font-size: 0.6em;
  font-weight: 700;
  margin-left: 2px;
  vertical-align: super;
}
.feature__head h3 { margin: 0; }
.feature__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-700);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--primary);
  padding: 0.3em 0.7em;
  border-radius: 999px;
}
.feature__note {
  margin-top: 0.8rem !important;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-left: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 0.92rem !important;
}
.feature__note strong { color: var(--ink); }

/* ===== Roadmap CTA ===== */
.roadmap__cta {
  margin-top: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.roadmap__cta p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.btn--accent {
  background: var(--accent-700);
  color: #fff;
  border-color: var(--accent-700);
  box-shadow: 0 6px 18px rgba(4, 126, 87, 0.35);
}
.btn--accent:hover {
  background: #065F46;
  border-color: #065F46;
  color: #fff;
  transform: translateY(-1px);
}

/* ===== Result section (Результат с первых недель) ===== */
.section--result {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.result {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.result__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0.5rem 0 1rem;
}
.result__lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.result__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.result__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.98rem;
  color: var(--text);
}
.result__check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.result__list b {
  color: var(--ink);
  margin-right: 0.5rem;
  font-weight: 700;
}
.result__li-text {
  flex: 1 1 auto;
  min-width: 0;
}

.result__visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
}
.result__timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}
.result__timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.result__step {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.result__step > div { display: flex; flex-direction: column; }
.result__step strong { color: var(--ink); font-size: 1rem; }
.result__step span { color: var(--muted); font-size: 0.88rem; }
.result__dot {
  position: relative;
  z-index: 1;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  flex-shrink: 0;
}
.result__step--done .result__dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}
.result__step--done .result__dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.result__step--active .result__dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(14, 124, 123, 0.05); }
}

/* ===== Как это работает (4 шага) ===== */
.how {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: how;
}
.how__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.5rem;
  transition: all var(--transition);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  row-gap: 0.5rem;
  align-items: start;
}
.how__step:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.how__step::after {
  content: '';
  position: absolute;
  top: 30px; right: -12px;
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1;
}
.how__step:last-child::after { display: none; }
.how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: transparent;
  border: 1.5px solid var(--primary-50);
  border-radius: 50%;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
.how__step h3 {
  font-size: 1.1rem;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.how__step p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  line-height: 1.55;
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
}

/* ===== Рейтинг объектов ===== */
.rating {
  margin: 0 auto;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rating__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.rating__table thead {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.rating__table th {
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.rating__table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.rating__table tbody tr:last-child td { border-bottom: 0; }
.rating__table tbody tr {
  transition: background var(--transition);
}
.rating__table tbody tr:hover { background: var(--bg-alt); }

.rating__pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--muted);
}
.rating__pos--1 { background: linear-gradient(135deg, #10B981, #059669); }
.rating__pos--2 { background: linear-gradient(135deg, #14B8A6, #0D9488); }
.rating__pos--3 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.rating__pos--4 { background: linear-gradient(135deg, #EF4444, #B91C1C); }

.rating__sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: normal;
  margin-top: 0.15rem;
}

.rating__delta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 0.4rem;
}
.rating__delta--up { color: var(--accent); }
.rating__delta--down { color: #DC2626; }

.rating__bar {
  position: relative;
  height: 22px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  min-width: 140px;
}
.rating__fill {
  height: 100%;
  border-radius: 999px;
  transform-origin: left center;
  transition: transform 0.6s ease;
}
.rating__pct {
  position: absolute;
  top: 50%; right: 0.6rem;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  mix-blend-mode: difference;
  color: #fff;
}

.rating__status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  white-space: nowrap;
}
.rating__status--ok {
  color: #065F46;
  background: #D1FAE5;
}
.rating__status--warn {
  color: #92400E;
  background: #FEF3C7;
}
.rating__status--alert {
  color: #991B1B;
  background: #FEE2E2;
}

/* ===== FAQ ===== */
.faq {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-right: 3rem;
  transition: background var(--transition);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__item summary:hover { background: var(--bg-alt); }
.faq__item > p {
  margin: 0;
  padding: 0 1.4rem 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Clients (industry badges variant) ===== */
.clients--industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.clients--industries .client {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.6rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--transition);
  min-width: 0;
}
.clients--industries .client__emoji { grid-column: 1; grid-row: 1; font-size: 1.6rem; }
.clients--industries .client__name { grid-column: 2; grid-row: 1; font-size: 0.95rem; color: var(--ink); font-weight: 600; }
.clients--industries .client:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.client__emoji {
  font-size: 2rem;
  line-height: 1;
}
.clients--industries .client__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ===== 152-ФЗ Compliance badge ===== */
.footer__compliance {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 2rem;
}
.compliance {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #CBD5E1;
}
.compliance__icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.compliance strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.compliance span {
  font-size: 0.85rem;
  color: #94A3B8;
}

/* ===== A11y ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

::selection { background: var(--primary); color: #fff; }

/* ===== Download section ===== */
.section--download {
  background: linear-gradient(135deg, #fff 0%, var(--bg-alt) 100%);
  padding: 3.5rem 0;
}
/* На десктопе: текст слева, бейджи стопкой справа.
   На мобиле (≤768px): стек-вертикально по центру, бейджи в ряд. */
.download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.download__content {
  display: grid;
  gap: 1rem;
}
.download__eyebrow,
.download__title,
.download__lead,
.download__note { display: revert; }
.download__title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin: 0.5rem 0 0;
}
.download__lead {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0.8rem 0 1rem;
}
.download__note {
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(14, 124, 123, 0.06);
  border-left: 1px solid var(--primary);
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  margin: 0;
}
.download__badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}
.store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #0F172A;
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  min-width: 170px;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition);
  box-shadow: var(--shadow);
}
.store-badge:hover {
  background: #1E293B;
  color: #fff;
  transform: translateY(-2px);
}
.store-badge__sub {
  font-size: 0.7rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.store-badge__main {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0.15rem;
}
.store-badge__hint {
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: 0.3rem;
}

/* (download-section управляется основным медиа-запросом выше) */

/* ===== Header: Войти (secondary action) ===== */
.header__login {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.header__login:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.header__download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.header__download:hover {
  color: var(--primary);
  background: var(--primary-50);
}

/* ===== FAQ disclaimer (asterisk) ===== */
.faq__group-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 1.5rem 0 0.8rem;
  text-align: center;
}
.faq__group-title:first-of-type { margin-top: 0; }
.faq__group-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45em 1em;
  border-radius: 999px;
}
.faq__group-badge--ready {
  color: #065F46;
  background: #D1FAE5;
  border: 1px solid #10B981;
}
.faq__group-badge--wip {
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
}
.faq__group-badge sup { color: inherit; font-size: 0.9em; }
.faq__group-hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
}
.faq__item summary sup {
  color: #B45309;
  font-weight: 700;
  margin-left: 4px;
  font-size: 0.85em;
}

.faq__disclaimer {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 1px solid #F59E0B;
  border-radius: 4px;
  font-size: 0.92rem;
  color: var(--text);
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.faq__disclaimer sup { color: #B45309; font-weight: 700; margin-right: 2px; }
.faq__disclaimer a { color: var(--primary); font-weight: 600; }

/* ===== Screenshots section ===== */
.section__head--logos .section__logos {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}
.section__head--logos .section__logos img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 4px;
}
.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.screenshot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}
.screenshot__placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
  border: 2px dashed var(--primary);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 3rem;
  box-shadow: var(--shadow-sm);
}
.screenshot__placeholder small {
  font-size: 0.78rem;
  color: var(--primary-700);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.screenshot--desktop .screenshot__placeholder {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}
.screenshot img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: block;
}
.screenshot--desktop img { border-radius: 12px; }
.screenshot figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 240px;
}
.screenshots__note {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.screenshots__note code {
  background: rgba(14, 124, 123, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--primary-700);
}

/* (скриншоты управляются основными медиа-запросами выше) */


@media (max-width: 768px) {
  /* (header-правила перенесены на ≤1024px) */

  /* Hero — компактнее */
  .hero { padding: 1.5rem 0 2rem; }
  .hero__inner { gap: 1.5rem; }
  .hero__visual { min-height: 280px; max-width: 280px; }
  .hero__visual .phone { width: 140px; height: 270px; transform: rotate(-3deg) translateX(-8px); }
  .hero__visual .dashboard { width: 170px; transform: rotate(2deg) translateX(8px); margin-top: -10px; padding: 0.7rem; }
  .hero__cta { margin-bottom: 1.2rem; }
  .hero__stats { gap: 1rem; flex-wrap: wrap; }
  .hero__stats strong { font-size: 1.3rem; }
  .hero__stats span { font-size: 0.78rem; }

  /* Секции — значительно меньше воздуха */
  .section { padding: 1.8rem 0; }
  .section--alt { padding: 1.8rem 0; }
  .section--download { padding: 1.8rem 0; }
  .section__head { margin-bottom: 1.5rem; }
  .section__lead { font-size: 0.95rem; }

  /* Сетки — в 2 колонки где осмысленно, в 1 — где нет */
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: 1fr; }
  .how { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; }
  .pain { grid-template-columns: 1fr !important; }
  .clients--industries { grid-template-columns: repeat(2, 1fr); }

  /* Pain-points: воздух и шрифт */
  .pain__item { padding: 0.9rem 1rem; font-size: 0.92rem; }

  /* Hero-визуал: колонкой */
  .hero__visual { flex-direction: column; }

  /* Architecture: на мобиле скрываем визуальные линии и сложную раскладку,
     показываем плоский список карточек с горизонтальными разделителями */
  #architecture .arch { display: flex; flex-direction: column; gap: 0; max-width: 480px; margin: 0 auto; }
  #architecture .arch__col { flex-direction: column; gap: 0.8rem; }
  #architecture .arch__center { display: none; }
  #architecture .arch__node {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.3rem;
    padding: 1rem 1.2rem;
  }
  #architecture .arch__icon { grid-column: 1; grid-row: 1 / span 2; font-size: 1.6rem; margin: 0; align-self: center; }
  #architecture .arch__node h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 1rem; align-self: end; }
  #architecture .arch__node p { grid-column: 2; grid-row: 2; margin: 0; font-size: 0.85rem; align-self: start; }
  #architecture .arch__hint { display: none; }
  .arch__col--right { flex-direction: column; }
  .arch__center { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .arch__line { width: 2px; height: 24px; margin: 0 auto; background: linear-gradient(180deg, var(--primary), var(--accent)); }
  .arch__api { min-width: 0; }

  /* Result (Пилотное внедрение): стек, timeline идёт после текста */
  .result { grid-template-columns: 1fr; gap: 1.5rem; }
  .result__visual { padding: 1.2rem 1rem; max-width: 380px; margin: 0 auto; width: 100%; }
  .result__title { font-size: 1.5rem; }
  .result__list { margin-bottom: 1.2rem; }

  /* Rating table */
  .rating { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .rating__table { font-size: 0.82rem; min-width: 480px; }
  .rating__table th, .rating__table td { padding: 0.6rem 0.5rem; }
  .rating__sub { display: none; }
  .rating__bar { min-width: 80px; }

  /* Contact */
  .contact { grid-template-columns: 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.4rem; text-align: center; }

  /* Compliance */
  .compliance { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* Download section: на мобиле — стек + бейджи в ряд по центру */
  .download {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 420px;
    text-align: center;
  }
  .download__content { display: contents; }
  .download__title { margin-top: 0.5rem; }
  .download__badges {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
  }
  .store-badge { flex: 1 1 0; min-width: 0; padding: 0.6rem 0.8rem; }
  .store-badge__main { font-size: 1rem; }

  /* Features: 2 колонки остаются, но компактнее — меньше воздуха в карточках */
  .features { gap: 0.8rem; }
  .features .feature { padding: 1rem; }
  .features .feature h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
  .features .feature p { font-size: 0.82rem; line-height: 1.45; }
  .feature--wide {
    grid-column: 1 / -1;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.8rem;
    align-items: start;
    padding: 1.2rem;
  }
  .feature--wide .feature__icon {
    grid-column: 1; grid-row: 1;
    width: 48px; height: 48px;
    font-size: 1.4rem; margin: 0;
    align-self: start;
  }
  .feature--wide .feature__head { grid-column: 2; grid-row: 1; gap: 0.5rem; margin: 0; align-self: center; }
  .feature--wide .feature__body { grid-column: 1 / -1; grid-row: 2; }
  .feature--wide .feature__head h3 { font-size: 1.05rem; }
  .feature--wide .feature__body p { font-size: 0.88rem; }
  .feature--wide .feature__note { padding: 0.6rem 0.8rem; font-size: 0.85rem !important; }

  /* Industries: компактнее, иконка + текст плотнее */
  .industries { gap: 0.8rem; }
  .industries .industry { padding: 1rem; }
  .industries .industry h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
  .industries .industry p { font-size: 0.82rem; line-height: 1.45; }

  /* Clients (industry badges) */
  .clients--industries { gap: 0.8rem; }
  .clients--industries .client { padding: 1rem 0.6rem; min-width: 0; }
  .client__emoji { font-size: 1.6rem; }
  .clients--industries .client__name { font-size: 0.85rem; }

  /* Architecture: плоские карточки одной ширины */
  #architecture .arch { max-width: 100%; }
  #architecture .arch__node { width: 100%; box-sizing: border-box; }

  /* Screenshots: горизонтальная лента на мобиле (скролл свайпом),
     иначе телефонные картинки 9:16 занимают весь экран */
  .screenshots {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.8rem;
    padding: 0.5rem 0 1rem;
    margin: 0 -1rem; /* выйти за контейнер чтобы скролл доходил до краёв */
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none; /* Firefox */
  }
  .screenshots::-webkit-scrollbar { display: none; } /* Webkit */
  .screenshot {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }
  .screenshot img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain; /* не обрезаем */
  }
  .screenshot figcaption { font-size: 0.78rem; max-width: 150px; }

  /* Подсказка о свайпе */
  .screenshots-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: var(--muted);
  }
  .screenshots-hint::after { content: '→'; font-weight: 700; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .section__title { font-size: 1.3rem; }
  .container { padding: 0 1rem; }

  /* Секции — совсем мало воздуха */
  .section, .section--alt, .section--download { padding: 1.4rem 0; }
  .section__head { margin-bottom: 1.2rem; }

  /* Hero */
  .hero { padding: 1.2rem 0 1.5rem; }
  .hero__inner { gap: 1rem; }
  .hero__visual { min-height: 240px; max-width: 240px; }
  .hero__visual .phone { width: 115px; height: 220px; transform: rotate(-3deg) translateX(-5px); }
  .hero__visual .dashboard { width: 140px; transform: rotate(2deg) translateX(5px); margin-top: -8px; padding: 0.6rem; }
  .hero__stats { gap: 0.8rem; }
  .hero__stats strong { font-size: 1.2rem; }
  .hero__stats span { font-size: 0.8125rem; }

  /* Сетки: всё в 1 колонку */
  .grid--3, .grid--4, .industries, .clients--industries, .how { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }

  /* Features на маленьких: горизонтальный layout (иконка слева, текст справа) */
  .features { grid-template-columns: 1fr; }
  .features .feature {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: start;
    gap: 0.8rem;
    padding: 0.9rem;
  }
  .features .feature h3 { font-size: 0.95rem; margin: 0 0 0.2rem; }
  /* На самых узких экранах: иконка и заголовок всё равно на одной горизонтали,
     только колонки уже и шрифт меньше. */
  .feature--wide {
    grid-template-columns: 40px 1fr;
    column-gap: 0.8rem;
    row-gap: 0.6rem;
    padding: 0.9rem;
  }
  .feature--wide .feature__icon {
    width: 40px; height: 40px;
    font-size: 1.2rem;
  }
  .feature--wide .feature__head { gap: 0.4rem; }
  .feature--wide .feature__head h3 { font-size: 0.95rem; line-height: 1.25; }

  /* Industries на маленьких: горизонтальный layout */
  .industries .industry {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: start;
    gap: 0.8rem;
    padding: 0.9rem;
  }
  .industries .industry h3 { margin: 0 0 0.2rem; }

  /* Screenshots: на самых маленьких — карточки чуть уже */
  .screenshot { flex: 0 0 130px; }
  .screenshot figcaption { font-size: 0.8125rem; max-width: 130px; }

  /* Architecture: ещё компактнее */
  #architecture .arch__node { padding: 0.8rem 1rem; column-gap: 0.8rem; row-gap: 0.2rem; }
  #architecture .arch__node h3 { font-size: 0.95rem; }
  #architecture .arch__node p { font-size: 0.8rem; }
}

/* (header-правила перенесены на ≤1024px) */
