:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --indigo-soft: #eef2ff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e7e9ef;
  --line-2: #eef0f5;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #f5f6fb;
  --teal: #0d9488;
  --amber: #f59e0b;
  --rose: #e11d48;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 24px -8px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 60px -20px rgba(31, 27, 90, .25), 0 8px 24px -12px rgba(15, 23, 42, .10);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "tnum";
}

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

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

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

p { margin: 0; }

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

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
}

.section {
  padding: 92px 0;
}

.section-tight { padding: 64px 0; }

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

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

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .55);
}

.btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(79, 70, 229, .6);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #cbd1e1;
  background: var(--bg-soft);
}

.btn-soft {
  background: var(--indigo-soft);
  color: var(--indigo-dark);
}

.btn-soft:hover { background: #e4e9ff; }

.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--indigo);
}

.btn-link svg { transition: transform .2s ease; }
.btn-link:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s ease;
}

.nav-links a:hover { color: var(--indigo); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-login {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 4px;
}
.nav-login:hover { color: var(--indigo); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 76px 0 84px;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(79, 70, 229, .08), transparent 60%),
    linear-gradient(180deg, #fbfbfe 0%, #fff 55%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.035em;
}

.hero-copy h1 .accent {
  color: var(--indigo);
}

.hero-copy .lead {
  margin-top: 22px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg { color: var(--teal); flex: none; }

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.pill-badge .dot {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--indigo-soft);
  color: var(--indigo-dark);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .03em;
}

/* Hero visual: dashboard + photo */
.hero-visual {
  position: relative;
}

.dash {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  width: 100%;
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 16px;
}

.dash-dots { display: flex; gap: 6px; }
.dash-dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #e2e5ee; display: block;
}
.dash-dots i:first-child { background: #fca5a5; }
.dash-dots i:nth-child(2) { background: #fcd34d; }
.dash-dots i:nth-child(3) { background: #86efac; }

.dash-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.dash-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: #ecfdf5;
  padding: 4px 9px;
  border-radius: 999px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.kpi {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 13px 14px;
  background: var(--bg-soft);
}

.kpi .label {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}

.kpi .value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
  letter-spacing: -0.02em;
}

.kpi .delta {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.kpi .delta.up { color: #059669; }
.kpi .delta.down { color: var(--rose); }

.dash-charts {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 14px;
}

.chart-card {
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px;
  background: #fff;
}

.chart-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 4px;
}

.chart-card .sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

.hero-photo {
  position: absolute;
  z-index: 1;
  right: -28px;
  bottom: -44px;
  width: 230px;
  height: 168px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #e7e9f5, #d9deef);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  z-index: 3;
  left: -26px;
  top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.float-card .ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--indigo-soft);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.float-card .t { font-size: 12px; color: var(--muted); }
.float-card .b { font-size: 15px; font-weight: 700; }

/* Logos strip */
.logos {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-soft);
}
.logos .container {
  padding-top: 34px;
  padding-bottom: 34px;
}
.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 24px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.logos-row .logo {
  color: #94a0b8;
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.logos-row .logo:hover { color: var(--ink-2); opacity: 1; }

/* Capabilities (alternating rows) */
.cap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cap + .cap { margin-top: 84px; }
.cap.reverse .cap-media { order: 2; }
.cap.reverse .cap-text { order: 1; }

.cap-text .eyebrow { margin-bottom: 14px; display: inline-block; }
.cap-text h3 {
  font-size: clamp(24px, 2.8vw, 32px);
}
.cap-text p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}
.cap-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.cap-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-2);
}
.cap-list .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.cap-media {
  position: relative;
}
.media-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
}
.media-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #e7e9f5, #dde2f0);
  aspect-ratio: 3 / 2;
}
.media-photo img { width: 100%; height: 100%; object-fit: cover; }

.mini-chart-title {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;
}
.mini-chart-title .tag {
  font-size: 11px; font-weight: 600; color: var(--indigo);
  background: var(--indigo-soft); padding: 3px 9px; border-radius: 999px;
}

.src-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.src-chip {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
}
.src-chip .d {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
}
.src-chip small {
  margin-left: auto; font-weight: 500; color: var(--muted); font-size: 11.5px;
}

.alert-row {
  display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
}
.alert-row + .alert-row { margin-top: 10px; }
.alert-row .ai {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.alert-row.warn .ai { background: #fff7ed; color: var(--amber); }
.alert-row.ok .ai { background: #ecfdf5; color: var(--teal); }
.alert-row.info .ai { background: var(--indigo-soft); color: var(--indigo); }
.alert-row .at { font-size: 13.5px; font-weight: 600; }
.alert-row .as { font-size: 12px; color: var(--muted); margin-top: 1px; }
.alert-row time { margin-left: auto; font-size: 11px; color: var(--muted); flex: none; }

/* Feature grid */
.features { background: var(--bg-soft); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dfe3ee;
}
.feature .fi {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--indigo-soft);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature h3 { font-size: 18px; }
.feature p { margin-top: 9px; font-size: 14.5px; color: var(--muted); }

/* Integrations */
.intg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.intg {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .18s ease;
}
.intg:hover { border-color: #dfe3ee; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.intg .logo {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
  color: #fff;
}
.intg .nm { font-size: 15px; font-weight: 600; }
.intg .ct { font-size: 12px; color: var(--muted); }

.intg-foot {
  margin-top: 30px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* Testimonial */
.quote {
  background: linear-gradient(180deg, #fbfbfe, #fff);
}
.quote-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quote-photo {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  background: linear-gradient(135deg, #e7e9f5, #d9deef);
}
.quote-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.quote-body { padding: 44px 48px 44px 8px; }
.quote-mark {
  font-size: 56px;
  line-height: .5;
  color: var(--indigo);
  font-weight: 800;
  height: 22px;
}
.quote-body blockquote {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
}
.quote-by {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-by .nm { font-weight: 700; font-size: 16px; }
.quote-by .rl { font-size: 14px; color: var(--muted); }
.quote-metric {
  margin-top: 26px;
  display: flex;
  gap: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}
.quote-metric .m .v { font-size: 26px; font-weight: 700; color: var(--indigo); letter-spacing: -.02em; }
.quote-metric .m .k { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}
.toggle-wrap { display: flex; justify-content: center; }
.toggle button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.toggle button.active {
  background: var(--indigo);
  color: #fff;
}
.toggle .save {
  font-size: 11px;
  background: #ecfdf5;
  color: var(--teal);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative;
  transition: box-shadow .2s ease, transform .18s ease;
}
.plan:hover { box-shadow: var(--shadow-md); }
.plan.featured {
  border-color: var(--indigo);
  box-shadow: 0 26px 60px -28px rgba(79,70,229,.4);
  transform: translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--indigo);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 { font-size: 19px; }
.plan .desc { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 40px; }
.plan .price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan .price .amt { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.plan .price .per { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan .price-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; min-height: 18px; }
.plan .btn { width: 100%; margin-top: 22px; }
.plan ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.plan ul li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  align-items: flex-start;
}
.plan ul li .ck {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  color: var(--teal);
}
.plan ul li.off { color: #9aa3b5; }
.plan ul li.off .ck { color: #c3cad8; }

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 55%, #6366f1 100%);
  border-radius: var(--r-xl);
  padding: 56px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
}
.cta-band p {
  margin-top: 14px;
  font-size: 17px;
  color: #dfe0fb;
  max-width: 460px;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--indigo-dark); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #f1f1ff; }
.cta-band .btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.45);
}
.cta-band .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cta-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 4px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,.1);
}
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 9px; }
.cta-list li { display: flex; gap: 9px; align-items: center; font-size: 14.5px; color: #e7e7fd; }
.cta-list svg { color: #c7d2fe; flex: none; }

/* Footer */
.site-footer {
  background: #0d1326;
  color: #aab2c5;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #8b94aa; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #1a2238;
  display: flex; align-items: center; justify-content: center;
  color: #aab2c5;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--indigo); color: #fff; transform: translateY(-2px); }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: #aab2c5; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid #1d2540;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7e879d;
}
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* Page hero (inner pages) */
.page-hero {
  padding: 72px 0 36px;
  text-align: center;
  background: linear-gradient(180deg, #fbfbfe, #fff);
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); }
.page-hero p { margin: 18px auto 0; font-size: 18px; color: var(--muted); max-width: 600px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--indigo); }

/* Compare table */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
  font-size: 14.5px;
}
.compare th, .compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.compare thead th {
  font-size: 16px;
  vertical-align: bottom;
  position: sticky;
  top: 70px;
  background: #fff;
}
.compare thead .plan-h { text-align: center; }
.compare thead .plan-h .pn { font-size: 17px; font-weight: 700; }
.compare thead .plan-h .pp { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.compare thead .plan-h.feat .pn { color: var(--indigo); }
.compare td.c, .compare th.c { text-align: center; }
.compare tbody tr.group td {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare tbody tr:hover td { background: #fbfcfe; }
.compare tbody tr.group:hover td { background: var(--bg-soft); }
.compare .yes { color: var(--teal); }
.compare .no { color: #c3cad8; }
.compare .feat-cell { background: #fafaff; }
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 44px;
}
.faq .q {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 20px;
}
.faq .q h4 { font-size: 16px; }
.faq .q p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* 404 */
.nf {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.nf-code {
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .9;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf h1 { font-size: clamp(24px, 3.4vw, 34px); margin-top: 12px; }
.nf p { margin: 16px auto 28px; color: var(--muted); font-size: 17px; max-width: 440px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Mobile nav panel */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 70px 0 0;
  background: #fff;
  z-index: 49;
  padding: 24px;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-2);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a.mm-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 8px;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu .mm-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.mobile-menu .mm-actions .btn { width: 100%; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-photo { right: 0; bottom: -30px; width: 200px; height: 145px; }
  .cap, .cta-band, .quote-card { grid-template-columns: 1fr; }
  .cap.reverse .cap-media { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .intg-grid { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-photo { min-height: 260px; }
  .quote-body { padding: 32px; }
  .cta-band { padding: 40px 32px; }
  .cta-photo { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-soft, .nav-login { display: none; }
  .burger { display: flex; }
  .nav-actions { margin-left: auto; }
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .intg-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .dash-charts { grid-template-columns: 1fr; }
  .quote-metric { gap: 24px; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 660px; }
  .compare thead th { position: static; }
  .float-card { left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .kpi-row { grid-template-columns: 1fr; }
  .intg-grid { grid-template-columns: 1fr; }
}

/* Active nav link */
.nav-links a.active { color: var(--indigo); }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  margin-top: 4px;
}

/* Clickable cards rendered as <button> */
button.feature,
button.intg {
  font: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
  color: inherit;
}
button.feature h3,
button.feature p { text-align: left; }
button.feature::after {
  content: "Подробнее";
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
}
button.feature:hover::after,
button.feature:focus-visible::after { opacity: 1; transform: none; }
button.feature:focus-visible,
button.intg:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}
button.intg { cursor: pointer; }

/* FAQ accordion */
.faq .q { padding-bottom: 0; }
.faq .q-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  padding: 0 0 18px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.faq .q-head:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.faq .q-head h4 { font-size: 16px; }
.faq .q-ico {
  position: relative;
  width: 16px; height: 16px;
  flex: none;
  color: var(--muted);
  transition: transform .25s ease, color .2s ease;
}
.faq .q-ico::before,
.faq .q-ico::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq .q-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq .q.open .q-head { color: var(--indigo); }
.faq .q.open .q-ico { color: var(--indigo); }
.faq .q.open .q-ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq .q-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq .q-body > p {
  overflow: hidden;
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
.faq .q.open .q-body { grid-template-rows: 1fr; }
.faq .q.open .q-body > p { padding-bottom: 20px; }

/* Toasts */
.toast-box {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 17px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .28s ease, transform .28s ease;
}
.toast.in { opacity: 1; transform: none; }
.toast svg {
  width: 18px; height: 18px; flex: none;
  color: #6ee7b7;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 7vh 20px 40px;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  overflow-y: auto;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 30px 28px;
  transform: translateY(14px) scale(.985);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}
.modal.wide { max-width: 540px; }
.modal-overlay.open .modal { transform: none; }
.modal:focus { outline: none; }
.modal-x {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal-x:hover { background: #eef0f5; color: var(--ink); }
.modal-x svg { width: 17px; height: 17px; }
.modal-head { margin-bottom: 22px; padding-right: 30px; }
.modal-head h3 { font-size: 22px; }
.modal-head p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.modal-form { display: grid; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fld input,
.fld textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  resize: vertical;
}
.fld input::placeholder,
.fld textarea::placeholder { color: #aab2c2; }
.fld input:focus,
.fld textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .14);
}
.fld input.bad,
.fld textarea.bad {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .12);
}
.fld .err {
  font-size: 12px;
  font-style: normal;
  color: var(--rose);
  min-height: 14px;
}
.modal-submit { width: 100%; margin-top: 4px; }
.modal-foot {
  margin-top: 4px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}
.modal-foot a { color: var(--indigo); font-weight: 600; }
.modal-foot a:hover { text-decoration: underline; }

.modal-prose p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.62;
}
.modal-prose p + p { margin-top: 13px; }
.modal-cta { margin-top: 22px; }

.modal-ok { text-align: center; padding: 10px 0 4px; }
.modal-ok .ok-ring {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.modal-ok .ok-ring svg { width: 28px; height: 28px; }
.modal-ok h3 { font-size: 21px; }
.modal-ok p { margin: 10px auto 22px; font-size: 14.5px; color: var(--muted); max-width: 320px; }

@media (max-width: 480px) {
  .modal { padding: 26px 22px 24px; }
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal { max-width: none; min-height: 100%; border-radius: 0; }
  .toast-box { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .toast, .modal, .modal-overlay,
  .faq .q-body, .faq .q-ico, .faq .q-ico::before, .faq .q-ico::after,
  button.feature::after { transition: none; }
}
