:root {
  --ink: #062437;
  --muted: #5a6f7d;
  --teal: #007b83;
  --teal-dark: #00545d;
  --line: #c9dde3;
  --surface: #f5fbfc;
  --paper: #ffffff;
  --accent: #d9152f;
  --gold: #f6b44b;
  --green: #21936b;
  --shadow: 0 24px 70px rgba(4, 39, 55, 0.12);
  color-scheme: light;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eaf3f6;
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.demo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  letter-spacing: 0;
}

.demo-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.demo-nav a,
.cta-row a,
.demo-controls button,
.ps-tabs button,
.tracking-buttons button {
  min-height: 44px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: #fff;
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.demo-nav a {
  padding: 8px 12px;
  font-size: 13px;
}

.intro-band,
.demo-section,
.demo-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: end;
  padding: clamp(30px, 6vw, 74px) 0 20px;
}

.intro-copy h1,
.section-heading h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.intro-copy h1 {
  max-width: 880px;
  font-size: clamp(34px, 6vw, 74px);
  overflow-wrap: anywhere;
}

.intro-copy p:last-child,
.section-heading p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-status {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.intro-status span,
.intro-status small {
  color: var(--muted);
}

.intro-status strong {
  font-size: 26px;
}

.demo-section {
  scroll-margin-top: 92px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 24px;
}

.license-note,
.version-strip {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.license-note {
  padding: 16px 18px;
  color: var(--muted);
}

.license-note strong {
  color: var(--ink);
}

.version-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.version-strip span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

.version-strip span:last-child {
  border-right: 0;
}

.version-strip strong {
  color: var(--ink);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 46px);
  overflow-wrap: anywhere;
}

.support-stage,
.dashboard-preview,
.tracking-stage,
.bundle-grid,
.lab-status-grid,
.ps-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
}

.real-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 22px;
}

.real-shot {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.real-shot-grid .real-shot {
  margin-bottom: 0;
}

.real-shot img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  background: #eef5f7;
}

.real-shot--desktop img {
  max-height: 440px;
}

.real-shot--phone img {
  max-height: 440px;
  object-fit: contain;
  background: #e8f1f4;
}

.real-shot--wide img {
  max-height: 560px;
}

.real-shot figcaption {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.phone-preview,
.desk-preview,
.dashboard-main,
.dashboard-side,
.bundle-card,
.lab-card,
.prestashop-window,
.site-preview,
.event-console,
.ps-shop-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.phone-preview {
  display: grid;
  align-content: space-between;
  min-height: 520px;
  padding: 14px;
  background: #f9fdfe;
}

.phone-top,
.desk-toolbar,
.ps-titlebar,
.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.phone-top {
  padding: 12px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #55d89f;
}

.chat-thread {
  display: grid;
  gap: 12px;
  align-content: end;
  min-height: 330px;
  padding: 16px 4px;
}

.message {
  max-width: 82%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
}

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

.message--operator {
  justify-self: start;
  background: #e6eef1;
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.chat-composer input {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.chat-composer button,
.primary-link {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.desk-preview {
  padding: 16px;
}

.desk-toolbar {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.desk-toolbar span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8e3a3;
  color: #5b4200;
  font-size: 13px;
  font-weight: 800;
}

.request-card {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  padding: 14px;
  border-left: 4px solid var(--teal);
  background: #fff;
  border-radius: 6px;
}

.request-card span,
.request-card small,
.rule-strip label,
.dashboard-kpis span {
  color: var(--muted);
}

.desk-context dl,
.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.desk-context div,
.dashboard-kpis div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.desk-context dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.desk-context dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.demo-controls,
.tracking-buttons,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-controls button,
.tracking-buttons button,
.ps-tabs button {
  padding: 10px 14px;
}

.cta-row {
  margin-top: 22px;
}

.cta-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
}

.bundle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lab-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.operator-flow article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
}

.operator-flow span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(0, 123, 131, 0.22);
  border-radius: 999px;
  background: #eef7f8;
  color: var(--teal-dark);
  font-weight: 900;
}

.operator-flow strong,
.operator-flow small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.operator-flow small {
  grid-column: 2;
  color: var(--muted);
}

.lab-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #fff;
}

.lab-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-card strong {
  font-size: 24px;
}

.readiness {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(0, 84, 93, 0.18);
  border-radius: 6px;
  background: #eef7f8;
  color: var(--teal-dark);
  font-weight: 800;
}

.lab-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.lab-card--ready {
  border-color: rgba(33, 147, 107, 0.45);
  background: #f4fbf7;
}

.bundle-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  text-decoration: none;
}

.bundle-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bundle-card strong {
  font-size: 24px;
}

.dashboard-preview {
  grid-template-columns: 210px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.dashboard-side {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  min-width: 0;
}

.dashboard-side span {
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
  color: #c9d8de;
  overflow-wrap: anywhere;
}

.readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.readiness-list span {
  display: inline-flex;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid rgba(0, 84, 93, 0.16);
  border-radius: 999px;
  background: #eef7f8;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dashboard-side .side-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dashboard-main {
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: #fff;
  min-width: 0;
}

.dashboard-kpis strong {
  display: block;
  font-size: 28px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.rule-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbfc;
  min-width: 0;
}

.rule-strip output {
  font-weight: 900;
}

.demo-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border-radius: 6px;
}

.demo-table th,
.demo-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.demo-table th {
  background: #eef7f8;
  color: var(--teal-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.prestashop-window {
  overflow: hidden;
  background: #fff;
}

.ps-titlebar {
  padding: 16px;
  background: #293846;
  color: #fff;
}

.ps-titlebar span {
  color: #cfe0e6;
}

.ps-content {
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 18px;
}

.ps-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.ps-tabs button.is-active {
  background: var(--teal);
  color: #fff;
}

.ps-panel {
  min-height: 260px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.ps-panel h3 {
  margin-top: 0;
  font-size: 24px;
}

.meter {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #d8e5e9;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.check-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.tracking-stage {
  align-items: stretch;
}

.site-preview,
.ps-shop-preview,
.event-console {
  padding: 20px;
}

.site-bar {
  justify-content: flex-start;
  margin-bottom: 36px;
}

.site-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
}

.site-preview h3,
.ps-shop-preview h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.event-console {
  background: #071e2e;
  color: #f8fbfc;
}

.event-console ol {
  display: grid;
  gap: 8px;
  max-height: 280px;
  margin: 16px 0 0;
  padding-left: 22px;
  overflow: auto;
}

.event-console code {
  color: #9eead9;
}

.product-preview {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.image-block {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 123, 131, 0.18), rgba(217, 21, 47, 0.14)),
    repeating-linear-gradient(45deg, #ffffff, #ffffff 8px, #eef7f8 8px, #eef7f8 16px);
  border: 1px solid var(--line);
}

.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 34px 0 48px;
  color: var(--muted);
}

.demo-footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 880px) {
  .demo-header,
  .intro-band,
  .support-stage,
  .dashboard-preview,
  .tracking-stage,
  .operator-flow,
  .ps-content,
  .bundle-grid,
  .lab-status-grid,
  .real-shot-grid,
  .version-strip {
    grid-template-columns: 1fr;
  }

  .version-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .version-strip span:last-child {
    border-bottom: 0;
  }

  .demo-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .intro-status {
    max-width: 360px;
  }

  .dashboard-side {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-right: 0;
  }

  .desk-context dl,
  .dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .phone-preview {
    min-height: 430px;
  }
}

@media (max-width: 560px) {
  .demo-header {
    padding-inline: 14px;
  }

  .demo-section {
    width: min(100% - 20px, 1180px);
    padding: 18px;
  }

  .intro-band,
  .demo-footer {
    width: min(100% - 20px, 1180px);
  }

  .intro-copy h1 {
    font-size: 30px;
    line-height: 1.14;
  }

  .section-heading h2 {
    font-size: 25px;
    line-height: 1.16;
  }

  .intro-copy p:last-child,
  .section-heading p:last-child {
    font-size: 16px;
  }

  .dashboard-side {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-side span,
  .dashboard-kpis div,
  .rule-strip,
  .operator-flow article,
  .readiness-list span {
    max-width: 100%;
  }

  .operator-flow article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rule-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-table {
    font-size: 12px;
  }

  .demo-table th,
  .demo-table td {
    padding: 8px 6px;
    overflow-wrap: anywhere;
  }

  .product-preview {
    grid-template-columns: 1fr;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .demo-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
