:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --accent: #14b8a6;
  --bg: #fff7ed;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #fed7aa;
  --success: #10b981;
  --error: #ef4444;
  --radius: 16px;
  --font: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--bg) 0%, #fff 45%, #f0fdfa 100%);
}

body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(160deg, var(--bg) 0%, #fff 45%, #f0fdfa 100%);
  line-height: 1.5;
}

html,
html.page-install-root {
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
}

body.page-install {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: auto;
  margin: 0;
  padding: 15px;
  overflow-x: hidden;
  background: #fff;
  box-sizing: border-box;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
}

.install-frame {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.install-frame__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.install-frame__head .brand-row {
  margin-bottom: 0;
  align-items: flex-start;
}
.install-frame__head .brand-logo {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  border-radius: 10px;
  flex-shrink: 0;
}
.install-frame__title {
  margin: 2px 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
.install-frame__version {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.install-frame__lead {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.btn-primary--install,
.btn-secondary--install {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 11px 16px;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.install-frame__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
body.page-install .install-frame__actions {
  grid-template-columns: 1fr 1fr;
}

.install-frame__feedback {
  margin: 16px auto 0;
  padding: 16px 18px;
  max-width: 480px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff7ed;
  box-sizing: border-box;
}
.install-frame__feedback[hidden] { display: none !important; }
.install-frame__feedback-title {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--primary-dark);
}
.install-frame__feedback-hint {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.feedback-form--compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.feedback-form--compact label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  width: 100%;
}
.feedback-form--compact input,
.feedback-form--compact select,
.feedback-form--compact textarea {
  padding: 8px 10px;
  font-size: 0.9rem;
}

body.page-install .status-block {
  margin-top: 12px;
}
body.page-install .btn-primary {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.app-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 32px clamp(24px, 5vw, 64px) 40px;
}
.app-card--install {
  width: 100%;
  min-width: 100%;
  max-width: none;
  padding: 32px clamp(32px, 6vw, 72px) 36px;
}
.app-card.wide { max-width: 100%; }

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.brand-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.app-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.app-desc {
  color: var(--muted);
  margin-bottom: 20px;
}

.meta-list { margin-bottom: 20px; }
.meta-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.meta-list dt { color: var(--muted); }
.meta-list code {
  font-size: 0.78rem;
  word-break: break-all;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 6px;
}
.meta-list code.small { font-size: 0.72rem; }

.feature-list {
  margin: 0 0 24px 1.2rem;
  color: var(--muted);
}
.feature-list li { margin-bottom: 6px; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
  min-width: 280px;
}
.btn-primary:disabled,
.btn-primary.is-done {
  background: #e2e8f0;
  color: #64748b;
  box-shadow: none;
  opacity: 1;
  cursor: default;
  pointer-events: none;
}
.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.status-block {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.status-block.visible { display: block; }
.status-block.success { background: #ecfdf5; border-color: #a7f3d0; }
.status-block.error { background: #fef2f2; border-color: #fecaca; }
.status-title { font-weight: 700; margin-bottom: 6px; }
.status-msg { color: var(--muted); font-size: 0.9rem; }

.doc-section { margin-bottom: 28px; }
.doc-section h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}
.doc-section ol { margin-left: 1.2rem; color: var(--muted); }
.doc-section p { color: var(--muted); margin-bottom: 10px; }

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.doc-table th,
.doc-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc-table th {
  background: #fff7ed;
  color: var(--primary-dark);
  font-weight: 600;
}
.doc-table code {
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 6px;
}

.doc-gallery {
  display: grid;
  gap: 24px;
  margin-top: 16px;
}
.doc-gallery__item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.doc-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
}
.doc-gallery__item figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
}
.doc-gallery__item figcaption strong {
  color: var(--primary-dark);
}

.feedback-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.feedback-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
}
.feedback-form .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.app-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.app-footer a { color: var(--primary-dark); }

/* ——— Общий layout сайта ——— */
body.page-site,
body.page-docs {
  min-height: 100vh;
  padding: 0;
}

body.page-install.page-site {
  min-height: auto;
  overflow-x: hidden;
}

.site-shell,
.docs-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 32px);
}

.site-card,
.docs-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  padding: 0 clamp(20px, 3vw, 40px);
  overflow: hidden;
}

.site-header,
.docs-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  text-align: left;
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px)) 0;
  padding: 14px clamp(20px, 3vw, 40px);
  min-height: 0;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 60%, #f0fdfa 100%);
  border-bottom: 1px solid var(--border);
}

.site-header__brand,
.docs-header .brand-row {
  justify-content: flex-start;
  margin-bottom: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}
.brand-logo-img {
  display: block;
  height: 50px;
  width: auto;
  max-width: min(194px, 58vw);
}
.site-header__brand:hover .brand-logo-img {
  opacity: 0.92;
}

.site-header .brand-logo,
.docs-header .brand-logo {
  width: 32px;
  height: 32px;
  font-size: 1rem;
  border-radius: 8px;
}
.brand-logo--img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}
.install-frame__head .brand-logo--img {
  width: 36px;
  height: 36px;
}

.site-header__title,
.docs-header .app-title {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  flex: 1 1 12rem;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--border);
}
.site-nav a.is-active {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.12);
}

.site-body {
  padding: 20px 0 4px;
}

.site-lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.site-aside-links {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-aside-links a { color: var(--primary-dark); }

.site-body .btn-primary {
  max-width: 100%;
}

.docs-breadcrumb {
  margin: 0 0 16px;
  font-size: 0.9rem;
}
.docs-breadcrumb a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}
.docs-breadcrumb a:hover { text-decoration: underline; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.apps-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.apps-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.1);
}

.apps-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.apps-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.apps-card__icon--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
}
.apps-card__meta { min-width: 0; }
.apps-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.apps-card__version {
  font-size: 0.78rem;
  color: var(--muted);
}
.apps-card__summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.apps-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apps-card__tags li {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff7ed;
  border: 1px solid var(--border);
}
.apps-card__link {
  align-self: flex-start;
  margin-top: auto;
}

.docs-lead {
  margin: 0;
  text-align: left;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: none;
}

.doc-section {
  margin-bottom: 36px;
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 32px);
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.doc-section--intro {
  background: transparent;
  border: none;
  padding: 0 0 12px;
  margin-bottom: 28px;
}
.doc-section h2 {
  text-align: left;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
  color: var(--primary-dark);
}

.docs-steps {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  columns: 1;
}
@media (min-width: 900px) {
  .docs-steps {
    columns: 2;
    column-gap: 48px;
  }
  .docs-steps li {
    break-inside: avoid;
  }
}
.docs-steps li {
  margin-bottom: 10px;
  padding-left: 4px;
}
.docs-steps li::marker {
  color: var(--primary);
  font-weight: 700;
}

.docs-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff7ed;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.doc-section .doc-table {
  font-size: 0.9rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* Слайдер */
.doc-slider {
  margin: 0;
  max-width: 100%;
}

.doc-slider__viewport {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafc;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.doc-slider__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.doc-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  flex-direction: column;
}
.doc-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.doc-slider__slide img {
  width: 100%;
  height: 100%;
  flex: 1;
  object-fit: contain;
  background: #0f172a;
  min-height: 240px;
}

.doc-slider__slide figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--border);
}
.doc-slider__slide figcaption strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.doc-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.doc-slider__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.doc-slider__btn:hover {
  background: #fff7ed;
  border-color: var(--primary);
}

.doc-slider__dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 80px;
  max-width: 280px;
}

.doc-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #e2e8f0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.doc-slider__dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

/* Форма заявки */
.doc-form-panel {
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 36px);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.12);
}

.doc-form-panel h2 {
  color: var(--primary-dark);
}

.docs-form-intro {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.doc-form-panel .feedback-form {
  margin-top: 0;
}

.btn-primary--block {
  width: 100%;
  min-width: 0;
}

.site-footer,
.docs-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px calc(-1 * clamp(20px, 3vw, 40px)) 0;
  padding: 20px clamp(20px, 3vw, 40px) 16px;
  border-top: 1px solid var(--border);
}
.site-footer { margin-top: 16px; }

@media (max-width: 768px) {
  .site-header,
  .docs-header {
    margin-left: calc(-1 * clamp(20px, 3vw, 40px));
    margin-right: calc(-1 * clamp(20px, 3vw, 40px));
    padding: 12px clamp(20px, 3vw, 40px);
    gap: 8px;
  }
  .site-header__title,
  .docs-header .app-title {
    flex: 1 1 100%;
    order: 2;
  }
  .site-nav {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .docs-steps { columns: 1; }
}

@media (max-width: 600px) {
  .doc-section { padding: 16px 14px; }
  .doc-form-panel { max-width: 100%; }
}

/* ——— Главная integrolab.ru ——— */
.page-home .site-card,
.page-prices .site-card {
  padding-bottom: 0;
}

.site-header--home {
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 8px;
}
.site-nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  border-radius: 2px;
}

.site-nav__cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.site-nav__cta:hover {
  background: var(--primary-dark) !important;
  color: #fff !important;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 56px);
}
.hero__badges {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.hero__partner-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.hero__partner-badge--soft {
  background: #f0fdfa;
  color: #0f766e;
  border-color: #99f6e4;
}
.hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--text);
}
.hero__lead {
  margin: 0 0 22px;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.hero__visual {
  position: relative;
  min-height: 280px;
}
.hero__card--float {
  animation: heroFloat 6s ease-in-out infinite;
}
.hero__card--secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 240px;
  animation-delay: -3s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  animation: heroScrollPulse 2.2s ease-in-out infinite;
}
.hero__scroll svg { opacity: 0.7; }
@keyframes heroScrollPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(4px); opacity: 1; }
}

.trust-bar {
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px));
  padding: 20px clamp(20px, 3vw, 40px);
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.trust-bar__item {
  padding: 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, background 0.2s;
}
.trust-bar__item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}
.trust-bar__value {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fbbf24;
}
.trust-bar__label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.home-banners {
  padding: clamp(32px, 5vw, 52px) 0;
  border-top: 1px solid var(--border);
}
.home-banners__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.home-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  min-height: 220px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 18px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.home-banner--orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 45%, #fff 100%);
  border-color: #fed7aa;
}
.home-banner--teal {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 45%, #fff 100%);
  border-color: #99f6e4;
}
.home-banner--violet {
  background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 45%, #fff 100%);
  border-color: #ddd6fe;
}
.home-banner__glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, transparent 70%);
  pointer-events: none;
}
.home-banner__body {
  position: relative;
  z-index: 1;
}
.home-banner__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.home-banner__title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.25;
  max-width: 34rem;
}
.home-banner__text {
  margin: 0 0 16px;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}
.home-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-dark);
  text-decoration: none;
}
.home-banner--teal .home-banner__cta { color: #0f766e; }
.home-banner--violet .home-banner__cta { color: #6d28d9; }
.home-banner__cta span {
  transition: transform 0.2s;
}
.home-banner__cta:hover span {
  transform: translateX(4px);
}
.home-banner__decor {
  position: relative;
  z-index: 0;
  align-self: center;
  justify-self: end;
}
.home-banner__orb {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 2px solid rgba(249, 115, 22, 0.2);
}
.home-banner--teal .home-banner__orb {
  background: rgba(20, 184, 166, 0.15);
  border-color: rgba(20, 184, 166, 0.25);
}
.home-banner--violet .home-banner__orb {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.25);
}

.competencies {
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
}
.section-head--center {
  text-align: center;
}
.section-head--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.competencies__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.competencies__chip {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.competencies__chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);
}

.mid-cta {
  padding: clamp(24px, 4vw, 40px) 0;
}
.mid-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}
.mid-cta__title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.mid-cta__text {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 40rem;
}
.mid-cta__bullets {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.6;
}
.mid-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-secondary--block {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}
.mid-cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.mid-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.hero__orb--primary {
  width: 180px;
  height: 180px;
  top: 10%;
  right: 18%;
  background: rgba(249, 115, 22, 0.18);
}
.hero__orb--accent {
  width: 140px;
  height: 140px;
  bottom: 8%;
  left: 8%;
  background: rgba(20, 184, 166, 0.16);
}
.hero__card {
  position: relative;
  z-index: 1;
  margin: 48px auto 0;
  max-width: 320px;
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}
.hero__card-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.hero__card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.section-head,
.pricing-section__head {
  margin-bottom: 20px;
}
.section-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.section-eyebrow--boxed { color: #0f766e; }
.section-eyebrow--market { color: #7c3aed; }
.section-head h2,
.pricing-section__head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}
.section-lead,
.pricing-section__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52rem;
}

.pillars {
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--border);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pillar-card {
  padding: 22px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}
.pillar-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #fff7ed;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}
.pillar-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.pillar-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.pillars__cta {
  margin: 18px 0 0;
}

.pricing-section {
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--border);
}
.pricing-section--boxed {
  background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px));
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}
.pricing-section--market {
  background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px));
  padding-left: clamp(20px, 3vw, 40px);
  padding-right: clamp(20px, 3vw, 40px);
}

.price-billing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.price-billing-toolbar__hint {
  display: none;
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.price-billing-toolbar__hint.is-visible {
  display: block;
}

.price-billing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.price-billing-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.price-billing-toggle__btn:hover {
  color: var(--text);
}
.price-billing-toggle__btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.price-billing-toggle__badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.price-billing-toggle__btn:not(.is-active) .price-billing-toggle__badge {
  background: #dcfce7;
  color: #166534;
}

.pricing-grid {
  display: grid;
  gap: 14px;
}
.pricing-grid--cloud {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pricing-grid--market {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.price-card--popular {
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.12);
}
.price-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.price-card__name {
  margin: 0 0 6px;
  font-size: 1rem;
  padding-right: 64px;
}
.price-card__tagline {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  min-height: 2.8em;
}
.price-card__price {
  margin-bottom: 12px;
}
.price-card__amount {
  display: none;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.price-card__amount.is-visible,
.price-card__amount--free {
  display: block;
}
.price-card__amount--promo { color: var(--primary-dark); }
.price-card__amount--year-old {
  display: none;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}
.price-card__amount--year-old.is-visible {
  display: block;
}
.price-card__amount--free { color: var(--accent); }
.price-card__period {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}
.price-card__meta {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}
.price-card__meta li + li { margin-top: 4px; }
.price-card__details {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.82rem;
}
.price-card__details summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 600;
}

.price-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.price-table th,
.price-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.price-table th {
  color: var(--muted);
  font-weight: 600;
}
.price-table--billing .price-table__col-month,
.price-table--billing .price-table__col-year {
  display: none;
}
.price-table--billing .price-table__col-month.is-visible,
.price-table--billing .price-table__col-year.is-visible {
  display: table-cell;
}

.boxed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.boxed-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #99f6e4;
  background: #fff;
}
.boxed-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
}
.boxed-card__name {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.boxed-card__price {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
}
.boxed-card__price span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.boxed-card__users {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
}
.boxed-market {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed #99f6e4;
}
.boxed-market__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.pricing-section__note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.pricing-disclaimer {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.pricing-disclaimer p { margin: 0 0 8px; }
.pricing-disclaimer p:last-child { margin-bottom: 0; }
.pricing-disclaimer__promo { font-size: 0.82rem; }

.cta-band {
  margin: 0 calc(-1 * clamp(20px, 3vw, 40px));
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 40px);
  background: linear-gradient(135deg, #fff7ed 0%, #f0fdfa 100%);
  border-top: 1px solid var(--border);
}
.cta-band__inner {
  max-width: 720px;
}
.cta-band__title {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}
.cta-band__text {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.site-footer__legal,
.site-footer__version {
  width: 100%;
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.cookie-banner__inner p {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-banner__ok {
  flex-shrink: 0;
  min-width: 120px;
}

.site-mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.28);
}

@media (max-width: 1200px) {
  .pricing-grid--cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid--market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boxed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__visual { min-height: 180px; }
  .hero__scroll { display: none; }
  .trust-bar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-banner { grid-template-columns: 1fr; min-height: 0; }
  .home-banner__decor { display: none; }
  .mid-cta__panel { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid--cloud,
  .pricing-grid--market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .site-nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
  .brand-logo-img { height: 42px; max-width: min(170px, 62vw); }
  .site-nav {
    display: none;
    order: 4;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding-top: 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: center; }
  .site-mobile-cta { display: block; }
  .page-home.has-mobile-cta { padding-bottom: 72px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .trust-bar__grid { grid-template-columns: 1fr; }
  .pricing-grid--cloud,
  .pricing-grid--market { grid-template-columns: 1fr; }
  .price-billing-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .price-billing-toggle {
    width: 100%;
  }
  .price-billing-toggle__btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}
