/* Shared illustrated information cards. SVG artwork has no bitmap background. */
.info-diagram {
  --diagram-tone: var(--info-tone, #9bcaff);
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 5 / 3;
  overflow: visible;
  color: var(--diagram-tone);
  flex: none;
}
.diagram-guide { stroke: #ffffff0d; }
.diagram-wire { stroke: var(--diagram-tone); stroke-opacity: .44; stroke-dasharray: 3 5; }
.diagram-muted { stroke: #a6b8d0; stroke-opacity: .58; }
.diagram-panel { fill: #141b26; stroke: #7389a3; stroke-opacity: .52; }
.diagram-chip { fill: color-mix(in srgb, var(--diagram-tone) 14%, #151b25); stroke: var(--diagram-tone); stroke-opacity: .8; }
.diagram-accent { stroke: var(--diagram-tone); stroke-width: 1.8; }
.diagram-dot, .diagram-accent-fill { fill: var(--diagram-tone); stroke: none; }

.workflow-visual.illustrated-flow {
  --info-tone: #96c8fa;
  position: relative;
  padding: 22px 25px 20px;
  border: 1px solid #ffffff18;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 0, color-mix(in srgb, var(--info-tone) 6%, transparent), transparent 75%), #11151c;
  box-shadow: 0 12px 32px #0000001a, inset 0 1px #ffffff05;
}
.workflow-visual.flow-enterprise { --info-tone: #84ddd8; }
.workflow-visual.flow-intelligence { --info-tone: #bfa6f5; }
.workflow-visual.flow-care, .workflow-visual.flow-support { --info-tone: #a7d7b1; }
.flow-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b0bac9;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .015em;
}
.flow-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--info-tone);
  box-shadow: 0 0 12px color-mix(in srgb, var(--info-tone) 35%, transparent);
  flex: none;
}
.flow-heading small { margin-left: auto; padding-left: 8px; color: #8e9bab; white-space: nowrap; font-size: 12px; }
.illustrated-track {
  display: grid;
  grid-template-columns: repeat(var(--flow-count), minmax(0, 1fr));
  gap: 23px;
  padding: 17px 0 0;
  margin: 0;
  list-style: none;
}
.illustrated-step { position: relative; min-width: 0; }
.illustrated-step .info-diagram { margin: 0 auto 10px; }
.illustrated-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 34%;
  font-size: 17px;
  color: color-mix(in srgb, var(--info-tone) 50%, transparent);
}
.illustrated-step-label { display: flex; align-items: baseline; gap: 9px; padding: 0 4px; }
.illustrated-step-label small { color: #8290a3; font-size: 12px; font-variant-numeric: tabular-nums; }
.illustrated-step-label strong { font-size: 15px; font-weight: 550; line-height: 1.4; letter-spacing: -.015em; }
.workflow-visual.illustrated-flow figcaption {
  display: flex;
  gap: 10px;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #ffffff10;
  font-size: 12px;
  line-height: 1.8;
  color: #9aa8ba;
}
.flow-caption-mark { color: var(--info-tone); flex: none; }
.service-row { scroll-margin-top: 110px; }
.support-system .illustrated-track { gap: 14px; }
.support-system .illustrated-step-label { gap: 6px; }
.support-system .illustrated-step-label strong { font-size: 14px; }
.support-system .illustrated-step:not(:last-child)::after { right: -14px; }

.engagement-options, .value-grid, .next-steps { gap: 22px; }
.engagement-options > .info-card,
.value-grid > .info-card,
.next-steps > .info-card,
.feature-list > .info-card,
.use-case-grid > .info-card {
  --info-tone: #9bcaff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 27px;
  gap: 0;
  border: 1px solid #ffffff17;
  border-radius: 18px;
  background: radial-gradient(ellipse at 50% 5%, color-mix(in srgb, var(--info-tone) 5%, transparent), transparent 60%), #11151b;
  box-shadow: inset 0 1px #ffffff05;
  transition: border-color .25s ease, background-color .25s ease;
}
.info-card:nth-child(3n+2) { --info-tone: #bba9ed; }
.info-card:nth-child(3n+3) { --info-tone: #92d1c7; }
.product-detail .info-card { --info-tone: var(--glow-a, #9bcaff); }
.engagement-options > .info-card:nth-child(2), .value-grid > .info-card:nth-child(2), .next-steps > .info-card:nth-child(2) { --info-tone: #bba9ed; }
.engagement-options > .info-card:nth-child(3), .value-grid > .info-card:nth-child(3), .next-steps > .info-card:nth-child(3) { --info-tone: #92d1c7; }
.info-card > .info-diagram { width: 100%; max-width: 220px; margin: 8px auto 23px; }
.info-card > small, .info-card > b { margin: 0; color: #9aa8ba; font-size: 12px; font-weight: 450; line-height: 1.5; letter-spacing: .04em; }
.info-card > h3, .feature-list .info-card > h3 { margin: 0 0 13px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.info-card > p { color: #a5aebc; font-size: 15px; line-height: 1.8; }
.info-card .deliverable-list { margin-top: auto; padding-top: 18px; border: 0; }
.info-card .deliverable-list li { border-top: 1px solid #ffffff0d; padding-block: 11px; font-size: 13px; }
.feature-list { gap: 18px; }
.feature-list > .info-card { padding: 24px; }
.feature-list .info-card > .info-diagram { margin: 12px auto 24px; }
.feature-list .info-card > h3 { font-size: 21px; }
.feature-list .info-card > p { font-size: 15px; }
.use-case-grid { gap: 18px; }
.use-case-grid > .info-card { padding: 22px; }
.use-case-grid .info-card > .info-diagram { margin: 0 auto 23px; max-width: 185px; }
.use-case-grid .info-card > strong { font-size: 20px; line-height: 1.3; margin: 0 0 22px; }
.use-case-grid .info-card > small { font-size: 12px; margin-top: auto; letter-spacing: 0; }
.use-case-grid .info-card:focus-visible { outline: 2px solid var(--info-tone); outline-offset: 5px; }

.story-chapter > .info-diagram { width: 160px; margin: 5px 0 24px; }
.story-chapter:nth-child(2) { --info-tone: #bba9ed; }
.story-chapter:nth-child(3) { --info-tone: #92d1c7; }
.case-outcome-visual {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 25px 0;
  padding: 14px 20px;
  border: 1px solid #ffffff12;
  border-radius: 14px;
  background: #11151b;
}
.case-outcome-visual > .info-diagram { width: 130px; }
.case-outcome-visual .case-outcomes { margin: 0; gap: 8px; }
.case-outcome-visual .case-outcomes span { font-size: 12px; }
.case-violet .case-outcome-visual { --info-tone: #bba9ed; }
.case-green .case-outcome-visual { --info-tone: #92d1c7; }
.product-flow-labels.illustrated-product-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 20px 12px 4px;
}
.illustrated-product-flow > div { position: relative; min-width: 0; text-align: center; }
.illustrated-product-flow .info-diagram { --info-tone: var(--glow-a); width: 120px; max-width: 100%; margin: 0 auto 10px; }
.illustrated-product-flow > div:not(:last-child)::after { content: '→'; position: absolute; right: -19px; top: 35%; color: #7889a2; }
.product-flow-labels.illustrated-product-flow span { font-size: 13px; line-height: 1.4; }
.concept-node > .info-diagram { --info-tone: var(--glow-a); width: 170px; max-width: 100%; margin: 0 auto 24px; }
.concept-node .concept-label { margin-bottom: 15px; }
.concept-flow .concept-node { background: #141a24; box-shadow: inset 0 1px #ffffff09; }
.concept-flow .concept-engine { background: color-mix(in srgb, var(--glow-a) 8%, #141a24); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .info-card:hover { border-color: color-mix(in srgb, var(--info-tone) 32%, transparent); }
  .info-card .diagram-chip, .illustrated-flow .diagram-chip { transition: fill .3s ease, stroke-opacity .3s ease; }
  .info-card:hover .diagram-chip, .illustrated-flow:hover .diagram-chip { fill: color-mix(in srgb, var(--diagram-tone) 22%, #151b25); stroke-opacity: 1; }
  .motion-ready .engagement-options > .info-card:hover, .motion-ready .feature-list > .info-card:hover { transform: none; box-shadow: inset 0 1px #ffffff0a; }
}
@media (max-width: 1100px) {
  .service-row { grid-template-columns: 38px minmax(0, 1.3fr) minmax(0, .8fr); gap: 25px; }
  .workflow-visual.illustrated-flow { padding-inline: 19px; }
  .flow-heading { flex-wrap: wrap; }
  .flow-heading small { display: none; }
  .value-grid, .next-steps { gap: 16px; }
  .info-card > h3 { font-size: 22px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-outcome-visual { gap: 12px; padding: 12px; }
  .case-outcome-visual > .info-diagram { width: 100px; }
}
@media (max-width: 800px) {
  .service-row { grid-template-columns: 30px minmax(0, 1fr); gap: 20px; }
  .service-row > p { grid-column: 2; padding-top: 0; }
  .value-grid, .next-steps { grid-template-columns: 1fr; }
  .engagement-options > .info-card, .value-grid > .info-card, .next-steps > .info-card { padding: 25px; }
  .info-card > .info-diagram { max-width: 200px; margin-top: 14px; }
  .info-card > h3 { font-size: 24px; }
  .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }
  .service-row > p { grid-column: 1; font-size: 16px; }
  .service-row h2 { font-size: 32px; margin-top: 12px; }
  .workflow-visual.illustrated-flow { padding: 18px 20px; border-radius: 16px; }
  .flow-heading { font-size: 12px; gap: 8px; flex-wrap: nowrap; }
  .illustrated-track, .support-system .illustrated-track { grid-template-columns: 1fr; gap: 12px; padding-top: 18px; }
  .illustrated-step { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 16px; }
  .illustrated-step .info-diagram { width: 116px; margin: 0; }
  .illustrated-step-label { display: grid; gap: 3px; padding: 0; }
  .illustrated-step-label small { font-size: 12px; }
  .illustrated-step-label strong, .support-system .illustrated-step-label strong { font-size: 17px; }
  .illustrated-step:not(:last-child)::after, .support-system .illustrated-step:not(:last-child)::after { content: '↓'; top: auto; right: auto; left: 55px; bottom: -14px; font-size: 13px; }
  .workflow-visual.illustrated-flow figcaption { margin-top: 19px; font-size: 12px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list > .info-card { display: flex; padding: 25px; gap: 0; }
  .feature-list .info-card > .info-diagram { width: 190px; max-width: 100%; margin-block: 10px 22px; }
  .feature-list .info-card > h3 { font-size: 24px; margin-bottom: 13px; }
  .feature-list .info-card > p { font-size: 16px; }
  .use-case-grid { gap: 12px; }
  .use-case-grid > .info-card { padding: 17px; }
  .use-case-grid .info-card > strong { font-size: 18px; }
  .use-case-grid .info-card > small { line-height: 1.7; }
  .case-outcome-visual { padding: 15px; }
  .case-outcome-visual > .info-diagram { width: 100px; }
  .product-flow-labels.illustrated-product-flow { gap: 16px; padding: 18px 0 0; }
  .illustrated-product-flow > div:not(:last-child)::after { right: -13px; font-size: 12px; }
  .product-flow-labels.illustrated-product-flow span { font-size: 12px; }
}
@media (max-width: 360px) {
  .workflow-visual.illustrated-flow { padding-inline: 15px; }
  .illustrated-step { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
  .illustrated-step .info-diagram { width: 100px; }
  .illustrated-step:not(:last-child)::after, .support-system .illustrated-step:not(:last-child)::after { left: 47px; }
  .use-case-grid { grid-template-columns: 1fr; }
}
