/* Clover landing — calm dark minimalism */

:root {
  --bg: #1A1A23;
  --bg-alt: #13131A;
  --surface: #22222D;
  --surface-2: #1F1F29;
  --line: #2A2A35;
  --line-soft: #232330;
  --text: #F4F4F6;
  --text-2: #B8B8C4;
  --text-3: #8E8E9A;
  --text-4: #6A6A76;
  --brand: #6D33FF;
  --brand-soft: rgba(109, 51, 255, 0.12);
  --brand-edge: rgba(109, 51, 255, 0.35);
  --danger: #E26060;
  --ok: #6BCB8E;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-chip: 8px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
section { position: relative; }
.section-alt { background: var(--bg-alt); }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 72px 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--text-3);
}
.eyebrow-brand { color: var(--brand); }
.eyebrow-brand::before { background: var(--brand); }

.h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.022em; }
.h3 { font-size: clamp(20px, 2.0vw, 24px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.h4 { font-size: 19px; font-weight: 700; line-height: 1.3; }

.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 64ch; }
.micro { font-size: 14px; color: var(--text-3); line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: #7c45ff; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #3a3a48; background: rgba(255,255,255,0.02); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 4px;
}
.btn-link:hover { color: var(--brand); }
.btn-link::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.15s;
}
.btn-link:hover::after { transform: translateX(3px); }
.btn-sm { padding: 11px 18px; font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26,26,35,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-login { font-size: 15px; color: var(--text-2); font-weight: 500; padding: 8px 4px; }
.nav-login:hover { color: var(--text); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 88px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 strong { color: var(--text); font-weight: 800; }
.hero h1 .num { color: var(--brand); }
.hero-deck {
  margin: 18px 0 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
.hero-lead { margin-top: 22px; }
.hero-micro {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-3);
}
.hero-micro span { display: inline-flex; align-items: center; gap: 6px; }
.hero-micro span::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-4);
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin-left: auto;
}
.hero-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  width: 64%;
  aspect-ratio: 4/5;
}
.hero-card-before {
  top: 0;
  left: 0;
  z-index: 1;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.hero-card-after {
  bottom: 0;
  right: 0;
  z-index: 2;
  border-color: rgba(109,51,255,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(109,51,255,0.2);
}

/* placeholder product mock */
.mock-before {
  flex: 1;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 8px, transparent 8px 16px),
    #2A2A35;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-before-inner {
  width: 60%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 55%, #44444d, #2c2c35 70%);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}


.mock-after {
  flex: 1;
  display: flex;
  background: linear-gradient(180deg, #2d2238 0%, #1f1929 100%);
}
.mock-after-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mock-after-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(109,51,255,0.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 6px, transparent 6px 12px);
}
.mock-after-hero-shoe {
  width: 62%;
  aspect-ratio: 1.1/1;
  border-radius: 14px;
  background:
    radial-gradient(circle at 55% 50%, #5a5a66, #2e2e38 75%);
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.mock-after-info {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: center;
  background: rgba(0,0,0,0.25);
}
.mock-info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-info-num {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.mock-info-num.brand { color: var(--brand); }
.mock-info-lbl {
  font-size: 9px;
  font-family: ui-monospace, monospace;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-arrow {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-3);
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-arrow .a-arrow {
  font-size: 20px;
  color: var(--brand);
}
.hero-arrow .a-time {
  color: var(--text-2);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0; }
}

/* ---------- social proof ---------- */
.social-bar {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.social-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.social-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
  max-width: 160px;
  line-height: 1.4;
}
.social-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.metric {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}
.metric:first-child { padding-left: 0; border-left: 0; }
.metric-num {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}
.metric-lbl {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 6px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .social-row { grid-template-columns: 1fr; gap: 20px; }
  .social-metrics { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .metric { padding: 0; border-left: 0; }
}

/* ---------- problem ---------- */
.section-head { max-width: 880px; margin-bottom: 56px; }
.section-head .h2 { margin-top: 16px; }
.section-head .lead { margin-top: 20px; }

.problem-process {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.process-num {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 13px;
  color: var(--text-4);
  padding-top: 4px;
}
.process-body h4 { font-size: 18px; margin-bottom: 6px; }
.process-body p { margin: 0; font-size: 15px; color: var(--text-3); }
.process-cost {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 2px;
  white-space: nowrap;
}
.process-cost-sub { font-size: 12px; color: var(--text-4); font-weight: 500; }

.problem-total {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  position: sticky;
  top: 92px;
}
.problem-total-num {
  font-size: clamp(40px, 4.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
}
.problem-total-num .danger { color: var(--brand); }
.problem-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.problem-total-row:last-of-type { border-bottom: 0; }
.problem-total-row .lbl { color: var(--text-3); }
.problem-total-row .val {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.problem-total-foot {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--text-3);
}
.problem-quote {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 780px;
}
.problem-quote strong { color: var(--brand); font-weight: 700; }

@media (max-width: 880px) {
  .problem-process { grid-template-columns: 1fr; }
  .problem-total { position: static; }
}

/* ---------- solution / tables ---------- */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-top: 8px;
}
.cmp-table th, .cmp-table td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}
.cmp-table thead th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
  padding-top: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cmp-table .row-label {
  color: var(--text-3);
  width: 32%;
}
.cmp-table .cell-clover {
  background: var(--brand-soft);
  color: var(--text);
  font-weight: 600;
  border-left: 1px solid var(--brand-edge);
  border-right: 1px solid var(--brand-edge);
}
.cmp-table thead th.cell-clover {
  color: var(--brand);
  background: var(--brand-soft);
}
.cmp-table tr:last-child td.cell-clover {
  border-bottom: 1px solid var(--brand-edge);
}
.cmp-table .delta {
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.cmp-table .num {
  font-variant-numeric: tabular-nums;
}

.solution-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.solution-table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
.solution-table-wrap .cmp-table { margin-top: 0; }
.solution-table-wrap .cmp-table th,
.solution-table-wrap .cmp-table td {
  padding: 20px 28px;
}
.solution-table-wrap .cmp-table thead th { padding-top: 18px; padding-bottom: 14px; }
/* cell-clover is the rightmost column here — drop its right border so it aligns with wrapper edge */
.solution-table-wrap .cmp-table th.cell-clover,
.solution-table-wrap .cmp-table td.cell-clover {
  border-right: 0;
}
.solution-table-wrap .cmp-table tr:last-child td { border-bottom: 0; }
.solution-note {
  max-width: 60ch;
  font-size: 15px;
  color: var(--text-3);
}
.solution-note strong { color: var(--text-2); font-weight: 600; }

@media (max-width: 760px) {
  .cmp-table { font-size: 14px; }
  .cmp-table th, .cmp-table td { padding: 14px 12px; }
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.feat {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
}
.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-3);
}
.feat-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}
.feat h3 {
  font-size: 23px;
  letter-spacing: -0.018em;
  max-width: 24ch;
}
.feat p { color: var(--text-2); font-size: 16px; margin: 0; }
.feat-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.feat-meta-lbl {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-4);
  white-space: nowrap;
}
.feat-meta-val {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; }
  .feat { min-height: auto; padding: 28px 22px; }
}

/* ---------- ROI ---------- */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.roi-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.roi-stat {
  background: var(--bg);
  padding: 28px 28px 24px;
}
.roi-stat-lbl {
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: -0.005em;
  font-weight: 600;
}
.roi-stat-num {
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 14px;
}
.roi-stat-sub {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.4;
}
.roi-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 20px;
}
.roi-table-wrap .cmp-table { margin-top: 0; }
.roi-table-wrap .cmp-table th,
.roi-table-wrap .cmp-table td {
  padding: 16px 24px;
}
.roi-table-wrap .cmp-table thead th {
  padding-top: 22px;
  padding-bottom: 18px;
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.005em;
  color: var(--text);
  font-weight: 600;
}
.roi-table-wrap .cmp-table thead th.row-label { color: var(--text-2); }
.roi-table-wrap .cmp-table thead th.cell-clover { color: var(--brand); font-weight: 700; }
.roi-table-wrap .cmp-table tr:last-child td { border-bottom: 0; }
.roi-table-wrap .cmp-table tr:last-child td.cell-clover { border-bottom: 0; }

@media (max-width: 880px) {
  .roi-top { grid-template-columns: 1fr; }
}

/* ---------- cases ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.case-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.case-segment {
  font-size: 13px;
  letter-spacing: -0.005em;
  font-weight: 600;
  color: var(--brand);
}
.case-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.case-meta { font-size: 14px; color: var(--text-3); }
.case-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  font-style: normal;
  margin: 0;
  position: relative;
  padding-left: 14px;
  border-left: 2px solid var(--brand);
}
.case-author {
  font-size: 13px;
  color: var(--text-4);
  font-family: ui-monospace, monospace;
}
.case-results {
  margin-top: auto;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.case-result-num {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  min-width: 96px;
}
.case-result-num.brand { color: var(--brand); }
.case-result-lbl {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.4;
}

@media (max-width: 960px) {
  .cases { grid-template-columns: 1fr; }
}

/* ---------- segments / tabs ---------- */
.tabs-bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  background: transparent;
  border: 0;
  color: var(--text-3);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.tab:hover { color: var(--text); }
.tab.is-active {
  color: var(--text);
  border-bottom-color: var(--brand);
  font-weight: 600;
}
.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tab-panel.is-active { display: grid; }
.tab-content h3 { font-size: 28px; max-width: 18ch; }
.tab-content p { color: var(--text-2); font-size: 17px; margin-top: 14px; }
.tab-list {
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.tab-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 16px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}
.tab-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
  margin-top: 7px;
}
.tab-benefit {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-edge);
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
}
.tab-benefit-lbl {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--brand);
  margin-bottom: 4px;
  display: block;
}

.tab-visual {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.tab-visual img { width: 100%; height: auto; display: block; }

@media (max-width: 880px) {
  .tab-panel.is-active { grid-template-columns: 1fr; }
  .tab { padding: 12px 12px; font-size: 14px; }
}

/* ---------- integrations ---------- */
.integ-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.integ-tile {
  background: var(--bg);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}
.integ-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.integ-icon-ozon { background: #005BFF; color: #fff; }
.integ-icon-wb { background: #CB11AB; color: #fff; }
.integ-icon-ya { background: #FFCC00; color: #000; }
.integ-icon-avito { background: #97CF26; color: #000; }
.integ-icon-gdrive { background: linear-gradient(135deg, #4285F4, #34A853); color: #fff; font-size: 11px; }
.integ-icon-excel { background: #107C41; color: #fff; }
.integ-icon-api { background: var(--brand); color: #fff; font-size: 11px; }

@media (max-width: 880px) {
  .integ-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- comparison ---------- */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 760px;
}
.compare th, .compare td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.compare thead th {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.compare thead th.col-clover {
  background: var(--brand-soft);
  color: var(--brand);
  border-top: 1px solid var(--brand-edge);
}
.compare tbody td.col-clover {
  background: var(--brand-soft);
  font-weight: 600;
  color: var(--text);
  border-left: 1px solid var(--brand-edge);
  border-right: 1px solid var(--brand-edge);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child td.col-clover { border-bottom: 1px solid var(--brand-edge); }
.compare .row-lbl {
  color: var(--text-3);
  width: 24%;
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.check::before {
  content: '';
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
.cross {
  color: var(--text-4);
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-popular {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(109,51,255,0.06), var(--surface-2) 60%);
}
.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-edge);
  padding: 6px 12px;
  border-radius: 4px;
}
.plan-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: -0.005em;
}
.plan-price {
  margin-top: 18px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}
.plan-price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
  display: inline-block;
  margin-left: 6px;
}
.plan-price-bonus {
  margin-top: 8px;
  font-size: 15px;
  color: var(--brand);
  font-weight: 600;
}
.plan-for {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 15px;
  color: var(--text-2);
  min-height: 50px;
}
.plan-feats {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-feats li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.45;
}
.plan-feats li::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-edge);
  border-radius: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path d='M3 7.2 L5.8 10 L11 4.5' fill='none' stroke='%236D33FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.plan .btn { width: 100%; }
.plan-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-4);
  text-align: center;
}

.pricing-foot {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text-3);
  max-width: 800px;
}

@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.faq-head .h2 { max-width: 12ch; }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.faq-q .plus {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 4px;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--text-3);
  top: 50%; left: 50%;
  transition: transform 0.2s;
}
.faq-q .plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item.is-open .faq-q { color: var(--brand); }
.faq-item.is-open .faq-q .plus::before { background: var(--brand); }
.faq-a {
  display: none;
  padding: 0 0 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 64ch;
}
.faq-item.is-open .faq-a { display: block; }

@media (max-width: 880px) {
  .faq { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- final cta ---------- */
.final-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
.final-cta h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; }
.final-cta p { margin-top: 18px; color: var(--text-2); font-size: 18px; }
.final-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.final-cta-micro {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-4);
}

.final-stat {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
}
.final-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.final-stat-row:last-child { border-bottom: 0; }
.final-stat-row .lbl { color: var(--text-3); }
.final-stat-row .val { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.final-stat-row .val.brand { color: var(--brand); font-size: 20px; }

@media (max-width: 880px) {
  .final-cta-inner { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-3);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; font-size: 15px; color: var(--text-2); }
.footer-col a:hover { color: var(--brand); }
.footer-brand p {
  font-size: 15px;
  color: var(--text-3);
  max-width: 32ch;
  line-height: 1.55;
  margin: 16px 0 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--text-4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-pay {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pay-chip {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-3);
  background: var(--surface-2);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- utilities ---------- */
.text-brand { color: var(--brand); }
.text-strong { color: var(--text); font-weight: 600; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 56px 0;
}
.muted { color: var(--text-3); }

/* mobile padding tweak */
@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
  .container { padding: 0 20px; }
  .feat { padding: 24px 20px; }
  .plan { padding: 24px 20px; }
  .case { padding: 22px 20px; }
}
