:root {
  --red: #1268b3;
  --red-deep: #1268b3;
  --red-soft: #eef5f5;
  --ink: #181314;
  --ink-2: #292223;
  --charcoal: #121011;
  --paper: #f7f3ed;
  --paper-2: #efe9e1;
  --white: #ffffff;
  --muted: #746d6b;
  --muted-dark: #b9b1ae;
  --line: #ded7d0;
  --line-dark: rgba(255, 255, 255, 0.13);
  --success: #64d5a6;
  --shadow: 0 24px 72px rgba(16,56,75, 0.12);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-height: 76px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--charcoal);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Alibaba PuHuiTi 3.0", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #66b1be;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 10px 16px;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.feature-icon,
.step-icon svg,
.knowledge-promise svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--white);
  background: rgba(18, 16, 17, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(18, 16, 17, 0.97);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

.nav-shell {
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
}

.brand img {
  width: 138px;
  height: auto;
}

.brand-product {
  display: grid;
  gap: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 1.15;
}

.brand-product strong {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand-product small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  letter-spacing: 0.13em;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(18,104,179, 0.24);
}

.button-primary:hover {
  background: #1268b3;
  box-shadow: 0 16px 34px rgba(18,104,179, 0.33);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 13px;
}

.button-large {
  min-height: 54px;
  padding: 15px 24px;
}

.desktop-cta {
  margin-left: 4px;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  padding: calc(var(--header-height) + 84px) 0 90px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 24%, rgba(18,104,179, 0.18), transparent 27%),
    radial-gradient(circle at 44% 100%, rgba(12,83,143, 0.15), transparent 32%),
    linear-gradient(105deg, #131011 0%, #0b0b0c 61%, #10384b 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid,
.knowledge-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 75%, transparent);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 76px;
  bottom: 0;
  left: calc(50% - 1px);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.88fr);
  align-items: center;
  gap: clamp(52px, 6vw, 94px);
}

.hero-copy {
  padding-top: 12px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(44px, 4.3vw, 70px);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: inline-block;
  margin-top: 10px;
  color: #1268b3;
}

.hero-lead {
  max-width: 675px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
  stroke-width: 2.2;
}

.hero-product {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
}

.chat-window {
  position: relative;
  z-index: 3;
  width: 100%;
  color: var(--white);
  background: rgba(20, 18, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.chat-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1268b3, #0c538f);
  box-shadow: 0 10px 28px rgba(18,104,179, 0.3);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.chat-header > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.chat-header strong {
  font-size: 14px;
}

.chat-header span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.chat-header span i,
.summary-heading span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(100, 213, 166, 0.09);
}

.chat-header .chat-tag {
  margin-left: auto;
  padding: 5px 9px;
  color: #b1d5d9;
  background: rgba(18,104,179, 0.13);
  border: 1px solid rgba(18,104,179, 0.28);
  border-radius: 999px;
  font-weight: 700;
}

.chat-body {
  min-height: 380px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  background:
    radial-gradient(circle at 18% 20%, rgba(18,104,179, 0.08), transparent 28%),
    #111011;
}

.message {
  max-width: 87%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.58;
}

.message-user {
  align-self: flex-end;
  color: #282021;
  background: #f5f1ec;
  border-bottom-right-radius: 4px;
}

.message-user.compact {
  max-width: 74%;
}

.message-ai {
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 4px;
}

.message-label {
  display: block;
  margin-bottom: 4px;
  color: #66b1be;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.message-ai.highlighted {
  color: var(--white);
  background: linear-gradient(135deg, rgba(18,104,179, 0.19), rgba(255, 255, 255, 0.055));
  border-color: rgba(18,104,179, 0.34);
}

.lead-summary {
  padding: 18px 20px 20px;
  background: linear-gradient(180deg, #201a1b, #171415);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-heading span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.summary-heading strong {
  font-size: 12px;
}

.summary-chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.summary-chips span {
  padding: 6px 9px;
  color: #eef5f5;
  background: rgba(18,104,179, 0.1);
  border: 1px solid rgba(18,104,179, 0.2);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 160px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  background: rgba(25, 21, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  font-weight: 750;
  animation: float 5s ease-in-out infinite;
}

.floating-card .icon {
  width: 19px;
  color: #66b1be;
}

.floating-card-top {
  top: 34px;
  right: -28px;
}

.floating-card-bottom {
  bottom: 28px;
  left: -34px;
  animation-delay: -2.2s;
}

.signal-orbit {
  position: absolute;
  border: 1px solid rgba(18,104,179, 0.16);
  border-radius: 50%;
}

.signal-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 22px rgba(18,104,179, 0.9);
}

.signal-orbit-one {
  width: 630px;
  height: 630px;
  top: -20px;
  left: -50px;
}

.signal-orbit-one::after {
  top: 76px;
  right: 68px;
}

.signal-orbit-two {
  width: 510px;
  height: 510px;
  top: 44px;
  left: 10px;
}

.signal-orbit-two::after {
  right: 30px;
  bottom: 106px;
}

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

.hero-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero-rail i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

.capability-strip {
  position: relative;
  z-index: 4;
  color: var(--white);
  background: var(--red);
}

.capability-grid {
  width: min(100%, 1320px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.capability-grid > div {
  min-height: 118px;
  padding: 20px 18px;
  display: grid;
  align-content: center;
  gap: 1px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.capability-grid > div:last-child {
  border-right: 0;
}

.capability-grid span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.capability-grid strong {
  font-size: 16px;
}

.capability-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-light {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
}

.section-heading-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  align-items: end;
  gap: 64px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.knowledge-copy h2,
.loop-copy h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.section-heading-split > p,
.loop-copy > p,
.contact-card > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.section-heading.centered > p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
}

.problem-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem-card {
  position: relative;
  min-height: 350px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.problem-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(18,104,179, 0.13);
  border-radius: 50%;
}

.problem-card:hover {
  transform: translateY(-7px);
  border-color: rgba(18,104,179, 0.4);
  box-shadow: var(--shadow);
}

.card-index {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #bbb1aa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.feature-icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 12px;
}

.problem-card h3 {
  margin: 38px 0 12px;
  font-size: 22px;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
}

.problem-card strong {
  display: block;
  margin-top: 28px;
  padding-top: 22px;
  color: var(--red-deep);
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.section-flow {
  background: var(--white);
}

.workflow-grid {
  position: relative;
  margin: 68px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.workflow-grid::before {
  content: "";
  position: absolute;
  top: 58px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18,104,179, 0.48), transparent);
}

.workflow-step {
  position: relative;
  padding: 0 26px;
  text-align: center;
}

.step-number {
  display: block;
  margin-bottom: 20px;
  color: #aaa19c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.step-icon {
  position: relative;
  z-index: 2;
  width: 76px;
  height: 76px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(16,56,75, 0.08);
}

.step-icon svg {
  width: 30px;
  height: 30px;
}

.workflow-step h3 {
  margin: 24px 0 9px;
  font-size: 19px;
}

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

.section-demo {
  background: var(--paper-2);
}

.scenario-shell {
  margin-top: 62px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d9d1ca;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e8e1d9;
  border-bottom: 1px solid #d9d1ca;
}

.scenario-tabs button {
  position: relative;
  min-height: 112px;
  padding: 22px 28px;
  display: grid;
  gap: 1px;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid #d5cdc5;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.scenario-tabs button:last-child {
  border-right: 0;
}

.scenario-tabs button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.scenario-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--ink);
}

.scenario-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.scenario-tabs small {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.scenario-tabs button[aria-selected="true"] small {
  color: #66b1be;
}

.scenario-tabs strong {
  font-size: 20px;
}

.scenario-tabs span {
  color: var(--muted);
  font-size: 12px;
}

.scenario-tabs button[aria-selected="true"] span {
  color: rgba(255, 255, 255, 0.58);
}

.scenario-panel {
  padding: 50px;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(500px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.scenario-label {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.scenario-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.scenario-copy > p:not(.scenario-label) {
  margin: 22px 0 0;
  color: var(--muted);
}

.scenario-points {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.scenario-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.scenario-points .icon {
  width: 17px;
  color: var(--red);
  stroke-width: 2.2;
}

.scenario-output {
  margin-top: 30px;
  padding: 16px 18px;
  display: grid;
  gap: 2px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 9px 9px 0;
}

.scenario-output span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.scenario-output strong {
  color: var(--red-deep);
  font-size: 14px;
}

.scenario-chat {
  overflow: hidden;
  color: var(--white);
  background: #131112;
  border: 1px solid #2d292a;
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(16,56,75, 0.22);
}

.demo-browser-bar {
  min-height: 48px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 10px;
  background: #201c1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-browser-bar > div {
  display: flex;
  gap: 5px;
}

.demo-browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.demo-browser-bar span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-browser-bar em {
  color: var(--success);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.demo-chat-body {
  min-height: 380px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at 80% 20%, rgba(18,104,179, 0.08), transparent 30%);
}

.demo-message {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.65;
}

.demo-message.visitor {
  align-self: flex-end;
  color: #2a2223;
  background: #f3eee8;
  border-bottom-right-radius: 4px;
}

.demo-message.agent {
  align-self: flex-start;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom-left-radius: 4px;
}

.demo-message.agent span {
  display: block;
  margin-bottom: 4px;
  color: #66b1be;
  font-size: 9px;
  font-weight: 800;
}

.demo-message.featured {
  color: var(--white);
  background: rgba(18,104,179, 0.15);
  border-color: rgba(18,104,179, 0.32);
}

.demo-result {
  padding: 15px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #211c1d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-result > div {
  padding: 0 12px;
  display: grid;
  gap: 2px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-result > div:last-child {
  border-right: 0;
}

.demo-result span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.demo-result strong {
  font-size: 10px;
  line-height: 1.45;
}

.scenario-panel.is-changing .scenario-copy,
.scenario-panel.is-changing .scenario-chat {
  opacity: 0;
  transform: translateY(8px);
}

.scenario-copy,
.scenario-chat {
  transition: opacity 160ms ease, transform 160ms ease;
}

.demo-disclaimer {
  margin: 0;
  padding: 16px 50px 22px;
  color: #8a817c;
  border-top: 1px solid #e5ded7;
  font-size: 11px;
}

.section-knowledge {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 20%, rgba(18,104,179, 0.14), transparent 30%),
    linear-gradient(135deg, #141112, #090a0b 70%);
}

.knowledge-grid {
  opacity: 0.12;
}

.knowledge-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 80px;
}

.section-kicker-dark {
  color: #66b1be;
}

.knowledge-copy h2 {
  max-width: 530px;
}

.knowledge-lead {
  max-width: 580px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.85;
}

.knowledge-promise {
  margin-top: 34px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.knowledge-promise svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #66b1be;
}

.knowledge-promise div {
  display: grid;
  gap: 4px;
}

.knowledge-promise strong {
  font-size: 14px;
}

.knowledge-promise span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.knowledge-stack {
  position: relative;
  display: grid;
  gap: 12px;
}

.knowledge-stack::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -80px;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(transparent, rgba(18,104,179, 0.7), transparent);
}

.knowledge-card {
  position: relative;
  min-height: 174px;
  padding: 26px 30px 24px 130px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.knowledge-card::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 104px;
  width: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.knowledge-card > span {
  position: absolute;
  top: 31px;
  left: 24px;
  width: 66px;
  color: #66b1be;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.knowledge-card:hover {
  transform: translateX(-8px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(18,104,179, 0.45);
}

.knowledge-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.knowledge-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.knowledge-card strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.section-delivery {
  background: var(--paper);
}

.delivery-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.delivery-card {
  position: relative;
  min-height: 350px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.delivery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18,104,179, 0.35);
  box-shadow: var(--shadow);
}

.delivery-card.featured {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.delivery-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(18,104,179, 0.24), transparent 38%);
  pointer-events: none;
}

.delivery-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.delivery-topline span {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.delivery-topline em {
  padding: 5px 9px;
  color: #eef5f5;
  background: rgba(18,104,179, 0.15);
  border: 1px solid rgba(18,104,179, 0.3);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.delivery-card h3 {
  position: relative;
  z-index: 1;
  margin: 38px 0 12px;
  font-size: 29px;
}

.delivery-card > p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.delivery-card.featured > p {
  color: rgba(255, 255, 255, 0.62);
}

.delivery-card ul {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.delivery-card.featured ul {
  border-color: rgba(255, 255, 255, 0.12);
}

.delivery-card li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #5f5754;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.delivery-card.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.delivery-card li .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
  stroke-width: 2.2;
}

.section-loop {
  background: var(--white);
}

.loop-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(560px, 1.3fr);
  align-items: center;
  gap: 80px;
}

.loop-copy h2 {
  max-width: 520px;
}

.loop-copy > p {
  margin-top: 24px;
}

.text-link {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-weight: 800;
}

.text-link:hover .icon {
  transform: translateX(4px);
}

.text-link .icon {
  transition: transform 180ms ease;
}

.loop-track {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
}

.loop-track::before {
  content: "";
  position: absolute;
  inset: 50% -28px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18,104,179, 0.36), transparent);
}

.loop-track li {
  position: relative;
  z-index: 1;
  min-height: 142px;
  padding: 20px;
  display: grid;
  align-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.loop-track li:nth-child(3n + 2) {
  transform: translateY(16px);
}

.loop-track li:nth-child(3n) {
  transform: translateY(32px);
}

.loop-track span {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.loop-track strong {
  margin-top: 6px;
  font-size: 17px;
}

.loop-track small {
  color: var(--muted);
  font-size: 11px;
}

.section-faq {
  background: var(--paper-2);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(560px, 1.3fr);
  gap: 80px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid #cfc6bd;
}

.faq-list details {
  border-bottom: 1px solid #cfc6bd;
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  content: "";
  top: 0;
  right: 0;
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0deg);
}

.faq-list details p {
  margin: -6px 0 0;
  padding: 0 48px 26px 0;
  color: var(--muted);
}

.contact-section {
  position: relative;
  padding: 94px 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(18,104,179, 0.22), transparent 28%),
    #131011;
}

.contact-grid {
  opacity: 0.1;
}

.contact-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: 70px;
}

.contact-card h2 {
  max-width: 820px;
}

.contact-card > div > p {
  max-width: 710px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  text-align: center;
}

.contact-actions small a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 54px 0 24px;
  color: var(--white);
  background: #090909;
}

.footer-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand img {
  width: 156px;
  height: auto;
}

.footer-brand strong {
  display: block;
  margin-top: 20px;
  font-size: 15px;
}

.footer-brand p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
}

.footer-main nav a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  transition: color 180ms ease;
}

.footer-main nav a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay {
  transition-delay: 120ms;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .brand {
    min-width: 220px;
  }

  .brand img {
    width: 125px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.86fr);
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(42px, 5.2vw, 62px);
  }

  .floating-card-top {
    right: -12px;
  }

  .floating-card-bottom {
    left: -12px;
  }

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

  .capability-grid > div:nth-child(3) {
    border-right: 0;
  }

  .capability-grid > div:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .knowledge-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
    gap: 54px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .nav-shell {
    width: min(calc(100% - 32px), 1320px);
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
  }

  .menu-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--header-height));
    padding: 20px 24px 28px;
    display: grid;
    gap: 2px;
    overflow-y: auto;
    background: rgba(18, 16, 17, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu > a:not(.button) {
    min-height: 50px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
  }

  .mobile-menu .button {
    margin-top: 14px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero::before {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-product {
    width: min(100%, 680px);
    min-height: 540px;
    margin-inline: auto;
  }

  .chat-window {
    transform: none;
  }

  .section-heading-split,
  .knowledge-layout,
  .loop-layout,
  .faq-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading-split {
    gap: 24px;
  }

  .section-heading-split > p {
    max-width: 720px;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 52px;
  }

  .workflow-grid::before {
    display: none;
  }

  .scenario-panel {
    grid-template-columns: 1fr;
  }

  .scenario-copy {
    max-width: 700px;
  }

  .knowledge-layout {
    gap: 54px;
  }

  .knowledge-copy {
    max-width: 760px;
  }

  .knowledge-stack {
    max-width: 760px;
  }

  .loop-layout,
  .faq-layout {
    gap: 52px;
  }

  .loop-track {
    max-width: 760px;
  }

  .contact-card {
    gap: 40px;
  }

  .contact-actions {
    max-width: 480px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand img {
    width: 116px;
  }

  .brand-product {
    padding-left: 10px;
  }

  .brand-product strong {
    font-size: 12px;
  }

  .brand-product small {
    font-size: 7px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.2vw, 54px);
    letter-spacing: -0.06em;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 9px;
  }

  .hero-product {
    min-height: 500px;
  }

  .chat-header {
    padding: 14px;
  }

  .chat-body {
    min-height: 354px;
    padding: 16px;
  }

  .message {
    max-width: 92%;
    font-size: 12px;
  }

  .message-user.compact {
    max-width: 88%;
  }

  .summary-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .floating-card {
    display: none;
  }

  .signal-orbit-one,
  .signal-orbit-two {
    width: 460px;
    height: 460px;
  }

  .hero-rail {
    display: none;
  }

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

  .capability-grid > div {
    min-height: 104px;
    padding: 16px;
  }

  .capability-grid > div:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .capability-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .capability-grid > div:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .knowledge-copy h2,
  .loop-copy h2,
  .contact-card h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-heading > p:last-child,
  .section-heading-split > p,
  .loop-copy > p,
  .contact-card > div > p {
    font-size: 15px;
    line-height: 1.8;
  }

  .problem-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .delivery-grid,
  .scenario-shell {
    margin-top: 44px;
  }

  .problem-card {
    min-height: 0;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .workflow-step {
    padding: 0;
    display: grid;
    grid-template-columns: 66px 1fr;
    grid-template-areas: "icon number" "icon title" "icon copy";
    column-gap: 18px;
    text-align: left;
  }

  .step-number {
    grid-area: number;
    margin: 0;
    align-self: end;
  }

  .step-icon {
    grid-area: icon;
    width: 66px;
    height: 66px;
  }

  .workflow-step h3 {
    grid-area: title;
    margin: 2px 0 4px;
  }

  .workflow-step p {
    grid-area: copy;
  }

  .scenario-tabs {
    grid-template-columns: 1fr;
  }

  .scenario-tabs button {
    min-height: 88px;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid #d5cdc5;
  }

  .scenario-tabs button:last-child {
    border-bottom: 0;
  }

  .scenario-tabs button::after {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 4px;
    height: auto;
    transform: scaleY(0);
  }

  .scenario-tabs button[aria-selected="true"]::after {
    transform: scaleY(1);
  }

  .scenario-panel {
    padding: 30px 20px;
    gap: 34px;
  }

  .scenario-copy h3 {
    font-size: 29px;
  }

  .demo-browser-bar {
    grid-template-columns: 56px 1fr auto;
  }

  .demo-chat-body {
    min-height: 360px;
    padding: 15px;
  }

  .demo-message {
    max-width: 93%;
  }

  .demo-result {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .demo-result > div {
    padding: 0;
    border-right: 0;
  }

  .demo-disclaimer {
    padding: 14px 20px 20px;
  }

  .knowledge-card {
    padding: 74px 22px 24px;
  }

  .knowledge-card::before {
    top: 58px;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 1px;
  }

  .knowledge-card > span {
    top: 25px;
    left: 22px;
    width: auto;
  }

  .delivery-card {
    min-height: 0;
  }

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

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

  .loop-track::before {
    display: none;
  }

  .loop-track li,
  .loop-track li:nth-child(3n + 2),
  .loop-track li:nth-child(3n) {
    min-height: 130px;
    transform: none;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .contact-section {
    padding: 78px 0;
  }

  .contact-actions .button {
    width: 100%;
  }

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

  .footer-main nav {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-product {
    display: none;
  }

  .hero h1 {
    font-size: 39px;
  }

  .chat-window {
    border-radius: 18px;
  }

  .chat-header .chat-tag {
    display: none;
  }

  .hero-product {
    min-height: 510px;
  }

  .loop-track {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
