/* Reason and Conduct inherit Inform's visual discipline without changing its source. */
.pillar-section {
  padding: 76px 0 66px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}
.pillar-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 95px;
  align-items: end;
  margin-bottom: 35px;
}
.pillar-name {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 20px;
}
.pillar-name>.icon {
  width: 31px;
  height: 31px;
}
.pillar-name strong {
  font-weight: 700;
  color: var(--signature-text);
}
.pillar-reason .pillar-name>.icon {
  color: var(--reason-label);
}
.pillar-conduct .pillar-name>.icon {
  color: var(--conduct-label);
}
.pillar-heading h2 {
  font-size: clamp(36px,3.5vw,49px);
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: -.035em;
  max-width: 23ch;
  text-wrap: balance;
}
.pillar-heading>p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 48ch;
  padding-bottom: 3px;
}
.pillar-heading>p>strong {
  font-weight: 650;
  color: var(--slate);
}
.pillar-scene {
  position: relative;
  height: 580px;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: var(--sunk);
}
.pillar-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) brightness(.98);
}
.pillar-glass {
  position: relative;
  width: 580px;
  max-width: 51%;
  margin: 0 34px 0 auto;
  padding: 24px 27px;
  background: #ece6daa3;
  border: 1px solid #f5efe4c7;
  border-radius: 10px;
  box-shadow: 0 14px 36px #102e471d;
  -webkit-backdrop-filter: blur(22px) saturate(.85);
  backdrop-filter: blur(22px) saturate(.85);
  color: var(--slate);
}
.pillar-glass:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.pillar-scene-left .pillar-glass {
  margin: 0 auto 0 34px;
}
.pillar-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.pillar-link {
  fill: none;
  stroke: #647d88;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.pillar-dot {
  fill: var(--motion-accent);
  stroke: #f5efe4;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: opacity .2s;
}
.durable-workflow {
  position: relative;
  height: 360px;
}
.workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 29px;
}
.workflow-node {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 43px;
  padding: 0 7px;
  z-index: 1;
}
.workflow-point {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--conduct-label);
  border-radius: 50%;
  background: #ece6da30;
  justify-self: center;
}
.workflow-node>strong {
  font-size: var(--diagram-node);
  line-height: 1.5;
  font-weight: 500;
}
.workflow-system {
  font: 400 var(--diagram-micro)/1.5 var(--font-mono);
  color: var(--slate);
}
.workflow-node[data-node=approval] {
  border-block: 1px solid #35653740;
  min-height: 60px;
  margin-top: 2px;
}
.workflow-checkpoint {
  position: absolute;
  top: 113px;
  left: 47px;
  font: 400 var(--diagram-micro)/1.5 var(--font-mono);
  color: #253b30;
  display: flex;
  gap: 6px;
  align-items: center;
}
.workflow-checkpoint>.icon {
  width: 14px;
  height: 14px;
}
[data-pillar-demo=conduct][data-active=receive] [data-node=receive]>strong,[data-pillar-demo=conduct][data-active=prepare] [data-node=prepare]>strong,[data-pillar-demo=conduct][data-active=approval] [data-node=approval]>strong,[data-pillar-demo=conduct][data-active=update] [data-node=update]>strong,[data-pillar-demo=conduct][data-active=complete] [data-node=complete]>strong {
  font-weight: 700;
  color: var(--ink);
}
[data-pillar-demo=conduct][data-active=approval] .workflow-checkpoint {
  font-weight: 600;
}
@media(max-width:1150px) {
  .pillar-heading {
    gap: 55px;
  }
  .pillar-heading h2 {
    font-size: 43px;
  }
  .pillar-heading>p {
    font-size: 16px;
  }
  .pillar-scene {
    height: 560px;
  }
  .pillar-glass {
    max-width: 55%;
    margin-right: 27px;
    padding-inline: 23px;
  }
  .pillar-scene-left .pillar-glass {
    margin-left: 27px;
  }
}
@media(max-width:900px) {
  .pillar-section {
    padding: 58px 0;
  }
  .pillar-heading {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 29px;
  }
  .pillar-heading h2 {
    font-size: 36px;
  }
  .pillar-heading>p {
    font-size: 15px;
  }
  .pillar-glass {
    max-width: 61%;
    margin-right: 20px;
    padding: 22px 20px;
  }
  .pillar-scene-left .pillar-glass {
    margin-left: 20px;
  }
  .workflow-node {
    gap: 10px;
  }
}
@media(max-width:650px) {
  .pillar-section {
    padding: 44px 0 40px;
  }
  .pillar-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 27px;
  }
  .pillar-name {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .pillar-name>.icon {
    width: 29px;
    height: 29px;
  }
  .pillar-heading h2 {
    font-size: 35px;
    line-height: 1.17;
    max-width: 22ch;
  }
  .pillar-heading>p {
    font-size: 16px;
    line-height: 1.75;
    padding: 0;
  }
  .pillar-scene {
    height: auto;
    display: block;
    overflow: visible;
    background: transparent;
    border-radius: 0;
  }
  .pillar-photo {
    position: static;
    height: 260px;
    border-radius: 8px;
    object-position: 50% 30%;
  }
  .pillar-glass,.pillar-scene-left .pillar-glass {
    width: calc(100% - 20px);
    max-width: none;
    margin: -22px 10px 0;
    padding: 23px 20px;
    border-color: #d5e1e2;
    border-radius: 9px;
    box-shadow: 0 10px 26px #102e4714;
  }
  .workflow-node {
    grid-template-columns: 18px minmax(0,1fr);
    gap: 12px;
    padding: 0 3px;
  }
  .workflow-system {
    grid-column: 2;
    margin-top: -12px;
  }
  .workflow-point {
    grid-row: 1/3;
  }
  .workflow-list {
    gap: 23px;
  }
  .workflow-node[data-node=approval] {
    min-height: 66px;
  }
  .workflow-checkpoint {
    left: 33px;
    top: 109px;
  }
  .durable-workflow {
    height: 367px;
  }
}
@media(max-width:360px) {
  .pillar-heading h2 {
    font-size: 32px;
  }
  .pillar-glass,.pillar-scene-left .pillar-glass {
    width: calc(100% - 12px);
    margin-inline: 6px;
    padding-inline: 16px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .pillar-dot {
    display: none;
  }
}
.pillar-conduct .pillar-glass {
  width: 520px;
  max-width: 46%;
}
@media(max-width:1100px) and (min-width:651px) {
  .pillar-conduct .pillar-scene {
    height: auto;
    display: block;
    overflow: visible;
    background: transparent;
  }
  .pillar-conduct .pillar-photo {
    position: static;
    height: 340px;
    border-radius: 8px;
    object-position: 50% 15%!important;
  }
  .pillar-conduct .pillar-glass {
    max-width: none;
    width: min(580px,calc(100% - 40px));
    margin: -22px auto 0;
  }
}
@media(max-width:650px) {
  .pillar-conduct .pillar-glass {
    max-width: none;
    width: calc(100% - 20px);
  }
}
@media(max-width:360px) {
  .pillar-conduct .pillar-glass {
    width: calc(100% - 12px);
  }
}
.workflow-system {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 7px;
  text-align: right;
}
.workflow-brand {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: none;
}
.workflow-brand-update {
  width: 40px;
  height: 28px;
}
.workflow-node>strong {
  display: flex;
  align-items: center;
  gap: 8px;
}
.workflow-node>strong>.icon {
  width: 19px;
  height: 19px;
  color: var(--conduct-label);
  flex: none;
}
.workflow-node .workflow-checkpoint {
  top: auto;
  bottom: -18px;
  left: 47px;
}
@media(max-width:650px) {
  .workflow-node .workflow-checkpoint {
    left: 33px;
    bottom: -17px;
  }
  .workflow-node>strong>.icon {
    width: 18px;
    height: 18px;
  }
  .workflow-node>strong {
    gap: 6px;
  }
}
.workflow-system>.icon {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--reason-label);
}
.workflow-brand-receive {
  width: 52px;
  height: 28px;
}
/* Reason shows an answer and measured improvement, without workflow connectors. */
.reason-question {
  margin: 0;
  font-size: var(--diagram-node);
  line-height: 1.5;
  font-weight: 500;
  color: var(--slate);
}
.reason-response {
  display: grid;
  margin: 13px 0 14px;
  align-items: start;
}
.reason-response>p {
  grid-area: 1/1;
  margin: 0;
  font-size: var(--diagram-figure);
  line-height: 1.35;
  font-weight: 550;
  letter-spacing: -.02em;
  color: var(--slate);
  transition: opacity .35s;
}
.reason-initial {
  opacity: 0;
}
.reason-answer {
  opacity: 1;
}
.reason-answer>span {
  white-space: normal;
}
.reason-evidence {
  border-left: 2px solid #8fa6ac;
  margin: 0;
  padding: 0 0 0 13px;
  transition: border-color .35s;
}
.reason-evidence p {
  margin: 0;
  font-size: var(--diagram-body);
  line-height: 1.65;
  color: #344b55;
}
.reason-evidence mark {
  background: #c7734e26;
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background .35s;
}
.reason-evidence cite {
  display: block;
  margin-top: 5px;
  font: 400 var(--diagram-micro)/1.5 var(--font-mono);
  font-style: normal;
  color: #40515a;
}
.reason-quality {
  border-top: 1px solid #8fa6ac66;
  margin-top: 19px;
  padding-top: 14px;
}
.reason-quality>p:first-child {
  margin: 0;
  font-size: var(--diagram-body);
  font-weight: 550;
  line-height: 1.5;
}
.reason-chart {
  position: relative;
  margin: 24px 13px 0 0;
  height: 103px;
  padding-left: 38px;
}
.reason-chart-axis {
  position: absolute;
  left: 0;
  top: -6px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font: 400 var(--diagram-micro)/1.4 var(--font-mono);
  color: #40515a;
}
.reason-chart-plot {
  position: relative;
  height: 80px;
}
.reason-chart-plot>svg {
  display: block;
  width: 100%;
  height: 80px;
  overflow: visible;
}
.reason-chart-grid {
  fill: none;
  stroke: #647d8833;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.reason-chart-line {
  fill: none;
  stroke: #647d88;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.reason-chart-progress {
  fill: none;
  stroke: var(--motion-accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: opacity .35s;
}
.reason-chart-point {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #647d88;
  transform: translate(-50%,-50%);
  transition: opacity .35s;
}
.reason-chart-latest {
  width: 8px;
  height: 8px;
  background: var(--motion-accent);
  box-shadow: 0 0 0 4px #c7734e26;
  transition: opacity .35s,background .35s,box-shadow .35s;
}
.reason-chart-latest>strong {
  position: absolute;
  right: -3px;
  bottom: 14px;
  font-size: var(--diagram-node);
  line-height: 1;
  font-weight: 600;
  color: var(--signature-text);
  transition: color .35s;
}
.reason-chart-releases {
  position: absolute;
  top: 87px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  font: 400 var(--diagram-micro)/1.4 var(--font-mono);
  color: #40515a;
}
.reason-chart-releases>span:first-child {
  transform: translateX(-50%);
}
.reason-chart-releases>span:last-child {
  transform: translateX(50%);
}
.reason-quality>.reason-chart-note {
  margin: 8px 0 0;
  font: 400 var(--diagram-micro)/1.5 var(--font-mono);
  color: #40515a;
}
[data-pillar-demo=reason][data-phase=initial] .reason-initial,[data-pillar-demo=reason][data-phase=evidence] .reason-initial {
  opacity: 1;
}
[data-pillar-demo=reason][data-phase=initial] .reason-answer,[data-pillar-demo=reason][data-phase=evidence] .reason-answer {
  opacity: 0;
}
[data-pillar-demo=reason][data-phase=evidence] .reason-evidence,[data-pillar-demo=reason][data-phase=answer] .reason-evidence {
  border-color: var(--motion-accent);
}
[data-pillar-demo=reason][data-phase=evidence] .reason-evidence mark,[data-pillar-demo=reason][data-phase=answer] .reason-evidence mark {
  background: #c7734e3d;
}
[data-pillar-demo=reason][data-phase=initial] .reason-chart-progress,[data-pillar-demo=reason][data-phase=evidence] .reason-chart-progress,[data-pillar-demo=reason][data-phase=answer] .reason-chart-progress {
  opacity: 0;
}
[data-pillar-demo=reason][data-phase=reset] .reason-chart-progress {
  opacity: 0;
}
[data-pillar-demo=reason][data-phase=reset] .reason-chart-point:not(:first-of-type) {
  opacity: 0!important;
}
[data-pillar-demo=conduct] [data-approval-state] {
  transition: opacity .2s;
}
[data-pillar-demo=conduct][data-phase=reset] [data-approval-state] {
  opacity: 0;
}
@media(prefers-reduced-motion:reduce) {
  [data-pillar-demo=conduct] [data-approval-state] {
    transition: none;
  }
}
[data-pillar-demo=reason][data-phase=initial] .reason-chart-latest,[data-pillar-demo=reason][data-phase=evidence] .reason-chart-latest,[data-pillar-demo=reason][data-phase=answer] .reason-chart-latest {
  background: #647d88;
  box-shadow: none;
}
[data-pillar-demo=reason][data-phase=initial] .reason-chart-latest>strong,[data-pillar-demo=reason][data-phase=evidence] .reason-chart-latest>strong,[data-pillar-demo=reason][data-phase=answer] .reason-chart-latest>strong {
  color: #40515a;
}
@media(max-width:650px) {
  .reason-response {
    margin: 10px 0;
  }
  .reason-evidence {
    padding-left: 10px;
  }
  .reason-quality {
    margin-top: 12px;
    padding-top: 10px;
  }
  .reason-chart {
    margin-top: 18px;
  }
  .reason-quality>.reason-chart-note {
    margin-top: 6px;
  }
  .pillar-reason .pillar-glass {
    padding-block: 22px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .reason-intelligence * {
    transition: none!important;
  }
}

/* One family for the Platform diagram panels: a bold title over a hairline, the same panel width
   and padding, one hairline colour and neutral rails. Materials, label type and accent colour are
   the theme's. */
.migration-page .panel-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.migration-page .panel-title strong,
.migration-page .pillar-reason .reason-question,
.migration-page .govern-dashboard .pane-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.migration-page .govern-dashboard .pane-title > svg {
  display: none;
}
.migration-page .pillar-split.pillar-conduct .pillar-glass {
  max-width: 580px;
}
.migration-page .product-govern .govern-dashboard {
  width: min(100%, 580px);
  margin-inline: auto;
  padding: 24px 27px;
}
.migration-page .pillar-reason :is(.reason-trace, .reason-trace li, .reason-trace ol, .reason-trace > p, .reason-quality),
.migration-page .govern-dashboard :is(.pane-head, .gov-events td, .gov-foot),
.migration-page .pillar-conduct .workflow-node[data-node="approval"] {
  border-color: var(--line);
}
.migration-page .pillar-conduct .pillar-link {
  stroke: var(--muted);
  stroke-width: 1.5;
}
@media (max-width: 650px) {
  .migration-page .product-govern .govern-dashboard {
    padding: 22px 18px;
  }
}

/* Each panel names the setting of its example at the end of its title row. */
.migration-page .panel-title > span,
.migration-page .panel-kicker {
  font: 400 12px/1.5 var(--font-mono);
  color: var(--muted);
}
.migration-page .pillar-reason .reason-question,
.migration-page .govern-dashboard .pane-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
/* Reason: the customer's photo sits beside the line of the ticket it supports. */
.migration-page .pillar-reason .reason-evidence:has(.reason-photo) {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
}
.migration-page .pillar-reason .reason-photo {
  grid-row: 1 / span 2;
  width: 76px;
  height: auto;
  color: var(--muted);
}
.migration-page .pillar-reason .reason-photo-mark {
  stroke: var(--signature);
}
/* The decision is the fourth step: the trace's own row, after the evidence it rests on. */
.migration-page .pillar-reason .reason-response {
  position: relative;
  margin: 14px 0;
  padding: 7px 0 0 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}
.migration-page .pillar-reason .reason-response > .reason-step-head {
  grid-area: 1 / 1;
}
.migration-page .pillar-reason .reason-step-no {
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--ink);
}
.migration-page .pillar-reason .reason-step-head strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: var(--ink);
}
.migration-page .pillar-reason .reason-step-head small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #40515a;
}
.migration-page .pillar-reason .reason-response > p {
  grid-area: 2 / 1;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ink);
}
.migration-page .pillar-reason .reason-answer > span {
  white-space: normal;
}
/* Govern: the list says what it shows; tile labels match Lattice's, and each value sits on its
   tile's last line. */
.migration-page .govern-dashboard .gov-caption {
  margin: 14px 0 6px;
  font: 550 12px/1.4 var(--font-body);
  color: var(--muted);
}
.migration-page .govern-dashboard .gov-metrics > div {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 10px;
}
.migration-page .govern-dashboard .gov-metrics dt {
  min-height: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.migration-page .govern-dashboard .gov-metrics dd {
  margin: 4px 0 0;
  line-height: 1.1;
}

/* One loop for the Lattice and Inform diagrams. Each picture is complete at rest. While it is in
   view, a dot in the motion accent walks its nodes and the node it rests on takes an accent ring.
   The controller pauses it under the pointer or keyboard focus and never starts it for a visitor
   who prefers reduced motion. */
.migration-page .loop-dot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--motion-accent);
  box-shadow: 0 0 0 1.5px var(--diagram-surface);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-out;
}
.migration-page [data-loop-moving] > .loop-dot {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .migration-page .loop-dot {
    display: none;
  }
}
