:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #f9fafb;
  --text: #172033;
  --muted: #657085;
  --line: #dfe4ec;
  --blue: #2563eb;
  --blue-soft: #e8f0ff;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --amber: #b7791f;
  --amber-soft: #fef3c7;
  --green: #047857;
  --green-soft: #dcfce7;
  --indigo: #4f46e5;
  --indigo-soft: #eef2ff;
  --gray-soft: #eef1f5;
  --shadow: 0 14px 40px rgba(30, 41, 59, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.landing-shell {
  min-height: 100vh;
  background: #f6f8fc;
  color: #172033;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 6px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(221, 229, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #172033;
}

.landing-logo span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #1f5eff;
  color: #fff;
  font-weight: 900;
}

.landing-logo strong {
  font-size: 17px;
}

.landing-nav nav,
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #526078;
  font-weight: 750;
  font-size: 14px;
}

.landing-link:hover {
  color: #1f5eff;
}

.landing-main {
  display: grid;
  gap: clamp(52px, 7vw, 96px);
  padding: 0 clamp(20px, 5vw, 72px) 72px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 56px 0 36px;
}

.landing-hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.landing-eyebrow,
.landing-section-head > span,
.landing-section.compare span,
.landing-form-section span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f5eff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #00a878;
}

.landing-hero h1 {
  margin: 0;
  max-width: 720px;
  color: #101828;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.landing-hero p,
.landing-section-head p,
.landing-form-section p {
  margin: 0;
  max-width: 720px;
  color: #526078;
  font-size: 18px;
  line-height: 1.55;
}

.landing-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn.large {
  min-height: 48px;
  padding: 12px 18px;
  font-size: 15px;
}

.landing-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
}

.landing-proof div,
.landing-product,
.landing-section,
.pilot-form {
  border: 1px solid #dde5f0;
  border-radius: 8px;
  background: #fff;
}

.landing-proof div {
  padding: 12px;
}

.landing-proof strong {
  display: block;
  color: #00a878;
  font-size: 24px;
  line-height: 1.1;
}

.landing-proof span {
  color: #657085;
  font-size: 12px;
  font-weight: 750;
}

.landing-product {
  padding: 16px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.12);
}

.product-top,
.product-kpis,
.product-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-top {
  padding-bottom: 12px;
  border-bottom: 1px solid #dde5f0;
  font-weight: 850;
}

.product-top b {
  color: #657085;
  font-size: 12px;
}

.product-kpis {
  margin: 14px 0;
}

.product-kpis div {
  flex: 1;
  border-radius: 8px;
  background: #f5f7fb;
  padding: 12px;
}

.product-kpis span,
.product-actions span {
  display: block;
  color: #657085;
  font-size: 12px;
  font-weight: 750;
}

.product-kpis strong {
  display: block;
  margin-top: 6px;
  color: #00a878;
  font-size: 24px;
}

.product-kpis strong.danger {
  color: #e5484d;
}

.product-flow {
  margin-bottom: 14px;
  border-radius: 8px;
  background: #eef4ff;
  padding: 10px;
  color: #1f5eff;
  font-size: 12px;
  font-weight: 900;
}

.product-flow i {
  flex: 1;
  height: 2px;
  background: #b8cbff;
}

.product-actions {
  display: grid;
  gap: 10px;
}

.product-actions button {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid #dde5f0;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  text-align: left;
}

.product-actions button:hover {
  border-color: #1f5eff;
  box-shadow: 0 12px 30px rgba(31, 94, 255, 0.12);
}

.product-actions strong {
  color: #172033;
}

.product-actions em {
  color: #526078;
  font-style: normal;
  font-size: 13px;
}

.product-actions b {
  justify-self: end;
  color: #00a878;
}

.landing-section {
  padding: clamp(22px, 3vw, 36px);
}

.landing-section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.landing-section h2,
.landing-form-section h2 {
  margin: 0;
  max-width: 880px;
  color: #101828;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
}

.pain-grid,
.agent-landing-grid,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.pain-grid div,
.agent-landing-grid div,
.compare-grid div {
  border: 1px solid #dde5f0;
  border-radius: 8px;
  background: #f8fbff;
  padding: 16px;
}

.pain-grid span {
  color: #1f5eff;
  font-weight: 900;
}

.pain-grid p,
.agent-landing-grid p,
.compare-grid p {
  margin: 10px 0 0;
  color: #526078;
  line-height: 1.5;
}

.agent-landing-grid strong {
  color: #172033;
  font-size: 17px;
}

.landing-flow {
  background: #101828;
  color: #fff;
}

.landing-flow .landing-section-head h2,
.landing-flow .landing-section-head span {
  color: #fff;
}

.landing-flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.landing-flow-steps div {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.landing-flow-steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #00a878;
  font-weight: 900;
}

.integration-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.integration-cloud span {
  border: 1px solid #dde5f0;
  border-radius: 999px;
  background: #f8fbff;
  padding: 9px 12px;
  color: #172033;
  font-weight: 800;
}

.landing-section.compare,
.landing-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.pilot-form {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.pilot-form input {
  width: 100%;
  border: 1px solid #dde5f0;
  border-radius: 8px;
  padding: 12px;
}

.app-shell {
  display: grid;
  grid-template-columns: clamp(208px, 15vw, 244px) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: #ffffff;
  padding: 18px 14px;
  overflow: auto;
}

.brand {
  padding: 8px 10px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: var(--indigo);
  color: #fff;
  font-weight: 800;
}

.sp-logo-mark {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 7px);
  align-items: end;
  gap: 4px;
  width: 38px;
  height: 34px;
  padding: 7px 6px 6px;
  overflow: visible;
}

.sp-logo-mark i {
  display: block;
  width: 7px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #1273e6, #083f8f);
}

.sp-logo-mark i:nth-child(1) {
  height: 12px;
}

.sp-logo-mark i:nth-child(2) {
  height: 18px;
}

.sp-logo-mark i:nth-child(3) {
  height: 24px;
}

.sp-logo-mark b {
  position: absolute;
  top: 5px;
  right: 3px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #18b7d8;
  box-shadow: 0 0 0 4px rgba(24, 183, 216, 0.14);
  content: "";
}

.brand-mark.sp-logo-mark {
  display: inline-grid;
  place-items: end center;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #dfe7f2;
  color: inherit;
}

.brand-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.nav-list {
  display: grid;
  gap: 4px;
}

.nav-item {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  text-align: left;
}

.nav-item:hover {
  background: var(--panel-soft);
}

.nav-item.active {
  background: var(--blue-soft);
  color: #174ea6;
  font-weight: 700;
}

.nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--gray-soft);
  color: #536079;
  font-size: 12px;
  font-weight: 800;
}

.nav-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item.active .nav-icon {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.14);
}

.nav-count {
  min-width: 22px;
  border-radius: 999px;
  padding: 2px 6px;
  text-align: center;
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.main {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  min-width: 0;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.topbar-right {
  justify-content: flex-end;
  flex: 1 1 auto;
}

.topbar-right .badge {
  max-width: min(220px, 22vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right .btn {
  flex: 0 0 auto;
}

.client-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.content {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  padding: clamp(14px, 1.4vw, 24px);
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.page-title {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.page-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 760px;
}

.section {
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: 17px;
}

.hero {
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #eef2ff 58%, #e8f0ff 100%);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 22px;
  overflow: hidden;
}

.hero h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
}

.hero p {
  margin: 0;
  color: #344054;
  line-height: 1.55;
  max-width: 1180px;
}

.hero-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

.big-number {
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.metric-card,
.panel,
.action-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-card {
  min-height: 94px;
  padding: 13px;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.metric-value {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.15;
}

.metric-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 14px;
  min-width: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  min-width: 0;
}

.panel {
  padding: 15px;
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.panel p {
  margin: 0;
  color: #344054;
  line-height: 1.55;
}

.filter-bar {
  display: block;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  margin-bottom: 14px;
}

.filter-primary,
.filter-advanced {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.filter-primary {
  width: 100%;
}

.filter-bar select,
.filter-bar input {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  padding: 8px 9px;
  min-width: 150px;
  max-width: 100%;
  flex: 1 1 150px;
}

.filter-bar input {
  flex: 999 1 240px;
  min-width: 180px;
}

.filter-more {
  position: relative;
  flex: 0 0 auto;
}

.filter-more summary {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 11px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.filter-more summary::-webkit-details-marker {
  display: none;
}

.filter-more[open] summary {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: #1d4ed8;
}

.filter-advanced {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: min(720px, calc(100vw - 300px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.filter-advanced select {
  min-width: 170px;
  flex: 1 1 170px;
}

.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  background: var(--panel);
}

.segmented button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 7px 10px;
  color: var(--muted);
}

.segmented button.active {
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 8px 11px;
  font-weight: 750;
  white-space: nowrap;
}

.btn:hover {
  border-color: #b9c2d1;
  background: #f8fafc;
}

.btn.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.btn.danger {
  border-color: #fecaca;
  background: var(--red-soft);
  color: #991b1b;
}

.btn.ghost {
  border-color: transparent;
  background: transparent;
}

.btn.small {
  padding: 6px 8px;
  font-size: 12px;
}

.action-list {
  display: grid;
  gap: 10px;
}

.action-card {
  padding: 13px;
  text-align: left;
  width: 100%;
  display: grid;
  gap: 10px;
}

.action-card:hover {
  border-color: #b8c1d4;
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.08);
}

.action-card-top,
.action-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.action-title {
  font-weight: 850;
  line-height: 1.35;
}

.action-meta {
  color: var(--muted);
  font-size: 12px;
}

.badges,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.red {
  background: var(--red-soft);
  color: var(--red);
}

.badge.amber {
  background: var(--amber-soft);
  color: #8a5a0a;
}

.badge.green {
  background: var(--green-soft);
  color: var(--green);
}

.badge.blue {
  background: var(--blue-soft);
  color: #1d4ed8;
}

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

.badge.gray {
  background: var(--gray-soft);
  color: #475569;
}

.money.positive {
  color: var(--green);
  font-weight: 850;
}

.money.negative {
  color: var(--red);
  font-weight: 850;
}

.table-wrap {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px 11px;
  vertical-align: top;
  text-align: left;
  font-size: 13px;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

tr.clickable {
  cursor: pointer;
}

tr.clickable:hover td {
  background: #f8fbff;
}

td.compact {
  width: 1%;
  white-space: nowrap;
}

.bar-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 150px) minmax(0, 1fr) minmax(76px, auto);
  gap: 10px;
  align-items: center;
  font-size: 13px;
  min-width: 0;
}

.bar-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, #eef1f5, #f8fafc);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
  width: var(--bar-width, 0%);
  animation: growBar 700ms ease-out both;
  transition: filter 160ms ease, transform 160ms ease;
}

.bar-row:hover .bar-fill {
  filter: saturate(1.2) brightness(1.05);
  transform: scaleY(1.22);
}

.bar-fill.red {
  background: var(--red);
}

.bar-fill.amber {
  background: #d97706;
}

.bar-fill.green {
  background: var(--green);
}

.bar-fill.indigo {
  background: var(--indigo);
}

.waterfall {
  display: grid;
  gap: 9px;
}

.waterfall-row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr) minmax(86px, auto);
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.waterfall-track {
  height: 22px;
  background: #eef1f5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.16);
}

.waterfall-fill {
  height: 100%;
  background: var(--green);
  width: var(--bar-width, 0%);
  animation: growBar 750ms ease-out both;
}

.waterfall-fill.minus {
  background: var(--red);
}

.split-list {
  display: grid;
  gap: 8px;
}

.split-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.split-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sku-header {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.sku-title {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 15px;
}

.sku-title h2 {
  margin: 0;
  font-size: 21px;
}

.sku-title p {
  margin: 7px 0 0;
  color: var(--muted);
}

.scenario-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #fff;
  display: grid;
  gap: 8px;
}

.scenario-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.24);
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: 520px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.drawer-head,
.drawer-foot {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.drawer-body {
  overflow: auto;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.drawer-title {
  margin: 0;
  font-size: 18px;
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 14px;
  height: calc(100vh - 150px);
  min-height: 560px;
  align-items: stretch;
  overflow: hidden;
}

.chat-layout > .panel:first-child {
  position: sticky;
  top: 82px;
  align-self: start;
  max-height: calc(100vh - 106px);
  overflow: auto;
}

.prompt-list {
  display: grid;
  gap: 14px;
}

.prompt-group {
  display: grid;
  gap: 8px;
}

.prompt-group-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prompt-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  text-align: left;
  line-height: 1.35;
}

.prompt-button:hover {
  border-color: var(--blue);
}

.chat-window {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 4px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
}

.message {
  max-width: 78%;
  border-radius: 8px;
  padding: 11px 12px;
  line-height: 1.5;
}

.message.user {
  justify-self: end;
  background: var(--blue);
  color: #fff;
}

.message.ai {
  justify-self: start;
  background: var(--indigo-soft);
  color: #2f2a86;
}

.message.ai.streaming {
  min-width: 260px;
}

.type-cursor {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 3px;
  border-radius: 2px;
  background: #4f46e5;
  vertical-align: -2px;
  animation: cursorBlink 760ms infinite;
}

.message.typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.message.typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4f46e5;
  animation: typingPulse 1s infinite ease-in-out;
}

.message.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.message.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.message.typing em {
  margin-left: 4px;
  font-style: normal;
  color: #4f46e5;
}

@keyframes typingPulse {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes cursorBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.chat-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.chat-kpis div {
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.chat-kpis span,
.chat-table span {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-bottom: 3px;
}

.chat-kpis strong {
  color: #172033;
  font-size: 14px;
}

.chat-mini-chart {
  margin-top: 10px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.chat-bars {
  display: grid;
  gap: 8px;
}

.chat-bars div {
  display: grid;
  grid-template-columns: 120px 1fr 92px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.chat-bars i {
  height: 10px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

.chat-bars b {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #4f46e5;
  width: var(--bar-width, 0%);
  animation: growBar 700ms ease-out both;
}

.chat-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.chat-flow span {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  padding: 5px 8px;
  font-weight: 800;
}

.chat-flow b {
  color: #64748b;
}

.chat-table {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chat-result-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.chat-result-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.chat-result-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.chat-result-card strong {
  color: #172033;
  line-height: 1.3;
}

.chat-result-card em {
  color: #475569;
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.chat-table div {
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.chat-actions,
.chat-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.chat-followups button {
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #fff;
  color: #3730a3;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.chat-actions .btn,
.chat-followups button {
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.chat-actions .btn:hover,
.chat-followups button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.14);
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-input input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f0fdf4;
  color: #166534;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.loading-screen,
.load-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--text);
  background: var(--bg);
  text-align: center;
}

.load-error {
  align-content: center;
  gap: 12px;
}

.load-error h1 {
  margin: 0;
  font-size: 24px;
}

.load-error p {
  margin: 0;
  color: var(--muted);
}

.load-error code {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.table-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.chart {
  width: 100%;
  height: auto;
  min-height: 190px;
  display: block;
  overflow: visible;
}

.chart-grid {
  stroke: #e4eaf3;
  stroke-width: 1;
}

.chart-axis {
  stroke: #cbd5e1;
  stroke-width: 1.4;
}

.chart-text {
  fill: #64748b;
  font-size: 12px;
}

.chart-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i,
.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.chart-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 1100ms ease-out forwards;
  filter: drop-shadow(0 6px 10px rgba(37, 99, 235, 0.12));
}

.chart-area {
  opacity: 0;
  animation: fadeChart 700ms ease-out 220ms forwards;
}

.chart-dot,
.scatter-dot {
  stroke: #fff;
  stroke-width: 2;
  cursor: pointer;
  transition: r 160ms ease, filter 160ms ease, transform 160ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.chart-dot {
  opacity: 0;
  animation: popDot 420ms ease-out 520ms forwards;
}

.chart-dot:hover,
.scatter-dot:hover {
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.25));
  transform: scale(1.35);
}

.chart-dot.danger {
  fill: #dc2626;
}

.donut-wrap {
  display: grid;
  grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.donut {
  width: 150px;
  height: 150px;
  transform: rotate(-90deg);
  overflow: visible;
}

.donut-segment {
  cursor: pointer;
  transition: stroke-width 160ms ease, filter 160ms ease;
  animation: donutIn 800ms ease-out both;
}

.donut-segment:hover {
  stroke-width: 22;
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.18));
}

.donut-total,
.donut-label {
  transform: rotate(90deg);
  transform-origin: 55px 55px;
  text-anchor: middle;
  fill: #172033;
  font-weight: 850;
}

.donut-total {
  font-size: 17px;
}

.donut-label {
  fill: #64748b;
  font-size: 9px;
  font-weight: 750;
}

.agent-map {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 28px minmax(180px, 1fr) 28px minmax(180px, 1fr) 28px minmax(130px, 0.8fr);
  gap: 10px;
  align-items: stretch;
  min-height: 420px;
  overflow-x: auto;
}

.agent-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.agent-column.wide {
  background: #fff;
}

.agent-column-title {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.agent-node-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.agent-node {
  min-height: 42px;
  border-radius: 8px;
  padding: 9px;
  display: grid;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.agent-node.source {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.agent-node.core {
  border-color: #c7d2fe;
  background: #eef2ff;
  color: #3730a3;
}

.agent-node.expanded {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.agent-node.output {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.agent-flow-lines {
  display: grid;
  align-content: center;
  gap: 42px;
}

.agent-flow-lines span {
  position: relative;
  height: 2px;
  background: #94a3b8;
}

.agent-flow-lines span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #94a3b8;
}

.agent-card-list {
  display: grid;
  gap: 10px;
}

.agent-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.agent-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.agent-card p {
  margin: 8px 0;
  color: #344054;
  line-height: 1.45;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.agent-tags span {
  border-radius: 999px;
  background: var(--gray-soft);
  color: #475569;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
}

.agent-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.execution-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.execution-hero h2 {
  margin: 14px 0 6px;
  font-size: 24px;
}

.execution-hero p {
  margin: 0;
  color: #475569;
}

.execution-impact {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
}

.execution-impact span,
.execution-impact small {
  color: #475569;
  font-weight: 700;
}

.execution-impact strong {
  font-size: 28px;
}

.execution-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.execution-stepper button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
}

.execution-stepper strong,
.execution-stepper span {
  display: block;
}

.execution-stepper strong {
  color: #111827;
}

.execution-stepper span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.execution-stepper button.active {
  border-color: var(--blue);
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.execution-stepper button.done {
  border-color: #86efac;
  background: #f0fdf4;
}

.execution-simulation {
  margin: 14px 0;
}

.publish-log {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.publish-log div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.publish-log span {
  grid-row: span 2;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px #dbeafe;
}

.publish-log strong {
  color: #111827;
}

.publish-log em {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
  font-weight: 750;
}

.publish-log.complete span {
  background: #059669;
  box-shadow: 0 0 0 4px #dcfce7;
}

.ai-flow-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.ai-flow-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  display: grid;
  gap: 7px;
}

.ai-flow-strip span {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 850;
}

.flow-status-grid,
.flow-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 12px 0;
}

.flow-variants.compact {
  grid-template-columns: 1fr;
}

.flow-variants div,
.execution-plan-list div,
.flow-log div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.flow-variants div {
  display: grid;
  gap: 5px;
}

.flow-variants div.selected {
  border-color: var(--blue);
  background: #eff6ff;
}

.flow-variants em,
.execution-plan-list em,
.flow-log em {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.execution-plan-list,
.flow-log {
  display: grid;
  gap: 8px;
}

.execution-plan-list div {
  display: grid;
  grid-template-columns: 24px minmax(110px, 0.65fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.execution-plan-list.full {
  margin: 12px 0;
}

.flow-log div {
  display: grid;
  grid-template-columns: 44px minmax(110px, 0.55fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.execution-plan-list span,
.flow-log span {
  color: #64748b;
  font-weight: 850;
}

@keyframes growBar {
  from { width: 0; }
  to { width: var(--bar-width, 100%); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeChart {
  to { opacity: 1; }
}

@keyframes popDot {
  from { opacity: 0; transform: scale(0.35); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes donutIn {
  from { stroke-dashoffset: 25; opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .bar-fill,
  .waterfall-fill,
  .chart-line,
  .chart-area,
  .chart-dot,
  .donut-segment {
    animation: none;
    opacity: 1;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }
}

.muted {
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

.landing-shell {
  --lp-ink: #07111f;
  --lp-navy: #071b34;
  --lp-blue: #275cf6;
  --lp-cyan: #10b7d6;
  --lp-green: #00b884;
  --lp-lime: #d8ff35;
  --lp-yellow: #ffd84d;
  --lp-soft: #f3f7fb;
  background:
    radial-gradient(circle at 86% 4%, rgba(216, 255, 53, 0.28), transparent 28%),
    linear-gradient(180deg, #f9fbff 0%, #edf5fa 44%, #ffffff 100%);
  color: var(--lp-ink);
}

.landing-announcement {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--lp-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
}

.landing-announcement span {
  border-radius: 999px;
  background: var(--lp-lime);
  color: var(--lp-navy);
  padding: 4px 9px;
  font-size: 12px;
}

.landing-announcement button {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 850;
}

.landing-shell .landing-nav {
  min-height: 76px;
  border-bottom: 1px solid rgba(7, 27, 52, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(7, 27, 52, 0.06);
}

.landing-shell .landing-logo span {
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-cyan));
  box-shadow: 0 10px 28px rgba(39, 92, 246, 0.22);
}

.landing-logo .sp-logo-mark,
.landing-shell .landing-logo .sp-logo-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 7px);
  align-items: end;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 36px;
  padding: 6px 5px 5px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-shell .landing-logo strong {
  color: var(--lp-navy);
  font-size: 18px;
}

.landing-shell .landing-link {
  border-radius: 999px;
  padding: 9px 12px;
  color: #31405a;
}

.landing-shell .landing-link:hover {
  background: #eef6ff;
  color: var(--lp-blue);
}

.landing-shell .btn.primary {
  border-color: var(--lp-lime);
  background: var(--lp-lime);
  color: var(--lp-navy);
  box-shadow: 0 14px 34px rgba(140, 173, 0, 0.22);
}

.landing-shell .btn.dark {
  border-color: var(--lp-navy);
  background: var(--lp-navy);
  color: #ffffff;
}

.landing-shell .btn:hover,
.solution-grid button:hover,
.marketplace-grid div:hover,
.product-actions button:hover {
  transform: translateY(-2px);
}

.landing-shell .btn,
.solution-grid button,
.marketplace-grid div,
.product-actions button {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing-shell .landing-main {
  gap: clamp(44px, 6vw, 84px);
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 0;
}

.landing-shell .landing-hero {
  min-height: calc(100vh - 116px);
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: center;
  padding-top: clamp(44px, 6vw, 86px);
}

.landing-shell .landing-eyebrow,
.landing-shell .landing-section-head > span,
.landing-shell .landing-section.compare span,
.landing-shell .landing-form-section span {
  color: var(--lp-blue);
  letter-spacing: 0.04em;
}

.landing-shell .landing-eyebrow span {
  background: var(--lp-green);
  box-shadow: 0 0 0 7px rgba(0, 184, 132, 0.12);
}

.landing-shell .landing-hero h1 {
  max-width: 720px;
  color: var(--lp-navy);
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 0.98;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.landing-shell .landing-hero p,
.landing-shell .landing-section-head p,
.landing-shell .landing-form-section p {
  color: #4d5e76;
  font-size: 19px;
}

.landing-shell .landing-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-shell .landing-proof div,
.landing-shell .landing-section,
.landing-shell .pilot-form {
  border-color: rgba(7, 27, 52, 0.1);
  box-shadow: 0 18px 54px rgba(7, 27, 52, 0.08);
}

.landing-shell .landing-proof div {
  background: rgba(255, 255, 255, 0.78);
}

.landing-shell .landing-proof strong {
  color: var(--lp-green);
}

.landing-market-row,
.landing-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-market-row span,
.landing-trust strong,
.landing-trust span {
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 9px 12px;
  color: #31405a;
  font-size: 13px;
  font-weight: 850;
}

.landing-trust {
  justify-content: center;
  margin-top: -34px;
  padding: 10px;
}

.landing-trust span {
  background: var(--lp-navy);
  color: #ffffff;
}

.landing-shell .landing-product {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--lp-navy);
  color: #ffffff;
  box-shadow: 0 34px 90px rgba(7, 27, 52, 0.28);
}

.landing-shell .landing-product::before {
  position: absolute;
  inset: -120px -90px auto auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(216, 255, 53, 0.28);
  content: "";
}

.landing-shell .product-top {
  position: relative;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.landing-shell .product-top b,
.landing-shell .product-kpis span,
.landing-shell .product-actions span {
  color: #9db2ce;
}

.landing-shell .product-kpis div,
.landing-shell .product-flow,
.landing-shell .product-actions button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.landing-shell .product-kpis strong {
  color: var(--lp-lime);
}

.landing-shell .product-kpis strong.danger {
  color: #ff7b7b;
}

.product-chart {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 150px;
  margin: 14px 0;
  padding: 18px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(to top, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 36px),
    rgba(255, 255, 255, 0.05);
}

.product-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--lp-lime), var(--lp-green));
  animation: productBar 1.3s ease both;
}

.product-chart span:nth-child(even) {
  background: linear-gradient(180deg, var(--lp-cyan), var(--lp-blue));
}

@keyframes productBar {
  from {
    transform: scaleY(0.18);
    transform-origin: bottom;
    opacity: 0.45;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

.landing-shell .product-flow {
  color: #ffffff;
}

.landing-shell .product-flow i {
  background: rgba(216, 255, 53, 0.42);
}

.landing-shell .product-actions strong {
  color: #ffffff;
}

.landing-shell .product-actions em {
  color: #c6d4e6;
}

.landing-shell .product-actions b {
  color: var(--lp-lime);
}

.landing-shell .landing-section {
  background: rgba(255, 255, 255, 0.88);
}

.landing-section-head.centered {
  justify-items: center;
  text-align: center;
}

.landing-section-head.centered h2,
.landing-section-head.centered p {
  margin-left: auto;
  margin-right: auto;
}

.landing-shell .pain-grid div,
.landing-shell .agent-landing-grid div,
.landing-shell .compare-grid div {
  border-color: rgba(7, 27, 52, 0.1);
  background: #f7fbff;
}

.landing-shell .pain-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pain-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pain-card::after {
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: rgba(255, 97, 23, 0.08);
  content: "";
}

.pain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 97, 23, 0.34);
  box-shadow: 0 20px 48px rgba(255, 97, 23, 0.12);
}

.pain-card i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff2e9;
  color: #ff6117;
  font-style: normal;
  font-size: 24px;
  font-weight: 950;
}

.landing-shell .pain-grid strong {
  display: block;
  color: var(--lp-navy);
  font-size: 18px;
}

.pain-card em {
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
  color: #ff6117;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.solution-grid,
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.solution-grid button {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  text-align: left;
  box-shadow: 0 16px 38px rgba(7, 27, 52, 0.06);
}

.solution-grid button:hover {
  border-color: rgba(39, 92, 246, 0.38);
  box-shadow: 0 22px 55px rgba(39, 92, 246, 0.14);
}

.solution-grid em {
  color: var(--lp-blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-grid strong {
  color: var(--lp-navy);
  font-size: 22px;
}

.solution-grid p {
  margin: 0;
  color: #4d5e76;
  line-height: 1.5;
}

.solution-grid span {
  align-self: end;
  color: var(--lp-green);
  font-weight: 900;
}

.solution-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.solution-tabs button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 118px;
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(7, 27, 52, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.solution-tabs button:hover,
.solution-tabs button.active {
  transform: translateY(-2px);
  border-color: rgba(255, 97, 23, 0.55);
  background: #fff7ed;
  box-shadow: 0 18px 42px rgba(255, 97, 23, 0.14);
}

.solution-tabs i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
  font-style: normal;
  font-weight: 950;
}

.solution-tabs button.active i {
  background: #ff6117;
  color: #ffffff;
}

.solution-tabs strong {
  color: var(--lp-navy);
}

.solution-tabs span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.solution-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.solution-copy {
  display: grid;
  gap: 16px;
}

.solution-copy > span {
  justify-self: start;
  border-radius: 999px;
  background: #fff2e9;
  color: #ff6117;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.solution-copy h3 {
  margin: 0;
  color: var(--lp-navy);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.solution-copy p {
  margin: 0;
  color: #4d5e76;
  font-size: 18px;
  line-height: 1.55;
}

.solution-gives {
  border: 1px solid rgba(255, 97, 23, 0.22);
  border-radius: 8px;
  background: #fff7ed;
  padding: 16px;
}

.solution-gives strong {
  color: #ff6117;
}

.solution-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-copy li {
  position: relative;
  padding-left: 24px;
  color: #35445d;
  font-weight: 800;
}

.solution-copy li::before {
  position: absolute;
  left: 0;
  color: var(--lp-green);
  content: "✓";
  font-weight: 950;
}

.solution-screen {
  box-shadow: 0 28px 80px rgba(7, 27, 52, 0.16);
}

.solution-shot {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: #edf3f9;
}

.solution-shot img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.35s ease;
}

.solution-screen:hover .solution-shot img {
  transform: scale(1.018);
}

.solution-shot-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 27, 52, 0.9);
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 27, 52, 0.28);
  backdrop-filter: blur(10px);
}

.solution-shot-badge span {
  display: block;
  color: var(--lp-lime);
  font-size: 12px;
  font-weight: 950;
}

.solution-shot-badge strong {
  display: block;
  margin-top: 5px;
  font-size: 18px;
}

.solution-screen-body {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  min-height: 460px;
}

.solution-screen-body aside {
  display: grid;
  align-content: start;
  gap: 10px;
  background: var(--lp-navy);
  padding: 18px 12px;
  color: #ffffff;
}

.solution-screen-body aside b {
  margin-bottom: 10px;
}

.solution-screen-body aside span {
  border-radius: 8px;
  padding: 9px;
  color: #b8c8dd;
  font-size: 12px;
  font-weight: 850;
}

.solution-screen-body aside span.active {
  background: #ff6117;
  color: #ffffff;
}

.solution-screen-body main {
  display: grid;
  gap: 14px;
  background: #f6f9fc;
  padding: 16px;
}

.solution-screen-hero,
.solution-screen-kpis div,
.solution-bars,
.solution-checklist p {
  border: 1px solid rgba(7, 27, 52, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.solution-screen-hero {
  padding: 16px;
}

.solution-screen-hero span {
  display: inline-flex;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--lp-blue);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
}

.solution-screen-hero strong {
  display: block;
  margin-top: 12px;
  color: var(--lp-navy);
  font-size: 24px;
}

.solution-screen-hero p {
  margin: 8px 0 0;
  color: #5b6a80;
  font-size: 13px;
  line-height: 1.45;
}

.solution-screen-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.solution-screen-kpis div {
  padding: 13px;
}

.solution-screen-kpis span {
  color: #718198;
  font-size: 11px;
  font-weight: 850;
}

.solution-screen-kpis strong {
  display: block;
  margin-top: 5px;
  color: var(--lp-green);
  font-size: 20px;
}

.solution-screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 1fr);
  gap: 12px;
}

.solution-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 180px;
  padding: 18px;
  background:
    repeating-linear-gradient(to top, rgba(7, 27, 52, 0.05) 0 1px, transparent 1px 34px),
    #ffffff;
}

.solution-bars i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--lp-blue), var(--lp-cyan));
}

.solution-detail.orange .solution-bars i,
.solution-detail.orange .solution-screen-body aside span.active {
  background: linear-gradient(180deg, #ff9a3d, #ff6117);
}

.solution-detail.green .solution-bars i,
.solution-detail.green .solution-screen-body aside span.active {
  background: linear-gradient(180deg, var(--lp-lime), var(--lp-green));
}

.solution-detail.violet .solution-bars i,
.solution-detail.violet .solution-screen-body aside span.active,
.solution-detail.indigo .solution-bars i,
.solution-detail.indigo .solution-screen-body aside span.active {
  background: linear-gradient(180deg, #8b5cf6, #4f46e5);
}

.solution-detail.red .solution-bars i,
.solution-detail.red .solution-screen-body aside span.active {
  background: linear-gradient(180deg, #fb7185, #dc2626);
}

.solution-checklist {
  display: grid;
  gap: 9px;
}

.solution-checklist p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
}

.solution-checklist b {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--lp-green);
}

.solution-checklist span {
  color: #35445d;
  font-size: 13px;
  font-weight: 800;
}

.landing-shell .landing-flow {
  background:
    radial-gradient(circle at 80% 10%, rgba(216, 255, 53, 0.22), transparent 26%),
    var(--lp-navy);
}

.landing-shell .landing-flow-steps div {
  min-height: 120px;
}

.landing-shell .landing-flow-steps span {
  background: var(--lp-lime);
  color: var(--lp-navy);
}

.marketplace-grid {
  margin-bottom: 18px;
}

.marketplace-grid div {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 8px;
  background: #f7fbff;
  padding: 18px;
}

.marketplace-grid strong {
  color: var(--lp-navy);
  font-size: 21px;
}

.marketplace-grid p {
  margin: 0;
  color: #4d5e76;
  line-height: 1.5;
}

.marketplace-grid button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--lp-navy);
  color: #ffffff;
  padding: 8px 12px;
  font-weight: 850;
}

.landing-shell .integration-cloud span {
  border-color: rgba(7, 27, 52, 0.1);
  background: #ffffff;
}

.landing-shell .compare {
  background: var(--lp-navy);
  color: #ffffff;
}

.landing-shell .compare h2,
.landing-shell .compare span,
.landing-shell .compare strong {
  color: #ffffff;
}

.landing-shell .compare-grid div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.landing-shell .compare-grid p {
  color: #c6d4e6;
}

.landing-shell .compare-grid ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  color: #c6d4e6;
  list-style: none;
}

.landing-shell .compare-grid li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.landing-shell .compare-grid li::before {
  position: absolute;
  left: 0;
  color: var(--lp-lime);
  content: "•";
}

.landing-shell .compare-grid .winner {
  background: rgba(216, 255, 53, 0.12);
  border-color: rgba(216, 255, 53, 0.48);
}

.landing-shell .landing-form-section {
  background:
    linear-gradient(135deg, rgba(216, 255, 53, 0.42), rgba(16, 183, 214, 0.14)),
    #ffffff;
}

.landing-shell .pilot-form {
  background: rgba(255, 255, 255, 0.86);
}

.landing-shell .pilot-form input:focus {
  outline: 2px solid rgba(39, 92, 246, 0.2);
  border-color: var(--lp-blue);
}

.landing-dashboard-showcase {
  display: grid;
  gap: 26px;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(7, 27, 52, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(7, 27, 52, 0.14);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-bottom: 1px solid rgba(7, 27, 52, 0.08);
  background: #f7fbff;
  padding: 0 16px;
}

.browser-top i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff7b7b;
}

.browser-top i:nth-child(2) {
  background: #ffd84d;
}

.browser-top i:nth-child(3) {
  background: #41d6a3;
}

.browser-top span {
  margin-left: auto;
  margin-right: auto;
  color: #718198;
  font-size: 13px;
  font-weight: 800;
}

.shot-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 460px;
}

.shot-layout aside {
  display: grid;
  align-content: start;
  gap: 12px;
  background: var(--lp-navy);
  padding: 24px 16px;
  color: #ffffff;
}

.shot-layout aside b {
  margin-bottom: 12px;
}

.shot-layout aside span {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
  color: #c7d6ea;
  font-size: 13px;
  font-weight: 800;
}

.shot-layout main {
  display: grid;
  gap: 14px;
  background: #f4f8fc;
  padding: 18px;
}

.shot-alert {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 97, 23, 0.24);
  border-radius: 8px;
  background: #fff7ed;
  padding: 16px;
}

.shot-alert b {
  color: var(--lp-navy);
}

.shot-alert span {
  color: #ff6117;
  font-weight: 900;
}

.shot-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shot-kpis div,
.shot-chart,
.shot-list p {
  border: 1px solid rgba(7, 27, 52, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.shot-kpis div {
  padding: 16px;
}

.shot-kpis span {
  color: #718198;
  font-size: 12px;
  font-weight: 850;
}

.shot-kpis strong {
  display: block;
  margin-top: 6px;
  color: var(--lp-green);
  font-size: 26px;
}

.shot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 1fr);
  gap: 14px;
}

.shot-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
  background:
    repeating-linear-gradient(to top, rgba(7, 27, 52, 0.06) 0 1px, transparent 1px 44px),
    #ffffff;
}

.shot-chart i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--lp-blue), var(--lp-cyan));
}

.shot-list {
  display: grid;
  gap: 10px;
}

.shot-list p {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.shot-list b {
  color: var(--lp-navy);
}

.shot-list span {
  color: #4d5e76;
  font-size: 13px;
}

.shot-list strong {
  color: var(--lp-green);
}

.landing-number-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.landing-number-line div {
  border-top: 1px solid rgba(7, 27, 52, 0.12);
  padding: 22px 12px 0;
}

.landing-number-line strong {
  display: block;
  color: #ff6117;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.landing-number-line span {
  display: block;
  margin-top: 7px;
  color: #5b6a80;
  font-weight: 750;
}

.landing-logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.landing-logo-strip img {
  width: auto;
  height: 42px;
  border-radius: 8px;
  filter: saturate(0.92);
  box-shadow: 0 10px 26px rgba(7, 27, 52, 0.08);
}

.product-image-brief {
  background: #ffffff;
}

.brief-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brief-grid span {
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 999px;
  background: #f7fbff;
  padding: 10px 14px;
  color: var(--lp-navy);
  font-weight: 850;
}

.feature-showcase {
  overflow: hidden;
}

.feature-story-grid {
  display: grid;
  gap: 24px;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 28px;
  padding: 8px;
}

.feature-story.reverse {
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 0.95fr);
}

.feature-story.reverse .mini-product-shot {
  order: 2;
}

.feature-story > div:last-child {
  display: grid;
  gap: 14px;
  align-content: center;
}

.feature-story > div:last-child span {
  color: var(--lp-blue);
  font-weight: 900;
}

.feature-story h3 {
  margin: 0;
  color: var(--lp-navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.feature-story p {
  margin: 0;
  color: #4d5e76;
  font-size: 18px;
  line-height: 1.55;
}

.mini-product-shot {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(39, 92, 246, 0.15);
  border-radius: 8px;
  background:
    radial-gradient(circle at 76% 18%, rgba(39, 92, 246, 0.2), transparent 26%),
    linear-gradient(135deg, #eef8ff, #ffffff);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(7, 27, 52, 0.1);
}

.mini-product-shot.scenario {
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 255, 53, 0.34), transparent 28%),
    linear-gradient(135deg, #f7fff2, #ffffff);
}

.mini-product-shot.flow {
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 97, 23, 0.2), transparent 26%),
    linear-gradient(135deg, #fff7ed, #ffffff);
}

.mini-product-shot.quality {
  background:
    radial-gradient(circle at 80% 12%, rgba(16, 183, 214, 0.22), transparent 26%),
    linear-gradient(135deg, #f0fdff, #ffffff);
}

.mini-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 14px 36px rgba(7, 27, 52, 0.08);
}

.mini-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff7b7b;
}

.mini-toolbar span:nth-child(2) {
  background: #ffd84d;
}

.mini-toolbar span:nth-child(3) {
  background: #41d6a3;
}

.mini-toolbar b {
  margin-left: auto;
  color: #6b7a90;
  font-size: 12px;
}

.mini-lines {
  display: grid;
  gap: 12px;
  margin: 32px 0 18px;
}

.mini-lines i {
  height: 16px;
  border-radius: 999px;
  background: #dfe9f6;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 118px;
}

.mini-bars i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--lp-lime), var(--lp-green));
}

.mini-floating {
  position: absolute;
  right: 22px;
  bottom: 24px;
  border-radius: 8px;
  background: var(--lp-navy);
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(7, 27, 52, 0.22);
}

.agent-icon-section {
  background: #f7fbff;
}

.agent-icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.agent-icon-row button {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 156px;
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 12px;
  text-align: center;
}

.agent-icon-row button:hover {
  border-color: rgba(255, 97, 23, 0.42);
  box-shadow: 0 18px 44px rgba(255, 97, 23, 0.12);
}

.agent-icon-row i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff2e9;
  color: #ff6117;
  font-style: normal;
  font-size: 24px;
  font-weight: 900;
}

.agent-icon-row strong {
  color: var(--lp-navy);
}

.agent-icon-row span {
  color: #5b6a80;
  font-size: 13px;
}

.scheme-board {
  display: grid;
  grid-template-columns: 1fr 90px 1fr 90px 1fr 90px 1fr;
  align-items: center;
  gap: 10px;
}

.scheme-column,
.scheme-core {
  display: grid;
  gap: 10px;
  min-height: 220px;
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 16px 38px rgba(7, 27, 52, 0.06);
}

.scheme-column strong,
.scheme-core b {
  color: var(--lp-navy);
  font-size: 20px;
}

.scheme-column span,
.scheme-core span {
  border-radius: 8px;
  background: #f0f6ff;
  padding: 10px;
  color: #35445d;
  font-weight: 800;
}

.scheme-core {
  place-items: center;
  text-align: center;
  background: var(--lp-navy);
}

.scheme-core b {
  color: #ffffff;
}

.scheme-core span {
  background: rgba(216, 255, 53, 0.14);
  color: var(--lp-lime);
}

.scheme-lines {
  display: grid;
  gap: 16px;
}

.scheme-lines i {
  height: 2px;
  background: linear-gradient(90deg, rgba(39, 92, 246, 0.1), var(--lp-blue));
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.setup-grid div {
  display: grid;
  gap: 14px;
  min-height: 220px;
  border: 1px solid rgba(7, 27, 52, 0.1);
  border-radius: 8px;
  background: #ffffff;
  padding: 24px;
}

.setup-grid span {
  color: #ff6117;
  font-size: 34px;
  font-weight: 950;
}

.setup-grid strong {
  color: var(--lp-navy);
  font-size: 22px;
}

.setup-grid p {
  margin: 0;
  color: #4d5e76;
  line-height: 1.55;
}

.pricing-section {
  display: grid;
  place-items: center;
  background: #f7fbff;
}

.pricing-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(860px, 100%);
  text-align: center;
}

.pricing-card > span {
  border-radius: 999px;
  background: #fff2e9;
  color: #ff6117;
  padding: 7px 12px;
  font-weight: 900;
}

.pricing-card h2 {
  margin: 0;
  color: var(--lp-navy);
  font-size: clamp(32px, 4vw, 52px);
}

.pricing-card p {
  max-width: 640px;
  margin: 0;
  color: #4d5e76;
  font-size: 18px;
  line-height: 1.5;
}

.price-line strong {
  color: var(--lp-navy);
  font-size: clamp(34px, 4vw, 54px);
}

.price-line span {
  color: #6b7a90;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #35445d;
  font-weight: 800;
}

.pricing-card li::before {
  content: "✓ ";
  color: var(--lp-green);
  font-weight: 950;
}

@media (max-width: 1280px) {
  body {
    min-width: 0;
  }

  .landing-hero,
  .landing-section.compare,
  .landing-form-section {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
  }

  .landing-product {
    max-width: 760px;
  }

  .landing-nav nav {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero,
  .execution-hero,
  .sku-header {
    grid-template-columns: 1fr;
  }

  .filter-advanced {
    right: auto;
    left: 0;
    width: min(680px, calc(100vw - 48px));
  }

  .landing-shell .landing-hero,
  .landing-shell .landing-section.compare,
  .landing-shell .landing-form-section {
    grid-template-columns: 1fr;
  }

  .landing-shell .landing-hero {
    min-height: auto;
  }

  .landing-shell .landing-product {
    max-width: 820px;
  }

  .landing-shell .landing-proof {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .shot-layout,
  .shot-grid,
  .feature-story,
  .feature-story.reverse,
  .solution-detail,
  .solution-screen-grid {
    grid-template-columns: 1fr;
  }

  .feature-story.reverse .mini-product-shot {
    order: 0;
  }

  .landing-number-line,
  .setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-shell .pain-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .scheme-board {
    grid-template-columns: 1fr;
  }

  .scheme-lines {
    grid-template-columns: repeat(3, 1fr);
  }

  .scheme-lines i {
    height: 34px;
    width: 2px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(39, 92, 246, 0.1), var(--lp-blue));
  }

  .chat-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .chat-layout > .panel:first-child {
    position: static;
    max-height: 320px;
  }

  .chat-window {
    height: min(680px, calc(100vh - 120px));
    min-height: 520px;
  }

  .execution-plan-list div,
  .flow-log div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-announcement {
    justify-content: flex-start;
    text-align: left;
  }

  .landing-shell .landing-hero h1 {
    font-size: 42px;
  }

  .shot-layout {
    min-height: auto;
  }

  .shot-layout aside,
  .solution-screen-body aside {
    display: none;
  }

  .solution-screen-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .solution-screen-kpis {
    grid-template-columns: 1fr;
  }

  .solution-shot,
  .solution-shot img {
    min-height: 320px;
    height: 320px;
  }

  .shot-alert,
  .shot-list p {
    grid-template-columns: 1fr;
    display: grid;
  }

  .shot-kpis,
  .landing-number-line,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .landing-logo-strip {
    justify-content: flex-start;
  }

  .landing-logo-strip img {
    height: 36px;
  }

  .mini-product-shot {
    min-height: 260px;
  }
}

/* real demo-stand screenshot inside the browser frame */
.lp-main-screen { display: block; width: 100%; height: auto; }

/* embedded profit funnel (S5) in the pains section */
.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.pain-funnel { margin: 0; }
.pain-funnel img { display: block; width: 100%; height: auto; max-width: 320px; margin-inline: auto; }
@media (max-width: 860px) {
  .pain-layout { grid-template-columns: 1fr; }
  .pain-funnel img { max-width: 250px; }
}

/* merged agents block — heading + text full block width */
#lp-agents .agents-head h2 { max-width: none; }
#lp-agents .agents-head p { max-width: 940px; }
#lp-agents .agent-icon-row { margin-top: 4px; }

/* integrations — clean centered source chips + lots of breathing room */
#lp-integrations { display: grid; gap: clamp(30px, 4.5vw, 56px); }
#lp-integrations .integration-cloud { justify-content: center; gap: 12px; }

/* "Как это работает — простым языком" block */
.how-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}
.how-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid #e6eaf1;
  border-radius: 14px;
  background: #f8fbff;
  padding: 18px 20px;
}
.how-step > b {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 999px; flex: none;
  background: var(--lp-blue); color: #fff; font-size: 16px; font-weight: 900;
}
.how-step strong { display: block; color: var(--lp-navy); font-size: 17px; margin-bottom: 5px; }
.how-step p { margin: 0; color: #4d5e76; line-height: 1.5; font-size: 14.5px; }
.how-numbers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e6eaf1;
}
.how-numbers div { text-align: center; }
.how-numbers strong { display: block; color: var(--lp-blue); font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.1; }
.how-numbers span { color: #5b6a80; font-size: 13px; }
@media (max-width: 860px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
}

/* pains — number to top-right on the icon row; align title/text/consequence across cards via subgrid */
.pain-card {
  grid-row: span 4;
  grid-template-rows: subgrid;
  min-height: 0;
}
.pain-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.pain-top span { color: #1f5eff; font-weight: 900; font-size: 20px; }
.pain-card em { margin-top: 0; align-self: end; }

/* compare — breathing room between eyebrow and title */
.landing-shell .compare > div { display: grid; gap: 16px; align-content: start; }

/* integrations — more breathing room between logos */
.landing-logo-strip { gap: clamp(32px, 5vw, 68px); row-gap: 28px; }

/* slimmer header nav */
.landing-nav .btn { padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
.landing-nav .landing-logo strong { font-size: 16px; }

/* anonymized client example in the "how it works" block */
.how-example {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  border: 1px dashed #c2d0e6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff, #f2f6fb);
  padding: 18px 22px;
}
.how-example-tag {
  font-size: 11px; font-weight: 900; letter-spacing: 0.06em;
  text-transform: uppercase; color: #1f5eff;
}
.how-example > strong { color: var(--lp-navy); font-size: 18px; }
.how-example-chips { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.how-example-chips span { color: #4d5e76; font-size: 14px; }
.how-example-chips b { color: var(--lp-navy); font-weight: 900; }

/* real brand logos in the hero market row */
.landing-market-row span { display: inline-flex; align-items: center; }
.landing-market-row span img { display: block; height: 20px; width: auto; max-width: 118px; }
.landing-market-row span.lbl { font-size: 13px; font-weight: 850; color: #31405a; }

/* ===== Premium scheme (S1): источники → таблица → агенты → действия ===== */
.agent-scheme .pf-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.12fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(6px, 1vw, 16px);
  margin-top: 10px;
}
.pf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e6eaf1;
  border-radius: 20px;
  padding: clamp(14px, 1.4vw, 20px);
  box-shadow: 0 18px 42px rgba(7, 27, 52, 0.08);
}
.pf-title {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 800;
  color: var(--lp-navy);
}
.pf-title.light { color: #eaf2ff; }
.pf-caption {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7890;
  font-weight: 600;
}

/* sources */
.pf-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-logos span {
  display: grid; place-items: center; height: 52px;
  border: 1px solid #eef1f6; border-radius: 12px; background: #fff;
}
.pf-logos img { max-height: 26px; max-width: 74%; width: auto; }

/* universal table (dark) */
.pf-table {
  background: linear-gradient(180deg, #0b1f3a 0%, #07142a 100%);
  border: 1px solid rgba(39, 92, 246, 0.45);
  box-shadow: 0 0 0 4px rgba(39, 92, 246, 0.1), 0 26px 60px rgba(7, 27, 52, 0.3);
  color: #cdd9ef;
}
.pf-table-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.pf-table-bar .d { width: 9px; height: 9px; border-radius: 999px; }
.pf-table-bar .d.g { background: #22c55e; }
.pf-table-bar .d.a { background: #f59e0b; }
.pf-table-bar .d.r { background: #ef4444; }
.pf-table-bar .pf-lime { margin-left: auto; width: 34px; height: 8px; border-radius: 999px; background: var(--lp-lime); }
.pf-grid { display: grid; gap: 6px; }
.pf-grid > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pf-grid > div > span {
  height: 12px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.05);
}
.pf-grid > div > span.on {
  background: rgba(16, 183, 214, 0.3); border-color: rgba(16, 183, 214, 0.55);
  box-shadow: 0 0 10px rgba(16, 183, 214, 0.45);
}
.pf-grid > div.lime > span { background: rgba(216, 255, 53, 0.16); border-color: rgba(216, 255, 53, 0.5); }
.pf-quality {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 12px; font-size: 11px; font-weight: 700; color: #9fb0cc;
}
.pf-quality span { width: 9px; height: 9px; border-radius: 999px; }
.pf-quality .g { background: #22c55e; }
.pf-quality .a { background: #f59e0b; }
.pf-quality .r { background: #ef4444; }

/* agents */
.pf-rows { display: grid; gap: 8px; }
.pf-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border: 1px solid #eef1f6; border-radius: 12px; background: #fff;
}
.pf-row > span { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: #28344a; }
.pf-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: none; }
.pf-ic svg { width: 15px; height: 15px; }
.pf-ic.green { background: #e3f7ef; color: #00b884; }
.pf-ic.indigo { background: #eceafe; color: #4f46e5; }
.pf-ic.amber { background: #fdf0db; color: #b7791f; }
.pf-ic.blue { background: #e6eefe; color: #275cf6; }
.pf-ic.navy { background: #e7ebf2; color: #071b34; }
.pf-spark { width: 16px; height: 16px; color: #9fb6e8; flex: none; }
.pf-more { margin-top: 10px; font-size: 12px; font-weight: 700; color: #7a8aa3; text-align: center; }

/* actions */
.pf-actions .pf-title { text-align: center; }
.pf-bolt {
  position: relative; width: 54px; height: 54px; border-radius: 16px;
  background: #e6eefe; display: grid; place-items: center; margin: 0 auto 14px;
}
.pf-bolt > svg { width: 28px; height: 28px; color: #275cf6; }
.pf-check {
  position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px;
  border-radius: 999px; background: #00b884; display: grid; place-items: center;
}
.pf-check svg { width: 12px; height: 12px; color: #fff; }
.pf-arow {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border: 1px solid #eef1f6; border-radius: 12px; background: #fff;
}
.pf-arow > svg { width: 16px; height: 16px; color: #275cf6; flex: none; }
.pf-arow > i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(39, 92, 246, 0.15), rgba(39, 92, 246, 0.5)); }
.pf-arow .dot { width: 9px; height: 9px; border-radius: 999px; flex: none; }
.pf-arow .dot.blue { background: #275cf6; }
.pf-arow .dot.green { background: #00b884; }

/* glowing connector arrows */
.pf-arrow { display: grid; place-items: center; min-width: clamp(20px, 2.4vw, 42px); }
.pf-arrow i {
  position: relative; display: block; width: clamp(18px, 2.2vw, 40px); height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, rgba(39, 92, 246, 0.25), var(--lp-blue));
  box-shadow: 0 0 10px rgba(39, 92, 246, 0.45);
}
.pf-arrow i::after {
  content: ""; position: absolute; right: -2px; top: -3px;
  border-left: 7px solid var(--lp-blue);
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}

/* stack on tablet/mobile */
@media (max-width: 1024px) {
  .agent-scheme .pf-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    max-width: 440px;
    margin-inline: auto;
  }
  .pf-arrow { min-width: 0; padding: 4px 0; }
  .pf-arrow i { transform: rotate(90deg); }
}
