:root {
  --blue: #315cff;
  --bright-blue: #4d8dff;
  --aqua: #35d6c1;
  --sky: #dff5ff;
  --off-white: #fafcff;
  --navy: #101828;
  --muted: #60708a;
  --line: #dde6f2;
  --soft-line: #edf2f8;
  --panel: #ffffff;
  --dark: #07111f;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(29, 62, 118, 0.14);
  --soft-shadow: 0 14px 38px rgba(29, 62, 118, 0.08);
}

/* Dashboard final pass: clean customer portal layout */
body.is-logged-in .dashboard-section {
  background: #f5f8fc;
}

body.is-logged-in .dashboard-shell {
  overflow: hidden;
}

.dashboard-page:not(.is-active) {
  display: none !important;
}

.dashboard-page.is-active {
  display: grid !important;
  gap: 20px;
}

.dashboard-page[data-dashboard-page="overview"] {
  grid-template-columns: 1fr;
}

.overview-extra {
  display: none !important;
}

.kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  display: block;
  min-height: 142px;
  padding: 22px;
  border: 1px solid #dbe7f4;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 35, 73, 0.07);
}

.kpi-card span,
.kpi-card strong,
.kpi-card em {
  display: block;
}

.kpi-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-card strong {
  margin-top: 16px;
  color: #101828;
  font-size: 38px;
  line-height: 1;
}

.kpi-card em {
  margin-top: 12px;
  color: #00a796;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.dashboard-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.dashboard-panel,
.knowledge-grid article,
.integration-card {
  border: 1px solid #dbe7f4;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 35, 73, 0.06);
}

.dashboard-panel {
  padding: 24px;
}

.dashboard-panel.wide {
  grid-column: span 1;
}

.dashboard-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.activity-chart {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(48px, 1fr));
  gap: 14px;
}

.bar-stack {
  height: 190px;
}

.topic-row {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
}

.topic-track {
  grid-column: 1 / -1;
}

.performance-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-table {
  font-size: 15px;
}

.data-table th,
.data-table td {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .kpi-grid,
  .dashboard-grid,
  .analytics-grid,
  .knowledge-grid,
  .integration-grid,
  .billing-grid,
  .settings-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-actions {
    align-items: flex-start;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background:
    radial-gradient(circle at 82% 5%, rgba(53, 214, 193, 0.16), transparent 34rem),
    radial-gradient(circle at 65% 14%, rgba(49, 92, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7fbff 42%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(49, 92, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, black 70%, transparent 100%);
  opacity: 0.45;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  box-shadow: 0 12px 30px rgba(49, 92, 255, 0.28);
}

.brand-mark span,
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 9px;
  width: 25px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  transform: skew(-25deg);
}

.brand-mark span {
  top: 8px;
}

.brand-mark::before {
  top: 18px;
  width: 22px;
}

.brand-mark::after {
  top: 18px;
  left: 7px;
  width: 8px;
  height: 22px;
}

.nav-links,
.nav-actions,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 34px;
  font-size: 14px;
  font-weight: 720;
}

.nav-links a,
.login,
.button,
.product-card a,
.footer a {
  text-decoration: none;
}

.nav-links a {
  color: #1f2a3d;
}

.nav-actions {
  gap: 22px;
  font-weight: 750;
}

.login {
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0f58ff);
  box-shadow: 0 18px 42px rgba(49, 92, 255, 0.28);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}

.button.small {
  min-height: 46px;
  padding: 0 22px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 64px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 74px 6vw 76px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eef5ff;
}

.pill.aqua {
  color: #008f7f;
  background: #e8fffb;
}

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(54px, 6.3vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, var(--blue), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy,
.section-heading p,
.product-card p,
.problem p,
.how p,
.control-section p,
.knowledge-section p,
.integrations p,
.insights-section p,
.price-card p,
.price-card li,
.faq p,
.final-cta p,
.footer p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-copy {
  max-width: 640px;
  font-size: 21px;
}

.control-line {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 28px;
}

.trust-row {
  gap: 28px;
  flex-wrap: wrap;
  color: #596985;
  font-size: 14px;
  font-weight: 800;
}

.trust-row span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  border-radius: 50%;
  color: var(--blue);
  background: #eef5ff;
}

.mini-window,
.product-card,
.feature-grid article,
.knowledge-demo,
.integration-map,
.report-card,
.price-card,
.faq details {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.hero-demo {
  width: 100%;
}

.mini-window {
  position: relative;
  width: 100%;
  max-width: 720px;
  min-height: 548px;
  margin-left: auto;
  padding: 22px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 8%, rgba(53, 214, 193, 0.13), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 30px 90px rgba(29, 62, 118, 0.16);
}

.mini-window-top,
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mini-window-top {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft-line);
}

.mini-status,
.status-badge,
.badge,
.coming-soon {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.mini-status {
  padding: 9px 12px;
  color: #008f7f;
  background: #e8fffb;
}

.mini-layout {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 16px;
  margin-top: 18px;
}

.mini-conversation-panel,
.mini-main-panel,
.mini-context-panel {
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: #fff;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.avatar.teal {
  background: var(--aqua);
}

.avatar.gold {
  background: #f5a524;
}

.status-badge {
  padding: 10px 14px;
  color: #0e9c8a;
  background: #e9fffb;
}

.mini-conversation-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.mini-panel-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.mini-customer-card {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f6f9ff;
}

.mini-customer-card strong,
.mini-customer-card small {
  display: block;
}

.mini-customer-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.mini-message {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  color: #344156;
  background: #f1f5ff;
  font-size: 14px;
  line-height: 1.52;
  font-weight: 760;
}

.mini-main-panel {
  position: relative;
  min-height: 352px;
  padding: 16px;
  overflow: hidden;
}

.mini-context-panel {
  padding: 14px;
  margin-bottom: 12px;
  background: #f9fcff;
}

.context-grid {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px 10px;
  margin-top: 10px;
}

.context-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.context-grid strong {
  color: #344156;
  font-size: 13px;
}

.mini-state {
  display: none;
  animation: miniStateIn 0.48s ease both;
}

.mini-demo[data-demo-state="0"] .state-message,
.mini-demo[data-demo-state="1"] .state-retrieving,
.mini-demo[data-demo-state="2"] .state-ready,
.mini-demo[data-demo-state="3"] .state-sent {
  display: block;
}

.request-card {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dce7ff;
}

.request-dot {
  width: 11px;
  height: 11px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(49, 92, 255, 0.1);
}

.request-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.progress-shell {
  height: 8px;
  margin: 4px 0 16px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef3fa;
}

.progress-shell span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
  transform-origin: left;
  animation: progressFill 3s ease both;
}

.retrieval-stack {
  display: grid;
  gap: 10px;
}

.retrieval-stack div {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 14px;
  background: #fbfdff;
  opacity: 0;
  transform: translateY(8px);
  animation: retrieveItem 0.5s ease forwards;
}

.retrieval-stack div:nth-child(2) {
  animation-delay: 0.35s;
}

.retrieval-stack div:nth-child(3) {
  animation-delay: 0.7s;
}

.retrieval-stack div:nth-child(4) {
  animation-delay: 1.05s;
}

.retrieval-stack span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #008f7f;
  background: #dffbf7;
  font-weight: 950;
}

.retrieval-stack strong {
  color: #40506a;
  font-size: 14px;
}

.retrieval-stack small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.response-ready-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #008f7f;
  background: #e8fffb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-response-draft {
  padding: 16px;
  border: 1px solid var(--soft-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.mini-response-draft p {
  margin: 0 0 8px;
  color: #40506a;
  font-size: 13px;
  line-height: 1.48;
  animation: responseReveal 0.7s ease both;
}

.human-required {
  display: inline-flex;
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.human-required::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 4px 8px 0 0;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 6px rgba(53, 214, 193, 0.12);
}

.sent-confirmation {
  display: grid;
  min-height: 206px;
  place-items: center;
  align-content: center;
  gap: 10px;
  border-radius: 18px;
  color: #008f7f;
  background: linear-gradient(180deg, #effffc, #f9fffe);
  text-align: center;
}

.sent-confirmation span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--aqua);
  font-size: 28px;
  font-weight: 950;
  animation: successPop 0.45s ease both;
}

.sent-confirmation strong {
  color: var(--navy);
  font-size: 22px;
}

.sent-confirmation p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.approval-bar {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--blue);
  background: #fff;
  font-weight: 850;
  font-family: inherit;
}

button.send {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.mini-actions {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

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

.demo-dots button {
  min-height: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cdd8ea;
}

.demo-dots button.active {
  width: 30px;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}

.mini-demo[data-demo-state="3"] [data-demo-approve] {
  background: var(--aqua);
  border-color: var(--aqua);
}

.product-strip,
.section,
.control-section,
.knowledge-section,
.insights-section,
.onboarding-section,
.final-cta,
.footer {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 6vw;
  padding-right: 6vw;
}

.product-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: 18px;
  padding-bottom: 76px;
}

.product-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 34px;
  border-radius: 24px;
}

.product-card h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 10px;
}

.product-card ul {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.product-card li {
  margin: 10px 0;
  color: #52627c;
  font-weight: 730;
}

.product-card li::before {
  content: "✓";
  color: var(--blue);
  margin-right: 9px;
}

.knowledge li::before {
  color: #05a997;
}

.product-icon {
  display: grid;
  place-items: center;
  min-height: 190px;
  border-radius: 20px;
  background: linear-gradient(145deg, #eef5ff, #f7fbff);
  color: var(--blue);
  font-size: 80px;
  font-weight: 300;
}

.knowledge .product-icon {
  color: #05a997;
  background: linear-gradient(145deg, #e8fffb, #f8fffe);
}

.product-card a {
  color: var(--blue);
  font-weight: 900;
}

.knowledge a {
  color: #05a997;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.problem {
  max-width: none;
  background:
    radial-gradient(circle at 48% 52%, rgba(49, 92, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 72% 46%, rgba(53, 214, 193, 0.14), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #f6fbff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem .section-heading,
.problem .problem-story {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.problem .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 54px;
}

.problem .section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.problem .section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(44px, 5.1vw, 76px);
}

.problem .section-heading p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 10px;
  font-size: 20px;
}

.problem-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 170px minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.problem-story::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(49, 92, 255, 0.05), transparent 34%, transparent 66%, rgba(53, 214, 193, 0.08)),
    radial-gradient(circle at 50% 50%, rgba(49, 92, 255, 0.1), transparent 22rem);
}

.manual-side,
.fulfilliq-side,
.fulfilliq-bridge {
  position: relative;
  z-index: 2;
}

.story-label {
  margin-bottom: 18px;
  color: #6b7b94;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-label.blue {
  color: var(--blue);
}

.manual-canvas {
  position: relative;
  min-height: 585px;
}

.manual-paths,
.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.manual-paths path,
.flow-lines path {
  fill: none;
  stroke: rgba(49, 92, 255, 0.26);
  stroke-width: 2;
  stroke-dasharray: 8 12;
  animation: dashFlow 8s linear infinite;
}

.manual-paths path:nth-child(2),
.flow-lines path:nth-child(2) {
  stroke: rgba(53, 214, 193, 0.34);
  animation-delay: -1s;
}

.manual-paths path:nth-child(3),
.flow-lines path:nth-child(3) {
  animation-delay: -2s;
}

.manual-paths path:nth-child(4) {
  stroke: rgba(49, 92, 255, 0.18);
  animation-delay: -3s;
}

.system-card {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  width: min(310px, 72%);
  min-height: 86px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(29, 62, 118, 0.09);
  animation: cardDrift 7s ease-in-out infinite;
}

.system-card strong,
.system-card small {
  display: block;
}

.system-card strong {
  color: #233048;
  font-size: 14px;
  line-height: 1.25;
}

.system-card small {
  margin-top: 5px;
  color: #7a899f;
  font-size: 12px;
  font-weight: 740;
}

.system-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 950;
}

.system-icon.shop {
  color: #5cad35;
  background: #eefbe9;
}

.system-icon.track {
  color: #7559e8;
  background: #f1efff;
}

.system-icon.policy {
  color: #d49419;
  background: #fff8e8;
}

.system-icon.write {
  color: #2d74ee;
  background: #edf5ff;
}

.system-icon.send {
  color: #08a997;
  background: #e8fffb;
}

.email-card {
  top: 16px;
  left: 0;
}

.order-card {
  top: 96px;
  right: 8px;
  animation-delay: -1s;
}

.tracking-card {
  top: 178px;
  left: 22px;
  animation-delay: -2s;
}

.policy-card {
  top: 258px;
  right: 0;
  animation-delay: -3s;
}

.write-card {
  top: 336px;
  left: 4px;
  animation-delay: -4s;
}

.send-card {
  top: 414px;
  right: 34px;
  animation-delay: -5s;
}

.manual-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 15px 17px;
  border: 1px solid #dce8ff;
  border-radius: 16px;
  color: #52627c;
  background: rgba(248, 251, 255, 0.96);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.45;
}

.fulfilliq-bridge {
  display: grid;
  min-height: 585px;
  place-items: center;
  text-align: center;
}

.flow-lines {
  z-index: 1;
}

.bridge-mark {
  position: relative;
  z-index: 2;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid #cfdcff;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 58px rgba(49, 92, 255, 0.16);
}

.bridge-mark span {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--blue), var(--aqua));
  mask:
    linear-gradient(#000 0 0) 10px 8px / 44px 13px no-repeat,
    linear-gradient(#000 0 0) 10px 26px / 36px 13px no-repeat,
    linear-gradient(#000 0 0) 10px 8px / 14px 52px no-repeat;
}

.fulfilliq-bridge p {
  position: absolute;
  bottom: 26px;
  margin: 0;
  color: #6b7b94;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.smart-interface {
  padding: 24px;
  border: 1px solid #d9e4f4;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.smart-top,
.customer-question,
.retrieval-list div,
.approval-status {
  display: flex;
  align-items: center;
}

.smart-top {
  justify-content: space-between;
  margin-bottom: 22px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3b4a64;
  font-weight: 900;
}

.mini-brand .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.mini-brand .brand-mark span,
.mini-brand .brand-mark::before,
.mini-brand .brand-mark::after {
  left: 6px;
  width: 16px;
  height: 5px;
}

.mini-brand .brand-mark span {
  top: 5px;
}

.mini-brand .brand-mark::before {
  top: 12px;
  width: 14px;
}

.mini-brand .brand-mark::after {
  top: 12px;
  left: 5px;
  width: 5px;
  height: 14px;
}

.dots {
  color: #bbc6d6;
  letter-spacing: 0.18em;
}

.customer-question {
  gap: 12px;
  margin-bottom: 18px;
}

.customer-question p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  color: #324056;
  background: #f1f5ff;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 760;
}

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

.retrieval-list div {
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fbfdff;
  animation: retrievalGlow 4.8s ease-in-out infinite;
}

.retrieval-list div:nth-child(2) {
  animation-delay: 0.45s;
}

.retrieval-list div:nth-child(3) {
  animation-delay: 0.9s;
}

.retrieval-list div:nth-child(4) {
  animation-delay: 1.35s;
}

.retrieval-list span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #008f7f;
  background: #dffbf7;
  font-weight: 950;
}

.retrieval-list strong {
  color: #40506a;
  font-size: 14px;
}

.prepared-label {
  display: inline-flex;
  margin: 18px 0 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.prepared-response {
  padding: 17px;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.prepared-response p {
  margin: 0 0 9px;
  color: #495a72;
  font-size: 13px;
  line-height: 1.52;
}

.approval-status {
  justify-content: space-between;
  margin: 12px 0 14px;
  color: #596985;
  font-size: 13px;
  font-weight: 850;
}

.approval-status::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 6px rgba(53, 214, 193, 0.12);
}

.story-actions {
  margin-top: 0;
}

.benefit-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #c8f3ee;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fffe, #eef5ff);
  box-shadow: var(--soft-shadow);
}

.benefit-card strong {
  color: var(--navy);
  font-size: 18px;
}

.benefit-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.feature-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article {
  padding: 26px;
  border-radius: 20px;
}

.how {
  max-width: none;
  background:
    radial-gradient(circle at 76% 34%, rgba(53, 214, 193, 0.12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.how-intro,
.setup-showcase,
.setup-result {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.how-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 46px;
}

.how-intro h2 {
  max-width: 720px;
}

.how-intro h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--blue), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
}

.how-intro p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.setup-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 24px;
}

.progress-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0 28%, #dce5f3 28% 100%);
}

.setup-progress article {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.setup-progress span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid #dce5f3;
  border-radius: 50%;
  color: #677995;
  background: #fff;
  box-shadow: var(--soft-shadow);
  font-weight: 950;
}

.setup-progress .active span {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.setup-progress strong {
  color: #344156;
  font-size: 18px;
}

.setup-progress .active strong {
  color: var(--blue);
}

.setup-progress small {
  max-width: 150px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 730;
}

.setup-showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.setup-copy {
  padding: 28px 24px;
}

.setup-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 42px);
}

.connection-list {
  display: grid;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.connection-list div,
.overview-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
}

.connection-list div {
  padding: 17px;
}

.connection-list div + div,
.overview-row + .overview-row {
  border-top: 1px solid var(--soft-line);
}

.connection-list strong,
.overview-row strong {
  color: #334158;
}

.connection-list em {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #07a997;
  border: 2px solid #88e7dc;
  font-style: normal;
  font-weight: 950;
}

.setup-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 15px;
  font-weight: 950;
}

.setup-icon.gmail {
  color: #ea4335;
  background: #fff3f1;
}

.setup-icon.shop {
  color: #5cad35;
  background: #effbe9;
}

.setup-icon.track {
  color: #7559e8;
  background: #f1efff;
}

.setup-icon.help {
  color: #2b7cff;
  background: #edf5ff;
}

.setup-icon.returns {
  color: #f59e0b;
  background: #fff7e8;
}

.setup-icon.customers {
  color: #246bff;
  background: #edf5ff;
}

.tool-network {
  position: relative;
  min-height: 470px;
  border-left: 1px solid var(--soft-line);
  border-right: 1px solid var(--soft-line);
}

.network-lines {
  position: absolute;
  inset: 8% 4%;
  width: 92%;
  height: 84%;
  pointer-events: none;
}

.network-lines path {
  fill: none;
  stroke: rgba(49, 92, 255, 0.3);
  stroke-width: 2;
  stroke-dasharray: 9 12;
  animation: dashFlow 8s linear infinite;
}

.network-lines path:nth-child(2) {
  stroke: rgba(53, 214, 193, 0.42);
}

.network-node {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 118px;
  text-align: center;
}

.network-node .setup-icon {
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-color: #fff;
  box-shadow: var(--soft-shadow);
}

.network-node strong {
  color: #334158;
}

.network-node small {
  color: var(--muted);
  font-weight: 720;
}

.network-node.left {
  left: 4%;
}

.network-node.right {
  right: 3%;
}

.n1,
.n4 {
  top: 42px;
}

.n2,
.n5 {
  top: 182px;
}

.n3,
.n6 {
  top: 322px;
}

.network-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.bridge-mark.small {
  width: 118px;
  height: 118px;
}

.ready-badge {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  min-width: 250px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #40506a;
  background: #fff;
  box-shadow: var(--soft-shadow);
  text-align: center;
  font-weight: 900;
}

.ready-badge small {
  color: var(--muted);
  font-weight: 720;
}

.setup-dashboard {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border-radius: 24px;
  background: #f9fcff;
}

.overview-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.overview-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.overview-row {
  padding: 12px 0;
}

.overview-row .setup-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 12px;
}

.overview-row em {
  padding: 7px 10px;
  border-radius: 999px;
  color: #08a997;
  background: #e8fffb;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.secure-note {
  display: grid;
  gap: 5px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.secure-note strong {
  color: #344156;
}

.secure-note span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.setup-result {
  display: grid;
  grid-template-columns: 116px 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 80% 120%, rgba(53, 214, 193, 0.2), transparent 30rem),
    linear-gradient(135deg, #fff, #eef8ff);
  box-shadow: var(--soft-shadow);
}

.bridge-mark.tiny {
  width: 78px;
  height: 78px;
  border-radius: 24px;
}

.bridge-mark.tiny span {
  width: 48px;
  height: 48px;
}

.setup-result h3 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 38px);
}

.setup-result p {
  margin: 0;
  color: var(--muted);
}

.control-section {
  max-width: none;
  padding-top: 92px;
  padding-bottom: 92px;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.control-header,
.control-rail,
.control-product,
.control-benefits {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.control-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
  margin-bottom: 38px;
}

.control-header h2 {
  margin-bottom: 14px;
  font-size: clamp(56px, 6vw, 92px);
}

.control-header h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--blue), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
}

.control-header p:not(.eyebrow) {
  max-width: 850px;
  font-size: 22px;
}

.illustrative-note {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.illustrative-note span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 26px;
}

.illustrative-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.illustrative-note p {
  margin: 0;
  color: #52627c;
  font-size: 14px;
  line-height: 1.45;
}

.control-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 34px;
}

.control-rail::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue) 42%, var(--aqua));
}

.control-rail article {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: center;
  background: transparent;
}

.control-rail span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid #bdd0ff;
  border-radius: 50%;
  color: #fff;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.control-rail .active span {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.control-rail article:nth-child(3) span {
  color: #05a997;
  border-color: #a8eee7;
}

.control-rail strong {
  display: block;
  color: var(--blue);
  font-size: 21px;
}

.control-rail article:nth-child(3) strong {
  color: #05a997;
}

.control-rail p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 750;
}

.control-product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--soft-shadow);
}

.control-app-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.control-app-top > span {
  justify-self: center;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #52627c;
  background: #f7fbff;
  font-weight: 850;
}

.control-app-top > div:last-child {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.control-app-top em {
  padding: 9px 13px;
  border-radius: 999px;
  color: #008f7f;
  background: #e8fffb;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.control-app-top > div:last-child strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #c5d5ff;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
}

.control-app-body {
  display: grid;
  grid-template-columns: 68px 240px minmax(0, 1fr) minmax(360px, 0.92fr);
  min-height: 520px;
}

.control-sidebar,
.request-list,
.control-request,
.control-response {
  border-right: 1px solid var(--line);
}

.control-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding: 22px 12px;
  background: #fbfdff;
}

.control-sidebar span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #667792;
  background: #fff;
  font-weight: 900;
}

.control-sidebar .side-active {
  color: #fff;
  background: var(--blue);
}

.request-list {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 16px;
}

.request-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.request-heading span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #637799;
  background: #eef3fb;
  font-weight: 900;
}

.request-list article {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border-radius: 16px;
}

.request-list article.selected {
  background: #eef5ff;
}

.request-list strong,
.request-list small {
  display: block;
}

.request-list small,
.request-list em {
  color: #637799;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.request-list a {
  margin-top: 34px;
  color: var(--blue);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.control-request,
.control-response {
  padding: 26px;
}

.control-response {
  border-right: 0;
}

.control-panel-title {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 900;
}

.customer-box {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.customer-box p {
  margin: 6px 0 0;
  color: #344156;
  font-size: 14px;
  line-height: 1.45;
}

.context-timeline {
  display: grid;
  gap: 12px;
  margin: 16px 0 22px;
}

.context-timeline div {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
}

.context-timeline span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #94ece3;
  border-radius: 50%;
  color: #08a997;
  background: #f0fffd;
  font-weight: 900;
}

.context-timeline strong {
  color: #344156;
}

.context-timeline em,
.source-pills span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #52627c;
  background: #eef8ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.draft-card {
  padding: 18px;
  border: 1px solid #dce7ff;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f3f7ff);
}

.draft-card strong {
  color: var(--blue);
  font-size: 18px;
}

.draft-card p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.draft-card span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 12px;
  font-weight: 900;
}

.suggested-box {
  padding: 20px;
  border: 1px solid var(--soft-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}

.suggested-box p {
  margin: 0 0 13px;
  color: #344156;
  font-size: 15px;
  line-height: 1.52;
}

.prepared-using {
  margin: 18px 0 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.approval-warning {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  background: #fff8ed;
}

.approval-warning strong {
  color: #a55b07;
}

.approval-warning p {
  margin: 4px 0 0;
  color: #7c6a55;
  font-size: 13px;
}

.control-actions {
  display: grid;
  grid-template-columns: 140px 1fr 60px;
  margin-top: 18px;
}

.control-benefits {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.control-benefits article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.control-benefits article:last-child {
  border-right: 0;
}

.control-benefits span {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 20px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 950;
}

.control-benefits article:nth-child(3) span {
  color: #008f7f;
  background: #e8fffb;
}

.control-benefits strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.control-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.features {
  max-width: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(49, 92, 255, 0.09), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.features-header,
.features .feature-grid,
.ecommerce-cta {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.features-header {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.74fr);
  gap: 62px;
  align-items: center;
  margin-bottom: 34px;
}

.features-header h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(44px, 5.4vw, 76px);
}

.features-header p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.58;
}

.commerce-scene {
  position: relative;
  min-height: 300px;
}

.scene-orbit {
  position: absolute;
  inset: 30px 0 0 30px;
  border: 2px dashed rgba(49, 92, 255, 0.18);
  border-radius: 50%;
}

.scene-bag {
  position: absolute;
  top: 8px;
  left: 44%;
  width: 104px;
  height: 112px;
  border-radius: 18px 18px 24px 24px;
  background: linear-gradient(135deg, #315cff, #49d5e4);
  box-shadow: 0 28px 54px rgba(49, 92, 255, 0.22);
}

.scene-bag::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 27px;
  width: 48px;
  height: 34px;
  border: 6px solid rgba(16, 24, 40, 0.25);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
}

.scene-chart {
  position: absolute;
  left: 5%;
  top: 120px;
  width: 210px;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  transform: rotate(3deg);
}

.scene-chart span {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  height: 46px;
  background:
    linear-gradient(140deg, transparent 0 18%, var(--blue) 19% 22%, transparent 23% 41%, var(--blue) 42% 46%, transparent 47% 67%, var(--blue) 68% 72%, transparent 73% 100%);
}

.scene-phone {
  position: absolute;
  right: 8%;
  top: 32px;
  width: 172px;
  height: 250px;
  padding: 30px 22px;
  border: 3px solid #d8e3f3;
  border-radius: 34px;
  background: linear-gradient(180deg, #fff, #f7fbff);
  box-shadow: 0 28px 60px rgba(15, 35, 73, 0.16);
  transform: rotate(4deg);
}

.scene-phone strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.scene-phone em {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #008f7f;
  background: #e7fffb;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.shoe-card {
  width: 70px;
  height: 78px;
  margin-top: 28px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, transparent 42%, #101828 43% 49%, transparent 50%),
    linear-gradient(160deg, #f1f5f9 0 45%, #dbeafe 46% 100%);
}

.scene-bubble {
  position: absolute;
  right: 0;
  top: 150px;
  display: grid;
  width: 94px;
  height: 72px;
  place-items: center;
  border-radius: 22px 22px 22px 6px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 22px 42px rgba(49, 92, 255, 0.24);
  font-size: 28px;
  font-weight: 950;
}

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

.ecommerce-grid {
  gap: 24px;
}

.ecommerce-card {
  min-height: 260px;
  padding: 26px 28px;
  border-radius: 28px;
}

.feature-top {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 20px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 0;
  font-weight: 950;
}

.feature-icon::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 10px;
  font-size: 17px;
  line-height: 1;
}

.feature-icon.aqua {
  color: #05a997;
  background: #e8fffb;
}

.ecommerce-card:nth-child(1) .feature-icon::before {
  content: "✉";
}

.ecommerce-card:nth-child(2) .feature-icon::before {
  content: "▣";
}

.ecommerce-card:nth-child(3) .feature-icon::before {
  content: "□";
}

.ecommerce-card:nth-child(4) .feature-icon::before {
  content: "!";
  border-color: #f59e0b;
  color: #f59e0b;
}

.ecommerce-card:nth-child(5) .feature-icon::before {
  content: "文";
}

.ecommerce-card:nth-child(6) .feature-icon::before {
  content: "↗";
}

.feature-top strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 22px;
}

.feature-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.email-mini,
.order-mini,
.knowledge-list,
.escalation-mini,
.language-mini,
.analytics-mini {
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.email-mini {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px;
}

.app-chip {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #dce7ff;
  border-radius: 14px;
  color: var(--blue);
  background: #fff;
  font-weight: 950;
}

.email-mini strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #253247;
  font-size: 15px;
}

.email-mini em {
  color: #8391a8;
  font-size: 12px;
  font-style: normal;
}

.email-mini p {
  margin: 8px 0 0;
  color: #344156;
  font-size: 14px;
  line-height: 1.42;
}

.order-mini {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.order-mini > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-mini em {
  padding: 7px 11px;
  border-radius: 999px;
  color: #008f7f;
  background: #e7fffb;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.tracking-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
}

.tracking-row::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 10px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
}

.tracking-row span {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border: 4px solid #e7fffb;
  border-radius: 50%;
  background: var(--aqua);
}

.order-mini small {
  color: #637799;
  font-weight: 750;
}

.knowledge-list {
  display: grid;
  overflow: hidden;
}

.knowledge-list span {
  padding: 14px 18px;
  border-bottom: 1px solid var(--soft-line);
  color: #344156;
  font-weight: 850;
}

.knowledge-list span:last-child {
  border-bottom: 0;
}

.knowledge-list span::after {
  content: "›";
  float: right;
  color: #90a0b8;
}

.escalation-mini {
  padding: 22px;
  border-color: #fed7aa;
  background: #fff8ed;
}

.escalation-mini strong {
  color: #c56b10;
}

.escalation-mini p {
  margin: 8px 0 20px;
  color: #7c6a55;
}

.escalation-mini span {
  display: block;
  padding: 14px 18px;
  border: 1px solid #f2ddc6;
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.language-mini {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.language-mini div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.language-mini span {
  padding: 9px;
  border-radius: 12px;
  color: #637799;
  background: #f6f9fd;
  text-align: center;
  font-weight: 900;
}

.language-mini span:first-child {
  color: var(--blue);
  background: #eef5ff;
}

.language-mini p {
  margin: 0;
  padding: 16px;
  border: 1px solid #c8f3ee;
  border-radius: 16px;
  color: #344156;
  background: #edfffc;
  font-weight: 760;
  line-height: 1.48;
}

.analytics-mini {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
}

.analytics-mini > div {
  padding: 18px;
}

.analytics-mini > div:first-child {
  border-right: 1px solid var(--soft-line);
}

.analytics-mini small {
  display: block;
  color: #637799;
  font-weight: 850;
}

.analytics-mini strong {
  display: block;
  margin-top: 12px;
  font-size: 26px;
}

.analytics-mini em {
  color: #08a997;
  font-size: 13px;
  font-style: normal;
}

.analytics-mini span {
  position: relative;
  display: block;
  margin: 0 0 10px;
  padding-left: 18px;
  color: #344156;
  font-size: 13px;
  font-weight: 800;
}

.analytics-mini span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
}

.ecommerce-cta {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #f5f9ff, #ecfffd);
  box-shadow: var(--soft-shadow);
}

.ecommerce-cta > span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 22px;
  color: var(--blue);
  background: #fff;
  font-size: 28px;
  font-weight: 950;
}

.ecommerce-cta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 24px;
}

.ecommerce-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.knowledge-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.coming-soon {
  padding: 9px 14px;
  color: #008f7f;
  background: #e8fffb;
}

.knowledge-demo {
  padding: 30px;
  border-radius: 26px;
}

.question {
  padding: 18px;
  border-radius: 18px;
  background: #eef5ff;
  color: var(--navy) !important;
  font-weight: 800;
}

.answer {
  display: grid;
  gap: 12px;
  padding: 22px;
  margin: 16px 0;
  border: 1px solid rgba(53, 214, 193, 0.38);
  border-radius: 18px;
  background: #edfffc;
}

.answer span,
.gap-card small {
  color: #008f7f;
  font-weight: 850;
}

.gap-card {
  padding: 22px;
  border: 1px dashed #a5b6cf;
  border-radius: 18px;
  background: #fbfdff;
}

.gap-card strong {
  display: block;
  margin: 8px 0;
}

.integrations {
  max-width: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(49, 92, 255, 0.1), transparent 28rem),
    linear-gradient(180deg, #fff, #f7fbff);
}

.integration-heading,
.integration-showcase,
.integration-benefits {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.integration-heading {
  margin-bottom: 34px;
}

.integration-heading h2 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(48px, 6vw, 86px);
}

.integration-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.6;
}

.integration-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  align-items: stretch;
}

.integration-network,
.integration-panel,
.integration-benefits {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.integration-network {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  gap: 34px;
  align-items: center;
  padding: 38px 48px;
  border-radius: 28px;
  overflow: hidden;
}

.integration-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.integration-lines path {
  fill: none;
  stroke: rgba(49, 92, 255, 0.22);
  stroke-width: 2;
  stroke-dasharray: 7 9;
}

.integration-column {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}

.integration-column article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 90px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.integration-column strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 18px;
}

.integration-column em,
.integration-list em {
  color: #08a997;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.integration-column em::before,
.integration-list em::before {
  content: "✓";
  margin-right: 6px;
}

.tool-logo {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  font-style: normal;
  font-size: 0;
  font-weight: 950;
  overflow: hidden;
}

.tool-logo::before,
.tool-logo::after {
  font-size: 22px;
}

.tool-logo.shopify {
  color: #fff;
  background: #7abf45;
}

.tool-logo.shopify::before {
  content: "";
  position: absolute;
  inset: 10px 13px 8px;
  border-radius: 4px 4px 9px 9px;
  background: rgba(255, 255, 255, 0.96);
}

.tool-logo.shopify::after {
  content: "S";
  position: relative;
  z-index: 1;
  color: #7abf45;
  font-size: 20px;
  font-weight: 950;
}

.tool-logo.woo {
  color: #fff;
  background: #7f54b3;
}

.tool-logo.woo::before {
  content: "W";
}

.tool-logo.zendesk {
  color: #fff;
  background: #03363d;
}

.tool-logo.zendesk::before {
  content: "Z";
}

.tool-logo.gmail {
  color: #fff;
  background: #fff;
  border: 1px solid #e6edf7;
}

.tool-logo.gmail::before {
  content: "";
  width: 30px;
  height: 22px;
  border-radius: 4px;
  background:
    linear-gradient(135deg, transparent 0 39%, #ea4335 40% 54%, transparent 55%),
    linear-gradient(45deg, transparent 0 39%, #4285f4 40% 54%, transparent 55%),
    linear-gradient(90deg, #34a853 0 22%, transparent 22% 78%, #fbbc04 78% 100%);
  border: 3px solid #ea4335;
  border-top-color: #4285f4;
}

.tool-logo.intercom {
  color: #fff;
  background: #286efa;
}

.tool-logo.intercom::before {
  content: "";
  width: 28px;
  height: 24px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 10%, #fff 10% 18%, transparent 18% 30%, #fff 30% 38%, transparent 38% 50%, #fff 50% 58%, transparent 58% 70%, #fff 70% 78%, transparent 78%),
    rgba(255, 255, 255, 0.16);
}

.tool-logo.aftership {
  color: #fff;
  background: #ff7a1a;
}

.tool-logo.aftership::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 7px;
  transform: rotate(45deg);
}

.tool-logo.tracking {
  color: var(--blue);
  background: #eef5ff;
}

.tool-logo.tracking::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px #eef5ff, inset 0 0 0 9px currentColor;
}

.integration-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  justify-self: center;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  box-shadow: 0 28px 70px rgba(49, 92, 255, 0.26);
}

.integration-core .brand-mark {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
}

.integration-core .brand-mark span,
.integration-core .brand-mark::before,
.integration-core .brand-mark::after {
  left: 21px;
  width: 56px;
  height: 18px;
  background: #fff;
}

.integration-core .brand-mark span {
  top: 20px;
}

.integration-core .brand-mark::before {
  top: 43px;
  width: 48px;
}

.integration-core .brand-mark::after {
  top: 43px;
  left: 16px;
  width: 18px;
  height: 44px;
}

.integration-panel {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 30px 26px;
  border-radius: 28px;
}

.integration-panel h3 {
  margin: 0;
  font-size: 20px;
}

.integration-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 20px;
  background: #fff;
}

.integration-list span {
  display: grid;
  grid-template-columns: 32px minmax(92px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 14px;
  border-bottom: 1px solid var(--soft-line);
  color: #344156;
  font-weight: 900;
}

.integration-list span:last-child {
  border-bottom: 0;
}

.integration-list .tool-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0;
}

.integration-list em {
  white-space: nowrap;
  font-size: 12px;
}

.secure-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: #eef8ff;
}

.secure-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #08a997;
  background: #dffffa;
  font-weight: 950;
}

.secure-card strong {
  color: #2885b9;
}

.secure-card p {
  margin: 4px 0 0;
  color: #5b708d;
  font-size: 14px;
  line-height: 1.45;
}

.integration-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 24px;
  padding: 26px 30px;
  border-radius: 26px;
}

.integration-benefits article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.integration-benefits article:last-child {
  padding-right: 0;
  border-right: 0;
}

.integration-benefits span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 20px;
  color: var(--blue);
  background: #eef5ff;
  font-weight: 950;
}

.integration-benefits strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.integration-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.insights-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
}

.report-card {
  padding: 28px;
  border-radius: 26px;
}

.report-head span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue);
  background: #eef5ff;
  font-size: 12px;
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.metrics div {
  padding: 18px;
  border-radius: 18px;
  background: #f7fbff;
}

.metrics small {
  color: var(--muted);
  font-weight: 850;
}

.metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
}

.topic-bars {
  display: grid;
  gap: 13px;
}

.topic-bars span {
  position: relative;
  padding: 12px 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f7fc;
  font-weight: 850;
}

.topic-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(49, 92, 255, 0.18), rgba(53, 214, 193, 0.24));
}

.topic-bars span {
  isolation: isolate;
}

.pricing {
  max-width: none;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing .section-heading,
.pricing-grid,
.annual-note {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

.price-card {
  position: relative;
  padding: 30px;
  border-radius: 24px;
}

.price-card.featured {
  border-color: #9bb2ff;
  box-shadow: 0 30px 80px rgba(49, 92, 255, 0.18);
  transform: translateY(-10px);
}

.badge {
  padding: 8px 14px;
  color: #fff;
  background: var(--blue);
}

.price {
  margin: 12px 0 6px;
  color: var(--navy) !important;
  font-size: 48px !important;
  line-height: 1 !important;
  letter-spacing: -0.055em;
  font-weight: 950;
}

.price span {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0;
}

.price-card ul {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.price-card li {
  margin: 12px 0;
}

.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: #16a34a;
  font-weight: 900;
}

.price-card .button {
  width: 100%;
}

.annual-note {
  margin-top: 22px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.onboarding-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.timeline span {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}

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

.faq details {
  padding: 24px;
  border-radius: 20px;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq p {
  margin: 16px 0 0;
}

.final-cta {
  margin-top: 24px;
  margin-bottom: 80px;
  padding-top: 76px;
  padding-bottom: 76px;
  border-radius: 34px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(53, 214, 193, 0.28), transparent 26rem),
    linear-gradient(135deg, #07111f, #0f1d36 62%, #12284c);
  box-shadow: var(--shadow);
}

.final-cta .pill {
  margin-left: auto;
  margin-right: auto;
  color: #cfe2ff;
  background: rgba(255, 255, 255, 0.08);
}

.final-cta h2,
.final-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  color: #cbd5e1;
}

.center {
  justify-content: center;
}

.button.light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.is-hidden {
  display: none !important;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: start center;
  padding: 24px;
  overflow-y: auto;
}

.login-modal.is-open {
  display: grid;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.48);
  backdrop-filter: blur(14px);
}

.login-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 34px;
  border: 1px solid rgba(216, 224, 234, 0.95);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(53, 214, 193, 0.16), transparent 16rem),
    #fff;
  box-shadow: 0 34px 90px rgba(15, 35, 73, 0.28);
}

.login-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 14px;
  color: #64748b;
  background: #f8fbff;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.login-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 48px);
}

.login-panel > p:not(.eyebrow):not(.login-note) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fbff;
}

.auth-tabs button {
  min-height: 44px;
  border: 0;
  color: #64748b;
  background: transparent;
}

.auth-tabs button.active {
  color: var(--blue);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.google-login {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  border: 1.5px solid #006859;
  border-radius: 8px;
  color: #00594f;
  background: #fff;
  box-shadow: none;
  text-decoration: none;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.google-login span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.google-login svg {
  display: block;
  width: 27px;
  height: 27px;
}

.login-divider {
  position: relative;
  display: grid;
  place-items: center;
  margin: 18px 0;
  color: #8090a8;
  font-size: 13px;
  font-weight: 850;
}

.login-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.login-divider span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
  background: #fff;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #344156;
  font-size: 14px;
  font-weight: 850;
}

.login-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--navy);
  background: #fbfdff;
  font: inherit;
  outline: none;
}

.login-form input:focus {
  border-color: rgba(49, 92, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(49, 92, 255, 0.1);
}

.login-form .button {
  width: 100%;
  margin-top: 6px;
}

.login-note {
  margin: 16px 0 0;
  color: #71819a;
  font-size: 12px;
  line-height: 1.45;
}

.login-feedback {
  min-height: 18px;
  margin: 14px 0 0;
  color: #52627c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.login-feedback:empty {
  display: none;
}

.login-feedback[data-state="success"] {
  color: #00876f;
}

.login-feedback[data-state="error"] {
  color: #c2410c;
}

.dashboard-section {
  max-width: none;
  padding: 24px;
  background: #f6f9fd;
}

body.is-logged-in {
  background: #f7fbff;
}

body.is-logged-in .site-nav,
body.is-logged-in main > :not(.dashboard-section),
body.is-logged-in .footer {
  display: none !important;
}

body.is-logged-in main {
  max-width: none;
  padding: 0;
}

body.is-logged-in .dashboard-section {
  display: block !important;
  min-height: 100vh;
  padding: 24px;
}

body.is-logged-in .dashboard-shell {
  min-height: calc(100vh - 48px);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  max-width: 1480px;
  min-height: 720px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(15, 35, 73, 0.12);
}

.dashboard-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: calc(100vh - 48px);
  padding: 28px;
  border-right: 1px solid var(--line);
  border-radius: 30px 0 0 30px;
  background: linear-gradient(180deg, #fbfdff, #f4f8ff);
}

.dashboard-nav {
  display: grid;
  gap: 8px;
}

.dashboard-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #52627c;
  text-decoration: none;
  font-weight: 850;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  color: var(--blue);
  background: #eef5ff;
  transform: translateX(2px);
}

.dashboard-badge {
  min-width: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #92400e;
  background: #fff3d6;
  font-size: 12px;
  text-align: center;
}

.dashboard-user {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.dashboard-user span,
.dashboard-user small {
  display: block;
}

.dashboard-user span {
  color: var(--navy);
  font-size: 22px;
  font-weight: 950;
}

.dashboard-user small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.dashboard-main {
  min-width: 0;
  padding: 30px;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.dashboard-top h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.02em;
}

.dashboard-top p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-filter,
.dashboard-filters,
.billing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.date-filter button,
.dashboard-filters button,
.billing-tabs button {
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #60708a;
  font-weight: 900;
  cursor: pointer;
}

.date-filter button,
.billing-tabs button {
  padding: 10px 12px;
}

.date-filter button.active,
.billing-tabs button.active {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(49, 92, 255, 0.1);
}

.dashboard-page {
  display: none;
}

.dashboard-page.is-active {
  display: grid;
  gap: 18px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.kpi-card,
.dashboard-panel,
.knowledge-grid article,
.integration-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(49, 92, 255, 0.07);
}

.kpi-card {
  padding: 22px;
}

.kpi-card span,
.billing-plan span {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-card strong,
.billing-plan strong {
  display: block;
  margin: 12px 0 6px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 42px);
}

.kpi-card em {
  color: #08a997;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.kpi-card.warning {
  border-color: #fed7aa;
  background: #fffaf2;
}

.kpi-card.warning em {
  color: #b45309;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.dashboard-panel {
  padding: 24px;
}

.dashboard-panel.wide {
  grid-column: span 1;
}

.dashboard-panel-header,
.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.dashboard-toolbar {
  margin-bottom: 4px;
}

.dashboard-toolbar h2,
.dashboard-panel h3,
.dashboard-panel-header h3 {
  margin: 0;
  color: var(--navy);
}

.dashboard-toolbar h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.dashboard-toolbar p,
.dashboard-panel-header p,
.dashboard-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.link-button,
.data-table button,
.attention-actions button {
  border: 0;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.link-button {
  padding: 10px 12px;
  white-space: nowrap;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--soft-line);
  color: #27364d;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: #60708a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table button,
.attention-actions button {
  padding: 8px 11px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.status-pill.resolved,
.status-pill.connected,
.status-pill.paid {
  color: #00876f;
  background: #e8fffb;
}

.status-pill.review {
  color: #b45309;
  background: #fff3d6;
}

.status-pill.waiting {
  color: #315cff;
  background: #eef5ff;
}

.status-pill.escalated {
  color: #be123c;
  background: #fff1f2;
}

.status-pill.soon {
  color: #64748b;
  background: #f1f5f9;
}

.activity-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(48px, 1fr));
  gap: 14px;
  min-height: 260px;
  padding-top: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.chart-day {
  display: grid;
  align-items: end;
  gap: 10px;
  color: #60708a;
  font-weight: 850;
  text-align: center;
}

.bar-stack {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  height: 210px;
}

.bar {
  width: 14px;
  min-height: 18px;
  border-radius: 999px 999px 4px 4px;
}

.bar.received,
.legend i.received {
  background: #315cff;
}

.bar.resolved,
.legend i.resolved {
  background: #35d6c1;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #60708a;
  font-size: 13px;
  font-weight: 900;
}

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

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.topic-bars {
  display: grid;
  gap: 14px;
}

.topic-row {
  display: grid;
  gap: 8px;
}

.topic-row span,
.topic-row strong {
  color: #27364d;
  font-weight: 900;
}

.topic-row strong {
  color: #60708a;
  font-size: 13px;
}

.topic-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef5ff;
}

.topic-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}

.performance-grid,
.analytics-grid,
.knowledge-grid,
.integration-grid,
.settings-grid,
.billing-grid {
  display: grid;
  gap: 16px;
}

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

.performance-grid div {
  padding: 16px;
  border-radius: 16px;
  background: #f8fbff;
}

.performance-grid strong,
.big-number {
  display: block;
  color: var(--navy);
  font-size: 30px;
  font-weight: 950;
}

.performance-grid span {
  display: block;
  margin-top: 5px;
  color: #60708a;
  font-size: 13px;
  font-weight: 850;
}

.search-field {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--navy);
  background: #ffffff;
  font: inherit;
  font-weight: 800;
}

.dashboard-filters {
  justify-content: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
}

.dashboard-filters button {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.attention-panel {
  border-color: #fed7aa;
}

.attention-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.sparkline {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 160px;
  margin-top: 18px;
}

.sparkline span {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--blue), var(--aqua));
}

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

.knowledge-grid article {
  padding: 22px;
}

.knowledge-grid span {
  color: var(--blue);
  font-weight: 950;
}

.knowledge-grid strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 20px;
}

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

.integration-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.integration-card strong {
  color: var(--navy);
  font-size: 20px;
}

.integration-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.logo-tile {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  font-weight: 950;
}

.logo-tile.shopify {
  background: #7ac142;
}

.logo-tile.google {
  background: conic-gradient(from 45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
}

.billing-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.usage-progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef5ff;
}

.usage-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--aqua));
}

.billing-tabs {
  width: fit-content;
}

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

.conversation-drawer.is-hidden {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  border: 0;
  background: rgba(16, 24, 40, 0.42);
}

.drawer-panel {
  position: fixed;
  top: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 81;
  width: min(560px, calc(100vw - 48px));
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 30px 100px rgba(15, 35, 73, 0.28);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.drawer-head h3 {
  margin: 12px 0 4px;
  color: var(--navy);
  font-size: 28px;
}

.drawer-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.drawer-head button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: #60708a;
  font-size: 24px;
  cursor: pointer;
}

.message-thread {
  display: grid;
  gap: 12px;
}

.thread-message {
  padding: 16px;
  border-radius: 18px;
}

.thread-message span {
  color: #60708a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.thread-message p {
  margin: 8px 0 0;
  color: #27364d;
  line-height: 1.55;
}

.thread-message.customer {
  background: #f8fbff;
}

.thread-message.fulfilliq {
  background: #eef5ff;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.detail-list div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--soft-line);
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt,
.detail-list dd {
  margin: 0;
}

.detail-list dt {
  color: #60708a;
  font-weight: 900;
}

.detail-list dd {
  color: var(--navy);
  font-weight: 850;
}

.footer {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding-top: 44px;
  padding-bottom: 54px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-grid div {
  display: grid;
  gap: 10px;
}

.footer strong {
  margin-bottom: 4px;
}

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

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes checkPulse {
  0%, 18%, 100% {
    background: #f7fbff;
  }
  28%, 48% {
    background: #e9fffb;
  }
}

@keyframes revealText {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  18%, 86% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes spinMap {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -80;
  }
}

@keyframes cardDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes retrievalGlow {
  0%, 100% {
    background: #fbfdff;
  }
  35%, 60% {
    background: #e9fffb;
  }
}

@keyframes miniStateIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progressFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes retrieveItem {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes responseReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.78);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .hero,
  .product-strip,
  .how-intro,
  .setup-showcase,
  .control-section,
  .knowledge-section,
  .insights-section,
  .setup-result,
  .footer {
    grid-template-columns: 1fr;
  }

  .mini-window {
    max-width: none;
    margin-left: 0;
  }

  .product-card {
    grid-template-columns: 150px 1fr;
  }

  .setup-progress {
    max-width: 780px;
  }

  .tool-network {
    min-height: 430px;
    border: 1px solid var(--soft-line);
    border-radius: 24px;
  }

  .control-header,
  .features-header,
  .control-app-body,
  .control-benefits {
    grid-template-columns: 1fr;
  }

  .illustrative-note {
    max-width: 520px;
  }

  .control-app-top {
    grid-template-columns: 1fr;
  }

  .control-app-top > span,
  .control-app-top > div:last-child {
    justify-self: start;
  }

  .control-sidebar {
    display: none;
  }

  .request-list,
  .control-request,
  .control-response {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

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

  .request-heading,
  .request-list a {
    grid-column: 1 / -1;
  }

  .control-benefits article {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .control-benefits article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .commerce-scene {
    max-width: 560px;
    min-height: 260px;
  }

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

  .ecommerce-cta {
    grid-template-columns: 72px 1fr;
  }

  .ecommerce-cta .button {
    grid-column: 2;
    justify-self: start;
  }

  .integration-showcase,
  .integration-benefits {
    grid-template-columns: 1fr;
  }

  .integration-network {
    min-height: 390px;
    grid-template-columns: 1fr 150px 1fr;
    padding: 30px;
  }

  .integration-core {
    width: 132px;
    height: 132px;
  }

  .integration-panel {
    max-width: 560px;
  }

  .integration-benefits article {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integration-benefits article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 920px) {
  .site-nav {
    height: auto;
    min-height: 72px;
    padding: 16px 22px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 24px;
  }

  .hero,
  .product-strip,
  .section,
  .control-section,
  .knowledge-section,
  .insights-section,
  .onboarding-section,
  .final-cta,
  .footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(46px, 12vw, 70px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .mini-layout {
    grid-template-columns: 1fr;
  }

  .mini-window {
    min-height: 0;
  }

  .mini-main-panel {
    min-height: 330px;
  }

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

  .product-icon {
    min-height: 140px;
  }

  .problem .section-heading,
  .problem-story,
  .setup-progress,
  .feature-grid,
  .ecommerce-grid,
  .control-rail,
  .integration-group,
  .metrics,
  .pricing-grid,
  .timeline,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .how-intro {
    gap: 24px;
  }

  .setup-progress {
    gap: 12px;
    padding-top: 0;
  }

  .progress-line {
    display: none;
  }

  .setup-progress article {
    justify-items: start;
    grid-template-columns: 54px 1fr;
    column-gap: 14px;
    text-align: left;
  }

  .setup-progress strong,
  .setup-progress small {
    grid-column: 2;
  }

  .setup-progress span {
    grid-row: 1 / span 2;
  }

  .setup-showcase {
    padding: 22px;
  }

  .setup-copy {
    padding: 6px;
  }

  .tool-network {
    display: grid;
    min-height: auto;
    gap: 14px;
    padding: 22px;
  }

  .network-lines {
    display: none;
  }

  .network-node,
  .network-node.left,
  .network-node.right,
  .network-center,
  .ready-badge {
    position: static;
    width: 100%;
    transform: none;
  }

  .network-center {
    order: -1;
    margin-bottom: 8px;
  }

  .network-node {
    grid-template-columns: 62px 1fr;
    justify-items: start;
    text-align: left;
  }

  .ready-badge {
    min-width: 0;
  }

  .setup-result {
    gap: 18px;
    text-align: left;
  }

  .problem .section-heading {
    gap: 20px;
    align-items: start;
    margin-bottom: 34px;
  }

  .problem .section-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .problem .section-heading h2 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .problem .section-heading p:not(.eyebrow) {
    max-width: 680px;
    font-size: 18px;
  }

  .problem-story {
    padding: 22px;
  }

  .manual-canvas,
  .fulfilliq-bridge {
    min-height: auto;
  }

  .manual-canvas {
    display: grid;
    gap: 12px;
    padding-bottom: 74px;
  }

  .manual-paths,
  .flow-lines {
    display: none;
  }

  .system-card,
  .manual-note {
    position: static;
    width: 100%;
  }

  .system-card {
    min-height: auto;
    animation: none;
  }

  .fulfilliq-bridge {
    padding: 22px 0;
  }

  .bridge-mark {
    width: 92px;
    height: 92px;
  }

  .bridge-mark span {
    width: 54px;
    height: 54px;
  }

  .fulfilliq-bridge p {
    position: static;
    margin-top: 14px;
  }

  .control-rail::before,
  .integration-map::before {
    display: none;
  }

  .control-header {
    gap: 22px;
  }

  .control-header h2 {
    font-size: clamp(44px, 12vw, 64px);
  }

  .control-header p:not(.eyebrow) {
    font-size: 18px;
  }

  .control-rail {
    gap: 18px;
  }

  .control-rail article {
    grid-template-columns: 54px 1fr;
  }

  .control-rail span {
    width: 54px;
    height: 54px;
  }

  .control-app-body {
    min-height: 0;
  }

  .request-list {
    display: none;
  }

  .context-timeline div {
    grid-template-columns: 36px 1fr;
  }

  .context-timeline em {
    grid-column: 2;
    width: fit-content;
  }

  .control-actions {
    grid-template-columns: 1fr;
  }

  .integration-network {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
  }

  .integration-lines {
    display: none;
  }

  .integration-core {
    position: static;
    order: -1;
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
  }

  .integration-core .brand-mark {
    width: 68px;
    height: 68px;
  }

  .integration-core .brand-mark span {
    width: 42px;
    height: 42px;
  }

  .integration-column {
    gap: 14px;
  }

  .integration-column article {
    min-height: 0;
  }

  .price-card.featured {
    transform: none;
  }

  .dashboard-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .dashboard-shell,
  .dashboard-grid,
  .kpi-grid,
  .analytics-grid,
  .knowledge-grid,
  .integration-grid,
  .billing-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 30px 30px 0 0;
  }

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

  .dashboard-actions,
  .dashboard-panel-header,
  .dashboard-toolbar {
    flex-direction: column;
  }

  .activity-chart {
    overflow-x: auto;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 12px;
  }

  .nav-actions {
    gap: 10px;
  }

  .brand span:last-child {
    font-size: 22px;
  }

  .login {
    font-size: 13px;
  }

  .features-header h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .features-header p:not(.eyebrow) {
    font-size: 18px;
  }

  .commerce-scene {
    min-height: 220px;
  }

  .scene-bag {
    left: 36%;
    width: 78px;
    height: 86px;
  }

  .scene-chart {
    left: 0;
    width: 170px;
    height: 92px;
  }

  .scene-phone {
    right: 4px;
    width: 136px;
    height: 210px;
    padding: 24px 16px;
  }

  .scene-bubble {
    width: 70px;
    height: 54px;
    font-size: 22px;
  }

  .ecommerce-card {
    padding: 22px;
  }

  .feature-top {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .analytics-mini {
    grid-template-columns: 1fr;
  }

  .analytics-mini > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .ecommerce-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .ecommerce-cta .button {
    grid-column: auto;
  }

  .button.small {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero-actions,
  .approval-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .approval-bar button {
    width: 100%;
  }

  .site-nav .button.small {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .login-panel {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .dashboard-main {
    padding: 22px;
  }

  .dashboard-top {
    display: grid;
  }

  .dashboard-nav,
  .performance-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell {
    border-radius: 22px;
  }

  .dashboard-sidebar {
    padding: 22px;
    border-radius: 22px 22px 0 0;
  }

  .kpi-grid,
  .dashboard-grid {
    gap: 12px;
  }

  .dashboard-panel,
  .kpi-card {
    padding: 18px;
  }

  .drawer-panel {
    inset: 12px;
    width: auto;
  }

  .trust-row {
    gap: 12px;
  }

  .mini-window,
  .product-card,
  .knowledge-demo,
  .report-card,
  .price-card,
  .faq details {
    border-radius: 18px;
  }
}

/* Dashboard final override */
/* Premium B2B dashboard refinement */
body.is-logged-in {
  background: #f5f7fb;
}

body.is-logged-in::before {
  opacity: 0.12;
}

body.is-logged-in .dashboard-section {
  background: #f5f7fb;
}

body.is-logged-in .dashboard-shell {
  overflow: hidden;
}

.dashboard-page:not(.is-active) {
  display: none !important;
}

.dashboard-page.is-active {
  display: grid !important;
  gap: 18px;
}

.overview-extra {
  display: none !important;
}

.dashboard-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  max-width: 1440px;
  border-color: #d9e1ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 56px rgba(16, 24, 40, 0.08);
}

.dashboard-sidebar {
  gap: 22px;
  padding: 24px 20px;
  border-color: #e3e8f0;
  border-radius: 18px 0 0 18px;
  background: #fbfcfe;
}

.dashboard-sidebar .brand {
  gap: 10px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.dashboard-sidebar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(49, 92, 255, 0.16);
}

.dashboard-nav {
  gap: 3px;
}

.dashboard-nav::before,
.dashboard-nav a:nth-child(5)::before,
.dashboard-nav a:nth-child(7)::before {
  display: block;
  margin: 14px 10px 6px;
  color: #8a97aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.dashboard-nav::before {
  content: "Primary operations";
  margin-top: 4px;
}

.dashboard-nav a:nth-child(5)::before {
  content: "Management";
  position: absolute;
  top: -27px;
  left: 0;
}

.dashboard-nav a:nth-child(7)::before {
  content: "Account";
  position: absolute;
  top: -27px;
  left: 0;
}

.dashboard-nav a:nth-child(5),
.dashboard-nav a:nth-child(7) {
  position: relative;
  margin-top: 30px;
}

.dashboard-nav a {
  position: relative;
  justify-content: flex-start;
  padding: 9px 11px;
  border-radius: 9px;
  color: #4b5870;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background 160ms ease, color 160ms ease;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  color: #244eea;
  background: #f0f5ff;
  transform: none;
}

.dashboard-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.dashboard-badge {
  min-width: 19px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: #9a5b00;
  background: #fff4d9;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-user {
  padding: 13px 14px;
  border-color: #e1e7ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

.dashboard-user span {
  font-size: 16px;
  font-weight: 650;
}

.dashboard-user small {
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.dashboard-main {
  padding: 28px 30px 34px;
}

.dashboard-top {
  gap: 20px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.dashboard-top .eyebrow.pill {
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dashboard-top h2 {
  margin-bottom: 6px;
  color: #101828;
  font-size: clamp(28px, 2.7vw, 32px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.dashboard-top p:not(.eyebrow) {
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

.dashboard-actions {
  align-items: flex-start;
}

.date-filter,
.dashboard-filters,
.billing-tabs {
  gap: 4px;
  padding: 4px;
  border-color: #dbe3ee;
  border-radius: 11px;
  background: #f8fafc;
}

.date-filter button,
.dashboard-filters button,
.billing-tabs button {
  border-radius: 8px;
  color: #56657a;
  font-size: 13px;
  font-weight: 600;
}

.date-filter button,
.billing-tabs button {
  padding: 8px 10px;
}

.date-filter button.active,
.billing-tabs button.active {
  color: #244eea;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.dashboard-actions .button.secondary {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}

.kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi-card,
.dashboard-panel,
.knowledge-grid article,
.integration-card {
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.kpi-card {
  display: block;
  min-height: 118px;
  padding: 18px;
}

.kpi-card.warning {
  border-color: #e5e7eb;
  background: #ffffff;
}

.kpi-card.warning::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #f59e0b;
}

.kpi-card span,
.kpi-card strong,
.kpi-card em {
  display: block;
}

.kpi-card span,
.billing-plan span {
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.kpi-card strong,
.billing-plan strong {
  margin: 10px 0 6px;
  color: #101828;
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1;
}

.kpi-card em {
  margin-top: 6px;
  color: #0f8f7f;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}

.kpi-card.warning em {
  color: #a16207;
}

.dashboard-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 16px;
  align-items: start;
}

.dashboard-panel {
  padding: 20px;
}

.dashboard-panel-header,
.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.dashboard-toolbar {
  margin-bottom: 2px;
}

.dashboard-toolbar h2 {
  font-size: clamp(28px, 3vw, 32px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.dashboard-panel h3,
.dashboard-panel-header h3 {
  color: #101828;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.dashboard-toolbar p,
.dashboard-panel-header p,
.dashboard-panel p {
  margin-top: 5px;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.link-button,
.data-table button,
.attention-actions button {
  border-radius: 9px;
  background: #f3f6ff;
  color: #244eea;
  font-size: 13px;
  font-weight: 650;
}

.link-button {
  padding: 8px 10px;
}

.activity-chart {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(48px, 1fr));
  gap: 12px;
  min-height: 238px;
  padding: 18px 12px 4px;
  border: 1px solid #edf1f6;
  border-radius: 12px;
  background:
    linear-gradient(to bottom, rgba(226, 232, 240, 0.72) 1px, transparent 1px) 0 18px / 100% 42px,
    #fbfcfe;
}

.bar-stack {
  height: 178px;
  gap: 6px;
}

.bar {
  width: 10px;
  min-height: 12px;
  border-radius: 999px 999px 3px 3px;
}

.bar.received,
.legend i.received {
  background: #315cff;
}

.bar.resolved,
.legend i.resolved {
  background: #a9b7cb;
}

.legend {
  gap: 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.chart-day {
  gap: 8px;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}

.topic-bars {
  gap: 13px;
}

.topic-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: center;
}

.topic-row span {
  color: #253044;
  font-size: 14px;
  font-weight: 600;
}

.topic-row strong {
  color: #5e6b7f;
  font-size: 13px;
  font-weight: 600;
}

.topic-track {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 999px;
  background: #edf2f7;
}

.topic-track i {
  background: #315cff;
}

.data-table {
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  white-space: nowrap;
}

.data-table th {
  color: #667085;
  font-size: 11px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}

.status-pill {
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.attention-panel {
  border-color: #dfe6ef;
}

.analytics-grid,
.knowledge-grid,
.integration-grid,
.settings-grid,
.billing-grid {
  gap: 14px;
}

.integration-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.integration-card small {
  display: block;
  max-width: 52ch;
  margin-top: 6px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.integration-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.integration-actions .button {
  min-width: 138px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
}

.integration-actions .button:disabled {
  cursor: default;
  opacity: 0.72;
}

.status-pill.pending {
  background: #f2f4f7;
  color: #475467;
}

.status-pill.requested {
  background: #fff7ed;
  color: #b45309;
}

.integration-security-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
}

.integration-security-panel p {
  max-width: 76ch;
}

.performance-grid div,
.dashboard-panel .sparkline,
.usage-card,
.billing-plan {
  border-radius: 12px;
}

.performance-grid strong,
.big-number {
  font-size: 30px;
  font-weight: 650;
}

.search-field {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.dashboard-filters {
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.dashboard-filters button {
  padding: 8px 10px;
  border: 1px solid #dfe6ef;
  background: #ffffff;
}

.sparkline span {
  background: #315cff;
}

@media (max-width: 1100px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e3e8f0;
    border-radius: 16px 16px 0 0;
  }

  .kpi-grid,
  .dashboard-grid,
  .analytics-grid,
  .knowledge-grid,
  .integration-grid,
  .billing-grid,
  .settings-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  body.is-logged-in .dashboard-section {
    padding: 12px;
  }

  .dashboard-main {
    padding: 22px 16px;
  }

  .dashboard-top {
    flex-direction: column;
  }

  .dashboard-actions,
  .date-filter {
    width: 100%;
  }

  .date-filter button {
    flex: 1;
  }
}
