/*
 * Product capability story — final composition layer.
 * This file is intentionally loaded last on product.html so the five-stage
 * narrative has one predictable layout contract after the legacy styles.
 */

:root {
  --flow-ink: #17131f;
  --flow-copy: #625d6d;
  --flow-muted: #8c8697;
  --flow-blue: #5d73f6;
  --flow-violet: #8460e8;
  --flow-line: rgba(80, 69, 131, 0.1);
  --flow-card: rgba(255, 255, 255, 0.66);
  --flow-shadow: 0 22px 64px rgba(47, 38, 82, 0.09);
  --flow-gutter: max(24px, calc((100vw - 1510px) / 2));
}

body.product-page .module-timeline::before {
  display: none;
}

body.product-page .product-module,
body.product-page .product-module:nth-child(even),
body.product-page .module-memory {
  min-height: 760px;
  grid-template-columns: minmax(420px, 0.92fr) minmax(540px, 1.08fr);
  grid-template-rows: minmax(640px, 1fr);
  gap: clamp(54px, 5vw, 92px);
  padding: 60px var(--flow-gutter);
}

body.product-page .product-module .module-copy,
body.product-page .product-module:nth-child(even) .module-copy,
body.product-page .module-memory .module-copy {
  display: grid;
  min-width: 0;
  min-height: 640px;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: 52px auto auto auto auto auto;
  align-content: stretch;
  padding: 0;
}

body.product-page .module-copy .module-number {
  width: 52px;
  height: 52px;
  grid-column: 1;
  grid-row: 1;
  place-self: start;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(49, 39, 91, 0.06), inset 0 1px rgba(255, 255, 255, 0.94);
  color: #6d6780;
  font-size: 12px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

body.product-page .module-copy .section-kicker {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0 0 0 16px;
  color: #667096;
  font-size: 11.5px;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.product-page .module-copy h3,
body.product-page .module-decoder .module-copy h3,
body.product-page .module-orchestrator .module-copy h3,
body.product-page .module-memory .module-copy h3 {
  max-width: 660px;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: clamp(28px, 3.4vh, 42px) 0 0;
  color: var(--flow-ink);
  font-size: clamp(44px, 3.7vw, 64px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

body.product-page .module-copy > p {
  max-width: 620px;
  grid-column: 1 / -1;
  grid-row: 3;
  margin: clamp(24px, 3vh, 34px) 0 0;
  color: var(--flow-copy);
  font-size: 15px;
  line-height: 1.65;
}

body.product-page .module-copy > p strong {
  display: block;
  margin-bottom: 4px;
  color: #35303d;
  font-weight: 730;
}

body.product-page .module-story-steps {
  position: relative;
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 4;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
  margin-top: clamp(26px, 3.4vh, 38px);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.76);
}

body.product-page .module-story-steps > span {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 68px;
  align-content: center;
  gap: 5px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid rgba(88, 77, 142, 0.06);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0%, rgba(118, 91, 229, 0.09), transparent 44%),
    rgba(255, 255, 255, 0.63);
}

body.product-page .module-story-steps > span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  opacity: 0.55;
  background: linear-gradient(90deg, var(--flow-blue), var(--flow-violet));
  transform: scaleX(0.34);
  transform-origin: left;
}

body.product-page .module-story-steps small {
  color: #817a90;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.12em;
}

body.product-page .module-story-steps strong {
  overflow: hidden;
  color: #35303e;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .module-story-steps > i {
  align-self: center;
  color: rgba(98, 89, 151, 0.46);
  font-size: 13px;
  font-style: normal;
  text-align: center;
}

body.product-page .module-copy ul,
body.product-page .module-doni .module-copy ul,
body.product-page .module-orchestrator .module-copy ul,
body.product-page .module-memory .module-copy ul {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 6;
  align-self: end;
  gap: 8px;
  margin: 26px 0 0;
}

body.product-page .module-copy li {
  min-height: 45px;
  padding: 13px 15px 12px 34px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.52);
  color: #777181;
  font-size: 11px;
  line-height: 1.4;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.76);
}

body.product-page .module-copy li::before {
  top: 18px;
  left: 16px;
  width: 6px;
  height: 6px;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 0 0 5px rgba(100, 99, 224, 0.06);
}

body.product-page .product-module .module-visual,
body.product-page .product-module:nth-child(even) .module-visual,
body.product-page .module-memory .module-visual {
  min-width: 0;
  min-height: 640px;
  padding: 30px;
  border-radius: 34px;
}

/* 01 — native iOS surfaces, with a clean and bounded Dynamic Island mark. */

body.product-page .doni-visual {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}

body.product-page .doni-config {
  display: grid;
  min-height: 76px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--flow-shadow), inset 0 1px rgba(255, 255, 255, 0.94);
}

body.product-page .doni-config img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 12px;
  filter: drop-shadow(0 7px 10px rgba(93, 78, 176, 0.18));
}

body.product-page .doni-config div {
  display: grid;
  gap: 3px;
}

body.product-page .doni-config small,
body.product-page .doni-action small {
  color: var(--flow-muted);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.product-page .doni-config strong {
  color: #342e3d;
  font-size: 14px;
}

body.product-page .doni-config > span {
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(105, 90, 218, 0.08);
  color: #6f5ed2;
  font-size: 9px;
  font-weight: 760;
}

body.product-page .doni-surfaces {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(126px, 1fr));
  gap: 12px;
}

body.product-page .doni-surfaces .doni-surface {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: 18px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 8%, rgba(128, 94, 230, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 36px rgba(55, 44, 96, 0.06), inset 0 1px rgba(255, 255, 255, 0.88);
}

body.product-page .doni-surfaces .doni-surface::after {
  display: none;
}

body.product-page .doni-surfaces .doni-surface b {
  color: #5a5464;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

body.product-page .doni-visual .doni-surface-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(76, 60, 126, 0.11), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  animation: none;
  transform: none;
}

body.product-page .doni-visual .doni-surface-icon::before,
body.product-page .doni-visual .doni-surface-icon::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  animation: none;
  transform: none;
}

body.product-page .doni-visual .icon-siri {
  border-radius: 50%;
  background: conic-gradient(from 20deg, #6f78ff, #e487ef, #63d0f4, #8069ed, #6f78ff);
}

body.product-page .doni-visual .icon-siri::before {
  inset: 7px;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
}

body.product-page .doni-visual .icon-siri::after {
  inset: 14px;
  border-radius: 50%;
  background: white;
}

body.product-page .doni-visual .icon-shortcuts::before {
  width: 21px;
  height: 21px;
  border: 2px solid #6e70eb;
  border-radius: 7px;
  transform: rotate(45deg);
}

body.product-page .doni-visual .icon-shortcuts::after {
  width: 13px;
  height: 13px;
  border: 2px solid #8f65e8;
  border-radius: 5px;
  transform: rotate(-45deg);
}

body.product-page .doni-visual .icon-backtap::before,
body.product-page .doni-visual .icon-lockscreen::before {
  width: 21px;
  height: 32px;
  border: 2px solid #6b667a;
  border-radius: 8px;
  background: rgba(241, 239, 255, 0.86);
}

body.product-page .doni-visual .icon-backtap::after {
  width: 10px;
  height: 10px;
  border: 2px solid #8171e5;
  border-radius: 50%;
}

body.product-page .doni-visual .icon-island {
  overflow: hidden;
  border: 1px solid rgba(46, 40, 61, 0.2);
  border-radius: 13px;
  background: linear-gradient(155deg, #eeeaff, #d9e4ff);
}

body.product-page .doni-visual .icon-island::before {
  top: 8px;
  left: 50%;
  width: 24px;
  height: 10px;
  border-radius: 99px;
  background: #17141f;
  box-shadow: 0 3px 8px rgba(17, 13, 29, 0.2);
  transform: translateX(-50%);
}

body.product-page .doni-visual .icon-island::after {
  right: 7px;
  bottom: 7px;
  left: 7px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.74);
}

body.product-page .doni-visual .icon-lockscreen::after {
  width: 10px;
  height: 8px;
  border-radius: 3px;
  background: #8d72e4;
  box-shadow: 0 -5px 0 -2px #8d72e4;
}

body.product-page .doni-visual .icon-iosapp {
  background: linear-gradient(145deg, #6578f4, #9263e8);
}

body.product-page .doni-visual .icon-iosapp::before {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% 50% 48% 52%;
}

body.product-page .doni-visual .icon-iosapp::after {
  bottom: 9px;
  width: 22px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

body.product-page .doni-action {
  display: grid;
  min-height: 82px;
  align-content: center;
  gap: 8px;
  padding: 17px 20px;
  border-radius: 21px;
  background: linear-gradient(120deg, #1c1826, #2a213d);
  box-shadow: 0 20px 44px rgba(30, 23, 48, 0.2);
}

body.product-page .doni-action small {
  color: rgba(255, 255, 255, 0.52);
}

body.product-page .doni-action strong {
  color: white;
  font-size: 14px;
  font-weight: 680;
}

/* 02 — one legible case: evidence, one clarifying question, structured need. */

body.product-page .decoder-case-visual {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  align-items: stretch;
  gap: 18px;
}

body.product-page .decoder-case-head,
body.product-page .knowledge-graph-head {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.86);
}

body.product-page .decoder-case-head > div,
body.product-page .knowledge-graph-head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body.product-page .decoder-case-head small,
body.product-page .knowledge-graph-head small,
body.product-page .decoder-question-card > small,
body.product-page .decoder-structured-card > small,
body.product-page .knowledge-ranked-route small {
  color: var(--flow-muted);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.product-page .decoder-case-head strong,
body.product-page .knowledge-graph-head strong {
  overflow: hidden;
  color: #383140;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .decoder-case-head > span,
body.product-page .knowledge-graph-head > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #6f687a;
  font-size: 9px;
  font-weight: 680;
}

body.product-page .decoder-case-head > span i,
body.product-page .knowledge-graph-head > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 0 0 5px rgba(100, 99, 224, 0.06);
}

body.product-page .decoder-case-flow {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(142px, 0.86fr) minmax(145px, 0.78fr) minmax(180px, 1fr);
  align-items: center;
  gap: 14px;
}

body.product-page .decoder-case-flow::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(75, 111, 255, 0.12), rgba(92, 104, 234, 0.48), rgba(133, 92, 232, 0.48), rgba(133, 92, 232, 0.12));
  box-shadow: 0 0 22px rgba(107, 90, 219, 0.17);
}

body.product-page .decoder-evidence-stack,
body.product-page .decoder-question-card,
body.product-page .decoder-structured-card {
  position: relative;
  z-index: 1;
}

body.product-page .decoder-evidence-stack {
  display: grid;
  gap: 9px;
}

body.product-page .decoder-evidence-stack > span {
  display: grid;
  min-height: 72px;
  grid-template-columns: 9px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 2px 9px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 28px rgba(52, 43, 93, 0.06), inset 0 1px rgba(255, 255, 255, 0.9);
}

body.product-page .decoder-evidence-stack i {
  width: 7px;
  height: 7px;
  grid-row: 1 / -1;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
}

body.product-page .decoder-evidence-stack small {
  color: #918a9a;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.product-page .decoder-evidence-stack strong {
  color: #443d4c;
  font-size: 9px;
  line-height: 1.25;
}

body.product-page .decoder-evidence-stack b {
  color: #777080;
  font-size: 7px;
  font-weight: 620;
}

body.product-page .decoder-question-card,
body.product-page .decoder-structured-card {
  display: grid;
  align-content: center;
  padding: 20px 17px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 52px rgba(56, 44, 102, 0.1), inset 0 1px rgba(255, 255, 255, 0.94);
}

body.product-page .decoder-question-card {
  min-height: 214px;
  border-radius: 27px;
  text-align: center;
}

body.product-page .decoder-question-orbit {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto 15px;
}

body.product-page .decoder-question-orbit::before,
body.product-page .decoder-question-orbit i {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(107, 93, 218, 0.2);
  border-radius: 50%;
}

body.product-page .decoder-question-orbit::before {
  inset: 13px;
  border: 0;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 0 0 7px rgba(106, 95, 218, 0.07);
}

body.product-page .decoder-question-orbit i:nth-child(2) {
  inset: 7px;
}

body.product-page .decoder-question-card > strong {
  margin-top: 9px;
  color: #332d3b;
  font-size: 13px;
  line-height: 1.25;
}

body.product-page .decoder-question-card > div {
  display: grid;
  gap: 3px;
  margin-top: 15px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(101, 92, 211, 0.07);
}

body.product-page .decoder-question-card > div span {
  color: #544c61;
  font-size: 9px;
  font-weight: 690;
}

body.product-page .decoder-question-card > div b {
  color: #7b7290;
  font-size: 7px;
}

body.product-page .decoder-structured-card {
  min-height: 304px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 5%, rgba(135, 91, 231, 0.15), transparent 35%),
    rgba(255, 255, 255, 0.76);
}

body.product-page .decoder-structured-card > strong {
  max-width: 220px;
  margin-top: 12px;
  color: #211c2b;
  font-size: clamp(24px, 2.15vw, 34px);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

body.product-page .decoder-structured-card dl {
  display: grid;
  gap: 7px;
  margin: 22px 0 0;
}

body.product-page .decoder-structured-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(103, 91, 209, 0.06);
}

body.product-page .decoder-structured-card dt,
body.product-page .decoder-structured-card dd {
  margin: 0;
  font-size: 8px;
}

body.product-page .decoder-structured-card dt {
  color: #8b8495;
}

body.product-page .decoder-structured-card dd {
  color: #554d61;
  font-weight: 680;
  text-align: right;
}

body.product-page .decoder-case-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.44);
}

body.product-page .decoder-case-footer span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.62);
  color: #7d7587;
  font-size: 8px;
}

body.product-page .decoder-case-footer b {
  color: #564c67;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

/* 03 — a five-level knowledge graph with one highlighted explainable route. */

body.product-page .knowledge-graph-visual {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  align-items: stretch;
  gap: 16px;
}

body.product-page .knowledge-layer-stack {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 4px 0;
}

body.product-page .knowledge-layer-stack::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 12%;
  bottom: 12%;
  left: 64.5%;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 0 16px rgba(105, 91, 220, 0.28);
}

body.product-page .knowledge-layer {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 67px;
  grid-template-columns: 28px 84px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.49);
  box-shadow: 0 13px 30px rgba(52, 42, 91, 0.055), inset 0 1px rgba(255, 255, 255, 0.88);
}

body.product-page .knowledge-layer > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: rgba(99, 91, 207, 0.07);
  color: #777084;
  font-size: 8px;
  font-weight: 770;
}

body.product-page .knowledge-layer > strong {
  color: #504857;
  font-size: 10px;
  font-weight: 750;
}

body.product-page .knowledge-layer > div {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.product-page .knowledge-layer b {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 39px;
  place-items: center;
  padding: 6px 7px;
  overflow: hidden;
  border: 1px solid rgba(90, 77, 141, 0.055);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.58);
  color: #8a8392;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .knowledge-layer b.is-path {
  z-index: 2;
  border-color: rgba(106, 90, 216, 0.22);
  background: linear-gradient(145deg, rgba(102, 116, 241, 0.14), rgba(139, 91, 229, 0.13)), rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(96, 83, 204, 0.13), inset 0 1px rgba(255, 255, 255, 0.96);
  color: #4e426c;
  font-weight: 750;
}

body.product-page .knowledge-layer b.is-path::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 0 0 3px rgba(104, 92, 218, 0.07);
}

body.product-page .knowledge-ranked-route {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 15px;
  border-radius: 19px;
  background: linear-gradient(115deg, #1c1826, #2b2140);
  box-shadow: 0 22px 50px rgba(31, 23, 49, 0.2);
}

body.product-page .knowledge-ranked-route > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body.product-page .knowledge-ranked-route small {
  color: rgba(255, 255, 255, 0.48);
}

body.product-page .knowledge-ranked-route strong {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .knowledge-ranked-route > span:nth-child(2) {
  justify-items: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

body.product-page .knowledge-ranked-route > span:nth-child(2) b {
  color: white;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

body.product-page .knowledge-ranked-route > span:last-child {
  grid-template-columns: 8px auto;
  align-items: center;
  column-gap: 8px;
}

body.product-page .knowledge-ranked-route > span:last-child i {
  width: 7px;
  height: 7px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: #72d7a7;
  box-shadow: 0 0 0 5px rgba(114, 215, 167, 0.09);
}

/* 04 — an interactive, user-controlled iPhone booking sequence. */

body.product-page .iphone-automation-demo {
  display: grid;
  grid-template-columns: minmax(140px, 0.52fr) minmax(280px, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  align-items: center;
  gap: 18px 24px;
  padding: 24px 28px;
}

body.product-page .orchestrator-demo-steps {
  display: grid;
  align-content: center;
  gap: 10px;
}

body.product-page .orchestrator-demo-steps button {
  position: relative;
  display: grid;
  min-height: 86px;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 4px 9px;
  padding: 13px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.88);
  color: #7d7686;
  cursor: pointer;
  text-align: left;
}

body.product-page .orchestrator-demo-steps button::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--flow-blue), var(--flow-violet));
  opacity: 0;
  transform: scaleY(0.25);
  transition: opacity 180ms ease, transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .orchestrator-demo-steps button.is-active {
  border-color: rgba(105, 91, 214, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 15px 34px rgba(53, 42, 93, 0.09), inset 0 1px rgba(255, 255, 255, 0.94);
  color: #4f465d;
}

body.product-page .orchestrator-demo-steps button.is-active::after {
  opacity: 1;
  transform: scaleY(1);
}

body.product-page .orchestrator-demo-steps span {
  display: grid;
  width: 28px;
  height: 28px;
  grid-row: 1 / span 2;
  place-items: center;
  align-self: center;
  border-radius: 9px;
  background: rgba(102, 92, 211, 0.07);
  color: #756c88;
  font-size: 8px;
  font-weight: 770;
}

body.product-page .orchestrator-demo-steps button.is-active span {
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 8px 18px rgba(101, 87, 215, 0.24);
  color: white;
}

body.product-page .orchestrator-demo-steps small {
  color: #837c8d;
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

body.product-page .orchestrator-demo-steps strong {
  overflow: hidden;
  color: #4b4454;
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .iphone-automation-demo .iphone-shell {
  position: relative;
  display: flex;
  width: min(100%, 316px);
  height: 548px;
  aspect-ratio: auto;
  justify-self: center;
  flex-direction: column;
  padding: 14px 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(13, 11, 19, 0.82);
  border-radius: 46px;
  background:
    radial-gradient(circle at 78% 13%, rgba(150, 103, 238, 0.18), transparent 29%),
    radial-gradient(circle at 16% 72%, rgba(86, 127, 246, 0.13), transparent 35%),
    linear-gradient(155deg, #fbfaff, #f1eff9);
  box-shadow:
    0 0 0 5px #1b1721,
    0 0 0 7px rgba(255, 255, 255, 0.25),
    0 38px 76px rgba(31, 24, 50, 0.25);
  transform: translateZ(0);
}

body.product-page .iphone-automation-demo .iphone-shell::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 6px;
  left: 4px;
  height: 22px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(244, 242, 250, 0.84));
}

body.product-page .iphone-status {
  position: relative;
  z-index: 2;
  display: flex;
  height: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #28232f;
  font-size: 9px;
  font-weight: 760;
}

body.product-page .iphone-status > i {
  width: 42px;
}

body.product-page .iphone-island {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 50%;
  width: 78px;
  height: 23px;
  border-radius: 99px;
  background: #0d0b11;
  box-shadow: 0 4px 10px rgba(11, 8, 16, 0.18);
  transform: translateX(-50%);
}

body.product-page .iphone-app-head {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 54px;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 8px 7px;
  border-bottom: 1px solid rgba(84, 72, 129, 0.08);
}

body.product-page .iphone-app-head img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 11px;
  filter: drop-shadow(0 6px 9px rgba(84, 67, 151, 0.14));
}

body.product-page .iphone-app-head > span {
  display: grid;
  gap: 2px;
}

body.product-page .iphone-app-head small {
  color: #918a99;
  font-size: 7px;
  font-weight: 690;
}

body.product-page .iphone-app-head strong {
  color: #3b3442;
  font-size: 10px;
}

body.product-page .iphone-app-head button {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
  color: #716979;
  cursor: pointer;
  font-size: 9px;
}

body.product-page .iphone-automation-demo .iphone-screen {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 20px 8px 12px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  animation: phone-screen-in 360ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

body.product-page .iphone-automation-demo .iphone-screen::after {
  display: none;
}

body.product-page .iphone-automation-demo .iphone-screen[hidden] {
  display: none !important;
}

@keyframes phone-screen-in {
  from { opacity: 0; transform: translateY(9px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

body.product-page .iphone-screen-kicker {
  color: #7568c4;
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.product-page .iphone-screen h4 {
  margin: 8px 0 17px;
  color: #211c29;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.042em;
  line-height: 1.02;
}

body.product-page .iphone-check-list,
body.product-page .iphone-complete-actions {
  display: grid;
  gap: 7px;
}

body.product-page .iphone-check-list > span {
  display: grid;
  min-height: 49px;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1px 8px;
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 24px rgba(52, 42, 89, 0.05), inset 0 1px rgba(255, 255, 255, 0.9);
}

body.product-page .iphone-check-list i {
  display: grid;
  width: 22px;
  height: 22px;
  grid-row: 1 / span 2;
  place-items: center;
  align-self: center;
  border-radius: 7px;
  background: rgba(96, 112, 238, 0.1);
  color: #5e67d9;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
}

body.product-page .iphone-check-list b {
  color: #514958;
  font-size: 9px;
}

body.product-page .iphone-check-list small {
  color: #88818f;
  font-size: 7px;
}

body.product-page .iphone-primary,
body.product-page .iphone-secondary {
  width: 100%;
  min-height: 43px;
  margin-top: auto;
  padding: 0 14px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 720;
}

body.product-page .iphone-primary {
  background: linear-gradient(115deg, #1b1724, #2d2241);
  box-shadow: 0 16px 30px rgba(30, 23, 47, 0.18);
  color: white;
}

body.product-page .iphone-primary:focus-visible,
body.product-page .iphone-secondary:focus-visible,
body.product-page .orchestrator-demo-steps button:focus-visible {
  outline: 3px solid rgba(91, 112, 241, 0.32);
  outline-offset: 2px;
}

body.product-page .iphone-appointment-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(54, 42, 95, 0.08), inset 0 1px rgba(255, 255, 255, 0.94);
}

body.product-page .iphone-appointment-card > span {
  display: grid;
  min-height: 54px;
  place-items: center;
  align-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(93, 115, 246, 0.12), rgba(132, 96, 232, 0.12));
}

body.product-page .iphone-appointment-card > span small {
  color: #7467c2;
  font-size: 7px;
  font-weight: 780;
}

body.product-page .iphone-appointment-card > span strong {
  color: #3e3553;
  font-size: 20px;
  line-height: 1;
}

body.product-page .iphone-appointment-card > div {
  display: grid;
  align-content: center;
  gap: 4px;
}

body.product-page .iphone-appointment-card b {
  color: #423a4a;
  font-size: 10px;
}

body.product-page .iphone-appointment-card small {
  color: #837c89;
  font-size: 7px;
}

body.product-page .iphone-permission-note {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 9px;
  margin-top: 12px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(98, 88, 205, 0.07);
}

body.product-page .iphone-permission-note > i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: white;
  color: #7264c7;
  font-style: normal;
}

body.product-page .iphone-permission-note > span {
  display: grid;
  gap: 2px;
}

body.product-page .iphone-permission-note b {
  color: #51485b;
  font-size: 8px;
}

body.product-page .iphone-permission-note small {
  color: #837a8d;
  font-size: 7px;
  line-height: 1.3;
}

body.product-page .iphone-screen-complete {
  align-items: center;
  text-align: center;
}

body.product-page .iphone-complete-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 8px auto 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  background: linear-gradient(145deg, #6578f3, #8e63e7);
  box-shadow: 0 17px 34px rgba(98, 80, 205, 0.24), inset 0 1px rgba(255, 255, 255, 0.38);
  color: white;
  font-size: 27px;
}

body.product-page .iphone-screen-complete h4 {
  max-width: 235px;
}

body.product-page .iphone-complete-actions {
  width: 100%;
  margin-top: 3px;
}

body.product-page .iphone-complete-actions span {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.66);
  color: #655d6c;
  font-size: 8px;
  text-align: left;
}

body.product-page .iphone-complete-actions i {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 6px;
  background: rgba(92, 185, 142, 0.12);
  color: #3d9d70;
  font-size: 8px;
  font-style: normal;
}

body.product-page .iphone-secondary {
  border: 1px solid rgba(94, 82, 148, 0.1);
  background: rgba(255, 255, 255, 0.68);
  color: #5e5666;
}

body.product-page .orchestrator-receipt {
  display: grid;
  min-height: 66px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.88);
}

body.product-page .orchestrator-receipt > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 2px 9px;
}

body.product-page .orchestrator-receipt i {
  width: 7px;
  height: 7px;
  grid-row: 1 / span 2;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  box-shadow: 0 0 0 5px rgba(100, 99, 224, 0.06);
}

body.product-page .orchestrator-receipt small {
  color: #918a9a;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.product-page .orchestrator-receipt strong {
  overflow: hidden;
  color: #514958;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .orchestrator-receipt > b {
  min-width: 40px;
  color: #6e628f;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* 05 — the copy and graph now share the exact same top and bottom edges. */

body.product-page .module-memory .module-copy,
body.product-page .module-memory .module-visual {
  min-height: 640px;
  height: 100%;
  align-self: stretch;
}

body.product-page .module-memory .memory-visual {
  display: block;
  padding: 0;
}

body.product-page .module-memory .memory-brain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Remove the oversized gap between the tailored solution and the footer. */

body.product-page .product-employers.section-shell {
  margin-bottom: 0;
  padding-bottom: clamp(54px, 6vw, 82px);
  background:
    radial-gradient(circle at 9% 28%, rgba(67, 119, 248, 0.12), transparent 34%),
    radial-gradient(circle at 91% 72%, rgba(145, 82, 225, 0.12), transparent 36%),
    linear-gradient(180deg,
      rgba(247, 248, 255, 0) 0%,
      rgba(242, 246, 255, 0.78) 9%,
      rgba(250, 249, 255, 0.96) 48%,
      rgba(243, 237, 252, 0.8) 91%,
      rgba(247, 246, 252, 0) 100%);
}

/* The testimonial field and footer terminate on the same exact canvas color. */

body.product-page .site-footer {
  isolation: isolate;
  overflow: visible;
  background: rgb(248, 247, 251);
}

body.product-page .site-footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -110px;
  right: -2%;
  left: -2%;
  display: block;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(248, 247, 251, 0) 0%,
    rgba(248, 247, 251, 0.54) 30%,
    rgb(248, 247, 251) 50%,
    rgba(248, 247, 251, 0.76) 72%,
    rgba(248, 247, 251, 0) 100%
  );
  filter: blur(24px);
  transform: scaleX(1.04);
  transform-origin: center;
}

body.product-page .footer-wordmark {
  z-index: 1;
  opacity: 0.98;
}

body.product-page .footer-wordmark text {
  fill: rgba(45, 39, 61, 0.055);
}

@media (max-width: 1180px) {
  body.product-page .product-module,
  body.product-page .product-module:nth-child(even),
  body.product-page .module-memory {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(560px, auto);
    gap: 40px;
    padding: 64px max(28px, 7vw);
  }

  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy,
  body.product-page .module-memory .module-copy {
    min-height: 0;
    grid-column: 1;
    grid-row: 1;
  }

  body.product-page .product-module .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual,
  body.product-page .module-memory .module-visual {
    min-height: 560px;
    grid-column: 1;
    grid-row: 2;
  }

  body.product-page .module-copy h3,
  body.product-page .module-decoder .module-copy h3,
  body.product-page .module-orchestrator .module-copy h3,
  body.product-page .module-memory .module-copy h3 {
    max-width: 760px;
  }

  body.product-page .module-copy > p {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  body.product-page .site-footer::before {
    top: -76px;
    height: 152px;
    filter: blur(18px);
  }

  body.product-page .product-module,
  body.product-page .product-module:nth-child(even),
  body.product-page .module-memory {
    grid-template-rows: auto minmax(500px, auto);
    gap: 28px;
    padding: 52px 20px;
  }

  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy,
  body.product-page .module-memory .module-copy {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: 44px auto auto auto minmax(14px, 1fr) auto;
  }

  body.product-page .module-copy .module-number {
    width: 40px;
    height: 40px;
  }

  body.product-page .module-copy .section-kicker {
    margin-left: 9px;
    font-size: 8px;
  }

  body.product-page .module-copy h3,
  body.product-page .module-decoder .module-copy h3,
  body.product-page .module-orchestrator .module-copy h3,
  body.product-page .module-memory .module-copy h3 {
    margin-top: 24px;
    font-size: clamp(38px, 12vw, 54px);
  }

  body.product-page .module-copy > p {
    margin-top: 22px;
    font-size: 14px;
  }

  body.product-page .module-story-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }

  body.product-page .module-story-steps > span {
    min-height: 74px;
    padding: 10px 8px;
  }

  body.product-page .module-story-steps > i {
    display: none;
  }

  body.product-page .module-story-steps strong {
    white-space: normal;
  }

  body.product-page .product-module .module-visual,
  body.product-page .product-module:nth-child(even) .module-visual,
  body.product-page .module-memory .module-visual {
    min-height: 500px;
    padding: 16px;
    border-radius: 26px;
  }

  body.product-page .doni-surfaces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(100px, 1fr));
    gap: 8px;
  }

  body.product-page .doni-surfaces .doni-surface {
    gap: 8px;
    padding: 10px 7px;
    border-radius: 15px;
  }

  body.product-page .doni-visual .doni-surface-icon {
    width: 36px;
    height: 36px;
  }

  body.product-page .decoder-case-flow {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
  }

  body.product-page .decoder-case-flow::before {
    top: 8%;
    bottom: 8%;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(75, 111, 255, 0.1), rgba(92, 104, 234, 0.42), rgba(133, 92, 232, 0.42), rgba(133, 92, 232, 0.1));
  }

  body.product-page .decoder-evidence-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.product-page .decoder-evidence-stack > span {
    min-height: 64px;
  }

  body.product-page .decoder-question-card,
  body.product-page .decoder-structured-card {
    min-height: 180px;
  }

  body.product-page .decoder-case-footer {
    grid-template-columns: 1fr;
  }

  body.product-page .knowledge-layer-stack::before {
    left: 68%;
  }

  body.product-page .knowledge-layer {
    grid-template-columns: 26px 68px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  body.product-page .knowledge-layer b {
    padding-inline: 5px;
    font-size: 7px;
  }

  body.product-page .knowledge-ranked-route {
    grid-template-columns: 1fr auto;
  }

  body.product-page .knowledge-ranked-route > span:last-child {
    display: none;
  }

  body.product-page .iphone-automation-demo {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    padding: 18px 14px;
  }

  body.product-page .orchestrator-demo-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  body.product-page .orchestrator-demo-steps button {
    min-height: 72px;
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 9px 7px;
  }

  body.product-page .orchestrator-demo-steps span {
    width: 24px;
    height: 24px;
  }

  body.product-page .orchestrator-demo-steps strong {
    display: none;
  }

  body.product-page .iphone-automation-demo .iphone-shell {
    width: min(88vw, 310px);
  }

  body.product-page .orchestrator-receipt {
    grid-column: 1;
  }

  body.product-page .orchestrator-receipt strong {
    white-space: normal;
  }

  body.product-page .module-memory .module-copy,
  body.product-page .module-memory .module-visual {
    min-height: 500px;
  }
}

/* 04 refinement — a single, fully contained phone with an island-to-calendar flow. */

body.product-page .orchestrator-description-lines,
body.product-page .orchestrator-description-lines > span {
  display: block;
}

body.product-page .iphone-automation-demo {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  place-items: end center;
  padding: 14px 28px 8px;
}

body.product-page .iphone-automation-demo .iphone-shell {
  position: relative;
  display: flex;
  width: min(100%, 270px);
  height: auto;
  aspect-ratio: 9 / 19.5;
  max-height: 596px;
  justify-self: center;
  flex-direction: column;
  padding: 12px 10px 11px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(8, 7, 12, 0.9);
  border-radius: 43px;
  background: #f8f7fc;
  box-shadow:
    0 0 0 5px #19161e,
    0 0 0 6px rgba(255, 255, 255, 0.36),
    0 31px 62px rgba(31, 24, 50, 0.24);
  transform: translateY(1px) translateZ(0);
}

body.product-page .iphone-automation-demo .iphone-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 76% 9%, rgba(139, 104, 236, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfaff 0%, #f4f3f9 100%);
}

body.product-page .iphone-automation-demo .iphone-shell::after {
  content: "";
  position: absolute;
  z-index: 30;
  right: 50%;
  bottom: 5px;
  width: 86px;
  height: 3px;
  border-radius: 99px;
  background: rgba(18, 15, 23, 0.78);
  transform: translateX(50%);
}

body.product-page .iphone-status {
  position: relative;
  z-index: 24;
  display: flex;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #292531;
  font-size: 8px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease;
}

body.product-page .iphone-status > i {
  width: 78px;
}

body.product-page .iphone-shell[data-state="review"] .iphone-status {
  color: rgba(255, 255, 255, 0.92);
}

body.product-page .iphone-dynamic-prompt {
  position: absolute;
  z-index: 20;
  top: 7px;
  right: 8px;
  left: 8px;
  display: grid;
  gap: 9px;
  padding: 34px 12px 12px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(130, 99, 231, 0.3), transparent 32%),
    linear-gradient(155deg, #17131f, #0d0b11 72%);
  box-shadow: 0 18px 42px rgba(16, 12, 24, 0.3), inset 0 1px rgba(255, 255, 255, 0.13);
  color: white;
  transform: none;
  transform-origin: top center;
  transition: opacity 190ms ease, transform 270ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .iphone-shell[data-state="adding"] .iphone-dynamic-prompt,
body.product-page .iphone-shell[data-state="booked"] .iphone-dynamic-prompt {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-5px) scale(0.72, 0.2);
}

body.product-page .iphone-prompt-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
}

body.product-page .iphone-prompt-head > img {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(105, 86, 212, 0.35);
}

body.product-page .iphone-prompt-head > span {
  display: grid;
  gap: 2px;
}

body.product-page .iphone-prompt-head small {
  color: rgba(221, 214, 239, 0.64);
  font-size: 5.5px;
  font-weight: 760;
  letter-spacing: 0.11em;
}

body.product-page .iphone-prompt-head strong {
  color: #fff;
  font-size: 9px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

body.product-page .iphone-prompt-head > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #72d7a7;
  box-shadow: 0 0 0 4px rgba(114, 215, 167, 0.1);
}

body.product-page .iphone-dynamic-prompt > p {
  margin: 0;
  color: rgba(250, 248, 255, 0.88);
  font-size: 8px;
  line-height: 1.38;
  text-wrap: pretty;
}

body.product-page .iphone-prompt-services {
  display: grid;
  gap: 5px;
}

body.product-page .iphone-prompt-services > span {
  display: grid;
  min-height: 34px;
  grid-template-columns: 27px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 1px 8px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.075);
}

body.product-page .iphone-prompt-services img {
  width: 25px;
  height: 25px;
  grid-row: 1 / span 2;
  align-self: center;
  padding: 3px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

body.product-page .iphone-prompt-services b {
  align-self: end;
  color: rgba(255, 255, 255, 0.94);
  font-size: 7.5px;
  font-weight: 690;
}

body.product-page .iphone-prompt-services small {
  color: rgba(221, 214, 239, 0.62);
  font-size: 6px;
}

body.product-page .iphone-prompt-approve {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.24);
  color: #211b29;
  cursor: pointer;
  font-size: 8px;
  font-weight: 760;
  transition: transform 110ms ease-out, background-color 160ms ease;
}

body.product-page .iphone-prompt-approve:hover {
  background: #fff;
}

body.product-page .iphone-prompt-approve:active,
body.product-page .iphone-island-confirmation:active {
  transform: scale(0.97);
}

body.product-page .iphone-prompt-approve:focus-visible,
body.product-page .iphone-island-confirmation:focus-visible {
  outline: 3px solid rgba(124, 133, 255, 0.48);
  outline-offset: 2px;
}

body.product-page .iphone-island-confirmation {
  position: absolute;
  z-index: 21;
  top: 7px;
  left: 50%;
  display: grid;
  width: 174px;
  min-height: 38px;
  grid-template-columns: 27px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border: 0;
  border-radius: 99px;
  background: #0d0b11;
  box-shadow: 0 12px 27px rgba(13, 10, 18, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px) scale(0.82);
  transition: opacity 170ms ease, transform 270ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .iphone-shell[data-state="adding"] .iphone-island-confirmation,
body.product-page .iphone-shell[data-state="booked"] .iphone-island-confirmation {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

body.product-page .iphone-island-confirmation img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
}

body.product-page .iphone-island-confirmation > span {
  display: grid;
  min-width: 0;
  gap: 1px;
  text-align: left;
}

body.product-page .iphone-island-confirmation strong {
  overflow: hidden;
  font-size: 7px;
  font-weight: 710;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .iphone-island-confirmation small {
  overflow: hidden;
  color: rgba(236, 232, 242, 0.58);
  font-size: 5.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .iphone-island-confirmation > i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(114, 215, 167, 0.15);
  color: #78dbaa;
  font-size: 8px;
  font-style: normal;
}

body.product-page .iphone-calendar-app {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 270ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .iphone-shell[data-state="review"] .iphone-calendar-app {
  opacity: 0.48;
  transform: translateY(4px) scale(0.985);
}

body.product-page .iphone-calendar-head {
  display: grid;
  min-height: 45px;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 5px;
  padding: 5px 2px 4px;
}

body.product-page .iphone-calendar-back,
body.product-page .iphone-calendar-head > b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.64);
  color: #6459b4;
  font-size: 17px;
  font-weight: 470;
}

body.product-page .iphone-calendar-head > span:nth-child(2) {
  display: grid;
  gap: 1px;
}

body.product-page .iphone-calendar-head small {
  color: #8b8494;
  font-size: 6px;
  font-weight: 640;
}

body.product-page .iphone-calendar-head strong {
  color: #29242f;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: -0.02em;
}

body.product-page .iphone-calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 4px 0 7px;
  border-bottom: 1px solid rgba(79, 69, 128, 0.08);
}

body.product-page .iphone-calendar-week > span {
  display: grid;
  min-height: 36px;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 11px;
}

body.product-page .iphone-calendar-week small {
  color: #9a94a1;
  font-size: 5.5px;
  font-weight: 720;
}

body.product-page .iphone-calendar-week b {
  color: #5c5562;
  font-size: 8px;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

body.product-page .iphone-calendar-week .is-today {
  background: linear-gradient(145deg, #5e72ed, #8262df);
  box-shadow: 0 7px 14px rgba(99, 84, 206, 0.19);
}

body.product-page .iphone-calendar-week .is-today small,
body.product-page .iphone-calendar-week .is-today b {
  color: white;
}

body.product-page .iphone-calendar-day {
  display: grid;
  min-height: 0;
  flex: 1;
  align-content: center;
  gap: 5px;
  padding: 8px 0 10px;
  overflow: hidden;
}

body.product-page .iphone-calendar-event {
  position: relative;
  display: grid;
  min-height: 44px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 5px 8px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.78);
}

body.product-page .iphone-calendar-event time {
  color: #81798a;
  font-size: 6px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

body.product-page .iphone-calendar-event > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.product-page .iphone-calendar-event b {
  overflow: hidden;
  color: #443d4b;
  font-size: 7.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .iphone-calendar-event small {
  overflow: hidden;
  color: #8a8390;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .iphone-calendar-event.is-work {
  background: rgba(221, 231, 255, 0.62);
}

body.product-page .iphone-calendar-event.is-life {
  background: rgba(255, 235, 231, 0.62);
}

body.product-page .iphone-calendar-event.is-new {
  grid-template-columns: 30px 25px minmax(0, 1fr);
  border-color: rgba(113, 96, 214, 0.13);
  background: rgba(239, 234, 255, 0.78);
  opacity: 0;
  transform: translateY(-5px) scale(0.98);
  transition: opacity 190ms ease, transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .iphone-calendar-event.is-new::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--flow-blue), var(--flow-violet));
}

body.product-page .iphone-calendar-event.is-new > img {
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
  box-shadow: 0 4px 9px rgba(63, 49, 108, 0.08);
}

body.product-page .iphone-shell[data-state="booked"] .iphone-calendar-event.is-new {
  opacity: 1;
  transform: none;
}

body.product-page .iphone-shell[data-state="booked"] .iphone-calendar-event.is-new:nth-of-type(4) {
  transition-delay: 55ms;
}

body.product-page .iphone-shell[data-state="booked"] .iphone-calendar-event.is-new:nth-of-type(5) {
  transition-delay: 110ms;
}

@media (max-width: 1180px) {
  body.product-page .orchestrator-description-lines,
  body.product-page .orchestrator-description-lines > span {
    display: inline;
  }

  body.product-page .orchestrator-description-lines > span:not(:last-child)::after {
    content: " ";
  }

  body.product-page .iphone-automation-demo {
    min-height: 590px;
  }

  body.product-page .iphone-automation-demo .iphone-shell {
    width: min(100%, 258px);
  }
}

@media (max-width: 760px) {
  body.product-page .iphone-automation-demo {
    min-height: 510px;
    padding: 12px 14px 7px;
  }

  body.product-page .iphone-automation-demo .iphone-shell {
    width: min(66vw, 225px);
    max-height: 488px;
    border-radius: 38px;
  }

  body.product-page .iphone-calendar-event {
    min-height: 38px;
  }

  body.product-page .iphone-dynamic-prompt {
    gap: 7px;
  }

  body.product-page .iphone-prompt-services > span {
    min-height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .iphone-status,
  body.product-page .iphone-dynamic-prompt,
  body.product-page .iphone-island-confirmation,
  body.product-page .iphone-calendar-app,
  body.product-page .iphone-calendar-event.is-new,
  body.product-page .iphone-prompt-approve {
    transition-duration: 0.01ms;
    transition-delay: 0ms !important;
    transform: none;
  }

  body.product-page .iphone-island-confirmation {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.product-page .iphone-dynamic-prompt {
    background: #111016;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .iphone-automation-demo .iphone-screen {
    animation: none;
  }

  body.product-page .orchestrator-demo-steps button::after {
    transition: opacity 160ms ease;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.product-page .doni-config,
  body.product-page .doni-surfaces .doni-surface,
  body.product-page .decoder-case-head,
  body.product-page .decoder-evidence-stack > span,
  body.product-page .decoder-question-card,
  body.product-page .decoder-structured-card,
  body.product-page .knowledge-layer,
  body.product-page .iphone-automation-demo .iphone-shell,
  body.product-page .orchestrator-receipt {
    background-color: #f8f7fc;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Precision alignment pass — August review. */

@media (min-width: 1181px) {
  /* 01 keeps a single-line thesis while both columns share one exact track. */
  body.product-page .module-doni {
    grid-template-rows: 640px;
  }

  body.product-page .module-doni .module-copy,
  body.product-page .module-doni .module-visual {
    min-height: 0;
    height: 640px;
  }

  body.product-page .module-doni .module-copy h3 {
    max-width: none;
    font-size: clamp(40px, 3.15vw, 57px);
    letter-spacing: -0.058em;
    white-space: nowrap;
  }

  /* 03 mirrors 01: a one-line title inside an exact shared-height track. */
  body.product-page .module-router {
    grid-template-rows: 640px;
  }

  body.product-page .module-router .module-copy,
  body.product-page .module-router .module-visual {
    min-height: 0;
    height: 640px;
  }

  body.product-page .module-router .module-copy h3 {
    max-width: none;
    font-size: clamp(40px, 3.15vw, 57px);
    letter-spacing: -0.058em;
    white-space: nowrap;
  }

  /* 04 keeps the longer proactive-care statement on one aligned line. */
  body.product-page .module-orchestrator {
    grid-template-rows: 640px;
  }

  body.product-page .module-orchestrator .module-copy,
  body.product-page .module-orchestrator .module-visual {
    min-height: 0;
    height: 640px;
  }

  body.product-page .module-orchestrator .module-copy h3 {
    max-width: none;
    font-size: clamp(34px, 2.65vw, 48px);
    letter-spacing: -0.052em;
    white-space: nowrap;
  }

  /* 02 uses the whole illustration height instead of leaving a dead lower band. */
  body.product-page .decoder-case-visual {
    display: flex;
    min-height: 640px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  body.product-page .decoder-case-head,
  body.product-page .decoder-case-footer {
    flex: 0 0 auto;
  }

  body.product-page .decoder-case-flow {
    min-height: 0;
    flex: 1 1 auto;
    align-items: stretch;
  }

  body.product-page .decoder-evidence-stack {
    height: 100%;
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  body.product-page .decoder-evidence-stack > span,
  body.product-page .decoder-question-card,
  body.product-page .decoder-structured-card {
    min-height: 0;
    height: 100%;
  }

  body.product-page .decoder-question-card,
  body.product-page .decoder-structured-card {
    align-self: stretch;
  }

  body.product-page .decoder-case-footer {
    margin-top: auto;
  }

  /* 05 is intentionally more compact: copy and graph are both exactly 600px. */
  body.product-page .module-memory {
    min-height: 720px;
    grid-template-rows: 600px;
  }

  body.product-page .module-memory .module-copy,
  body.product-page .module-memory .module-visual {
    min-height: 0;
    height: 600px;
  }

  body.product-page .module-memory .module-copy {
    position: relative;
    grid-template-rows: 44px auto auto auto;
    align-content: start;
  }

  body.product-page .module-memory .module-copy h3 {
    margin-top: 24px;
    font-size: clamp(42px, 3.15vw, 56px);
  }

  body.product-page .module-memory .module-copy > p {
    max-width: 560px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.55;
  }

  body.product-page .module-memory .module-story-steps {
    margin-top: 20px;
    padding: 6px;
    border-radius: 17px;
  }

  body.product-page .module-memory .module-story-steps > span {
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 12px;
  }

  body.product-page .module-memory .module-copy ul {
    position: absolute;
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    gap: 6px;
    margin: 0;
  }

  body.product-page .module-memory .module-copy li {
    min-height: 40px;
    padding-block: 10px;
  }

  body.product-page .module-memory .module-copy li::before {
    top: 15px;
  }
}

@media (max-width: 760px) {
  body.product-page .module-doni .module-copy h3,
  body.product-page .module-router .module-copy h3 {
    max-width: none;
    font-size: clamp(29px, 8.35vw, 38px);
    white-space: nowrap;
  }

  body.product-page .module-orchestrator .module-copy h3 {
    max-width: none;
    font-size: clamp(22px, 6.2vw, 30px);
    white-space: nowrap;
  }
}

/* 02 + 04 — iPhone 17 Pro Max body ratio and native Dynamic Island journeys. */

body.product-page .module-decoder .module-copy h3.decoder-title {
  max-width: none;
  font-size: clamp(38px, 2.75vw, 50px);
  line-height: 1.01;
  letter-spacing: -0.052em;
  text-wrap: initial;
}

body.product-page .module-decoder .decoder-title > span {
  display: block;
  white-space: nowrap;
}

body.product-page .decoder-case-visual,
body.product-page .iphone-automation-demo {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  padding: 18px 24px;
}

body.product-page .ios-device-shell,
body.product-page .iphone-automation-demo .iphone-shell.ios-device-shell {
  position: relative;
  display: flex;
  width: min(100%, 280px);
  height: auto;
  max-height: none;
  aspect-ratio: 78 / 163.4;
  flex-direction: column;
  align-self: center;
  justify-self: center;
  padding: 12px 10px 11px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(8, 7, 12, 0.92);
  border-radius: 45px;
  background: #f8f7fc;
  box-shadow:
    0 0 0 4px #1a171e,
    0 0 0 5px rgba(207, 210, 219, 0.9),
    0 0 0 6px rgba(255, 255, 255, 0.45),
    0 30px 64px rgba(31, 24, 50, 0.23);
  transform: translateZ(0);
}

body.product-page .ios-device-shell::before,
body.product-page .iphone-automation-demo .iphone-shell.ios-device-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 8%, rgba(135, 102, 234, 0.12), transparent 27%),
    linear-gradient(180deg, #fbfaff 0%, #f4f3f9 100%);
}

body.product-page .ios-device-shell::after,
body.product-page .iphone-automation-demo .iphone-shell.ios-device-shell::after {
  content: "";
  position: absolute;
  z-index: 40;
  right: 50%;
  bottom: 5px;
  width: 88px;
  height: 3px;
  border-radius: 99px;
  background: rgba(18, 15, 23, 0.8);
  transform: translateX(50%);
}

body.product-page .ios-device-shell .iphone-status {
  position: relative;
  z-index: 34;
  height: 22px;
  flex: 0 0 22px;
  padding: 0 8px;
  font-size: 8px;
}

body.product-page .ios-device-shell .iphone-status > i {
  width: 82px;
}

/* 02 — Decoder: import, clarify twice, structure, confirm. */

body.product-page .decoder-phone {
  background: #f7f7fb;
}

body.product-page .decoder-phone[data-state="collecting"] .iphone-status,
body.product-page .decoder-phone[data-state="question-one"] .iphone-status,
body.product-page .decoder-phone[data-state="question-two"] .iphone-status,
body.product-page .decoder-phone[data-state="confirm"] .iphone-status {
  color: rgba(255, 255, 255, 0.94);
}

body.product-page .decoder-dynamic-island {
  position: absolute;
  z-index: 30;
  top: 7px;
  right: 8px;
  left: 8px;
  height: 252px;
  padding: 34px 12px 12px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 7%, rgba(112, 100, 227, 0.28), transparent 32%),
    linear-gradient(155deg, #17131f, #0d0b11 72%);
  box-shadow: 0 18px 42px rgba(16, 12, 24, 0.3), inset 0 1px rgba(255, 255, 255, 0.13);
  color: white;
  transform-origin: top center;
  transition: opacity 180ms ease, transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .decoder-phone[data-state="complete"] .decoder-dynamic-island {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-5px) scale(0.7, 0.18);
}

body.product-page .decoder-island-stage {
  height: 100%;
  align-content: center;
  animation: ios-island-stage-in 260ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

body.product-page .decoder-island-stage[hidden] {
  display: none !important;
}

body.product-page .decoder-island-stage.is-collecting,
body.product-page .decoder-island-stage.is-confirm {
  display: grid;
  gap: 10px;
}

body.product-page .decoder-island-stage:not(.is-collecting):not(.is-confirm) {
  display: grid;
  gap: 11px;
}

@keyframes ios-island-stage-in {
  from { opacity: 0; transform: translateY(5px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

body.product-page .decoder-island-head {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
}

body.product-page .decoder-island-head > img {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(105, 86, 212, 0.35);
}

body.product-page .decoder-island-head > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.product-page .decoder-island-head small {
  overflow: hidden;
  color: rgba(221, 214, 239, 0.64);
  font-size: 5.5px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .decoder-island-head strong {
  overflow: hidden;
  color: white;
  font-size: 8.5px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .decoder-live-dot,
body.product-page .decoder-ready-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72d7a7;
  box-shadow: 0 0 0 4px rgba(114, 215, 167, 0.1);
}

body.product-page .decoder-live-dot {
  animation: decoder-live-pulse 1.15s ease-in-out infinite;
}

@keyframes decoder-live-pulse {
  50% { opacity: 0.45; transform: scale(0.78); }
}

body.product-page .decoder-island-stage > p {
  margin: 0;
  color: rgba(249, 247, 255, 0.87);
  font-size: 8px;
  line-height: 1.4;
  text-wrap: pretty;
}

body.product-page .decoder-source-pulse {
  display: grid;
  gap: 5px;
}

body.product-page .decoder-source-pulse > span {
  display: grid;
  min-height: 34px;
  grid-template-columns: 27px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

body.product-page .decoder-source-pulse img {
  width: 25px;
  height: 25px;
  padding: 3px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

body.product-page .decoder-source-pulse b {
  color: rgba(255, 255, 255, 0.9);
  font-size: 7px;
  font-weight: 680;
}

body.product-page .decoder-source-pulse i {
  position: relative;
  display: block;
  width: 32px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

body.product-page .decoder-source-pulse i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7589ff, #9e71ed);
  transform-origin: left;
  animation: decoder-source-fill 1.15s cubic-bezier(0.23, 1, 0.32, 1) both;
}

body.product-page .decoder-source-pulse > span:nth-child(2) i::after { animation-delay: 120ms; }
body.product-page .decoder-source-pulse > span:nth-child(3) i::after { animation-delay: 220ms; }

@keyframes decoder-source-fill {
  from { transform: scaleX(0.08); opacity: 0.3; }
  to { transform: scaleX(1); opacity: 1; }
}

body.product-page .decoder-island-actions {
  display: grid;
  gap: 6px;
}

body.product-page .decoder-island-actions button,
body.product-page .decoder-confirm-button {
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  color: #211b29;
  cursor: pointer;
  font-size: 7.5px;
  font-weight: 740;
  transition: transform 110ms ease-out, background-color 160ms ease;
}

body.product-page .decoder-island-actions button.is-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
}

body.product-page .decoder-island-actions button:active,
body.product-page .decoder-confirm-button:active,
body.product-page .decoder-island-complete:active {
  transform: scale(0.97);
}

body.product-page .decoder-island-actions button:focus-visible,
body.product-page .decoder-confirm-button:focus-visible,
body.product-page .decoder-island-complete:focus-visible {
  outline: 3px solid rgba(124, 133, 255, 0.48);
  outline-offset: 2px;
}

body.product-page .decoder-island-stage.is-confirm dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

body.product-page .decoder-island-stage.is-confirm dl > div {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
}

body.product-page .decoder-island-stage.is-confirm dt,
body.product-page .decoder-island-stage.is-confirm dd {
  margin: 0;
  font-size: 6.5px;
}

body.product-page .decoder-island-stage.is-confirm dt {
  color: rgba(222, 216, 236, 0.58);
}

body.product-page .decoder-island-stage.is-confirm dd {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 660;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .decoder-island-complete {
  position: absolute;
  z-index: 31;
  top: 7px;
  left: 50%;
  display: grid;
  width: 183px;
  min-height: 38px;
  grid-template-columns: 27px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border: 0;
  border-radius: 99px;
  background: #0d0b11;
  box-shadow: 0 12px 27px rgba(13, 10, 18, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-4px) scale(0.82);
  transition: opacity 170ms ease, transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .decoder-phone[data-state="complete"] .decoder-island-complete {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

body.product-page .decoder-island-complete img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

body.product-page .decoder-island-complete > span {
  display: grid;
  min-width: 0;
  gap: 1px;
  text-align: left;
}

body.product-page .decoder-island-complete strong,
body.product-page .decoder-island-complete small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .decoder-island-complete strong {
  font-size: 7px;
}

body.product-page .decoder-island-complete small {
  color: rgba(236, 232, 242, 0.58);
  font-size: 5.4px;
}

body.product-page .decoder-island-complete > i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  background: rgba(114, 215, 167, 0.15);
  color: #78dbaa;
  font-size: 8px;
  font-style: normal;
}

body.product-page .decoder-ios-context {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .decoder-phone:not([data-state="complete"]) .decoder-ios-context {
  opacity: 0.52;
  transform: translateY(4px) scale(0.985);
}

body.product-page .decoder-ios-context > header {
  display: grid;
  min-height: 43px;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 4px 3px;
}

body.product-page .decoder-ios-context > header img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

body.product-page .decoder-ios-context > header > span {
  display: grid;
  gap: 1px;
}

body.product-page .decoder-ios-context > header small {
  color: #928b9a;
  font-size: 5.7px;
}

body.product-page .decoder-ios-context > header strong {
  color: #342e3a;
  font-size: 9px;
  font-weight: 720;
}

body.product-page .decoder-ios-context > header > b {
  padding: 5px 7px;
  border-radius: 8px;
  background: rgba(103, 91, 209, 0.07);
  color: #756ab6;
  font-size: 6px;
}

body.product-page .decoder-ios-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

body.product-page .decoder-ios-sources article {
  display: grid;
  min-width: 0;
  min-height: 52px;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.88);
}

body.product-page .decoder-ios-sources article > img,
body.product-page .decoder-ios-sources article > time {
  width: 25px;
  height: 25px;
  padding: 3px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

body.product-page .decoder-ios-sources article > time {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 0;
  background: linear-gradient(180deg, #ef5350 0 7px, white 7px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

body.product-page .decoder-ios-sources time small {
  color: white;
  font-size: 4px;
  font-weight: 760;
}

body.product-page .decoder-ios-sources time b {
  color: #28232e;
  font-size: 9px;
  line-height: 1;
}

body.product-page .decoder-ios-sources article > span {
  display: grid;
  min-width: 0;
  gap: 1px;
}

body.product-page .decoder-ios-sources article > span b,
body.product-page .decoder-ios-sources article > span small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .decoder-ios-sources article > span b {
  color: #4b4452;
  font-size: 6.6px;
}

body.product-page .decoder-ios-sources article > span small {
  color: #8d8693;
  font-size: 5.4px;
}

body.product-page .decoder-ios-sources article > i {
  color: #4e9c72;
  font-size: 4.7px;
  font-style: normal;
  font-weight: 710;
}

body.product-page .decoder-ios-dialogue {
  display: grid;
  gap: 4px;
  padding: 1px 0;
}

body.product-page .decoder-ios-dialogue p {
  display: grid;
  max-width: 88%;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: end;
  gap: 5px;
  margin: 0;
  opacity: 0.18;
  transform: translateY(3px);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .decoder-ios-dialogue p.is-user {
  grid-template-columns: 1fr;
  justify-self: end;
}

body.product-page .decoder-ios-dialogue img {
  width: 19px;
  height: 19px;
  border-radius: 6px;
}

body.product-page .decoder-ios-dialogue p > span {
  padding: 6px 7px;
  border-radius: 9px 9px 9px 3px;
  background: rgba(255, 255, 255, 0.68);
  color: #655e6b;
  font-size: 5.8px;
  line-height: 1.35;
}

body.product-page .decoder-ios-dialogue p.is-user > span {
  border-radius: 9px 9px 3px 9px;
  background: linear-gradient(145deg, #677af0, #8764df);
  color: white;
}

body.product-page .decoder-phone[data-state="question-one"] .decoder-ios-dialogue p:nth-child(1),
body.product-page .decoder-phone[data-state="question-two"] .decoder-ios-dialogue p:nth-child(-n+3),
body.product-page .decoder-phone[data-state="confirm"] .decoder-ios-dialogue p,
body.product-page .decoder-phone[data-state="complete"] .decoder-ios-dialogue p {
  opacity: 1;
  transform: none;
}

body.product-page .decoder-ios-need {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 10px;
  border: 1px solid rgba(107, 91, 207, 0.12);
  border-radius: 15px;
  background:
    radial-gradient(circle at 90% 0%, rgba(129, 96, 226, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.72);
  opacity: 0.22;
  transform: translateY(5px) scale(0.985);
  transition: opacity 190ms ease, transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .decoder-phone[data-state="confirm"] .decoder-ios-need {
  opacity: 0.52;
}

body.product-page .decoder-phone[data-state="complete"] .decoder-ios-need {
  opacity: 1;
  transform: none;
}

body.product-page .decoder-ios-need > small {
  color: #8175ba;
  font-size: 5.5px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.product-page .decoder-ios-need > strong {
  color: #2d2735;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

body.product-page .decoder-ios-need > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(87, 75, 145, 0.06);
}

body.product-page .decoder-ios-need > span b,
body.product-page .decoder-ios-need > span i {
  font-size: 5.5px;
  font-style: normal;
}

body.product-page .decoder-ios-need > span b {
  color: #948d9b;
}

body.product-page .decoder-ios-need > span i {
  overflow: hidden;
  color: #5d5564;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 04 — Orchestrator: prepare, agree on times, grant permission, write. */

body.product-page .iphone-automation-demo .iphone-shell.ios-device-shell {
  width: min(100%, 280px);
  aspect-ratio: 78 / 163.4;
  align-self: center;
  transform: translateZ(0);
}

body.product-page .iphone-dynamic-prompt {
  height: 274px;
  display: block;
  padding: 34px 12px 12px;
}

body.product-page .iphone-prompt-stage {
  height: 100%;
  align-content: center;
  animation: ios-island-stage-in 260ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

body.product-page .iphone-prompt-stage[hidden] {
  display: none !important;
}

body.product-page .iphone-prompt-stage.is-prepare,
body.product-page .iphone-prompt-stage.is-review,
body.product-page .iphone-prompt-stage.is-permission {
  display: grid;
  gap: 9px;
}

body.product-page .iphone-prompt-stage > p {
  margin: 0;
  color: rgba(250, 248, 255, 0.88);
  font-size: 8px;
  line-height: 1.38;
  text-wrap: pretty;
}

body.product-page .iphone-shell[data-state="prepare"] .iphone-status,
body.product-page .iphone-shell[data-state="review"] .iphone-status,
body.product-page .iphone-shell[data-state="permission"] .iphone-status {
  color: rgba(255, 255, 255, 0.92);
}

body.product-page .iphone-shell[data-state="prepare"] .iphone-calendar-app,
body.product-page .iphone-shell[data-state="review"] .iphone-calendar-app,
body.product-page .iphone-shell[data-state="permission"] .iphone-calendar-app {
  opacity: 0.48;
  transform: translateY(4px) scale(0.985);
}

body.product-page .orchestrator-source-scan {
  display: grid;
  gap: 5px;
}

body.product-page .orchestrator-source-scan > span {
  display: grid;
  min-height: 36px;
  grid-template-columns: 27px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

body.product-page .orchestrator-source-scan img {
  width: 25px;
  height: 25px;
  padding: 3px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
}

body.product-page .orchestrator-source-scan b {
  color: rgba(255, 255, 255, 0.9);
  font-size: 7px;
}

body.product-page .orchestrator-source-scan i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72d7a7;
  animation: decoder-live-pulse 1.1s ease-in-out infinite;
}

body.product-page .orchestrator-source-scan > span:nth-child(2) i { animation-delay: 130ms; }
body.product-page .orchestrator-source-scan > span:nth-child(3) i { animation-delay: 260ms; }

body.product-page .orchestrator-scan-progress {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: rgba(221, 214, 239, 0.64);
  font-size: 6px;
}

body.product-page .orchestrator-scan-progress > i {
  position: relative;
  width: 42px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

body.product-page .orchestrator-scan-progress > i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7589ff, #9e71ed);
  transform-origin: left;
  animation: decoder-source-fill 1.3s cubic-bezier(0.23, 1, 0.32, 1) both;
}

body.product-page .orchestrator-calendar-preview {
  display: grid;
  min-height: 52px;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.075);
}

body.product-page .orchestrator-calendar-preview time {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  align-content: center;
  border-radius: 10px;
  background: linear-gradient(180deg, #ef5350 0 10px, white 10px);
}

body.product-page .orchestrator-calendar-preview time small {
  color: white;
  font-size: 4.5px;
  font-weight: 760;
}

body.product-page .orchestrator-calendar-preview time b {
  color: #28232e;
  font-size: 13px;
  line-height: 1;
}

body.product-page .orchestrator-calendar-preview > span {
  display: grid;
  gap: 2px;
}

body.product-page .orchestrator-calendar-preview > span b {
  color: rgba(255, 255, 255, 0.92);
  font-size: 8px;
}

body.product-page .orchestrator-calendar-preview > span small {
  color: rgba(221, 214, 239, 0.62);
  font-size: 6px;
}

body.product-page .orchestrator-calendar-preview > i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(114, 215, 167, 0.14);
  color: #78dbaa;
  font-size: 8px;
  font-style: normal;
}

body.product-page .orchestrator-permission-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(221, 214, 239, 0.62);
  font-size: 6px;
}

body.product-page .orchestrator-permission-note > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #72d7a7;
  box-shadow: 0 0 0 4px rgba(114, 215, 167, 0.08);
}

@media (min-width: 1181px) {
  body.product-page .module-decoder .module-copy {
    padding-top: 42px;
    padding-bottom: 0;
  }
}

@media (max-width: 1180px) {
  body.product-page .ios-device-shell,
  body.product-page .iphone-automation-demo .iphone-shell.ios-device-shell {
    width: min(100%, 270px);
  }

  body.product-page .decoder-case-visual,
  body.product-page .iphone-automation-demo {
    min-height: 610px;
  }
}

@media (max-width: 760px) {
  body.product-page .module-decoder .module-copy h3.decoder-title {
    font-size: clamp(20px, 6.1vw, 24px);
    letter-spacing: -0.04em;
  }

  body.product-page .decoder-case-visual,
  body.product-page .iphone-automation-demo {
    min-height: 536px;
    padding: 14px 12px;
  }

  body.product-page .ios-device-shell,
  body.product-page .iphone-automation-demo .iphone-shell.ios-device-shell {
    width: min(68vw, 236px);
    border-radius: 39px;
  }

  body.product-page .decoder-dynamic-island {
    height: 238px;
  }

  body.product-page .iphone-dynamic-prompt {
    height: 250px;
  }

  body.product-page .decoder-ios-sources article {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .decoder-dynamic-island,
  body.product-page .decoder-island-stage,
  body.product-page .decoder-island-complete,
  body.product-page .decoder-ios-context,
  body.product-page .decoder-ios-dialogue p,
  body.product-page .decoder-ios-need,
  body.product-page .iphone-prompt-stage {
    animation: none !important;
    transition-duration: 0.01ms;
    transform: none;
  }

  body.product-page .decoder-island-complete {
    transform: translateX(-50%);
  }

  body.product-page .decoder-live-dot,
  body.product-page .orchestrator-source-scan i,
  body.product-page .decoder-source-pulse i::after,
  body.product-page .orchestrator-scan-progress > i::after {
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.product-page .decoder-dynamic-island,
  body.product-page .iphone-dynamic-prompt {
    background: #111016;
  }
}

/* 01–05 density pass — stronger chapter labels and no structural dead bands. */

body.product-page .decoder-description-lines,
body.product-page .decoder-description-lines > span {
  display: block;
}

body.product-page .orchestrator-activity {
  display: grid;
  min-width: 0;
  min-height: 72px;
  grid-column: 1 / -1;
  grid-row: 5;
  grid-template-columns: minmax(134px, 0.72fr) minmax(290px, 1.28fr);
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 11px 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(126, 93, 229, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.88);
}

body.product-page .orchestrator-activity-summary {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body.product-page .orchestrator-activity-summary small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #827a8d;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.product-page .orchestrator-activity-summary small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ccf9e;
  box-shadow: 0 0 0 4px rgba(108, 207, 158, 0.09);
  animation: orchestrator-copy-live 1.5s ease-in-out infinite;
}

body.product-page .orchestrator-activity-summary strong {
  overflow: hidden;
  color: #443d4d;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .orchestrator-activity-track {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
}

body.product-page .orchestrator-activity-track > span {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 7px;
  opacity: 0.42;
  transform: translateY(2px);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .orchestrator-activity-track > span > i {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  grid-row: 1 / span 2;
  place-items: center;
  border-radius: 8px;
  background: rgba(103, 92, 211, 0.08);
  color: #756d85;
  font-size: 7px;
  font-style: normal;
  font-weight: 780;
}

body.product-page .orchestrator-activity-track > span > i::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(105, 91, 218, 0.16);
  border-radius: 11px;
  opacity: 0;
  transform: scale(0.82);
}

body.product-page .orchestrator-activity-track b,
body.product-page .orchestrator-activity-track small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.product-page .orchestrator-activity-track b {
  color: #514958;
  font-size: 8px;
  font-weight: 720;
}

body.product-page .orchestrator-activity-track small {
  color: #8e8796;
  font-size: 6px;
}

body.product-page .orchestrator-activity-track > em {
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--flow-blue), var(--flow-violet));
  opacity: 0.18;
  transform: scaleX(0.15);
  transform-origin: left;
  transition: opacity 200ms ease, transform 320ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .orchestrator-activity[data-state="prepare"] .orchestrator-activity-track > span:nth-of-type(1),
body.product-page .orchestrator-activity[data-state="review"] .orchestrator-activity-track > span:nth-of-type(2),
body.product-page .orchestrator-activity[data-state="permission"] .orchestrator-activity-track > span:nth-of-type(3),
body.product-page .orchestrator-activity[data-state="adding"] .orchestrator-activity-track > span:nth-of-type(3) {
  opacity: 1;
  transform: none;
}

body.product-page .orchestrator-activity[data-state="prepare"] .orchestrator-activity-track > span:nth-of-type(1) > i::before,
body.product-page .orchestrator-activity[data-state="review"] .orchestrator-activity-track > span:nth-of-type(2) > i::before,
body.product-page .orchestrator-activity[data-state="permission"] .orchestrator-activity-track > span:nth-of-type(3) > i::before,
body.product-page .orchestrator-activity[data-state="adding"] .orchestrator-activity-track > span:nth-of-type(3) > i::before {
  animation: orchestrator-copy-focus 1.55s ease-in-out infinite;
}

body.product-page .orchestrator-activity:is([data-state="review"], [data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > span:nth-of-type(1),
body.product-page .orchestrator-activity:is([data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > span:nth-of-type(2),
body.product-page .orchestrator-activity[data-state="booked"] .orchestrator-activity-track > span:nth-of-type(3) {
  opacity: 0.84;
  transform: none;
}

body.product-page .orchestrator-activity:is([data-state="review"], [data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > em:first-of-type,
body.product-page .orchestrator-activity:is([data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > em:last-of-type {
  opacity: 0.72;
  transform: scaleX(1);
}

body.product-page .orchestrator-activity:is([data-state="review"], [data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > span:nth-of-type(1) > i,
body.product-page .orchestrator-activity:is([data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > span:nth-of-type(2) > i,
body.product-page .orchestrator-activity[data-state="booked"] .orchestrator-activity-track > span:nth-of-type(3) > i {
  background: rgba(108, 207, 158, 0.14);
  color: transparent;
}

body.product-page .orchestrator-activity:is([data-state="review"], [data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > span:nth-of-type(1) > i::after,
body.product-page .orchestrator-activity:is([data-state="permission"], [data-state="adding"], [data-state="booked"]) .orchestrator-activity-track > span:nth-of-type(2) > i::after,
body.product-page .orchestrator-activity[data-state="booked"] .orchestrator-activity-track > span:nth-of-type(3) > i::after {
  content: "✓";
  position: absolute;
  color: #4eb783;
  font-size: 9px;
}

@keyframes orchestrator-copy-live {
  50% { opacity: 0.52; transform: scale(0.82); }
}

@keyframes orchestrator-copy-focus {
  50% { opacity: 0.8; transform: scale(1.08); }
}

@media (min-width: 1181px) {
  body.product-page .module-doni,
  body.product-page .module-router,
  body.product-page .module-orchestrator {
    grid-template-rows: minmax(0, 1fr);
  }

  body.product-page .module-doni {
    min-height: 640px;
    grid-template-rows: 520px;
  }

  body.product-page .module-doni .module-copy,
  body.product-page .module-doni .module-visual {
    height: 520px;
  }

  body.product-page .module-doni .module-copy h3 {
    margin-top: 24px;
  }

  body.product-page .module-doni .module-copy > p {
    margin-top: 22px;
  }

  body.product-page .module-doni .module-story-steps {
    margin-top: 22px;
  }

  body.product-page .module-doni .doni-visual {
    gap: 14px;
    padding: 24px 30px;
  }

  body.product-page .module-doni .doni-config {
    min-height: 68px;
    padding-block: 10px;
  }

  body.product-page .module-doni .doni-surfaces {
    gap: 10px 12px;
  }

  body.product-page .module-doni .doni-surfaces .doni-surface {
    gap: 10px;
    padding-block: 12px;
    border-radius: 18px;
  }

  body.product-page .module-doni .doni-action {
    min-height: 72px;
    padding-block: 13px;
  }

  body.product-page .module-router {
    min-height: 730px;
    grid-template-rows: 610px;
  }

  body.product-page .module-router .module-copy,
  body.product-page .module-router .module-visual {
    height: 610px;
  }

  body.product-page .module-router .module-copy h3 {
    font-size: clamp(34px, 2.55vw, 46px);
  }

  body.product-page .knowledge-layer-stack {
    grid-template-rows: repeat(5, minmax(0, 1fr));
    align-content: stretch;
    padding-block: 0;
  }

  body.product-page .knowledge-layer {
    min-height: 0;
    padding-block: 7px;
  }

  body.product-page .module-orchestrator {
    min-height: 780px;
    grid-template-rows: 660px;
  }

  body.product-page .module-orchestrator .module-copy,
  body.product-page .module-orchestrator .module-visual {
    height: 660px;
  }

  body.product-page .module-orchestrator .module-copy > p {
    line-height: 1.55;
  }

  body.product-page .module-orchestrator .module-story-steps > span {
    min-height: 62px;
  }

  body.product-page .module-orchestrator .module-copy li {
    min-height: 41px;
    padding-block: 10px;
  }

  body.product-page .module-orchestrator .module-copy li::before {
    top: 15px;
  }

  body.product-page .module-doni .module-copy,
  body.product-page .module-decoder .module-copy,
  body.product-page .module-router .module-copy,
  body.product-page .module-orchestrator .module-copy {
    grid-template-rows: 52px auto auto auto auto auto;
    align-content: start;
  }

  body.product-page .module-doni .module-copy ul,
  body.product-page .module-decoder .module-copy ul,
  body.product-page .module-router .module-copy ul,
  body.product-page .module-orchestrator .module-copy ul {
    align-self: start;
    margin-top: 20px;
  }

  body.product-page .module-doni .module-copy ul {
    margin-top: 18px;
  }

  body.product-page .decoder-description-lines > span {
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  html body.product-page .capability-layout .module-timeline > .product-module {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(560px, auto) !important;
  }

  html body.product-page .capability-layout .module-timeline > .product-module > .module-copy {
    width: 100%;
    grid-column: 1 / -1 !important;
    grid-column-start: 1 !important;
    grid-column-end: -1 !important;
    grid-row: 1 !important;
    grid-row-start: 1 !important;
  }

  html body.product-page .capability-layout .module-timeline > .product-module > .module-visual {
    width: 100%;
    grid-column: 1 / -1 !important;
    grid-column-start: 1 !important;
    grid-column-end: -1 !important;
    grid-row: 2 !important;
    grid-row-start: 2 !important;
  }

  body.product-page .module-router .module-copy h3 {
    font-size: clamp(30px, 6vw, 46px);
    white-space: normal;
    text-wrap: balance;
  }

  body.product-page .orchestrator-activity {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  body.product-page .product-module .module-copy,
  body.product-page .product-module:nth-child(even) .module-copy,
  body.product-page .module-memory .module-copy {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: 46px auto auto auto auto auto;
  }

  body.product-page .module-copy .module-number {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 11px;
  }

  body.product-page .module-copy .section-kicker {
    width: auto;
    max-width: 100%;
    margin-left: 10px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  body.product-page .module-doni .module-copy h3,
  body.product-page .module-router .module-copy h3 {
    font-size: clamp(27px, 8.2vw, 36px);
    white-space: normal;
    text-wrap: balance;
  }

  body.product-page .orchestrator-activity {
    min-height: 112px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.product-page .orchestrator-activity-summary strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .orchestrator-activity-summary small i,
  body.product-page .orchestrator-activity-track > span > i::before {
    animation: none !important;
  }

  body.product-page .orchestrator-activity-track > span,
  body.product-page .orchestrator-activity-track > em {
    transition-duration: 0.01ms;
  }
}

/* Organization solutions — vertical audience cards and a particle-first ecosystem. */

body.product-page .organization-types {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 28px;
}

body.product-page .organization-types button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 14px;
  padding: 12px 13px 12px 17px;
  overflow: hidden;
  border: 1px solid rgba(91, 78, 141, 0.09);
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 12%, rgba(127, 93, 229, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.58);
  color: #514a59;
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 220ms ease, transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .organization-types button > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body.product-page .organization-types button small {
  color: #8b8494;
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.06em;
}

body.product-page .organization-types button strong {
  color: currentColor;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

body.product-page .organization-types button > i {
  position: relative;
  display: block;
  width: 72px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(105, 91, 174, 0.08);
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(105, 91, 220, 0.22) 0 1.2px, transparent 1.6px) 0 0 / 11px 11px,
    rgba(255, 255, 255, 0.48);
}

body.product-page .organization-types button > i::before,
body.product-page .organization-types button > i::after {
  content: "";
  position: absolute;
  left: 50%;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-violet));
  transform: translateX(-50%);
}

body.product-page .organization-types button:nth-child(1) > i::before {
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    -18px -12px 0 -1px currentColor,
    18px -12px 0 -1px currentColor,
    -20px 13px 0 -1px currentColor,
    20px 13px 0 -1px currentColor,
    0 19px 0 -1px currentColor;
  transform: translate(-50%, -50%);
}

body.product-page .organization-types button:nth-child(1) > i::after {
  top: 12px;
  width: 46px;
  height: 36px;
  background:
    linear-gradient(34deg, transparent 48%, currentColor 49% 51%, transparent 52%),
    linear-gradient(-34deg, transparent 48%, currentColor 49% 51%, transparent 52%),
    linear-gradient(90deg, transparent 48%, currentColor 49% 51%, transparent 52%);
  opacity: 0.28;
}

body.product-page .organization-types button:nth-child(2) > i::before {
  top: 10px;
  width: 46px;
  height: 30px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50% 50% 12px 12px / 92% 92% 18px 18px;
  background: transparent;
  opacity: 0.82;
}

body.product-page .organization-types button:nth-child(2) > i::after {
  top: 25px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    0 10px 0 2px currentColor,
    -20px 15px 0 -2px currentColor,
    20px 15px 0 -2px currentColor;
}

body.product-page .organization-types button:nth-child(3) > i::before {
  bottom: 8px;
  width: 44px;
  height: 28px;
  background:
    linear-gradient(25deg, transparent 47%, currentColor 48% 53%, transparent 54%) left bottom / 50% 100% no-repeat,
    linear-gradient(-25deg, transparent 47%, currentColor 48% 53%, transparent 54%) right bottom / 50% 100% no-repeat;
  opacity: 0.84;
}

body.product-page .organization-types button:nth-child(3) > i::after {
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow:
    -13px 7px 0 -1px currentColor,
    13px 7px 0 -1px currentColor,
    -23px 15px 0 -2px currentColor,
    23px 15px 0 -2px currentColor;
}

body.product-page .organization-types button.is-active {
  color: white;
  background:
    radial-gradient(circle at 86% 10%, rgba(132, 102, 235, 0.34), transparent 44%),
    #1d1928;
  box-shadow: 0 16px 34px rgba(32, 25, 55, 0.2);
  transform: translateY(-1px);
}

body.product-page .organization-types button.is-active small {
  color: rgba(255, 255, 255, 0.54);
}

body.product-page .organization-types button.is-active > i {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24) 0 1.2px, transparent 1.6px) 0 0 / 11px 11px,
    rgba(255, 255, 255, 0.07);
}

body.product-page .organization-types button.is-active > i::before,
body.product-page .organization-types button.is-active > i::after {
  animation: organization-audience-glyph 2.8s ease-in-out infinite alternate;
}

body.product-page .organization-types button:active {
  transform: scale(0.985);
}

body.product-page .organization-map-node small,
body.product-page .organization-map-emblem small {
  font-size: 8px;
  letter-spacing: 0.025em;
  text-transform: none;
}

body.product-page .organization-scene canvas {
  z-index: 1;
  opacity: 0.88;
  filter: saturate(1.34) contrast(1.08) drop-shadow(0 12px 22px rgba(92, 79, 206, 0.14));
}

body.product-page .organization-map-stack {
  z-index: 2;
}

body.product-page .organization-map-emblem {
  width: min(30%, 230px);
  min-height: 82px;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

body.product-page .organization-map-emblem svg {
  display: none;
}

body.product-page .organization-map-emblem small {
  color: #6f6694;
  text-shadow: 0 1px rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 255, 255, 0.92);
}

body.product-page .organization-map-emblem strong {
  padding: 5px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px rgba(58, 47, 103, 0.07), inset 0 1px rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

@keyframes organization-audience-glyph {
  from { opacity: 0.62; filter: drop-shadow(0 0 0 rgba(117, 95, 235, 0)); }
  to { opacity: 1; filter: drop-shadow(0 0 7px rgba(117, 95, 235, 0.38)); }
}

@media (min-width: 1181px) {
  body.product-page .organization-solution {
    grid-template-rows: 870px auto;
    column-gap: 16px;
    row-gap: 10px;
    align-items: stretch;
  }

  body.product-page .product-employer-copy {
    min-height: 0;
    height: 870px;
    grid-row: 1;
    justify-content: flex-start;
    padding: 42px 40px;
  }

  body.product-page .organization-engine {
    min-height: 0;
    height: 870px;
    grid-row: 1;
    grid-template-rows: auto auto auto minmax(340px, 1fr);
    gap: 12px;
    padding: 20px;
  }

  body.product-page .organization-journey {
    min-height: 142px;
  }

  body.product-page .organization-journey span {
    min-height: 92px;
  }

  body.product-page .product-employer-outcomes article {
    min-height: 210px;
  }

  body.product-page .organization-scene {
    min-height: 360px;
  }

  body.product-page .product-partner-cta {
    grid-row: 2;
    margin-top: 0;
  }
}

@media (max-width: 1180px) {
  body.product-page .product-employer-copy {
    grid-row: auto;
  }

  body.product-page .organization-types {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  body.product-page .organization-types button {
    min-height: 82px;
    grid-template-columns: minmax(0, 1fr) 66px;
  }

  body.product-page .organization-types button > i {
    width: 62px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .organization-types button.is-active > i::before,
  body.product-page .organization-types button.is-active > i::after {
    animation: none;
  }
}

/* Final optical alignment — phones share the glass centerline; footer locks to the wordmark. */

html body.product-page .capability-layout .module-decoder > .decoder-case-visual,
html body.product-page .capability-layout .module-orchestrator > .iphone-automation-demo {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.product-page .capability-layout .module-decoder > .decoder-case-visual > .ios-device-shell,
html body.product-page .capability-layout .module-orchestrator > .iphone-automation-demo > .ios-device-shell {
  flex: 0 0 auto;
  align-self: center !important;
  justify-self: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Organization particle stage — status moves left; the glass remains pure motion. */

body.product-page .product-employer-copy > .organization-selection-status {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 78px;
  flex: 0 0 auto;
  align-content: center;
  gap: 4px;
  margin-top: 14px;
  padding: 12px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background:
    radial-gradient(circle at 88% 16%, rgba(130, 102, 235, 0.28), transparent 42%),
    linear-gradient(118deg, #1d1928, #292139);
  box-shadow: 0 16px 36px rgba(32, 25, 55, 0.18), inset 0 1px rgba(255, 255, 255, 0.1);
  color: white;
}

body.product-page .organization-selection-status::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -18px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.6px) 0 0 / 12px 12px;
  opacity: 0.32;
  transform: rotate(12deg);
}

body.product-page .organization-selection-status > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.product-page .organization-selection-status > span > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79d9aa;
  box-shadow: 0 0 0 4px rgba(121, 217, 170, 0.09);
  animation: organization-selection-live 1.7s ease-in-out infinite;
}

body.product-page .organization-selection-status > span > small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.product-page .organization-selection-status > strong {
  color: white;
  font-size: 13px;
  font-weight: 740;
  letter-spacing: -0.015em;
}

body.product-page .product-employer-copy > .organization-selection-status > p {
  max-width: calc(100% - 32px);
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 8px;
  line-height: 1.35;
}

body.product-page .organization-selection-status > strong.is-changing,
body.product-page .organization-selection-status > p.is-changing {
  animation: organization-selection-copy-in 260ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

body.product-page .organization-scene {
  display: grid;
  min-height: 390px;
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(rgba(98, 86, 155, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 86, 155, 0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 50%, rgba(111, 98, 232, 0.16), transparent 49%),
    rgba(255, 255, 255, 0.34);
  background-size: 26px 26px, 26px 26px, auto, auto;
}

body.product-page .organization-scene > canvas[data-organization-scene] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.98;
  filter: saturate(1.4) contrast(1.12) drop-shadow(0 16px 28px rgba(92, 79, 206, 0.16));
}

@keyframes organization-selection-live {
  50% { opacity: 0.55; transform: scale(0.82); }
}

@keyframes organization-selection-copy-in {
  from { opacity: 0.35; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .organization-selection-status > span > i,
  body.product-page .organization-selection-status > strong.is-changing,
  body.product-page .organization-selection-status > p.is-changing {
    animation: none;
  }
}

/* 03 Router — lower the final evidence stack to share the graph's bottom edge. */

@media (min-width: 1181px) {
  body.product-page .module-router .module-copy > ul {
    margin-top: 60px;
  }
}

/* Hero product cinema — one full-bleed signal-to-action story. */

:root {
  --cinema-ink: #272230;
  --cinema-copy: #696274;
  --cinema-muted: #928b9b;
  --cinema-blue: #637ff3;
  --cinema-violet: #8062e7;
  --cinema-line: rgba(102, 87, 187, 0.16);
  --cinema-surface: rgba(255, 255, 255, 0.72);
  --cinema-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

body.product-page .workspace-analysis {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 17px;
  background:
    radial-gradient(circle at 52% 48%, rgba(126, 98, 229, 0.12), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(145, 93, 233, 0.1), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(79, 123, 248, 0.09), transparent 36%),
    rgba(248, 249, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(95, 79, 151, 0.055);
}

body.product-page .workspace-analysis::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(101, 91, 168, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 91, 168, 0.038) 1px, transparent 1px),
    radial-gradient(circle, rgba(101, 113, 228, 0.18) 0 1px, transparent 1.4px);
  background-position: center, center, 8px 11px;
  background-size: 28px 28px, 28px 28px, 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 18%, transparent 88%);
  mask-image: radial-gradient(ellipse at center, #000 18%, transparent 88%);
}

body.product-page .workspace-analysis::after {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

body.product-page .workspace-cinema-scene {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  place-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.99);
}

body.product-page .workspace-demo[data-phase="router"] .workspace-cinema-scene[data-workspace-panel="router"] {
  grid-template-columns: 1fr;
}

body.product-page .workspace-cinema-scene.is-active {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: none;
  animation: cinema-scene-enter 480ms var(--cinema-ease) both;
}

body.product-page .workspace-cinema-scene > * {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
}

@keyframes cinema-scene-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.cinema-continuity-pulse {
  display: block;
  width: 9px;
  height: 9px;
  border: 2px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cinema-blue), var(--cinema-violet));
  box-shadow:
    0 0 0 7px rgba(110, 99, 231, 0.1),
    0 0 24px rgba(103, 91, 226, 0.52);
}

/* 01 — Doni gathers native context into one living core. */

.cinema-doni-field {
  position: relative;
  width: 100%;
  height: 100%;
}

.cinema-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(108, 91, 199, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cinema-orbit::before,
.cinema-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cinema-orbit::before {
  inset: -1px;
  border-top: 1px solid rgba(103, 125, 241, 0.46);
  border-right: 1px solid transparent;
  animation: cinema-orbit-turn 7s linear infinite;
}

.cinema-orbit::after {
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  background: #7765e4;
  box-shadow: 0 0 0 6px rgba(119, 101, 228, 0.08);
}

.cinema-orbit-outer {
  width: min(68%, 310px);
  box-shadow: 0 0 0 32px rgba(108, 91, 198, 0.026), 0 0 68px rgba(99, 119, 235, 0.08);
}

.cinema-orbit-middle {
  width: min(48%, 220px);
}

.cinema-orbit-middle::before {
  animation-direction: reverse;
  animation-duration: 5.8s;
}

.cinema-orbit-inner {
  width: min(30%, 138px);
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 34px rgba(118, 99, 223, 0.08);
}

@keyframes cinema-orbit-turn {
  to { transform: rotate(360deg); }
}

.cinema-source {
  --source-delay: 0ms;
  position: absolute;
  z-index: 5;
  display: grid;
  min-width: 86px;
  min-height: 40px;
  grid-template-columns: 27px auto;
  align-items: center;
  gap: 7px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(49, 40, 90, 0.07);
  color: #625b6d;
  opacity: 0;
  transform: translateY(7px) scale(0.97);
  animation: cinema-source-enter 4.5s var(--cinema-ease) var(--source-delay) both;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.cinema-source > i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: transparent;
  box-shadow: 0 1px 3px rgba(24, 20, 42, 0.12);
}

.cinema-source svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.cinema-source img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.cinema-source small {
  font-size: 8px;
  font-weight: 740;
  white-space: nowrap;
}

.cinema-source-oura { --source-delay: 80ms; top: 10%; left: 7%; }
.cinema-source-health { --source-delay: 150ms; top: 1px; left: 43%; }
.cinema-source-location { --source-delay: 220ms; top: 13%; right: 6%; }
.cinema-source-activity { --source-delay: 290ms; right: 7%; bottom: 11%; }
.cinema-source-calendar { --source-delay: 360ms; bottom: 1px; left: 42%; }
.cinema-source-report { --source-delay: 430ms; bottom: 13%; left: 6%; }

@keyframes cinema-source-enter {
  0%, 6% { opacity: 0; transform: translateY(7px) scale(0.97); }
  18%, 100% { opacity: 1; transform: none; }
}

.cinema-signal-path {
  --path-angle: 0deg;
  --path-length: 31%;
  --path-delay: 0ms;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 52%;
  width: var(--path-length);
  height: 1px;
  opacity: 0.62;
  background: linear-gradient(90deg, rgba(114, 96, 219, 0.34), rgba(104, 128, 239, 0.05));
  transform: rotate(var(--path-angle));
  transform-origin: left;
}

.cinema-signal-path > i {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: transparent;
  opacity: 0;
  transform-origin: left;
  animation: cinema-signal-to-core 4.5s var(--cinema-ease) var(--path-delay) both;
}

.cinema-signal-path > i::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  border: 2px solid white;
  border-radius: 50%;
  background: #7565e3;
  box-shadow: 0 0 15px rgba(101, 92, 225, 0.54);
}

.cinema-path-one { --path-angle: -150deg; --path-length: 40%; --path-delay: 560ms; }
.cinema-path-two { --path-angle: -98deg; --path-length: 36%; --path-delay: 720ms; }
.cinema-path-three { --path-angle: -24deg; --path-length: 39%; --path-delay: 880ms; }
.cinema-path-four { --path-angle: 30deg; --path-length: 38%; --path-delay: 1040ms; }
.cinema-path-five { --path-angle: 88deg; --path-length: 34%; --path-delay: 1200ms; }
.cinema-path-six { --path-angle: 151deg; --path-length: 40%; --path-delay: 1360ms; }

@keyframes cinema-signal-to-core {
  0%, 8% { opacity: 0; transform: scaleX(1); }
  18% { opacity: 1; }
  54% { opacity: 1; transform: scaleX(0.02); }
  60%, 100% { opacity: 0; transform: scaleX(0.02); }
}

.cinema-doni-core {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 52%;
  display: grid;
  width: 104px;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(238, 243, 255, 0.96), rgba(239, 231, 253, 0.94));
  box-shadow: 0 20px 46px rgba(68, 54, 136, 0.15), inset 0 1px white;
  transform: translate(-50%, -50%);
}

.cinema-doni-core > span {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(108, 92, 213, 0.12);
  border-radius: 50%;
  animation: cinema-core-breathe 3.2s ease-in-out infinite;
}

.cinema-doni-core img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.cinema-doni-core small {
  margin-top: 4px;
  color: #6c6380;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cinema-doni-field > .cinema-continuity-pulse {
  position: absolute;
  z-index: 8;
  top: calc(50% - 4px);
  left: calc(52% - 4px);
  opacity: 0;
  animation: cinema-doni-pulse-ready 4.5s var(--cinema-ease) both;
}

@keyframes cinema-core-breathe {
  50% { opacity: 0.48; transform: scale(1.12); }
}

@keyframes cinema-doni-pulse-ready {
  0%, 66% { opacity: 0; transform: scale(0.72); }
  78%, 100% { opacity: 1; transform: translateX(66px) scale(1); }
}

/* 02 — Decoder turns a noisy night into one structured need. */

.decoder-cinema-field {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px 30px;
}

.decoder-timeline {
  position: absolute;
  top: 11%;
  right: 7%;
  left: 7%;
  height: 47%;
  min-height: 154px;
}

.decoder-timeline::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 86, 178, 0.23) 7% 93%, transparent);
}

.decoder-timeline::after {
  content: "";
  position: absolute;
  z-index: 6;
  top: 24px;
  bottom: 20px;
  left: 0;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0;
  transform: translateX(-110%);
  animation: decoder-cinema-sweep 4.5s ease-in-out 420ms both;
}

.decoder-timeline-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--cinema-muted);
  font-size: 7px;
  font-variant-numeric: tabular-nums;
}

.decoder-timeline-header strong {
  color: #625a70;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decoder-timeline-header span:last-child {
  text-align: right;
}

.decoder-cinema-bars {
  display: grid;
  height: calc(100% - 30px);
  grid-template-columns: repeat(14, minmax(7px, 1fr));
  align-items: end;
  gap: clamp(5px, 1.2vw, 12px);
  padding: 16px 16px 21px;
}

.decoder-cinema-bars i {
  --bar-height: 38%;
  height: var(--bar-height);
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, rgba(130, 92, 229, 0.84), rgba(94, 128, 241, 0.75));
  box-shadow: 0 7px 18px rgba(90, 77, 180, 0.08);
  opacity: 0;
  transform: scaleY(0.08);
  transform-origin: bottom;
  animation: decoder-cinema-bar-rise 4.5s var(--cinema-ease) both;
}

.decoder-cinema-bars i:nth-child(1) { --bar-height: 45%; animation-delay: 80ms; }
.decoder-cinema-bars i:nth-child(2) { --bar-height: 72%; animation-delay: 120ms; }
.decoder-cinema-bars i:nth-child(3) { --bar-height: 34%; animation-delay: 160ms; }
.decoder-cinema-bars i:nth-child(4) { --bar-height: 62%; animation-delay: 200ms; }
.decoder-cinema-bars i:nth-child(5) { --bar-height: 38%; animation-delay: 240ms; }
.decoder-cinema-bars i:nth-child(6) { --bar-height: 88%; animation-delay: 280ms; }
.decoder-cinema-bars i:nth-child(7) { --bar-height: 68%; animation-delay: 320ms; }
.decoder-cinema-bars i:nth-child(8) { --bar-height: 30%; animation-delay: 360ms; }
.decoder-cinema-bars i:nth-child(9) { --bar-height: 54%; animation-delay: 400ms; }
.decoder-cinema-bars i:nth-child(10) { --bar-height: 76%; animation-delay: 440ms; }
.decoder-cinema-bars i:nth-child(11) { --bar-height: 44%; animation-delay: 480ms; }
.decoder-cinema-bars i:nth-child(12) { --bar-height: 36%; animation-delay: 520ms; }
.decoder-cinema-bars i:nth-child(13) { --bar-height: 70%; animation-delay: 560ms; }
.decoder-cinema-bars i:nth-child(14) { --bar-height: 49%; animation-delay: 600ms; }

@keyframes decoder-cinema-bar-rise {
  0%, 3% { opacity: 0; transform: scaleY(0.08); }
  22%, 100% { opacity: 0.72; transform: scaleY(1); }
}

@keyframes decoder-cinema-sweep {
  0%, 8% { opacity: 0; transform: translateX(-110%); }
  20% { opacity: 0.8; }
  54% { opacity: 0.8; transform: translateX(420%); }
  62%, 100% { opacity: 0; transform: translateX(420%); }
}

.decoder-awake-marker {
  position: absolute;
  z-index: 8;
  top: 41px;
  bottom: 20px;
  left: 40%;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 8px 0 0 10px;
  border-left: 1px solid rgba(119, 91, 222, 0.58);
  opacity: 0;
  animation: decoder-marker-enter 4.5s var(--cinema-ease) 1120ms both;
}

.decoder-awake-marker > i {
  position: absolute;
  top: 29%;
  left: -4px;
  width: 7px;
  height: 7px;
  border: 2px solid white;
  border-radius: 50%;
  background: #7b61e5;
  box-shadow: 0 0 0 7px rgba(123, 97, 229, 0.1);
}

.decoder-awake-marker small {
  color: #78689c;
  font-size: 7px;
  font-variant-numeric: tabular-nums;
}

.decoder-awake-marker strong {
  color: #4d4659;
  font-size: 9px;
}

@keyframes decoder-marker-enter {
  0%, 4% { opacity: 0; transform: translateY(6px); }
  16%, 100% { opacity: 1; transform: none; }
}

.decoder-scan-line {
  position: absolute;
  z-index: 5;
  top: 30px;
  bottom: 20px;
  left: 40%;
  width: 1px;
  background: linear-gradient(transparent, rgba(117, 97, 223, 0.34), transparent);
  opacity: 0;
  animation: decoder-marker-enter 4.5s var(--cinema-ease) 920ms both;
}

.decoder-context-stream {
  position: absolute;
  z-index: 7;
  right: 9%;
  bottom: 22%;
  left: 9%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.decoder-context-stream > span {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.54);
  color: #716a78;
  font-size: 7px;
  font-weight: 690;
  opacity: 0;
  transform: translateY(8px);
  animation: decoder-context-enter 4.5s var(--cinema-ease) 1500ms both;
}

.decoder-context-stream > span:nth-child(2) { animation-delay: 1600ms; }
.decoder-context-stream > span:nth-child(3) { animation-delay: 1700ms; }
.decoder-context-stream > span:nth-child(4) { animation-delay: 1800ms; }

.decoder-context-stream i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7282ed;
}

@keyframes decoder-context-enter {
  0%, 3% { opacity: 0; transform: translateY(8px); }
  14%, 100% { opacity: 1; transform: none; }
}

.decoder-merge-lines {
  position: absolute;
  z-index: 4;
  right: 14%;
  bottom: 14%;
  left: 14%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}

.decoder-merge-lines i {
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(111, 101, 216, 0.26), transparent);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: top;
  animation: decoder-merge-enter 4.5s ease 2050ms both;
}

@keyframes decoder-merge-enter {
  0%, 4% { opacity: 0; transform: scaleY(0.2); }
  16%, 100% { opacity: 1; transform: scaleY(1); }
}

.decoder-structured-need {
  position: absolute;
  z-index: 10;
  right: 14%;
  bottom: 5%;
  left: 14%;
  display: grid;
  min-height: 58px;
  grid-template-columns: 28px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(237, 242, 255, 0.9), rgba(242, 235, 253, 0.88));
  box-shadow: 0 18px 40px rgba(58, 46, 112, 0.1);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: decoder-result-enter 4.5s var(--cinema-ease) 2460ms both;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.decoder-structured-need p,
.decoder-structured-need small,
.decoder-structured-need strong {
  display: block;
  margin: 0;
}

.decoder-structured-need small {
  color: #7d7195;
  font-size: 7px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decoder-structured-need strong {
  margin-top: 3px;
  color: #4b4555;
  font-size: 11px;
}

.decoder-structured-need > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #272230;
  color: white;
}

.decoder-structured-need svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

@keyframes decoder-result-enter {
  0%, 4% { opacity: 0; transform: translateY(10px) scale(0.98); }
  18%, 100% { opacity: 1; transform: none; }
}

/* 03 — Router resolves many possibilities into one funded route. */

body.product-page .router-cinema-field,
body.product-page .router-skill-viz.router-cinema-field {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 52% 52%, rgba(116, 94, 226, 0.11), transparent 46%),
    transparent;
  box-shadow: none;
  perspective: none;
  transform: none;
}

body.product-page .router-cinema-field::before,
body.product-page .router-cinema-field::after {
  display: none;
}

body.product-page .router-cinema-field .router-graph-canvas,
body.product-page .workspace-demo[data-phase="router"] .router-cinema-field .router-graph-canvas {
  position: absolute;
  z-index: 1;
  inset: -6%;
  width: 112%;
  height: 112%;
  opacity: 0;
  filter: saturate(1.25) contrast(1.08);
  transform: scale(0.98);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 74%, transparent 98%);
  mask-image: radial-gradient(ellipse at center, #000 0 74%, transparent 98%);
  animation: router-network-enter 4.8s var(--cinema-ease) 180ms both;
}

@keyframes router-network-enter {
  0%, 3% { opacity: 0; transform: scale(0.98); }
  18%, 100% { opacity: 1; transform: none; }
}

.router-route-input,
.router-route-output {
  position: absolute;
  z-index: 8;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(51, 42, 93, 0.09);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.router-route-input {
  top: 43%;
  left: 3.5%;
  min-width: 128px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 13px;
  opacity: 0;
  transform: translateX(-10px);
  animation: router-input-enter 4.8s var(--cinema-ease) both;
}

.router-route-input .cinema-continuity-pulse {
  width: 8px;
  height: 8px;
}

.router-route-input p,
.router-route-input small,
.router-route-input strong {
  display: block;
  margin: 0;
}

.router-route-input small {
  color: #8b8392;
  font-size: 6px;
  text-transform: uppercase;
}

.router-route-input strong {
  margin-top: 3px;
  color: #504958;
  font-size: 8px;
}

@keyframes router-input-enter {
  0%, 3% { opacity: 0; transform: translateX(-10px); }
  16%, 100% { opacity: 1; transform: none; }
}

.router-best-route {
  position: absolute;
  z-index: 5;
  inset: 6% 4%;
  width: 92%;
  height: 88%;
  overflow: visible;
  pointer-events: none;
}

.router-best-route path {
  fill: none;
  stroke: rgba(112, 94, 226, 0.76);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  stroke-dashoffset: 560;
  filter: drop-shadow(0 0 5px rgba(101, 90, 222, 0.38));
  animation: router-route-draw 4.8s cubic-bezier(0.77, 0, 0.175, 1) 980ms both;
}

@keyframes router-route-draw {
  0%, 4% { opacity: 0; stroke-dashoffset: 560; }
  16% { opacity: 1; }
  66%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

.router-route-output {
  top: 36%;
  right: 3.5%;
  width: min(190px, 29%);
  gap: 3px;
  padding: 12px 34px 12px 13px;
  border-radius: 14px;
  opacity: 0;
  transform: translateX(12px) scale(0.98);
  animation: router-output-enter 4.8s var(--cinema-ease) 2460ms both;
}

.router-route-output > span {
  color: #756994;
  font-size: 6px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.router-route-output strong {
  color: #4b4553;
  font-size: 9px;
  line-height: 1.25;
}

.router-route-output small {
  color: #837b8a;
  font-size: 6px;
}

.router-route-output .cinema-continuity-pulse {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
}

@keyframes router-output-enter {
  0%, 4% { opacity: 0; transform: translateX(12px) scale(0.98); }
  18%, 100% { opacity: 1; transform: none; }
}

/* 04 — Orchestrator completes the route and leaves one approval. */

body.product-page .orchestrator-cinema-field,
body.product-page .orchestrator-action-viz.orchestrator-cinema-field {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  perspective: none;
}

body.product-page .orchestrator-cinema-field::before,
body.product-page .orchestrator-cinema-field::after {
  display: none;
}

body.product-page .orchestrator-cinema-field > .execution-route {
  position: absolute;
  z-index: 2;
  inset: 4% 7% 25%;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  transform: none;
  transform-style: flat;
}

.orchestrator-cinema-field .execution-app {
  position: absolute;
  z-index: 6;
  display: grid;
  width: 92px;
  min-height: 48px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 7px 9px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 13px 30px rgba(48, 39, 84, 0.08);
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  animation: orchestrator-node-enter 5.2s var(--cinema-ease) both;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.orchestrator-cinema-field .execution-app > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(92, 127, 248, 0.13), rgba(145, 91, 229, 0.16));
  color: #6d5ed3;
}

.orchestrator-cinema-field .execution-app svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
}

.orchestrator-cinema-field .execution-app img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.orchestrator-cinema-field .execution-app small {
  color: #625b6b;
  font-size: 7px;
  font-weight: 730;
}

.orchestrator-cinema-field .app-benefit { top: 2%; left: 2%; animation-delay: 520ms; }
.orchestrator-cinema-field .app-mail { top: 2%; right: 2%; animation-delay: 980ms; }
.orchestrator-cinema-field .app-calendar { bottom: 2%; left: 2%; animation-delay: 1440ms; }
.orchestrator-cinema-field .app-doni { right: 2%; bottom: 2%; animation-delay: 1900ms; }

@keyframes orchestrator-node-enter {
  0%, 3% { opacity: 0; transform: translateY(8px) scale(0.97); }
  14%, 100% { opacity: 1; transform: none; }
}

.execution-core {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  display: grid;
  width: 112px;
  aspect-ratio: 1;
  place-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(236, 242, 255, 0.95), rgba(241, 232, 252, 0.93));
  box-shadow: 0 18px 44px rgba(68, 54, 136, 0.14), 0 0 0 22px rgba(111, 93, 219, 0.035);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  animation: orchestrator-core-enter 5.2s var(--cinema-ease) 220ms both;
}

.execution-core .cinema-continuity-pulse {
  width: 10px;
  height: 10px;
  margin-bottom: 9px;
}

.execution-core small,
.execution-core strong {
  display: block;
  text-align: center;
}

.execution-core small {
  color: #7c7390;
  font-size: 6px;
  font-weight: 740;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.execution-core strong {
  margin-top: 3px;
  color: #50495a;
  font-size: 10px;
}

@keyframes orchestrator-core-enter {
  0%, 3% { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
  14%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.orchestrator-cinema-field .execution-route-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orchestrator-cinema-field .execution-route-lines path {
  fill: none;
  stroke: rgba(112, 95, 225, 0.48);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 7 7;
  stroke-dashoffset: 520;
  filter: drop-shadow(0 0 4px rgba(104, 93, 222, 0.22));
  animation: orchestrator-route-draw 5.2s cubic-bezier(0.77, 0, 0.175, 1) 680ms both;
}

@keyframes orchestrator-route-draw {
  0%, 4% { opacity: 0; stroke-dashoffset: 520; }
  16% { opacity: 1; }
  62%, 100% { opacity: 1; stroke-dashoffset: 0; }
}

.orchestrator-cinema-field .execution-packet {
  position: absolute;
  z-index: 5;
  top: calc(50% - 4px);
  left: calc(50% - 4px);
  display: block;
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-radius: 50%;
  background: #7664e2;
  box-shadow: 0 0 0 6px rgba(118, 100, 226, 0.08), 0 0 18px rgba(106, 95, 224, 0.48);
  opacity: 0;
  animation: orchestrator-packet-pulse 5.2s ease-in-out 1240ms both;
}

.orchestrator-cinema-field .packet-two {
  animation-delay: 1760ms;
}

@keyframes orchestrator-packet-pulse {
  0%, 4% { opacity: 0; transform: scale(0.7); }
  18%, 48% { opacity: 1; transform: scale(1.18); }
  62%, 100% { opacity: 0.28; transform: scale(1); }
}

body.product-page .orchestrator-cinema-field > .execution-live-activity {
  position: absolute;
  z-index: 12;
  right: 16%;
  bottom: 5%;
  left: 16%;
  display: grid;
  min-height: 68px;
  grid-template-columns: 38px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 48px rgba(51, 40, 90, 0.12);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  animation: orchestrator-result-enter 5.2s var(--cinema-ease) 2840ms both;
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
}

.orchestrator-cinema-field .execution-live-activity > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(95, 127, 243, 0.12), rgba(139, 91, 226, 0.14));
}

.orchestrator-cinema-field .execution-live-activity img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.orchestrator-cinema-field .execution-live-activity p,
.orchestrator-cinema-field .execution-live-activity small,
.orchestrator-cinema-field .execution-live-activity strong,
.orchestrator-cinema-field .execution-live-activity em {
  display: block;
  margin: 0;
  font-style: normal;
}

.orchestrator-cinema-field .execution-live-activity small {
  color: #76698f;
  font-size: 6px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orchestrator-cinema-field .execution-live-activity strong {
  margin-top: 3px;
  color: #494351;
  font-size: 10px;
}

.orchestrator-cinema-field .execution-live-activity em {
  margin-top: 3px;
  color: #89818f;
  font-size: 6px;
}

.orchestrator-cinema-field .execution-live-activity > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #26212e;
  color: white;
}

.orchestrator-cinema-field .execution-live-activity svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

@keyframes orchestrator-result-enter {
  0%, 4% { opacity: 0; transform: translateY(12px) scale(0.97); }
  18%, 100% { opacity: 1; transform: none; }
}

/* The side columns respond to the story instead of competing with it. */

body.product-page .workspace-demo:not([data-phase="doni"]):not([data-phase="decoder"]) [data-workspace-signal] {
  opacity: 0.54;
  transition: opacity 320ms ease;
}

body.product-page .workspace-demo[data-phase="router"] .workspace-match-card:first-of-type {
  animation: cinema-side-result 4.8s var(--cinema-ease) 2460ms both;
}

body.product-page .workspace-demo[data-phase="orchestrator"] .workspace-orchestration > div {
  opacity: 0;
  animation: cinema-side-step 5.2s var(--cinema-ease) 700ms both;
}

body.product-page .workspace-demo[data-phase="orchestrator"] .workspace-orchestration > div:nth-child(2) { animation-delay: 1320ms; }
body.product-page .workspace-demo[data-phase="orchestrator"] .workspace-orchestration > div:nth-child(3) { animation-delay: 1940ms; }

@keyframes cinema-side-result {
  0%, 4% { opacity: 0.48; transform: translateY(5px); }
  18%, 100% { opacity: 1; transform: none; }
}

@keyframes cinema-side-step {
  0%, 4% { opacity: 0; transform: translateY(5px); }
  16%, 100% { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  body.product-page .workspace-analysis {
    min-height: 360px;
  }

  .cinema-orbit-outer { width: min(62%, 290px); }
  .decoder-cinema-field { padding-inline: 22px; }
}

@media (max-width: 820px) {
  body.product-page .workspace-analysis {
    min-height: 370px;
  }

  .cinema-source {
    min-width: 78px;
    min-height: 36px;
    grid-template-columns: 24px auto;
    padding: 5px 8px 5px 6px;
  }

  .cinema-source > i {
    width: 24px;
    height: 24px;
  }

  .cinema-source-health { left: 39%; }
  .cinema-source-calendar { left: 39%; }

  .decoder-context-stream {
    right: 6%;
    left: 6%;
  }

  .router-route-output {
    width: min(176px, 34%);
  }
}

@media (max-width: 640px) {
  body.product-page .workspace-analysis {
    min-height: 350px;
  }

  .cinema-orbit {
    left: 50%;
  }

  .cinema-orbit-outer { width: min(74%, 264px); }
  .cinema-orbit-middle { width: min(52%, 186px); }
  .cinema-orbit-inner { width: min(34%, 122px); }

  .cinema-doni-core {
    left: 50%;
    width: 92px;
  }

  .cinema-doni-field > .cinema-continuity-pulse {
    left: calc(50% - 4px);
  }

  .cinema-source {
    min-width: 70px;
    grid-template-columns: 20px auto;
    gap: 5px;
    padding: 5px 7px 5px 5px;
  }

  .cinema-source > i {
    width: 20px;
    height: 20px;
    border-radius: 7px;
  }

  .cinema-source svg { width: 12px; }
  .cinema-source small { font-size: 6px; }
  .cinema-source-health,
  .cinema-source-report { display: none; }
  .cinema-source-oura { top: 9%; left: 4%; }
  .cinema-source-location { top: 9%; right: 4%; }
  .cinema-source-activity { right: 4%; bottom: 9%; }
  .cinema-source-calendar { bottom: 9%; left: 4%; }

  .cinema-signal-path { left: 50%; }
  .cinema-path-two,
  .cinema-path-six { display: none; }
  .cinema-path-one { --path-angle: -145deg; --path-length: 48%; }
  .cinema-path-three { --path-angle: -35deg; --path-length: 48%; }
  .cinema-path-four { --path-angle: 35deg; --path-length: 48%; }
  .cinema-path-five { --path-angle: 145deg; --path-length: 48%; }

  .decoder-timeline {
    top: 9%;
    right: 4%;
    left: 4%;
    height: 48%;
  }

  .decoder-cinema-bars {
    gap: 4px;
    padding-inline: 6px;
  }

  .decoder-context-stream {
    right: 4%;
    bottom: 22%;
    left: 4%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .decoder-context-stream > span {
    min-height: 24px;
    padding: 3px;
    font-size: 6px;
  }

  .decoder-context-stream > span:nth-child(n + 3) { display: none; }
  .decoder-merge-lines { display: none; }

  .decoder-structured-need {
    right: 5%;
    bottom: 5%;
    left: 5%;
  }

  .router-route-input {
    top: 44%;
    left: 3%;
    min-width: 96px;
    grid-template-columns: 12px minmax(0, 1fr);
    padding: 8px;
  }

  .router-route-output {
    top: 37%;
    right: 3%;
    width: 120px;
    padding: 9px 25px 9px 9px;
  }

  .router-route-output strong { font-size: 7px; }
  .router-route-output small { display: none; }
  .router-route-output .cinema-continuity-pulse { right: 9px; }

  body.product-page .orchestrator-cinema-field > .execution-route {
    inset: 4% 4% 25%;
  }

  .orchestrator-cinema-field .execution-app {
    width: 74px;
    min-height: 39px;
    grid-template-columns: 22px minmax(0, 1fr);
    padding: 5px;
  }

  .orchestrator-cinema-field .execution-app > i {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }

  .orchestrator-cinema-field .execution-app small { font-size: 6px; }
  .execution-core { width: 92px; }

  body.product-page .orchestrator-cinema-field > .execution-live-activity {
    right: 5%;
    bottom: 5%;
    left: 5%;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    min-height: 60px;
    padding: 8px;
  }

  .orchestrator-cinema-field .execution-live-activity > span {
    width: 32px;
    height: 32px;
  }

  .orchestrator-cinema-field .execution-live-activity strong { font-size: 8px; }
  .orchestrator-cinema-field .execution-live-activity em { display: none; }
  .orchestrator-cinema-field .execution-live-activity > i { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  body.product-page .workspace-cinema-scene.is-active,
  body.product-page .workspace-cinema-scene.is-active *,
  body.product-page .workspace-cinema-scene.is-active *::before,
  body.product-page .workspace-cinema-scene.is-active *::after,
  body.product-page .workspace-demo[data-phase="router"] .workspace-match-card,
  body.product-page .workspace-demo[data-phase="orchestrator"] .workspace-orchestration > div {
    animation: none !important;
  }

  body.product-page .workspace-cinema-scene.is-active,
  body.product-page .workspace-cinema-scene.is-active .cinema-source,
  body.product-page .workspace-cinema-scene.is-active .decoder-cinema-bars i,
  body.product-page .workspace-cinema-scene.is-active .decoder-awake-marker,
  body.product-page .workspace-cinema-scene.is-active .decoder-scan-line,
  body.product-page .workspace-cinema-scene.is-active .decoder-context-stream > span,
  body.product-page .workspace-cinema-scene.is-active .decoder-merge-lines i,
  body.product-page .workspace-cinema-scene.is-active .decoder-structured-need,
  body.product-page .workspace-cinema-scene.is-active .router-graph-canvas,
  body.product-page .workspace-cinema-scene.is-active .router-route-input,
  body.product-page .workspace-cinema-scene.is-active .router-route-output,
  body.product-page .workspace-cinema-scene.is-active .execution-app,
  body.product-page .workspace-cinema-scene.is-active .execution-core,
  body.product-page .workspace-cinema-scene.is-active .execution-live-activity,
  body.product-page .workspace-demo[data-phase="orchestrator"] .workspace-orchestration > div {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body.product-page .workspace-cinema-scene.is-active .cinema-doni-core,
  body.product-page .workspace-cinema-scene.is-active .execution-core {
    transform: translate(-50%, -50%) !important;
  }

  body.product-page .workspace-cinema-scene.is-active .router-best-route path,
  body.product-page .workspace-cinema-scene.is-active .execution-route-lines path {
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}
