/* True Black-weight glyphs for the complete Chinese hero emphasis. SIL OFL. */
@font-face {
  font-family: "Poppy Hero SC";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("media/fonts/noto-sans-sc-900-hero-line.ttf") format("truetype");
  unicode-range: U+4E0B, U+4E0D, U+4E1A, U+52A1, U+5458, U+6C38, U+73ED, U+7684;
}

:root {
  --bg: #ffffff;
  --soft: #f7f7f6;
  --ink: #0a0a0b;
  --text-primary: #1e1e1e;
  --text-secondary: #666666;
  --text-tertiary: #8a8a8a;
  --text-disabled: #a3a3a3;
  --ink-2: var(--text-secondary);
  --muted: var(--text-secondary);
  --faint: var(--text-tertiary);
  --line: #e7e7e9;
  --line-2: #f0f0f1;
  --accent: var(--brand-primary);
  --accent-deep: #b04635;
  --accent-soft: #fff5f1;
  --brand-primary: #f8634a; /* Design System: primitive/poppy/500 */
  --brand-muted: #fcb7ac; /* Design System: primitive/poppy/300 */
  --brand-primary-rgb: 248, 99, 74;
  --ok: #679129;
  --ok-rgb: 103, 145, 41;
  --ok-soft: #e9f3da;
  --ok-muted: #c8e2a2;
  --ok-bright: #91c445;
  --wait: #d97706;
  --radius: 14px;
  --shadow:
    0 1px 2px rgba(10, 10, 11, 0.04), 0 8px 24px -8px rgba(10, 10, 11, 0.08);
  --shadow-lg:
    0 2px 4px rgba(10, 10, 11, 0.03), 0 24px 60px -20px rgba(10, 10, 11, 0.18);
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
ol,
ul {
  list-style: none;
}
button,
input,
select {
  font: inherit;
}
b {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 4px 14px -4px rgba(10, 10, 11, 0.4);
}
.btn--dark:hover {
  background: #26262b;
  transform: translateY(-1px);
}
.btn--line {
  background: #fff;
  color: var(--text-primary);
  border-color: var(--line);
}
.btn--line:hover {
  border-color: #cfcfd4;
}
.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 9px;
}
.btn--xs {
  height: 30px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 8px;
}
.btn--block {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  --nav-glass-bg: rgba(255, 255, 255, 0.48);
  --nav-glass-filter: saturate(180%) blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
}
/* Keep the glass on its own layer so the expanded menu can blur the page too. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--nav-glass-bg);
  backdrop-filter: var(--nav-glass-filter);
  -webkit-backdrop-filter: var(--nav-glass-filter);
  transition: opacity 0.2s ease;
}
.nav:not(.is-scrolled)::before {
  opacity: 0;
}
.nav__inner {
  max-width: none;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand__mark {
  height: 28px;
  width: auto;
  aspect-ratio: 766 / 715;
  object-fit: contain;
  flex: none;
  display: block;
  background: transparent;
}
.brand__logo {
  display: block;
  width: 104px;
  height: auto;
  flex: none;
}
.brand__name {
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-primary);
}
.nav__links a:hover {
  color: var(--text-primary);
}
.nav__links,
.nav .brand__name {
  transition: color 0.18s ease;
}
.nav.is-over-dark .nav__links,
.nav.is-over-dark .brand__name {
  color: #fff;
}
.nav.is-over-dark .nav__links a:hover {
  color: #fff;
}
.nav__menu-cta {
  display: none;
}
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lang__btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  height: 28px;
  padding: 0 11px;
  border-radius: 6px;
  transition:
    background 0.2s,
    color 0.2s;
}
.lang__btn.is-active {
  background: rgba(255, 255, 255, 0.28);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lang__btn:hover,
.lang__btn:focus-visible {
  background: #fff;
  color: var(--text-primary);
}

.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s;
}
.nav__toggle span:first-child {
  top: 14px;
}
.nav__toggle span:last-child {
  top: 20px;
}
.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  /* Brand orange with the original pale yellow edge. */
  --hero-sunset-peach: var(--primitive-poppy-200, #fdcfc7);
  --hero-sunset-yellow-soft: #ffeda3;
  --hero-gradient-edge: var(--hero-sunset-yellow-soft);
  /* Extend the sunset beneath the sticky header; retain the content's position. */
  position: relative;
  margin-top: -64px;
  padding: 0 0 72px;
  overflow: hidden;
  background: var(--brand-primary);
}
.hero__intro {
  position: relative;
  padding: 160px 0 20px;
  background: linear-gradient(
    180deg,
    var(--hero-gradient-edge) 0%,
    var(--hero-gradient-edge) 64px,
    var(--brand-primary) 148px,
    var(--brand-primary) calc(100% - 78px),
    var(--hero-gradient-edge) calc(100% - 48px),
    var(--hero-gradient-edge) calc(100% - 12px),
    color-mix(in srgb, var(--hero-gradient-edge) 94%, var(--brand-primary))
      calc(100% + 12px),
    color-mix(in srgb, var(--hero-gradient-edge) 75%, var(--brand-primary))
      calc(100% + 36px),
    color-mix(in srgb, var(--hero-gradient-edge) 50%, var(--brand-primary))
      calc(100% + 68px),
    color-mix(in srgb, var(--hero-gradient-edge) 25%, var(--brand-primary))
      calc(100% + 100px),
    color-mix(in srgb, var(--hero-gradient-edge) 6%, var(--brand-primary))
      calc(100% + 124px),
    var(--brand-primary) calc(100% + 148px)
  );
}
/* Continue the longer lower fade behind the film, without moving the copy. */
.hero__intro::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 148px;
  background: linear-gradient(
    180deg,
    var(--hero-gradient-edge) -12px,
    color-mix(in srgb, var(--hero-gradient-edge) 94%, var(--brand-primary)) 12px,
    color-mix(in srgb, var(--hero-gradient-edge) 75%, var(--brand-primary)) 36px,
    color-mix(in srgb, var(--hero-gradient-edge) 50%, var(--brand-primary)) 68px,
    color-mix(in srgb, var(--hero-gradient-edge) 25%, var(--brand-primary))
      100px,
    color-mix(in srgb, var(--hero-gradient-edge) 6%, var(--brand-primary)) 124px,
    var(--brand-primary) 148px
  );
  pointer-events: none;
}
.hero__intro + .container {
  position: relative;
  z-index: 1;
}
.hero__intro > .container {
  position: relative;
  z-index: 2;
}
.hero__intro .hero__lead,
.hero__intro .example-tag {
  color: var(--text-primary);
}
.hero__intro .example-tag__dot {
  background: var(--text-primary);
}
.hero__intro + .container .promo-scroll {
  margin-top: 0;
}
.hero__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}
.hero__head > .announce {
  --announce-shape: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2041%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%20.5H223.5A16%2016%200%200%201%20223.5%2032.5H38Q35%2032.5%2033.5%2034.5L30%2038.5Q28.5%2040%2027%2038.5L23.5%2034.5Q22%2032.5%2019%2032.5H16.5A16%2016%200%200%201%2016.5%20.5Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20vector-effect%3D%22non-scaling-stroke%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  --announce-outline: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2041%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M16.5%20.5H223.5A16%2016%200%200%201%20223.5%2032.5H38Q35%2032.5%2033.5%2034.5L30%2038.5Q28.5%2040%2027%2038.5L23.5%2034.5Q22%2032.5%2019%2032.5H16.5A16%2016%200%200%201%2016.5%20.5Z%22%20fill%3D%22none%22%20stroke%3D%22rgba%28255%2C255%2C255%2C.4%29%22%20stroke-width%3D%221%22%20vector-effect%3D%22non-scaling-stroke%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  position: relative;
  left: calc(5% - 10px);
  top: 40px;
  margin-top: 56px;
  isolation: isolate;
  color: #000;
  background: transparent;
  border-color: transparent;
}
/* One continuous silhouette: the rounded tail joins the capsule without a seam. */
.hero__head > .announce::before,
.hero__head > .announce::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px -1px -9px;
  pointer-events: none;
}
.hero__head > .announce::before {
  background: rgba(255, 255, 255, 0.18);
  -webkit-mask: var(--announce-shape) 0 0 / 100% 100% no-repeat;
  mask: var(--announce-shape) 0 0 / 100% 100% no-repeat;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero__head > .announce::after {
  background: var(--announce-outline) 0 0 / 100% 100% no-repeat;
}
@media (max-width: 600px) {
  .hero__head > .announce {
    left: 0;
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .hero__head > .announce::before,
  .hero__head > .announce::after {
    display: none;
  }
}
.announce:hover,
.announce:focus-visible {
  transform: translateY(-2px);
}
.hero__head > .announce:hover {
  transform: none;
  animation: announce-wiggle 0.45s ease-in-out;
}
@keyframes announce-wiggle {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}
.announce__tag {
  background: var(--accent-soft);
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 999px;
}
.hero__head > .announce .announce__tag {
  background: var(--hero-sunset-yellow-soft);
  color: var(--brand-primary);
}
.hero__title {
  --hero-title-size: clamp(44px, 7.4vw, 80px);
  margin-top: 28px;
  color: var(--ink);
  font-size: var(--hero-title-size);
  line-height: 1.3;
  letter-spacing: -0.045em;
  font-weight: 800;
}
html[lang="zh-CN"] .hero__title {
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.hero__title .hero__emphasis {
  font-family: inherit;
  font-weight: inherit;
}
.grad {
  color: inherit;
}
.hero__title .grad {
  font-size: 1em;
  background: none;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}
.hero__lead {
  margin-top: 48px;
  max-width: 900px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  line-height: 1.65;
  text-wrap: balance;
}
.hero__hours {
  padding: 0.08em 0.35em;
  border-radius: 4px;
  background: var(--hero-sunset-yellow-soft);
  color: #000;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 999px) {
  .hero__lead-break {
    display: none;
  }
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- App mock ---------- */
.app {
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    var(--shadow-lg),
    0 0 0 6px rgba(244, 244, 245, 0.6);
  overflow: hidden;
  font-size: 13px;
}
.app__bar,
.stage__bar {
  height: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfb;
}
.dots {
  display: inline-flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e4e4e7;
}
.app__url {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 12px;
  border-radius: 7px;
}
.app__body {
  display: grid;
  grid-template-columns: 250px 1fr 260px;
  min-height: 430px;
}
.app__side {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  background: #fcfcfc;
}
.side__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  font-weight: 600;
  padding: 4px 8px 10px;
}
.thread {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 9px;
}
.thread b {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread > div {
  min-width: 0;
}
.thread time {
  font-size: 11px;
  color: var(--faint);
  font-family: var(--mono);
}
.thread.is-active {
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line),
    0 1px 3px rgba(0, 0, 0, 0.04);
}
.ch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  display: inline-block;
  flex: none;
  background: var(--brand-muted);
}
.thread.is-active .ch-dot {
  background: var(--brand-primary);
}

.app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.conv__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.conv__head b {
  display: block;
  font-size: 14px;
}
.conv__head small {
  color: var(--muted);
  font-size: 12px;
}
.conv {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.55;
  font-size: 13.5px;
}
.msg--in {
  align-self: flex-start;
  background: var(--soft);
  border: 1px solid var(--line-2);
  border-bottom-left-radius: 4px;
}
.msg--out {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg--out b {
  color: #fff;
}
.msg--attach {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.msg--attach b {
  color: var(--text-primary);
  display: block;
}
.msg--attach small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.pdf {
  display: block;
  width: 36px;
  height: 40px;
  object-fit: contain;
  flex: none;
}
.meta {
  align-self: center;
  font-size: 11.5px;
  color: var(--faint);
  font-family: var(--mono);
}

.app__panel {
  border-left: 1px solid var(--line);
  padding: 14px 16px;
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kv {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px;
}
.kv div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.kv div:last-child {
  border-bottom: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  font-family: var(--mono);
}
.kv__total dt {
  color: var(--text-primary);
  font-weight: 600;
}
.kv__total dd {
  font-weight: 600;
  color: var(--text-primary);
}
.approval,
.approve {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.approval b,
.approve b {
  display: block;
  font-size: 12.5px;
}
.approval small,
.approve small {
  color: var(--muted);
  font-size: 11.5px;
}
.approval .check {
  margin-left: auto;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3f3f46, #0a0a0b);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.avatar--lg {
  width: 40px;
  height: 40px;
  font-size: 15px;
  background: linear-gradient(135deg, #f9826e, var(--accent-deep));
}
.avatar--person {
  background: transparent;
  color: var(--text-primary);
}
.approve .avatar--person {
  background: var(--text-primary);
  color: #fff;
}
.approve .avatar--person .avatar__icon {
  width: 20px;
  height: 20px;
}
.avatar--person.avatar--lg {
  background: var(--brand-primary);
}
.avatar--person.avatar--lg {
  color: #fff;
}
.avatar__icon {
  display: block;
  width: 28px;
  height: 28px;
}
.avatar--lg .avatar__icon {
  width: 28px;
  height: 28px;
}
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  flex: none;
}
.check--sm {
  width: 18px;
  height: 18px;
  font-size: 10px;
}
.synced {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.badge--live {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: var(--ok-muted);
}
.badge--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(var(--ok-rgb), 0.18);
}
.badge--ok {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: var(--ok-muted);
}
.badge--wait {
  color: var(--brand-primary);
  background: var(--accent-soft);
  border-color: var(--brand-muted);
}

.channel-logo {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
}
.channel-logo--email {
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}
.section--tight {
  padding: 96px 0;
}
.section--soft {
  background: var(--soft);
  border: 0;
}
.head {
  max-width: 760px;
  margin-bottom: 40px;
}
.head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: var(--text-tertiary);
  font-weight: 500;
}
.kicker--dim {
  color: var(--text-tertiary);
}
.title {
  margin-top: 16px;
  font-size: clamp(32px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
html[lang="zh-CN"] .title {
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.title--sm {
  font-size: clamp(28px, 3.4vw, 40px);
}
.lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
  line-height: 28px;
  max-width: 620px;
}
.head--center .lead {
  margin-left: auto;
  margin-right: auto;
}
#capabilities > .container > .head,
#capabilities > .container > .head > .lead {
  max-width: none;
}

/* ---------- Capabilities ---------- */
.cap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.cap__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 16px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  position: relative;
  outline: none;
}
.cap__item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--brand-primary);
  opacity: 0;
  transform: scaleX(var(--cap-progress, 0));
  transform-origin: left;
  transition: opacity 0.2s;
}
.cap__item.is-active::before {
  opacity: 1;
}
.cap__item h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--muted);
  transition: color 0.2s;
}
.cap__item p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.3s,
    margin 0.3s;
}
.cap__item.is-active h3,
.cap__item:hover h3 {
  color: var(--text-primary);
}
.cap__item.is-active p {
  max-height: var(--cap-summary-height, 120px);
  opacity: 1;
  margin-top: 6px;
}
.cap__item:focus-visible {
  background: var(--soft);
}

.stage {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.stage__bar {
  grid-area: 1 / 1;
}
.stage__bar em {
  font-style: normal;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  color: var(--muted);
  font-weight: var(--font-weight-medium);
}
/* All panels reserve the same grid row, sized to the tallest panel. */
.panel {
  grid-area: 2 / 1;
  visibility: hidden;
  pointer-events: none;
  min-width: 0;
  padding: 24px;
  min-height: 420px;
  background: linear-gradient(180deg, #fff, #fcfcfc);
}
.panel.is-active {
  visibility: visible;
  pointer-events: auto;
  animation: fade 0.45s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.conv--panel {
  padding: 0;
}
.conv--panel .meta {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
}
.conv--panel .msg {
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
}
.conv--panel .msg b {
  font-weight: var(--font-weight-semibold);
}
.panel[data-panel="0"].is-active {
  animation: none;
}
.panel.is-active .conv--panel .msg {
  animation: capability-message-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--message-delay, 0.24s);
}
@keyframes capability-message-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kb {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kb__q {
  display: flex;
  gap: 0;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-medium);
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 12px;
  border: 1px solid var(--line-2);
}
.kb__customer {
  flex: none;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 6px;
  flex: none;
}
.kb__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.src {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  padding: 5px 10px 5px 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
}
.src i {
  font-style: normal;
  font-family: var(--mono);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-semibold);
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
}
.kb__a {
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
}
.kb__a b {
  font-weight: var(--font-weight-semibold);
}
.kb .kb__foot {
  margin-top: 0;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}
.panel[data-panel="1"].is-active {
  animation: none;
}
.panel.is-active .kb > :is(.kb__q, .kb__a, .kb__foot),
.panel.is-active .kb__sources > .src {
  animation: capability-message-in 0.48s cubic-bezier(0.22, 1, 0.36, 1)
    var(--kb-delay, 0s) both;
}
.panel.is-active .kb__q {
  --kb-delay: 0s;
}
.panel.is-active .kb__sources > .src:nth-child(1) {
  --kb-delay: 1s;
}
.panel.is-active .kb__sources > .src:nth-child(2) {
  --kb-delay: 1.15s;
}
.panel.is-active .kb__sources > .src:nth-child(3) {
  --kb-delay: 1.3s;
}
.panel.is-active .kb__a {
  --kb-delay: 2s;
}
.panel.is-active .kb__foot {
  --kb-delay: 3s;
}

.cost__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.cost__head small {
  display: block;
  font-family: var(--mono);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  color: var(--faint);
}
.cost__head b {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 2px;
}
.cost__head .badge {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-semibold);
}
.cost__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}
.cost__table td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
  color: var(--ink-2);
}
.cost__table td:last-child {
  text-align: right;
  font-family: var(--mono);
  color: var(--text-primary);
}
.cost__table .total td {
  border-bottom: 0;
  padding-top: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  font-size: 14px;
}
.cost__table .total td:last-child {
  color: var(--text-primary);
  font-size: 18px;
  line-height: 28px;
  font-weight: var(--font-weight-semibold);
}
.cost .approve b {
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
}
.cost .approve small {
  display: block;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
}
.cost .approve .btn {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-medium);
}
.approve__btns {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.cost__send-wrap {
  display: inline-flex;
  position: relative;
}
.cost__cursor {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 27px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}
.panel.is-active
  .cost[data-cost-running="true"][data-cost-state="pending"]
  .cost__cursor {
  animation: cost-demo-pointer 2.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.panel.is-active
  .cost[data-cost-running="true"][data-cost-state="pending"]
  .cost__send {
  animation: cost-demo-click 0.24s ease 1.82s both;
}
.cost__send {
  min-width: 84px;
}
html[lang="en"] .cost__send {
  min-width: 118px;
}
.cost[data-cost-state="sending"] .cost__send {
  color: #fff;
  opacity: 0.75;
}
.cost[data-cost-state="sent"] .cost__send {
  background: var(--ok);
  color: #fff;
  box-shadow: none;
}
.cost[data-cost-state="sent"] .cost__head .badge {
  animation: capability-message-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cost[data-cost-state="sent"] .approve small {
  color: var(--ok);
}
@keyframes cost-demo-pointer {
  0%,
  38% {
    opacity: 0;
    transform: translate(64px, -48px);
  }
  48% {
    opacity: 1;
    transform: translate(52px, -40px);
  }
  78%,
  88%,
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
  92% {
    opacity: 1;
    transform: translate(0, 0) scale(0.88);
  }
}
@keyframes cost-demo-click {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
}

.quote {
  padding: 0;
  background: transparent;
}
.quote__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.quote__logo {
  display: flex;
  gap: 10px;
  align-items: center;
}
.quote__logo b {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
}
.quote__logo small,
.quote__no small {
  color: var(--muted);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  display: block;
}
.quote__no {
  text-align: right;
}
.quote__no b {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
}
.quote__to {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  color: var(--muted);
  margin: 12px 0;
}
.quote__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
}
.quote__table th {
  text-align: left;
  font-weight: var(--font-weight-semibold);
  color: var(--muted);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  padding: 8px 6px;
  background: var(--soft);
}
.quote__table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--line-2);
}
.quote__table td:last-child,
.quote__table th:last-child {
  text-align: right;
  font-family: var(--mono);
}
.quote__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
}
.quote__sum b {
  font-size: 24px;
  line-height: 32px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.02em;
}
.quote__terms {
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  color: var(--muted);
  margin-top: 8px;
}
.quote__sent {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  color: var(--ok);
  font-weight: var(--font-weight-medium);
}
.panel[data-panel="3"].is-active {
  animation: none;
}
.panel.is-active .quote > * {
  animation: capability-message-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.12s
    both;
}
.panel.is-active .quote > :is(.quote__table, .quote__sum, .quote__terms) {
  animation-delay: 0.65s;
}
.panel.is-active .quote > .quote__sent {
  animation-delay: 1.8s;
}
.panel.is-active .quote__sent .check {
  animation: fade 0.32s ease 1.98s both;
}

.crm__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.crm__profile b {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-semibold);
}
.crm__profile small {
  color: var(--muted);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
}
.crm__profile .badge {
  margin-left: auto;
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-semibold);
}
.timeline {
  margin-top: 18px;
  position: relative;
  padding-left: 18px;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: var(--font-weight-regular);
}
.timeline li::before {
  content: "";
  position: absolute;
  z-index: 1;
  box-sizing: border-box;
  left: -18px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px #fff;
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: -14px;
  top: 19.5px;
  bottom: -19.5px;
  width: 1px;
  background: var(--line);
}
.timeline li.next::before {
  background: #fff;
  border: 1.5px dashed var(--faint);
}
.timeline li.next span {
  color: var(--muted);
}
.timeline time {
  font-family: var(--mono);
  font-size: var(--font-size-caption);
  line-height: var(--line-height-caption);
  font-weight: var(--font-weight-regular);
  color: var(--faint);
  padding-top: 1px;
}
.panel.is-active .timeline li {
  animation: capability-message-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.panel.is-active .timeline li:nth-child(1) {
  animation-delay: 0.3s;
}
.panel.is-active .timeline li:nth-child(2) {
  animation-delay: 1s;
}
.panel.is-active .timeline li:nth-child(3) {
  animation-delay: 1.7s;
}
.panel.is-active .timeline li:nth-child(4) {
  animation-delay: 2.4s;
}
.panel.is-active .timeline li:nth-child(5) {
  animation-delay: 3.1s;
}

/* ---------- Delivery ---------- */
#delivery {
  background: #f8f5f2;
}
#delivery > .container > .head {
  max-width: none;
  margin-bottom: 40px;
}
#delivery > .container > .head > .lead {
  max-width: none;
}
.feats {
  display: grid;
  gap: 96px;
}
.feat {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.feat--rev {
  grid-template-columns: 1.15fr 0.85fr;
}
.feat--rev .feat__copy {
  order: 2;
}
.feat > * {
  min-width: 0;
}
.feat__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text-primary);
}
.feat__step {
  flex: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  white-space: nowrap;
}
.feat__step::after {
  content: "·";
  margin-left: 12px;
}
.feat h3 {
  margin-top: 0;
  min-width: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.feat__copy > p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 20px;
}
.ticks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-2);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.feat__viz {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  font-size: 13px;
  background: #fff
    radial-gradient(circle at 1px 1px, #e9e9ec 1px, transparent 0) 0 0 / 16px
    16px;
  box-shadow: var(--shadow-lg);
}

/* ---------- Delivery motion (default = final state; .is-playing:not(.sN) = before step N) ---------- */
.mo {
  display: grid;
  gap: 0;
}
.mo > * {
  min-width: 0;
}
.mo-reset,
.mo-reset * {
  transition: none !important;
  animation: none !important;
}
.mo-steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.mo-steps li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
  min-width: 0;
}
.mo-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 400;
}
.mo-steps b {
  font-weight: 600;
  line-height: 1.25;
}
.mo-steps li.is-done {
  color: var(--ink-2);
}
.mo-steps li.is-active {
  background: var(--accent-soft);
  color: var(--brand-primary);
  border-color: var(--brand-muted);
}
.mo-link {
  height: 22px;
  width: 1.5px;
  margin: 4px auto;
  background: linear-gradient(var(--line), var(--accent), var(--line));
  background-size: 100% 200%;
  animation: flowdown 1.4s linear infinite;
}
@keyframes flowdown {
  from {
    background-position: 0 100%;
  }
  to {
    background-position: 0 -100%;
  }
}

/* KB: documents */
.kb-src {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.doc {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  min-width: 0;
}
.doc__icon {
  width: 30px;
  height: 30px;
  flex: none;
  object-fit: contain;
}
.doc b {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.doc__ok {
  margin-left: auto;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 9px;
  font-weight: 600;
  display: grid;
  place-items: center;
  transition:
    opacity 0.3s,
    transform 0.3s;
  transition-delay: calc(var(--d) * 0.15s + 0.9s);
}
.doc__scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--brand-primary-rgb), 0.16),
    transparent
  );
  opacity: 0;
  pointer-events: none;
}
.mo.is-playing:not(.s1) .doc__ok {
  opacity: 0;
  transform: scale(0.4);
  transition-delay: 0s;
}
.mo.is-playing.s1:not(.s2) .doc__scan {
  animation: scan 1s ease-in-out calc(var(--d) * 0.15s) 1 both;
}
@keyframes scan {
  0% {
    left: -40%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 1;
  }
}

/* KB: entities */
.ents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.ent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 18px;
  transition:
    opacity 0.35s,
    transform 0.35s;
  transition-delay: calc(var(--d) * 70ms);
}
.ent em,
.gn em {
  white-space: nowrap;
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--c);
}
.mo.is-playing:not(.s2) .ent {
  opacity: 0;
  transform: translateY(-14px) scale(0.85);
  transition-delay: 0s;
}
.ent--prod,
.gn--prod {
  --c: var(--brand-primary);
}
.ent--form,
.gn--form {
  --c: var(--color-agent-kira-bg);
}
.ent--pack,
.gn--pack {
  --c: var(--color-agent-pinn-bg);
}
.ent--price,
.gn--price {
  --c: var(--ok);
}
.ent--moq,
.gn--moq {
  --c: #d97706;
}
.ent--lead,
.gn--lead {
  --c: var(--color-neutral-700);
}
.ent--lead em,
.gn--lead em {
  color: #fff;
}

/* KB: ontology graph */
.graph {
  position: relative;
  aspect-ratio: 380 / 210;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.graph__edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ge {
  fill: none;
  stroke: #c9c9cf;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset 1.2s ease,
    opacity 0.2s,
    stroke 0.4s;
  transition-delay: calc(var(--d) * 0.18s + 0.3s);
}
.mo.s4 .ge--hl,
.mo:not(.is-playing) .ge--hl {
  stroke: var(--accent);
  stroke-width: 2.2;
}
.mo.is-playing:not(.s3) .ge {
  stroke-dashoffset: 800;
  opacity: 0;
  transition-delay: 0s;
}
.gl {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 12px;
  line-height: 18px;
  color: var(--ink-2);
  background: #fff;
  border: 1px dashed #d4d4d8;
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
  transition:
    opacity 0.4s,
    color 0.4s,
    border-color 0.4s;
  transition-delay: calc(var(--d) * 0.18s + 0.7s);
}
.mo.s4 .gl--hl,
.mo:not(.is-playing) .gl--hl {
  color: var(--text-primary);
  border-color: #fdcfc7;
}
.mo.is-playing:not(.s3) .gl {
  opacity: 0;
  transition-delay: 0s;
}
.gn {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 9px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--c);
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.25);
  text-align: center;
  width: max-content;
  max-width: 34%;
  transition:
    opacity 0.4s,
    transform 0.4s,
    box-shadow 0.4s;
  transition-delay: calc(var(--d) * 0.12s);
}
.gn b {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
.mo.s4 .gn--hl,
.mo:not(.is-playing) .gn--hl {
  box-shadow:
    0 0 0 4px rgba(var(--brand-primary-rgb), 0.15),
    0 6px 16px -6px rgba(var(--brand-primary-rgb), 0.5);
}
.mo.is-playing:not(.s3) .gn {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition-delay: 0s;
}

/* KB: knowledge base + answer */
.kb-core {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.kb-core__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.kb-core__head b {
  font-size: 14px;
  line-height: 20px;
}
.kb-core__head .badge {
  margin-left: auto;
  transition: opacity 0.3s;
}
.kb-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.kb-search {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
}
.kb-search span:first-child {
  color: var(--faint);
  font-size: 15px;
}
.kb-q {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s steps(16);
  transition-delay: 0.2s;
}
.kb-hit {
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 2px solid var(--ok);
  background: var(--ok-soft);
  border-radius: 0 8px 8px 0;
  transition:
    opacity 0.4s,
    transform 0.4s;
  transition-delay: 1.4s;
}
.kb-hit b {
  display: block;
  font-size: 14px;
  line-height: 20px;
}
.kb-hit small {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.mo.is-playing:not(.s4) .kb-q {
  clip-path: inset(0 100% 0 0);
  transition: none;
}
.mo.is-playing:not(.s4) .kb-hit:not(.trend__tip) {
  opacity: 0;
  transform: translateY(8px);
  transition-delay: 0s;
}
.mo.is-playing:not(.s3) .kb-core__head .badge {
  opacity: 0;
}

/* Knowledge base: a fixed viewport over one continuous vertical workflow. */
.kb-demo {
  --workflow-radius: 18px;
  --workflow-inset: 24px;
  --workflow-tabs-height: 44px;
  --workflow-gap: 20px;
  height: 360px;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: var(--workflow-radius);
  isolation: isolate;
}
#knowledge-demo,
#training-demo,
#channel-connections {
  box-shadow: none;
}
/* Frost only the strip above the tabs, preserving the continuous workflow below. */
.kb-demo::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: calc(var(--workflow-radius) - 1px);
  clip-path: inset(0 0 calc(100% - var(--workflow-inset)) 0);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Hide scrolled panels behind the transparent corners of the rounded tab bar. */
.kb-demo::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: var(--workflow-inset);
  left: var(--workflow-inset);
  right: var(--workflow-inset);
  height: var(--workflow-tabs-height);
  background: var(--color-bg-surface, #fff);
  pointer-events: none;
}
.kb-demo__steps {
  position: absolute;
  z-index: 2;
  top: var(--workflow-inset);
  left: var(--workflow-inset);
  right: var(--workflow-inset);
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 4px;
  border-radius: var(--radius-200);
  background: var(--color-bg-canvas);
}
.kb-demo__steps li {
  display: flex;
  flex: 1;
  min-width: 0;
}
.kb-demo__step {
  width: 100%;
  min-width: 0;
}
.kb-demo__step b {
  font-weight: inherit;
}
/* The actual workflow scrolls through the full card, beneath only the tabs. */
.kb-demo__stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(var(--workflow-radius) - 1px);
  margin: 0;
  padding: calc(
      var(--workflow-inset) + var(--workflow-tabs-height) + var(--workflow-gap)
    )
    var(--workflow-inset) var(--workflow-inset);
}
.kb-demo__panel {
  min-height: calc(100% - 48px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.kb-demo__panel:last-child {
  min-height: 100%;
}
.kb-demo__link {
  width: 2px;
  height: calc(48px + var(--kb-link-tail, 0px) + var(--kb-link-head, 0px));
  margin: calc(-1 * var(--kb-link-tail, 0px)) auto
    calc(-1 * var(--kb-link-head, 0px));
  background-image:
    linear-gradient(
      180deg,
      transparent,
      var(--brand-primary) 35%,
      var(--brand-primary) 65%,
      transparent
    ),
    linear-gradient(var(--primitive-neutral-300), var(--primitive-neutral-300));
  background-size:
    100% 48px,
    100% 100%;
  background-repeat: no-repeat;
  background-position:
    0 -48px,
    0 0;
  -webkit-mask-image: repeating-linear-gradient(
    180deg,
    #000 0 5px,
    transparent 5px 9px
  );
  mask-image: repeating-linear-gradient(
    180deg,
    #000 0 5px,
    transparent 5px 9px
  );
  animation: kb-link-flow 1.8s linear infinite;
}
@keyframes kb-link-flow {
  to {
    background-position:
      0 calc(100% + 48px),
      0 0;
  }
}
/* Revealed connectors stay visible as the workflow advances. */
#knowledge-demo .kb-demo__link,
#training-demo .kb-demo__link {
  opacity: 0;
  animation: none;
}
#knowledge-demo .kb-demo__link.is-complete,
#training-demo .kb-demo__link.is-complete {
  opacity: 1;
  animation: kb-link-flow 1.8s linear infinite;
}
#knowledge-demo .kb-demo__link.is-connecting,
#training-demo .kb-demo__link.is-connecting {
  opacity: 1;
  animation:
    kb-connector-reveal 0.8s ease-out both,
    kb-link-flow 1.8s linear infinite;
}
@keyframes kb-connector-reveal {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
.kb-demo .kb-src {
  gap: 12px;
}
.kb-demo .doc {
  min-height: 64px;
  padding: 14px 12px;
}
.kb-demo[data-active-step="0"] .doc__scan {
  animation: scan 1.1s ease-in-out calc(var(--d) * 0.18s) 1 both;
}
.kb-demo[data-active-step="0"] .doc__ok {
  animation: kb-doc-ready 0.2s ease calc(var(--d) * 0.18s + 0.9s) both;
}
.kb-demo .ents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
#kb-panel-extract > .ents {
  margin-top: 24px;
}
.kb-demo .ent {
  min-width: 0;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
}
.kb-demo .ent em {
  flex-shrink: 0;
}
.kb-demo .ent > span {
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.kb-demo .graph {
  flex: none;
  width: 100%;
  height: 220px;
  aspect-ratio: auto;
  border: 0;
  background: var(--color-bg-canvas);
  box-shadow: none;
}
.kb-demo .gn {
  border: 0;
  flex-direction: row;
  gap: 6px;
}
#kb-panel-graph .gn {
  box-shadow: none;
}
/* The outer desktop anchors (20% and 86%) share a 53% center. Move
   nodes, labels and edges together so the content is centered at 50%. */
@media (min-width: 561px) {
  #kb-panel-graph .graph > * {
    margin-left: -3%;
  }
}
.kb-demo .gn em {
  flex-shrink: 0;
}
.kb-demo .gn b {
  text-align: left;
}
.kb-demo .gn--price {
  --c: #91c545;
}
.kb-demo .gn--price em {
  color: #fff;
}
.kb-demo .ge--hl {
  stroke: var(--brand-primary);
}
/* Reveal content in workflow order; completed sections keep their content
   and connectors when the next section comes into view. */
#knowledge-demo[data-active-step] .kb-demo__panel:not(.is-revealed) > * {
  visibility: hidden;
}
#knowledge-demo[data-active-step] .ent,
#knowledge-demo[data-active-step] .gn,
#knowledge-demo[data-active-step] .gl,
#knowledge-demo[data-active-step] .ge {
  opacity: 0;
  transition: none;
  animation: none;
}
#knowledge-demo[data-active-step] .is-revealed .ent,
#knowledge-demo[data-active-step] .is-revealed .gn,
#knowledge-demo[data-active-step] .is-revealed .gl,
#knowledge-demo[data-active-step] .is-revealed .ge {
  opacity: 1;
}
#knowledge-demo[data-motion-step="1"] .ent {
  opacity: 1;
  animation: kb-entity-in 0.4s ease calc(var(--d) * 0.12s) both;
}
#knowledge-demo[data-motion-step="2"] .gn {
  opacity: 1;
  animation: kb-graph-node 0.7s cubic-bezier(0.2, 0.7, 0.2, 1)
    calc(var(--d) * 0.24s) both;
}
#knowledge-demo[data-motion-step="2"] .gl {
  opacity: 1;
  animation: kb-graph-label 0.5s ease calc(var(--d) * 0.24s + 0.45s) both;
}
#knowledge-demo[data-motion-step="2"] .ge {
  opacity: 1;
  animation: kb-graph-line 1.2s ease calc(var(--d) * 0.24s + 0.25s) both;
}
/* Replay retrieval only after its panel settles into view. */
#knowledge-demo[data-motion-step="3"] #kb-panel-answer .kb-core {
  animation: kb-answer-in 0.45s ease both;
}
#knowledge-demo[data-motion-step="3"] #kb-panel-answer .badge {
  transition: none;
  animation: kb-answer-fade 0.3s ease 0.2s both;
}
#knowledge-demo[data-motion-step="3"] #kb-panel-answer .kb-q {
  transition: none;
  animation: kb-query-type 1s steps(16, end) 0.4s both;
}
#knowledge-demo[data-motion-step="3"] #kb-panel-answer .kb-hit {
  transition: none;
  animation: kb-answer-in 0.4s ease 1.6s both;
}
#knowledge-demo[data-motion-step="3"] #kb-panel-answer .kb-hit small {
  display: block;
  animation: kb-answer-fade 0.3s ease 1.95s both;
}
@keyframes kb-answer-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kb-answer-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes kb-query-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes kb-entity-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kb-graph-node {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes kb-graph-label {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes kb-doc-ready {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes kb-graph-line {
  from {
    stroke-dashoffset: 800;
    opacity: 0.3;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Training: chat logs */
.training-demo .kb-demo__panel > * {
  flex: none;
}
.training-demo .kb-demo__panel > .chats {
  margin-top: 24px;
}
.training-demo .kb-demo__panel > .cases {
  margin-top: 24px;
}
.training-demo .kb-demo__panel > .evalbox {
  margin-top: 24px;
}
.training-demo .kb-demo__panel > .cases,
.training-demo .kb-demo__panel > .distill,
.training-demo .kb-demo__panel > .evalbox {
  width: 100%;
}
.training-demo #training-panel-logs .pii__raw {
  opacity: 1;
  filter: none;
}
.training-demo #training-panel-logs .pii__mask,
.training-demo #training-panel-clean .pii__raw {
  display: none;
}
.training-demo #training-panel-logs .noise {
  text-decoration: none;
  opacity: 1;
}
.training-demo #training-panel-clean .noise {
  opacity: 0.35;
  text-decoration: line-through;
}
.training-demo .distill {
  gap: 4px;
  padding: 10px 12px;
}
.training-demo[data-motion-step="4"] .score__bar i {
  animation: training-score 0.9s ease calc(var(--d) * 0.2s) both;
}
@keyframes training-score {
  from {
    width: 0;
  }
  to {
    width: var(--w);
  }
}
.chats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.chatlog {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  line-height: 18px;
  display: grid;
  gap: 5px;
  align-content: start;
  transition:
    opacity 0.4s,
    transform 0.4s;
  transition-delay: calc(var(--d) * 0.15s);
}
.chatlog__who {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
}
.chatlog__who .avatar {
  width: 20px;
  height: 20px;
  font-size: 10px;
}
.chatlog__who b {
  font-size: 12px;
}
.chatlog__who small {
  margin-left: auto;
  font-size: 12px;
  line-height: 18px;
  color: var(--faint);
  white-space: nowrap;
}
.chatlog p {
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.chatlog .rep {
  color: var(--text-primary);
  font-weight: 500;
}
.mo.is-playing:not(.s1) .chatlog {
  opacity: 0.25;
  transform: translateY(8px);
  transition-delay: 0s;
}
.pii {
  display: inline-grid;
  vertical-align: bottom;
}
.pii > span {
  grid-area: 1 / 1;
  transition:
    opacity 0.35s,
    filter 0.35s;
  transition-delay: calc(var(--d) * 0.2s + 0.2s);
}
.pii__raw {
  opacity: 0;
  filter: blur(4px);
  color: var(--text-primary);
}
.pii__mask {
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 0 4px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
}
.mo.is-playing:not(.s2) .pii__raw {
  opacity: 1;
  filter: none;
  transition-delay: 0s;
}
.mo.is-playing:not(.s2) .pii__mask {
  opacity: 0;
  transition-delay: 0s;
}
.noise {
  text-decoration: line-through;
  opacity: 0.35;
  transition: opacity 0.4s;
  transition-delay: calc(var(--d) * 0.2s + 0.5s);
}
.mo.is-playing:not(.s2) .noise {
  text-decoration: none;
  opacity: 1;
  transition-delay: 0s;
}

/* Training: case library + distill */
.train-mid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.cases,
.distill,
.evalbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.cases__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.cases__head b {
  font-size: 14px;
  line-height: 20px;
}
.case {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-top: 5px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 12px;
  line-height: 18px;
  transition:
    opacity 0.35s,
    transform 0.35s;
  transition-delay: calc(var(--d) * 0.15s);
}
.case__id {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--faint);
}
.case i {
  margin-left: auto;
  font-style: normal;
  font-weight: 600;
}
.case i.ok {
  color: var(--ok-bright);
}
.case i.esc {
  color: var(--brand-primary);
}
.mo.is-playing:not(.s3) .case {
  opacity: 0;
  transform: translateX(-16px);
  transition-delay: 0s;
}
.mo.is-playing:not(.s3) .cases .badge {
  opacity: 0;
}
.distill {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rule-chip {
  font-size: 12px;
  line-height: 18px;
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  transition:
    opacity 0.35s,
    transform 0.35s;
  transition-delay: calc(var(--d) * 0.15s);
}
.rule-chip--rose {
  background: var(--accent-soft);
  border-color: #fdcfc7;
  color: var(--text-primary);
}
.poppy-upd {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  transition:
    opacity 0.4s,
    transform 0.4s;
  transition-delay: 0.8s;
}
.poppy-upd .brand__mark {
  height: 22px;
  width: auto;
  background: transparent;
}
.mo.is-playing:not(.s4) .rule-chip {
  opacity: 0;
  transform: translateY(10px);
  transition-delay: 0s;
}
.mo.is-playing:not(.s4) .poppy-upd {
  opacity: 0;
  transform: scale(0.9);
  transition-delay: 0s;
}

/* Training: evaluation */
.score {
  display: grid;
  grid-template-columns: minmax(0, 7.5em) 1fr 3em;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 12px;
  line-height: 18px;
}
.score b {
  font-family: var(--mono);
  text-align: right;
  color: var(--text-primary);
}
.score__bar {
  height: 6px;
  border-radius: 6px;
  background: var(--line-2);
  overflow: hidden;
}
.score__bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--ok-bright);
  border-radius: 6px;
  transition: width 0.9s ease;
  transition-delay: calc(var(--d) * 0.2s);
}
.eval-pass {
  transition:
    opacity 0.4s,
    transform 0.4s;
  transition-delay: 1.1s;
}
.mo.is-playing:not(.s5) .score__bar i {
  width: 0;
  transition-delay: 0s;
}
.mo.is-playing:not(.s5) .score b,
.mo.is-playing:not(.s5) .eval-pass {
  opacity: 0;
  transition-delay: 0s;
}
.score b {
  transition: opacity 0.4s;
  transition-delay: calc(var(--d) * 0.2s + 0.6s);
}

/* Replay each training step after scrolling settles; final styling stays intact. */
.training-demo[data-active-step] .training-demo__panel:not(.is-revealed) > * {
  visibility: hidden;
}
.training-demo[data-motion-step="0"] #training-panel-logs .chatlog {
  animation: training-item-in 0.42s cubic-bezier(0.22, 1, 0.36, 1)
    calc(var(--d) * 0.2s) both;
}
.training-demo[data-motion-step="0"] #training-panel-logs .chatlog p {
  animation: training-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1)
    calc(var(--d) * 0.2s + var(--training-message-delay, 0.2s)) both;
}
.training-demo[data-motion-step="0"] #training-panel-logs .noise {
  --training-message-delay: 0.45s;
}
.training-demo[data-motion-step="0"] #training-panel-logs .rep {
  --training-message-delay: 0.7s;
}
.training-demo[data-chat-continuity="true"] #training-panel-logs .chatlog,
.training-demo[data-chat-continuity="true"] #training-panel-logs .chatlog p {
  animation: none;
}
.training-demo[data-motion-step="1"] #training-panel-clean .pii {
  position: relative;
}
.training-demo[data-motion-step="1"] #training-panel-clean .pii__raw {
  display: inline;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  animation: training-redact-raw 0.35s ease calc(var(--d) * 0.22s + 0.45s) both;
}
.training-demo[data-motion-step="1"] #training-panel-clean .pii__mask {
  animation: training-redact-mask 0.35s ease calc(var(--d) * 0.22s + 0.45s) both;
}
.training-demo[data-motion-step="1"] #training-panel-clean .noise {
  animation: training-clean-noise 0.4s ease calc(var(--d) * 0.22s + 0.8s) both;
}
.training-demo[data-motion-step="2"] .case {
  animation: training-case-in 0.4s cubic-bezier(0.22, 1, 0.36, 1)
    calc(var(--d) * 0.22s + 0.15s) both;
}
.training-demo[data-motion-step="2"] .cases .badge {
  animation: training-fade-in 0.3s ease 1s both;
}
.training-demo[data-motion-step="3"] .rule-chip {
  animation: training-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1)
    calc(var(--d) * 0.18s) both;
}
.training-demo[data-motion-step="3"] .poppy-upd {
  animation: training-item-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) 1.2s both;
}
.training-demo[data-motion-step="4"] .score b {
  animation: training-fade-in 0.3s ease calc(var(--d) * 0.2s + 0.6s) both;
}
.training-demo[data-motion-step="4"] .eval-pass {
  animation: training-item-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both;
}
@keyframes training-item-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes training-case-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes training-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes training-redact-raw {
  from {
    opacity: 1;
    filter: none;
  }
  to {
    opacity: 0;
    filter: blur(4px);
  }
}
@keyframes training-redact-mask {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes training-clean-noise {
  from {
    opacity: 1;
    text-decoration: none;
  }
  to {
    opacity: 0.35;
    text-decoration: line-through;
  }
}

.hub {
  position: relative;
  aspect-ratio: 4 / 3;
}
.viz-ch .hub {
  aspect-ratio: 16 / 9;
  min-height: 240px;
}
.hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hub__lines path {
  fill: none;
  stroke: #d4d4d8;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
  animation: dash 1.2s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -18;
  }
}
.hub__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow:
    0 0 0 6px var(--brand-primary),
    0 12px 30px -8px rgba(10, 10, 11, 0.4);
}
.hub__core .brand__mark {
  height: 34px;
  width: auto;
  background: transparent;
}
.hub__ch {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hub__ch b {
  display: block;
  font-size: 12px;
  line-height: 18px;
}
.hub__ch .channel-logo {
  width: 30px;
  height: 30px;
}
.hub__ch small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 18px;
  color: var(--ok);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok-bright);
  box-shadow: 0 0 0 3px rgba(var(--ok-rgb), 0.15);
}
.ch-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  flex: none;
}
.ch-logo--site {
  background: var(--ink);
  font-size: 9px;
}
.testlog {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 14px;
  box-shadow: var(--shadow);
}
.testlog .check {
  color: var(--ok);
  background: var(--ok-soft);
}
.testlog div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 12px;
  line-height: 18px;
  border-bottom: 1px solid var(--line-2);
}
.testlog div:last-child {
  border-bottom: 0;
}
.testlog em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.testlog[data-results="pending"] > div {
  opacity: 0;
}
.testlog[data-results="running"] > div {
  animation: channel-result-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
.testlog[data-results="running"] > div:nth-child(2) {
  animation-delay: 1.15s;
}
.testlog[data-results="running"] > div:nth-child(3) {
  animation-delay: 2.15s;
}
.testlog[data-results="running"] > div:last-child > em {
  animation: channel-result-in 0.35s ease 2.85s both;
}
@keyframes channel-result-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Pricing ---------- */
/* Combined with the shared 72px scroll padding, land this section 48px from the top. */
#pricing {
  scroll-margin-top: -24px;
}
#pricing .head,
#pricing .head > .lead {
  max-width: none;
}
#pricing .head {
  margin-bottom: 40px;
}
@media (min-width: 1001px) {
  #pricing > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
    gap: 32px;
    align-items: center;
  }
  #pricing .head {
    margin-bottom: 0;
    min-width: 0;
  }
  #pricing .head > .title {
    margin-top: 0;
  }
  #pricing .pricing-compare__label-col {
    width: 19%;
  }
}
.section-heading-number {
  font-family: var(--mono);
}
.pricing-question {
  display: inline-block;
  max-width: 100%;
}
.pricing-compare {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.pricing-compare__table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  text-align: left;
}
.pricing-compare__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pricing-compare__label-col {
  width: 18%;
}
.pricing-compare__mobile-break {
  display: none;
}
.pricing-compare__table col:nth-child(2) {
  width: 40%;
}
.pricing-compare__table th,
.pricing-compare__table td {
  padding: 18px 16px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.pricing-compare__table thead th,
.pricing-compare__table thead td {
  padding-top: 20px;
  padding-bottom: 20px;
}
.pricing-compare__table thead .pricing-compare__human {
  vertical-align: middle;
}
.pricing-compare__intro {
  background: var(--soft);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 22px;
}
.pricing-compare__table .pricing-compare__intro {
  vertical-align: middle;
}
.pricing-compare__name {
  display: block;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.pricing-compare__amount {
  display: block;
  margin-top: 8px;
  font-size: clamp(22px, 2.65vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  white-space: nowrap;
}
.pricing-compare__human .pricing-compare__amount {
  font-size: clamp(22px, 2.25vw, 28px);
  text-decoration: line-through;
  text-decoration-color: var(--brand-primary);
  text-decoration-thickness: 2px;
}
.pricing-compare__period {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}
.pricing-compare__poppy-head {
  background: var(--brand-primary);
  color: #fff;
}
.pricing-compare__poppy-head .pricing-compare__period {
  color: #fff;
}
.pricing-compare__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 8px;
  min-height: 80px;
  align-content: center;
}
.pricing-compare__summary .pricing-compare__name {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}
.pricing-compare__summary .pricing-compare__period {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin-top: 0;
  font-size: 12px;
  text-align: right;
}
.pricing-compare__summary .pricing-compare__amount {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  margin-top: 0;
  text-align: left;
}
.pricing-compare__poppy-head .pricing-compare__amount {
  font-size: clamp(48px, 5.6vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.pricing-compare__table tbody th {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text-secondary);
}
.pricing-compare__table tbody td {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-secondary);
}
.pricing-compare__table tbody tr > * {
  border-top: 1px solid var(--line);
}
.pricing-compare__table tbody tr > :nth-child(2) {
  border-left: 1px solid var(--line);
}
.pricing-compare__poppy {
  background: var(--primitive-poppy-50, #fff5f1);
}
.pricing-compare__table strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}
.pricing-compare__table td > span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
}

.pricing-compare__table .pricing-compare__intro > span {
  font-size: 12px;
}

@media (max-width: 1000px) {
  .pricing-compare__summary {
    display: block;
    min-height: 0;
  }
  .pricing-compare__summary .pricing-compare__amount {
    margin-top: 8px;
    text-align: left;
  }
  .pricing-compare__poppy-head .pricing-compare__amount {
    font-size: clamp(30px, 7.5vw, 48px);
  }
  .pricing-compare__summary .pricing-compare__period {
    margin-top: 8px;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .pricing-compare__label-col {
    width: 20%;
  }
  html[lang="zh-CN"] .pricing-compare__label-col {
    width: 72px;
  }
  html[lang="zh-CN"] .pricing-compare__mobile-break {
    display: initial;
  }
  .pricing-compare__table th,
  .pricing-compare__table td {
    padding: 16px 12px;
  }
  .pricing-compare__table thead th,
  .pricing-compare__table thead td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .pricing-compare__intro {
    font-size: 12px;
    line-height: 18px;
  }
  html[lang="zh-CN"] .pricing-compare__table .pricing-compare__intro {
    padding-inline: 6px;
    text-align: center;
  }
  .pricing-compare__name {
    font-size: 14px;
    line-height: 20px;
  }
  .pricing-compare__amount {
    font-size: 20px;
    white-space: normal;
  }
  .pricing-compare__human .pricing-compare__amount {
    font-size: 18px;
  }
  .pricing-compare__poppy-head .pricing-compare__summary {
    container-type: inline-size;
  }
  .pricing-compare__poppy-head .pricing-compare__amount {
    font-size: 30.2cqi;
    white-space: nowrap;
  }
  .pricing-compare__period {
    font-size: 12px;
    line-height: 18px;
  }
  .pricing-compare__table tbody th {
    font-size: 12px;
    line-height: 20px;
  }
  html[lang="zh-CN"] .pricing-compare__table tbody th {
    padding-inline: 6px;
    text-align: center;
    white-space: nowrap;
  }
  html[lang="zh-CN"] .pricing-compare__table tbody td:nth-child(2) {
    padding-inline: 8px;
  }
  .pricing-compare__table tbody tr > :nth-child(-n + 2) {
    vertical-align: middle;
  }
  .pricing-compare__table tbody td {
    font-size: 13px;
    line-height: 20px;
  }
  .pricing-compare__table td > span {
    font-size: 12px;
    line-height: 18px;
  }
}

/* ---------- Vision ---------- */
.section--dark {
  background: #0a0a0b;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 400px at 80% 50%,
    rgba(var(--brand-primary-rgb), 0.16),
    transparent 70%
  );
}
.vision {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.vision__copy p:not(.kicker) {
  margin-top: 20px;
  color: var(--text-tertiary);
  font-size: 16px;
  line-height: 24px;
  max-width: 520px;
}
.vision__copy p b {
  color: #fff;
}
.vision__copy .title .grad {
  color: var(--brand-primary);
  white-space: nowrap;
}
.eq {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid #27272a;
  border-radius: 12px;
  background: #111113;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.eq i {
  font-style: normal;
  color: var(--accent);
}
.a2a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 40fr) minmax(0, 42fr);
  justify-content: space-between;
  align-items: center;
  column-gap: 18%;
  margin-bottom: 28px;
}
.a2a__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.a2a__lines path {
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s;
}
.a2a__lines path.is-hot {
  stroke: var(--accent);
  stroke-dasharray: none;
}
.a2a__lines path.is-complete {
  opacity: 0.55;
}
.a2a__pkts .out {
  fill: var(--brand-primary);
}
.a2a__prelude ellipse {
  fill: var(--text-disabled);
}
.a2a__poppy {
  position: relative;
  min-width: 0;
  width: 100%;
  background: #fff;
  color: var(--text-primary);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 0 0 6px var(--brand-primary);
}
.a2a__poppy-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.a2a__poppy-head .brand__mark {
  height: 40px;
}
.a2a__poppy-head b {
  display: block;
  font-size: 14px;
  line-height: 20px;
}
.a2a__poppy-head small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.a2a__stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.a2a__stats div {
  background: var(--soft);
  border-radius: 10px;
  padding: 8px 10px;
}
.a2a__stats b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 32px;
}
.a2a__stats small {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  white-space: nowrap;
}
.a2a__feed {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 240px;
  overflow-y: auto;
}
.a2a__context {
  flex: none;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-tertiary);
}
.a2a__conversation {
  flex: none;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  min-height: 36px;
  padding: 3px 0;
}
.a2a__conversation > div {
  min-width: 0;
}
.a2a__conversation-code {
  font: 600 12px/18px var(--mono);
  color: var(--text-secondary);
}
.a2a__conversation b {
  display: block;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-primary);
}
.a2a__conversation p {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.a2a__conversation[data-phase="-1"] {
  opacity: 0.5;
}
.a2a__conversation.is-selected {
  background: var(--soft);
  border-radius: 4px;
}

.a2a__reference {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-tertiary);
}
.a2a__phase {
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: var(--text-primary);
}
.a2a__response {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}
.a2a__buyers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.buyer {
  position: relative;
  min-width: 0;
  background: #141416;
  border: 1px solid #2a2a2e;
  border-radius: 11px;
  padding: 9px 12px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  text-align: left;
  cursor: pointer;
}
.buyer.is-hot {
  border-color: rgba(var(--brand-primary-rgb), 0.7);
  box-shadow: 0 0 24px rgba(var(--brand-primary-rgb), 0.25);
}
.buyer:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}
.buyer__top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.buyer__code {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: var(--text-primary);
  background: #e4e4e7;
  border-radius: 4px;
  padding: 1px 4px;
  flex: none;
}
.buyer__name {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 20px;
}
.buyer__msg {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 18px;
}
.buyer__status {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-tertiary);
  text-align: right;
}
.buyer.is-hot .buyer__status {
  color: #fff;
}
.buyer.is-complete .buyer__status {
  color: var(--brand-primary);
}
@media (min-width: 761px) {
  .a2a__feed {
    height: 280px;
  }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .a2a {
    height: 600px;
    min-width: 0;
    aspect-ratio: auto;
  }
}

/* ---------- Add-ons ---------- */
#addons > .container > .head,
#addons > .container > .head > .lead {
  max-width: none;
}
.addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.addon {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.addon:hover {
  box-shadow: 0 4px 12px -6px rgba(10, 10, 11, 0.16);
  transform: translateY(-2px);
}
.addon__art {
  position: relative;
  height: 300px;
  padding: 16px 18px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.addon__body {
  padding: 22px 26px 28px;
}
.addon h3 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.addon p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.ad-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: none;
}
.ad-steps li {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.ad-steps button {
  display: block;
  padding: 3px 9px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.ad-steps button:hover {
  background: rgba(var(--brand-primary-rgb), 0.08);
}
.ad-steps button:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}
.ad-steps li.is-done {
  color: var(--ink-2);
  border-color: #d4d4d8;
}
.ad-steps li.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.ad-steps--tabs {
  align-items: center;
  gap: var(--space-100);
  padding: var(--space-100);
  border-radius: var(--radius-200);
  background: transparent;
}
.ad-steps--tabs li,
.ad-steps--tabs li.is-done,
.ad-steps--tabs li.is-active {
  display: flex;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ad-steps--tabs button.tab {
  display: inline-flex;
  padding: var(--space-100) var(--space-200);
  border-radius: var(--radius-100);
  color: var(--color-text-secondary, #666);
  font-family: var(--font-sans, var(--sans));
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}
.ad-steps--tabs button.tab:hover:not(.is-selected) {
  background: var(--color-bg-hover, #ededed);
}
.ad-steps--tabs button.tab.is-selected {
  background: var(--color-bg-surface, #fff);
  color: var(--color-text-primary, #1e1e1e);
  box-shadow: var(--elevation-subtle);
}
.ad-steps--tabs button.tab:focus-visible {
  outline: var(--stroke-focus-ring) solid var(--color-border-strong, #bdbdbd);
  outline-offset: calc(var(--stroke-focus-ring) * -1);
}

/* VI & packaging */
.vi__viewport,
.vi__scale {
  display: contents;
}
.ad-vi {
  background: #fff;
}
.vi__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.vi {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}
.ad-vi.is-playing.s4 .vi,
.ad-vi:not(.is-playing) .vi {
  transform: translateY(12px);
}
.vi__left {
  display: grid;
  gap: 10px;
  align-content: start;
}
.vi-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  transform: translate(0, 0) scale(1);
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ad-vi.is-playing.s1:not(.s2) .vi-logo {
  z-index: 2;
  transform: translate(var(--vi-logo-x, 0px), var(--vi-logo-y, 0px))
    scale(var(--vi-logo-scale, 1.5));
}
.vi-wordmark {
  display: block;
  flex: none;
  width: 120px;
  height: 50px;
  object-fit: contain;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.mo.is-playing:not(.s1) .vi-wordmark {
  opacity: 0;
  transform: translateX(-8px);
}
.vi-logo svg {
  width: 42px;
  height: 42px;
  flex: none;
}
.vi-ring {
  fill: none;
  stroke: #a8283b;
  stroke-width: 2.5;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}
.vi-leaf {
  fill: #a8283b;
  transition:
    opacity 0.5s 0.7s,
    transform 0.5s 0.7s;
  transform-origin: center;
}
.vi-logo b {
  display: block;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  letter-spacing: 0.18em;
  font-size: 15px;
  transition:
    opacity 0.5s 0.9s,
    letter-spacing 0.7s 0.9s;
}
.vi-logo small {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.vi-pal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.vi-pal span {
  display: grid;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  text-align: center;
  transition:
    opacity 0.35s,
    transform 0.35s;
  transition-delay: calc(var(--d) * 0.12s);
}
.vi-pal i {
  height: 30px;
  border-radius: 8px;
  background: var(--c);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.vi-type {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  transition: opacity 0.35s 0.5s;
}
.vi-type b {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 20px;
}
.vi-type small {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
}
.vi-pack {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10px,
    #000 calc(100% - 10px),
    transparent
  );
}
.vi-pack__image {
  display: block;
  grid-area: 1 / 1;
  width: 130%;
  max-width: none;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(1.3);
  mask-image:
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.vi-pack__image--box {
  width: 120%;
  height: 100%;
  min-height: 0;
  filter: none;
  opacity: 0;
  pointer-events: none;
}
.ad-vi.is-playing.s3:not(.s4) .vi-pack {
  overflow: visible;
  mask-image: none;
}
.ad-vi.is-playing.s2:not(.s4) .vi__left {
  transform: translateY(12px);
}
.ad-vi.is-playing.s3:not(.s4) .vi-pack__image--box {
  opacity: 1;
  transform: translateY(-12px);
}
.ad-vi.is-playing:not(.s4) .vi-pack__image--final {
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  transition-delay: 0s;
}
.vi-box {
  width: 46%;
  max-width: 104px;
  aspect-ratio: 9 / 15;
  border-radius: 6px;
  background: linear-gradient(160deg, #b8364a, #8f1f31);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 18px 30px -14px rgba(120, 20, 40, 0.6);
  transition:
    opacity 0.5s,
    transform 0.5s;
  text-align: center;
  padding: 6px;
}
.vi-box svg {
  width: 34%;
}
.vi-box b {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  letter-spacing: 0.16em;
  font-size: 10px;
}
.vi-box small {
  font-size: 7px;
  opacity: 0.8;
}
.vi-bottle {
  position: relative;
  width: 26%;
  max-width: 54px;
  aspect-ratio: 9 / 20;
  border-radius: 9px;
  background: linear-gradient(90deg, #e9cfd3, #f8eef0 45%, #dcbcc2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 26px -14px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.5s 0.2s,
    transform 0.5s 0.2s;
}
.vi-bottle i {
  position: absolute;
  top: -26%;
  left: 30%;
  width: 40%;
  height: 28%;
  border-radius: 6px 6px 2px 2px;
  background: #1c1c1e;
}
.vi-bottle span {
  writing-mode: vertical-rl;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: #a8283b;
}
.vi-ok {
  flex: none;
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: var(--ok);
  background: var(--ok-soft);
  border: 1px solid var(--ok-muted);
  padding: 3px 10px;
  border-radius: 999px;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.mo.is-playing:not(.s1) .vi-ring {
  stroke-dashoffset: 100;
  transition: none;
}
.mo.is-playing:not(.s1) .vi-leaf {
  opacity: 0;
  transform: scale(0.4);
  transition: none;
}
.mo.is-playing:not(.s1) .vi-logo b {
  opacity: 0;
  letter-spacing: 0.6em;
  transition: none;
}
.mo.is-playing:not(.s2) .vi-pal span {
  opacity: 0;
  transform: scale(0.5);
  transition-delay: 0s;
}
.mo.is-playing:not(.s2) .vi-type {
  opacity: 0;
  transition-delay: 0s;
}
.mo.is-playing:not(.s3) .vi-pack__image {
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  transition-delay: 0s;
}
.mo.is-playing:not(.s4) .vi-ok {
  opacity: 0;
  transform: translateY(8px);
}

/* Short video */
.ad-video {
  --video-panel-height: 300px;
  background: #111113;
  display: grid;
  grid-template-columns: minmax(0, 300px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  row-gap: 12px;
  justify-content: start;
}
.addon__art.ad-video {
  padding-right: calc((var(--video-panel-height) - 1px) * 0.5625 + 10px);
}
.ad-video > .ad-steps {
  grid-area: 1 / 1;
}
.ad-video .vid {
  display: contents;
}
.ad-video .vid__script {
  grid-area: 2 / 1;
  min-width: 0;
}
.ad-video .phone9 {
  position: absolute;
  grid-area: auto;
  inset: 0 0 0 auto;
  height: 100%;
  width: auto;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.phone9__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.phone9__poster {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}
.phone9__poster[hidden] {
  display: none;
}
.phone9__controls {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.addon:hover .phone9__controls,
.phone9__controls:has(:focus-visible) {
  opacity: 1;
  pointer-events: auto;
}
.phone9__toggle {
  display: grid;
  place-items: center;
  align-self: flex-start;
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.phone9__toggle svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.phone9__pause-icon,
.phone9__toggle[data-playing="true"] .phone9__play-icon {
  display: none;
}
.phone9__toggle[data-playing="true"] .phone9__pause-icon {
  display: block;
}
.phone9__toggle:focus-visible,
.phone9__seek:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.phone9__seek {
  display: block;
  width: 100%;
  height: 14px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.phone9__seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #fff var(--video-progress, 0%),
    rgba(255, 255, 255, 0.4) var(--video-progress, 0%)
  );
}
.phone9__seek::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    to right,
    #fff var(--video-progress, 0%),
    rgba(255, 255, 255, 0.4) var(--video-progress, 0%)
  );
}
.phone9__seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  margin-top: -2.5px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
.phone9__seek::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}
@media (hover: none) {
  .phone9__controls {
    opacity: 1;
    pointer-events: auto;
  }
}

.addon__art.ad-video.is-playing:not(.s2) .phone9 {
  opacity: 1;
  transform: none;
}
.ad-video .vid__pub {
  grid-area: 3 / 1;
  margin-bottom: 12px;
}
.ad-video .ad-steps--tabs button.tab:not(.is-selected) {
  color: var(--text-tertiary);
}
.ad-video .ad-steps--tabs button.tab:hover:not(.is-selected) {
  background: rgba(255, 255, 255, 0.08);
}
.vid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 300px) auto;
  gap: 10px;
  min-height: 0;
  align-items: center;
  justify-content: start;
}
.vid__script {
  display: grid;
  gap: 4px;
  align-content: center;
}
.vid__script li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  line-height: 18px;
  color: #fff;
  background: #1a1a1d;
  border: 1px solid #2a2a2e;
  border-radius: 8px;
  padding: 6px 8px;
  transition:
    opacity 0.35s,
    transform 0.35s;
  transition-delay: calc(var(--d) * 0.22s);
}
.vid__script i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--text-tertiary);
}
.vid__script em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--text-secondary);
}
.phone9 {
  position: relative;
  height: 196px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  border: 3px solid #2a2a2e;
  overflow: hidden;
  background: #000;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.sc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0;
}
.sc svg {
  width: 60%;
}
.sc1 {
  background: linear-gradient(170deg, #f6d9b8, #c97c4a);
}
.sc2 {
  background: linear-gradient(170deg, #e8a0ab, #7e2a3a);
}
.sc3 {
  background: linear-gradient(170deg, #fde7dc, #d68a74);
  opacity: 1;
}
.sc3 span {
  color: var(--text-primary);
}
.phone9__bar {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.phone9__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: #fff;
}
.phone9__tag {
  position: absolute;
  top: 6px;
  left: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  padding: 1px 4px;
}
.vid__pub {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex: none;
}
.vid__pub > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  font-size: 12px;
  color: #d9d9d9;
  white-space: nowrap;
  transition:
    opacity 0.35s,
    transform 0.35s;
}
.vid__pub img {
  display: block;
  flex: none;
  width: auto;
  height: 14px;
  object-fit: contain;
}
.vid__pub .vid__wordmark--douyin {
  width: 31px;
}
.vid__pub .vid__wordmark--xiaohongshu {
  width: 38px;
}
.vid__pub .vid__wordmark--tiktok {
  width: 62px;
}
.vid__pub b {
  font: inherit;
}
.vid__pub > span:nth-child(2) {
  transition-delay: 0.15s;
}
.vid__pub > span:nth-child(3) {
  transition-delay: 0.3s;
}
.mo.is-playing:not(.s1) .vid__script li {
  opacity: 0;
  transform: translateX(-12px);
  transition-delay: 0s;
}
.mo.is-playing:not(.s2) .phone9 {
  opacity: 0.25;
  transform: scale(0.94);
}
.mo.is-playing.s2 .sc {
  animation: scene 3.6s infinite;
}
.mo.is-playing.s2 .sc1 {
  animation-delay: 0s;
}
.mo.is-playing.s2 .sc2 {
  animation-delay: 1.2s;
}
.mo.is-playing.s2 .sc3 {
  animation-delay: 2.4s;
  opacity: 0;
}
.mo.is-playing.s2 .phone9__bar i {
  animation: playbar 3.6s linear infinite;
}
.ad-video[data-mo-once="true"].is-playing.s2 .sc,
.ad-video[data-mo-once="true"].is-playing.s2 .phone9__bar i {
  animation-iteration-count: 1;
}
.ad-video[data-mo-finished="true"].is-playing.s2 .sc {
  animation: none;
  opacity: 0;
  transform: none;
}
.ad-video[data-mo-finished="true"].is-playing.s2 .sc3 {
  opacity: 1;
}
.ad-video[data-mo-finished="true"].is-playing.s2 .phone9__bar i {
  animation: none;
  width: 100%;
}
@keyframes scene {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  6%,
  33% {
    opacity: 1;
    transform: scale(1);
  }
  40%,
  100% {
    opacity: 0;
  }
}
@keyframes playbar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.mo.is-playing:not(.s3) .vid__pub > span {
  opacity: 0;
  transform: translateY(8px);
  transition-delay: 0s;
}

/* Trending products */
.addon--inset {
  padding: 12px;
  border: 0;
  border-radius: 24px;
  background: #f8f5f2;
}
.addon--inset:hover {
  box-shadow: none;
}
.addon--inset .addon__art {
  border: 0;
  border-radius: 16px 16px 4px 4px;
}
.addon--inset .addon__body {
  padding: 20px 18px 8px;
}
.addon--inset h3 {
  margin-top: 0;
}
.ad-trend {
  background: #fff;
}
.ad-trend + .addon__body {
  background: #f8f5f2;
}
.ad-vi .ad-steps--tabs button.tab.is-selected,
.ad-trend .ad-steps--tabs button.tab.is-selected {
  background: var(--color-bg-canvas, #f5f5f5);
}
.trend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.trend__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.trend__meta {
  margin-left: auto;
  font-size: 12px;
  line-height: 18px;
  color: var(--faint);
  white-space: nowrap;
}
.trend__lists {
  display: grid;
}
.tl {
  grid-area: 1 / 1;
  display: grid;
  gap: 7px;
  transition: opacity 0.3s;
}
.tl li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 5px 8px 9px;
  font-size: 12px;
  line-height: 18px;
}
.tl i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 18px;
  color: var(--faint);
}
.tl span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl b {
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}
.tl b small {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  margin-left: 1px;
}
.tl b.up {
  color: var(--text-primary);
}
.tl u {
  position: absolute;
  left: 34px;
  right: 8px;
  bottom: 2px;
  height: 6px;
  border-radius: 6px;
  background: var(--line-2);
  overflow: hidden;
}
.tl u::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: 6px;
  background: var(--ok-bright);
}
.tl--hot {
  opacity: 0;
}
.mo.is-playing.s1:not(.s2) .tl--hot {
  opacity: 1;
}
.mo.is-playing:not(.s2) .tl--new {
  opacity: 0;
}
.mo.is-playing.s1:not(.s2) .tl--hot li,
.mo.is-playing.s2 .tl--new li {
  animation: rise 0.5s both;
  animation-delay: calc(var(--d) * 0.12s);
}
.mo.is-playing.s1:not(.s2) .tl--hot u::after,
.mo.is-playing.s2 .tl--new u::after {
  animation: grow 1s both;
  animation-delay: calc(var(--d) * 0.12s + 0.2s);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes grow {
  from {
    width: 0;
  }
}
.trend__tip {
  margin-top: auto;
  color: var(--text-primary);
  transition-delay: 0s;
}
.trend__tip b,
.trend__tip small {
  font-size: 12px;
  line-height: 18px;
}
.mo.is-playing:not(.s3) .trend__tip {
  opacity: 0;
  transform: translateY(10px);
}

/* Emotional value */
.ad-care {
  background: linear-gradient(180deg, #fffcfa, #fffaf7);
}
.care {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  padding-top: 16px;
}
.cm {
  max-width: 86%;
  font-size: 12px;
  line-height: 1.5;
  padding: 7px 11px;
  border-radius: 13px;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.cm--in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.cm--out {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.care-card {
  align-self: flex-end;
  flex: none;
  width: 280px;
  max-width: 86%;
  overflow: hidden;
  border-radius: 12px;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: var(--elevation-soft);
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.care-card__greeting {
  position: relative;
  min-height: 72px;
  padding: 12px 18px;
}
.care-card__eyebrow {
  display: block;
  font-size: 8px;
  line-height: 12px;
  letter-spacing: 0.18em;
}
.care-card b {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 3px;
  font-family: "Songti SC", "Noto Serif SC", SimSun, serif;
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.care-card__moon {
  position: absolute;
  right: 8px;
  top: 0;
  width: 98px;
  height: 80px;
}
.care-card__delivery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 7px 14px;
  background: #fff;
  color: var(--text-secondary);
}
.care-card__delivery svg {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--brand-primary);
}
.care-card small {
  display: block;
  font-size: 12px;
  line-height: 18px;
}
html[lang="en"] .care-card b {
  max-width: 165px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}
.hearts {
  position: absolute;
  right: 18%;
  bottom: 6px;
  pointer-events: none;
}
.hearts i {
  position: absolute;
  font-style: normal;
  color: var(--accent);
  font-size: 14px;
  opacity: 0;
}
.mo.is-playing.s4 .hearts i {
  animation: floatup 1.8s ease-out infinite;
}
.mo.is-playing.s4 .hearts i:nth-child(2) {
  left: 14px;
  font-size: 11px;
  animation-delay: 0.5s;
}
.mo.is-playing.s4 .hearts i:nth-child(3) {
  left: -12px;
  font-size: 12px;
  animation-delay: 1s;
}
@keyframes floatup {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-60px) scale(1.1);
  }
}
.mo.is-playing:not(.s1) .care > .cm:nth-child(1) {
  opacity: 0;
  transform: translateY(10px);
}
.mo.is-playing:not(.s2) .care > .cm:nth-child(2) {
  opacity: 0;
  transform: translateY(10px);
}
.mo.is-playing:not(.s3) .care-card {
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
}
.mo.is-playing:not(.s4) .care > .cm:nth-child(4) {
  opacity: 0;
  transform: translateY(10px);
}

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

/* ---------- Trust ---------- */
.section--trust {
  background: #f8f5f2;
  border: 0;
}
.trust .title {
  margin-top: 0;
  text-align: center;
}
.trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.trust__list {
  display: grid;
  grid-template-columns:
    minmax(0, 0.85fr) minmax(0, 1.05fr) minmax(0, 1fr)
    minmax(0, 1.1fr);
  gap: 12px;
}
.trust__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 56px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
@media (max-width: 1000px) {
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .trust__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA ---------- */
.cta {
  padding: 128px 0;
}
.section--trust + .cta {
  background: linear-gradient(180deg, #f8f5f2, var(--bg)) top / 100% 224px
    no-repeat;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--brand-primary);
  color: var(--text-primary);
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.cta__copy {
  position: relative;
}
.cta h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 600;
}
@media (min-width: 561px) {
  html[lang="en"] .cta h2 {
    font-size: clamp(28px, 3.6vw, 40px);
  }
}
.cta__copy > p {
  margin-top: 16px;
  color: rgba(30, 30, 30, 0.85);
  font-size: 14px;
  line-height: 20px;
}
.cta__contacts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}
.cta__contacts li {
  display: contents;
}
.cta__contacts li > span:first-child {
  color: rgba(30, 30, 30, 0.85);
}
.cta__contacts a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}
.cta__qr-link {
  display: block;
  width: 128px;
  height: 128px;
}
.cta__qr {
  display: block;
  width: 100%;
  height: 100%;
}
.form {
  position: relative;
  background: #fff;
  color: var(--text-primary);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 16px;
}
.contact-select {
  position: relative;
}
.contact-select .select-trigger {
  width: 100%;
}
.contact-select select[hidden] {
  display: none;
}
.contact-select__menu {
  position: fixed;
  z-index: 1100;
}
.contact-select__menu[hidden] {
  display: none;
}
.contact-select__menu .dropdown-item--plain {
  justify-content: flex-start;
  text-align: left;
}
.form .contact-submit {
  width: 100%;
  font-size: 14px;
  line-height: 20px;
  background: var(--ink);
}
.form .contact-submit:not(:disabled):hover {
  background: #26262b;
}
.btn:disabled,
.lang__btn:disabled,
.form input:disabled,
.form select:disabled,
[aria-disabled="true"] {
  color: var(--text-disabled);
}
.form .textfield__control:has(.is-invalid) {
  background: var(--color-error-bg);
  box-shadow: inset 0 0 0 1.5px var(--color-error-fill);
}
.form__msg {
  font-size: 14px;
  line-height: 20px;
  min-height: 20px;
  color: var(--text-primary);
}
.form__msg:empty {
  display: none;
}
.form__msg.is-error {
  color: var(--text-primary);
}

/* ---------- Footer ---------- */
.footer {
  padding: 24px 0;
}
.footer__inner {
  max-width: none;
  padding: 0 32px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer__brand {
  display: block;
}
.footer__brand .brand {
  display: inline;
}
.footer__brand .brand__name {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--muted);
}
.footer__contact {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer__contact:hover {
  color: var(--text-primary);
}
.footer p {
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  margin: 0;
}
.footer__copy {
  margin-left: auto !important;
  white-space: nowrap;
}
.footer__contact {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .footer__inner {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .footer__brand {
    flex-basis: 100%;
  }
  .footer__copy {
    margin-left: 0 !important;
  }
  .footer__contact {
    margin-left: auto;
  }
}

/* ---------- Reveal ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .app__body {
    grid-template-columns: 220px 1fr;
  }
  .app__panel {
    display: none;
  }
  .cap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stage {
    position: relative;
    top: 0;
  }
}

@media (max-width: 860px) {
  .nav.is-over-dark .nav__links {
    color: var(--text-primary);
  }
  .nav.is-over-dark .nav__links a:hover {
    color: var(--text-primary);
  }
  .nav__links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    color: var(--text-primary);
    background: var(--nav-glass-bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    backdrop-filter: var(--nav-glass-filter);
    -webkit-backdrop-filter: var(--nav-glass-filter);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
  }
  .nav__links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
    line-height: 20px;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links .nav__menu-cta {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-weight: 500;
  }
  .nav__toggle {
    display: block;
  }
  .nav__cta {
    display: none;
  }

  .hero {
    padding: 0 0 56px;
  }
  .hero__intro {
    padding-top: 152px;
  }
  .app {
    margin-top: 48px;
  }
  .promo {
    margin-top: 16px;
  }
  .app__body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .app__side {
    display: none;
  }

  .section {
    padding: 88px 0;
  }
  .head {
    margin-bottom: 40px;
  }
  .lead {
    font-size: 16px;
    line-height: 24px;
  }
  .addons,
  .vision,
  .trust,
  .cta__inner {
    grid-template-columns: 1fr;
  }
  .feats {
    gap: 64px;
  }
  .feat,
  .feat--rev {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feat--rev .feat__copy {
    order: 0;
  }
  .vision {
    gap: 48px;
  }
  .a2a {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .cta {
    padding: 64px 0 88px;
  }
  .cta__inner {
    padding: 36px 24px;
    gap: 32px;
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding-block: 48px;
  }
  .cta {
    padding-block: 48px;
  }
  .section--trust {
    padding-bottom: 24px;
  }
  .section--trust + .cta {
    padding-top: 24px;
  }
  .footer__inner {
    row-gap: 8px;
  }
  #knowledge-demo,
  #training-demo {
    --kb-loop: 1;
  }
  #delivery .delivery-title-rep {
    display: block;
  }
  #delivery .feats {
    gap: 40px;
  }
  /* Include the first capability row's 16px padding in the shared 40px gap. */
  #capabilities > .container > .head {
    margin-bottom: 24px;
  }
  .addons-intro-details {
    display: none;
  }
  html[lang="zh-CN"] .training-intro {
    letter-spacing: -0.12px;
  }
  /* Keep the shared demo immediately below the currently playing capability. */
  .cap {
    --cap-follow-playback: 1;
    gap: 0;
    overflow-anchor: none;
  }
  .cap__item p {
    transition: opacity 0.3s;
  }
  .cap__list {
    display: contents;
  }
  .cap__item:nth-child(1) {
    order: 1;
  }
  .cap__item:nth-child(2) {
    order: 3;
  }
  .cap__item:nth-child(3) {
    order: 5;
  }
  .cap__item:nth-child(4) {
    order: 7;
  }
  .cap__item:nth-child(5) {
    order: 9;
  }
  .cap > .stage {
    order: var(--cap-stage-order, 2);
    margin: 16px 0 24px;
  }
  .quote__top {
    flex-direction: column;
    gap: 8px;
  }
  html[lang="zh-CN"] .quote__logo b {
    white-space: nowrap;
  }
  .quote__no {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }
  .quote__no small,
  .quote__no b {
    font-size: 12px;
    line-height: 18px;
  }
  .quote__no b {
    white-space: nowrap;
  }
  html[lang="zh-CN"] .quote {
    container-type: inline-size;
  }
  @container (min-width: 316px) {
    html[lang="zh-CN"] .quote__top {
      display: grid;
      grid-template-columns: 30px max-content 1fr;
      gap: 0 8px;
      align-items: center;
    }
    html[lang="zh-CN"] .quote__logo,
    html[lang="zh-CN"] .quote__logo > div {
      display: contents;
    }
    html[lang="zh-CN"] .quote__logo > img {
      grid-column: 1;
      grid-row: 1 / 3;
    }
    html[lang="zh-CN"] .quote__logo b {
      grid-column: 2 / 4;
      grid-row: 1;
    }
    html[lang="zh-CN"] .quote__logo small {
      grid-column: 2;
      grid-row: 2;
      white-space: nowrap;
    }
    html[lang="zh-CN"] .quote__no {
      grid-column: 3;
      grid-row: 2;
      gap: 4px;
      white-space: nowrap;
    }
  }
  .quote__spec-line {
    display: block;
    white-space: nowrap;
  }
  .quote__table td {
    font-size: 12px;
  }
  .quote__table td:last-child,
  .quote__table th:last-child {
    text-align: left;
  }
  html[lang="zh-CN"] .quote__table {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: space-between;
    padding-inline: 6px;
  }
  html[lang="zh-CN"] .quote__table :is(thead, tbody) {
    display: contents;
  }
  html[lang="zh-CN"] .quote__table tr {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    align-items: center;
  }
  html[lang="zh-CN"] .quote__table :is(th, td) {
    padding-inline: 0;
  }
  html[lang="zh-CN"] .quote__table thead tr {
    background: var(--soft);
    box-shadow:
      -6px 0 var(--soft),
      6px 0 var(--soft);
  }
  html[lang="zh-CN"] .quote__table tbody tr {
    border-bottom: 1px solid var(--line-2);
  }
  html[lang="zh-CN"] .quote__table td {
    border-bottom: 0;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__actions {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .announce {
    font-size: 12px;
  }
  .feat__viz {
    padding: 16px;
  }
  .feat__viz.kb-demo {
    --workflow-inset: 16px;
    --workflow-tabs-height: 40px;
    --workflow-gap: 16px;
    height: 380px;
    padding: 0;
  }
  .feat__viz#knowledge-demo {
    height: 350px;
  }
  #knowledge-demo .kb-demo__panel {
    min-height: 100%;
    justify-content: center;
  }
  #knowledge-demo .kb-demo__panel > * {
    flex: none;
    margin-block: 0;
  }
  .kb-demo__step {
    min-height: 32px;
    padding: 6px 2px;
    font-size: 12px;
  }
  .feat__viz.training-demo {
    height: 460px;
  }
  html[lang="en"] .feat__viz.training-demo {
    height: 500px;
  }
  #training-demo::before {
    background: var(--color-bg-surface, #fff);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .training-demo .kb-demo__panel > :is(.chats, .cases, .evalbox) {
    margin-top: 0;
  }
  .training-demo #training-panel-cases {
    min-height: 100%;
    justify-content: center;
  }
  .kb-demo .doc {
    padding: 10px 8px;
  }
  .kb-demo .doc b {
    font-size: 12px;
  }
  .kb-demo .ents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kb-demo .ent {
    padding: 8px;
  }
  .feat,
  .feat--rev {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc {
    padding: 9px 10px;
    gap: 8px;
  }
  .doc__icon {
    width: 26px;
    height: 26px;
  }
  .doc b {
    font-size: 12px;
  }
  .mo-steps {
    gap: 14px;
  }
  .mo-steps li:not(:last-child)::after {
    right: -13px;
  }
  .mo-steps li {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 6px 3px;
    font-size: 10.5px;
    text-align: center;
  }
  .graph {
    aspect-ratio: 320 / 250;
  }
  /* Stack node labels so 12px text fits without compressing the graph. */
  .kb-demo .graph {
    height: 260px;
  }
  .kb-demo .gn {
    flex-direction: column;
    gap: 2px;
    padding: 4px 6px;
    max-width: 34%;
  }
  #kb-panel-graph :is(.gn--moq, .gn--lead) {
    left: 82% !important;
  }
  .gl {
    padding: 0 4px;
  }
  .chats {
    grid-template-columns: minmax(0, 1fr);
  }
  .chatlog {
    grid-template-columns: minmax(0, 1fr);
  }
  .train-mid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub {
    aspect-ratio: 4 / 5;
  }
  .viz-ch .hub {
    width: 100%;
    min-width: 0;
    height: 280px;
    min-height: 0;
    aspect-ratio: auto;
  }
  .hub__core {
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    font-size: 12px;
    line-height: 18px;
  }
  .hub__core .brand__mark {
    height: 26px;
  }
  .hub__ch {
    padding: 8px 10px;
    gap: 4px;
    flex-direction: column;
    text-align: center;
  }
  .viz-ch .hub__ch {
    width: 30%;
    padding-inline: 4px;
    white-space: normal;
  }
  .viz-ch .hub__ch b {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .hub__ch .channel-logo {
    width: 24px;
    height: 24px;
  }
  .hub__ch .ch-logo {
    width: 24px;
    height: 24px;
  }
  .hub__ch small {
    justify-content: center;
  }
  .hub__ch b {
    font-size: 12px;
  }
  .a2a {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    aspect-ratio: auto;
  }
  #vision .eq {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .a2a__poppy {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    padding: 12px 10px;
  }
  .a2a__poppy-head {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .a2a__buyers {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  .a2a__buyers .buyer {
    position: static;
    transform: none;
    width: 100%;
  }
  .a2a__stats {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .a2a__stats div {
    padding-inline: 6px;
    text-align: center;
  }
  .a2a__stats small {
    white-space: normal;
  }
  .a2a__stats b {
    font-size: 18px;
    line-height: 28px;
  }
  .a2a__poppy-head small {
    display: none;
  }
  .a2a__feed {
    display: none;
  }
  .buyer {
    padding: 7px 9px;
  }
  .panel {
    padding: 16px;
    min-height: 0;
  }
  .msg {
    max-width: 92%;
  }
  .conv {
    padding: 16px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .approve {
    flex-wrap: wrap;
  }
  .approve__btns {
    margin-left: 0;
    width: 100%;
  }
  .approve__btns .btn {
    flex: 1;
  }
  .lang__btn {
    padding: 0 8px;
  }
  .promo__video {
    --promo-visibility-threshold: 0.8;
  }
  .addon__art {
    height: auto;
    min-height: 300px;
    padding: 14px;
  }
  .addon__art.ad-vi {
    min-height: 0;
  }
  .ad-vi .vi__top {
    align-items: center;
    gap: 8px;
  }
  .ad-vi .vi__top .ad-steps {
    flex: none;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 0;
  }
  .addons .ad-steps--tabs button.tab {
    position: relative;
    overflow: visible;
    padding: var(--space-100) var(--space-200);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }
  /* Extend touch targets without enlarging the visible tabs. The 4px gap
     accommodates the 2px extension on either side of the shortest tabs. */
  .addons .ad-steps--tabs button.tab::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    min-width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }
  .ad-vi .vi-ok {
    margin-left: auto;
    padding-inline: 6px;
  }
  .vi__scale .vi {
    min-height: 260px;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 10px;
  }
  .vi__scale .vi-logo {
    flex-wrap: wrap;
    padding: 8px;
    gap: 6px;
  }
  .vi-pal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .addon__art.ad-video {
    width: auto;
    height: auto;
    min-height: 0;
    padding: 14px;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-rows: auto auto auto;
    gap: 14px 10px;
  }
  .ad-video > .ad-steps {
    grid-area: 1 / 1 / 2 / 3;
  }
  .ad-video .vid {
    display: contents;
  }
  .ad-video .vid__script {
    grid-area: 2 / 1;
    align-self: start;
    gap: 6px;
  }
  .ad-video .vid__script li {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 4px;
    padding: 6px;
    font-size: 12px;
    line-height: 18px;
  }
  .ad-video .phone9 {
    position: absolute;
    grid-area: 2 / 2 / 4 / 3;
    inset: 0 0 auto auto;
    width: auto;
    height: 100%;
    aspect-ratio: 9 / 16;
  }
  .ad-video .vid__pub {
    grid-area: 3 / 1;
    align-self: start;
    justify-content: space-between;
    margin: 0;
    gap: 7.2px 0;
  }
  .ad-video .vid__pub > span {
    min-height: 16.8px;
    gap: 3.6px;
  }
  .ad-video .vid__pub .check {
    width: 12px;
    height: 12px;
    font-size: 6.6667px;
    line-height: 1;
  }
  .ad-video .vid__pub img {
    height: 12px;
  }
  .ad-video .vid__wordmark--douyin {
    width: 26.4px;
  }
  .ad-video .vid__wordmark--xiaohongshu {
    width: 32.4px;
  }
  .ad-video .vid__wordmark--tiktok {
    width: 52.8px;
  }
  .addon__body {
    padding: 20px 20px 24px;
  }
  .addon--inset .addon__body {
    padding-inline: 14px;
  }
  .vi {
    gap: 10px;
  }
  .vi-logo {
    padding: 8px;
    gap: 8px;
  }
  .vi-logo svg {
    width: 34px;
    height: 34px;
  }
  .vi-logo b {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .vi-pack {
    min-height: 190px;
  }
  .phone9 {
    height: 170px;
  }
  .vid__script li {
    padding: 5px 7px;
  }
  .trend__meta {
    display: none;
  }
  .cm,
  .care-card {
    max-width: 92%;
  }
  .cta h2 {
    font-size: 26px;
  }
  #contact .cta__inner {
    row-gap: 16px;
  }
  #contact .cta__copy {
    display: contents;
  }
  #contact .cta__copy > p {
    margin-top: 0;
  }
  #contact #demoForm {
    order: 1;
    margin-top: 8px;
  }
  #contact .cta__contacts {
    order: 2;
    width: fit-content;
    max-width: 100%;
    margin-top: 8px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .announce:hover,
  .announce:focus-visible,
  .announce:hover > span:last-child,
  .announce:focus-visible > span:last-child {
    transform: none;
  }
  .testlog[data-results] > div {
    opacity: 1;
    transform: none;
  }
}

.example-tag {
  margin-top: 128px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 18px;
  color: var(--muted);
  font-family: var(--mono);
}
.example-tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.example-tag + .app {
  margin-top: 16px;
}

/* Overlay the document thumb so section backgrounds reach the viewport edge. */
html.has-page-scrollbar,
html.has-page-scrollbar body {
  scrollbar-width: none !important;
}
html.has-page-scrollbar::-webkit-scrollbar,
html.has-page-scrollbar body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.page-scrollbar {
  --page-scrollbar-thumb: var(--primitive-neutral-600);
  --page-scrollbar-thumb-inverse: var(--primitive-neutral-400);
  position: fixed;
  top: 72px;
  bottom: 8px;
  right: 0;
  width: 14px;
  z-index: 1000;
  background: transparent;
  touch-action: none;
  user-select: none;
}
.page-scrollbar[hidden] {
  display: none;
}
.page-scrollbar__thumb {
  position: absolute;
  top: 0;
  right: 4px;
  width: 6px;
  min-height: 24px;
  border-radius: 3px;
  background: var(--page-scrollbar-fill, var(--page-scrollbar-thumb));
}
.page-scrollbar:is(:hover, :focus-visible, .is-dragging) {
  --page-scrollbar-thumb: var(--primitive-neutral-700);
  --page-scrollbar-thumb-inverse: var(--primitive-neutral-300);
}
.page-scrollbar:focus-visible {
  outline: none;
}
.page-scrollbar:focus-visible .page-scrollbar__thumb {
  outline: 1px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ---------- Hero promo video ---------- */
.promo-scroll {
  position: relative;
  margin-top: 20px;
}
.promo-scroll > .promo {
  margin-top: 0;
}
.promo {
  position: absolute;
  top: 0;
  left: var(--promo-left, 0px);
  margin: 0;
  width: var(--promo-width, 100%);
  height: var(--promo-height);
  aspect-ratio: auto;
  border-radius: var(--promo-radius, 18px);
}
.promo-scroll.is-enhanced .promo__video {
  object-fit: contain;
}
.promo {
  position: relative;
  margin: 20px auto 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: 16 / 9;
  isolation: isolate;
  width: 100%;
  max-width: 1020px;
  border-radius: 18px;
  border: 0;
  box-shadow: none;
}
.promo__surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.promo__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.promo__progress {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 2px;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(30, 30, 30, 0.12);
  pointer-events: none;
}
.promo__progress::-webkit-progress-bar {
  background: rgba(30, 30, 30, 0.12);
}
.promo__progress::-webkit-progress-value {
  background: var(--brand-primary);
}
.promo__progress::-moz-progress-bar {
  background: var(--brand-primary);
}
.promo__seek {
  position: absolute;
  inset: auto 0 -9px;
  z-index: 2;
  width: 100%;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}
.promo__seek::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
}
.promo__seek::-moz-range-track {
  height: 2px;
  background: transparent;
}
.promo__seek::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(30, 30, 30, 0.35);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.promo__seek::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(30, 30, 30, 0.35);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.promo__seek:is(:hover, :focus-visible, .is-dragging)::-webkit-slider-thumb {
  opacity: 1;
}
.promo__seek:is(:hover, :focus-visible, .is-dragging)::-moz-range-thumb {
  opacity: 1;
}
.promo__controls {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}
.promo__btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 11, 0.5);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    background 0.2s;
}
.promo__btn[hidden] {
  display: none;
}
.promo__btn:hover,
.promo__btn:focus-visible {
  opacity: 1;
  background: rgba(10, 10, 11, 0.75);
}
.promo__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.promo__icon {
  display: block;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: var(--promo-icon) center / contain no-repeat;
  mask: var(--promo-icon) center / contain no-repeat;
}
/* Original SVG geometry from Pikpop A04; source node IDs are in icons/sources.json. */
.promo__play {
  --promo-icon: url("vendor/pikpop/icons/play.svg");
}
.promo__pause {
  --promo-icon: url("vendor/pikpop/icons/pause.svg");
}
.promo__off {
  --promo-icon: url("vendor/pikpop/icons/volume-x.svg");
}
.promo__on {
  --promo-icon: url("vendor/pikpop/icons/volume-2.svg");
}
.promo__on,
.promo__btn.is-on .promo__off {
  display: none;
}
.promo__btn.is-on .promo__on {
  display: block;
}
@media (max-width: 560px) {
  .promo {
    border-radius: 12px;
  }
  .promo__progress::-webkit-progress-value {
    background: var(--brand-primary);
  }
  .promo__progress::-moz-progress-bar {
    background: var(--brand-primary);
  }
  .promo__controls {
    left: 8px;
    bottom: 8px;
  }
  .promo__btn {
    width: 28px;
    height: 28px;
  }
  .promo__icon {
    width: 13px;
    height: 13px;
  }
}

/* Decorative flow runs only during the current demo visit. Finished demos hold. */
.kb-demo:not([data-demo-running="true"]) .kb-demo__link,
.viz-ch:not([data-demo-running="true"]) .hub__lines path {
  animation-play-state: paused;
}
