/* V3 shared material, geometry and components. Inherits the preserved responsive content shell. */
:root {
  --radius-shell: 1.75rem;
  --radius-panel: 1rem;
  --radius-control: 0.5rem;
  --radius-media: 0.75rem;
  --blue-wash: #eaf0ff;
  --steel: #a5afbc;
  --ink-soft: #263341;
}
body {
  background: var(--pale);
}
a,
a:hover,
a:focus,
a:visited {
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: var(--brand);
  outline-offset: 0.3rem;
}
.button {
  border-radius: var(--radius-control);
  font-weight: 400;
  min-height: 3.5rem;
  padding: 0.85rem 1.2rem 0.85rem 1.4rem;
}
.button.primary {
  background: var(--brand);
  color: #fff;
}
.button span {
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
}
.button.outline {
  background: white;
  border: 0.1rem solid var(--ink);
  box-shadow: none;
}
.button.small {
  border-radius: var(--radius-control);
}
.text-link,
.read-link,
.back-link {
  font-weight: 700;
}
.text-link {
  line-height: 1.4;
}
.line-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.section {
  padding-block: 6.5rem;
}
.section-heading {
  align-items: start;
  gap: 4rem;
  margin-bottom: 3.5rem;
}
.section-heading h2 {
  font-size: clamp(2.25rem, 4vw, 4.5rem);
}
.section-heading > div {
  padding-top: 0.3rem;
}
.page-lead {
  padding-block: 4rem 3rem;
}
.page-lead > p {
  max-width: 53rem;
}
.site-shell {
  margin: 0 auto;
}
/* A single white logo compartment, not two antialiased white/black rounded layers. */
.hero-stage {
  margin: 1rem;
  background: transparent;
  border-radius: 0;
}
.hero-stage .site-header {
  border-radius: 0;
  background: transparent;
}
.hero-stage .logo-compartment {
  border-radius: 0 0 var(--radius-shell) 0;
  background: #fff;
}
.hero-header .header-right {
  background: var(--ink);
  border-top-right-radius: var(--radius-shell);
}
.logo-compartment {
  border: 0;
  box-shadow: none;
  outline-offset: -0.5rem;
}
.logo-compartment img {
  width: 10.5rem;
  height: auto;
  object-fit: contain;
}
.header-top {
  border-color: #46505b;
}
.social-links a {
  min-height: 2.75rem;
}
.hero-scene {
  background: var(--ink);
  border-radius: 0 0 var(--radius-shell) var(--radius-shell);
}
.brand-light {
  background: radial-gradient(ellipse at 80% 30%, #234be866, transparent 67%);
  opacity: 0.65;
}
.hero-shade {
  background:
    linear-gradient(90deg, #10151c 0%, #10151ce8 25%, #10151c75 49%, #10151c00 80%),
    linear-gradient(0deg, #10151c 0%, #10151c00 40%);
}
.hero-fact {
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-panel);
}
.hero-fact strong {
  color: var(--brand);
}
.hero-fact .fact-bottom {
  font-weight: 700;
}
.hero-audiences a {
  font-weight: 700;
}
.company-proof {
  padding-block: 3rem 1rem;
}
.company-proof > div {
  gap: 4rem;
}
.company-proof strong {
  font-size: clamp(3rem, 5vw, 5.5rem);
}
.company-proof .proof-status {
  font-size: clamp(1.4rem, 2.1vw, 2.3rem);
}
.company-proof > p {
  margin-top: 1.4rem;
}
.company-menu-panel {
  border: 0.125rem solid var(--ink);
  border-radius: var(--radius-control);
  box-shadow: none;
}
.company-menu-panel a {
  border-radius: var(--radius-control);
}
/* Five actual responsibilities, not a sad full-width segmented rail. */
.task-section {
  overflow-anchor: none;
}
.role-tabs {
  background: transparent;
  border-radius: 0;
  gap: 1.1rem;
  margin-bottom: 3rem;
  align-items: start;
}
.role-tabs > a {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  grid-template-rows: 1.4rem auto;
  align-content: start;
  align-items: start;
  gap: 0.45rem 0.7rem;
  padding: 0.35rem 0 0.8rem;
  min-height: 5.2rem;
  text-align: left;
  color: var(--ink);
  position: relative;
}
.role-tabs > a .line-icon {
  grid-row: 1/3;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  background: var(--pale);
  border-radius: var(--radius-control);
}
.role-label {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
}
.role-hint {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}
.role-tabs > a[aria-selected='true'] {
  color: var(--link);
}
.role-tabs > a[aria-selected='true'] .line-icon {
  background: transparent;
  color: white;
}
.role-indicator {
  width: 2.75rem;
  height: 2.75rem;
  inset: 0 auto auto 0;
  border-radius: var(--radius-control);
  background: var(--brand);
  transform: translate(var(--role-x, 0), var(--role-y, 0));
  transition: transform 200ms var(--ease);
}
.js .role-tabs a .line-icon {
  position: relative;
  z-index: 2;
}
.role-panel {
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  min-height: 29rem;
}
.role-panel > div > h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
}
.role-panel .scope-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.role-panel .scope-list li {
  padding: 0 0 0 1.1rem;
  margin: 0;
  position: relative;
}
.role-panel .scope-list li::before {
  content: '';
  position: absolute;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--brand);
  top: 0.65rem;
  left: 0;
  border-radius: 0.1rem;
}
.role-proof {
  background: var(--pale);
  border-radius: var(--radius-panel);
}
.role-proof > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.8;
  object-fit: cover;
}
.role-proof > div {
  padding: 1.5rem 2rem 1.75rem;
}
.role-proof h4 {
  font-size: 1.55rem;
}
.role-proof .text-link {
  display: inline-flex;
  font-size: 0.9rem;
  margin-right: 1rem;
}
/* Real source-to-system flow. Ports, connectors and names share actual measured coordinates. */
.ecosystem {
  display: block;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-panel);
  padding: 2.5rem;
  margin-top: 4rem;
}
.flow-intro {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
.flow-intro h3 {
  font-size: 1.9rem;
  max-width: 28rem;
}
.flow-intro > p {
  max-width: 25rem;
  color: #d5dce5;
}
.flow-canvas {
  position: relative;
}
.flow-stages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem;
}
.flow-stage.eco-node {
  position: relative;
  padding: 0;
  background: transparent;
  border-radius: 0;
  transform: none;
  transition: none;
}
.flow-stage::after {
  display: none !important;
}
.stage-symbol {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-control);
  background: #263341;
  color: #fff;
  margin: 0 0 1.6rem;
  transition: background-color 160ms;
}
.stage-symbol .line-icon {
  width: 2.2rem;
  height: 2.2rem;
}
.flow-stage h3 {
  font-size: clamp(1.2rem, 1.4vw, 1.6rem);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
.flow-stage > p {
  min-height: 4.6rem;
  color: #d5dce5;
  font-size: 0.95rem;
}
.flow-stage > ul {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}
.flow-stage li {
  margin: 0;
}
.flow-stage a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.9rem;
  min-height: 3.25rem;
  padding: 0.5rem 0;
}
.flow-stage a > span {
  color: #a8c0ff;
  font-size: 1.1rem;
}
.flow-stage.active .stage-symbol,
.flow-stage.path-focus .stage-symbol {
  background: var(--brand);
}
.flow-stage.path-focus h3 {
  color: #a8c0ff;
}
.flow-port {
  position: absolute;
  top: 2.15rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #b4c1d3;
  z-index: 2;
}
.port-in {
  left: -0.25rem;
}
.port-out {
  right: auto;
  left: 4.25rem;
}
.flow-stage:first-child .port-in,
.flow-stage:last-child .port-out {
  visibility: hidden;
}
.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  color: #7187a5;
}
.flow-edge {
  fill: none;
  stroke: #7187a5;
  stroke-width: 1.5;
  marker-end: url(#flow-arrow);
  transition: stroke 160ms;
}
.flow-edge.path-focus {
  stroke: #a8c0ff;
  stroke-width: 3;
}
.flow-edge-label {
  fill: #e4eaf3;
  font:
    0.8125rem Golos,
    sans-serif;
}
.flow-return {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 0.0625rem solid #3d4a5a;
  font-size: 0.95rem;
}
.flow-return > span {
  font-size: 2rem;
  color: #a8c0ff;
}
.flow-return a {
  margin-left: auto;
  color: #c0d0ff;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  font-weight: 700;
}
.flow-stage:not(:last-child)::before {
  content: '→';
  position: absolute;
  right: -2rem;
  top: 1rem;
  color: #a8c0ff;
  font-size: 1.5rem;
}
.js .flow-stage::before {
  display: none;
}
.solutions-overview {
  background: var(--pale);
}
.solution-layout {
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}
.solution-large {
  border-radius: var(--radius-panel);
  padding: 3rem;
  background: var(--ink);
  color: white;
}
.solution-large > img {
  max-width: 32rem;
  height: 18rem;
  margin: 1.5rem auto;
  border-radius: var(--radius-media);
}
.solution-large .text-link {
  color: #c0d0ff;
}
.solution-large .button {
  background: white;
  color: var(--ink);
}
.solution-stack {
  gap: 0;
  padding-top: 0.5rem;
}
.solution-stack article {
  padding: 1.6rem 0 2rem 2rem;
  border-radius: 0;
  background: transparent;
}
.solution-stack article + article {
  border-top: 0.0625rem solid var(--line);
}
.solution-stack h3 {
  font-size: 2.1rem;
}
.solution-stack p {
  max-width: 33rem;
  margin-top: 1rem;
}
.home-work .case-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4.5rem 2rem;
}
.home-work .case-card {
  grid-column: span 6;
}
.home-work .case-card:nth-child(4n + 1) {
  grid-column: span 7;
}
.home-work .case-card:nth-child(4n + 2) {
  grid-column: span 5;
}
.image-link {
  border-radius: var(--radius-media);
}
.image-link img {
  border-radius: var(--radius-media);
}
.case-art {
  background: #f0ede7;
  overflow: clip;
}
.case-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.image-action {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-control);
  width: 3.5rem;
  height: 3.5rem;
}
.card-text {
  padding: 1.5rem 0 0;
}
.case-client {
  font-weight: 700;
}
.card-text h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.6rem);
}
.card-text > p:not(.case-client) {
  max-width: 38rem;
}
.tags {
  color: var(--ink-soft);
}
/* One product construction across the home, catalogue, related items and detail pages. */
.home-products {
  background: var(--pale);
}
.product-home-grid,
.product-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.product-home-grid .product-card:nth-child(n),
.product-catalog .product-card,
.product-card {
  grid-column: auto;
  display: flex;
  padding: 0;
  background: white;
  color: var(--ink);
  border-radius: var(--radius-panel);
  overflow: clip;
}
.product-home-grid .product-card:first-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
  color: var(--ink);
}
.product-visual {
  background: var(--blue-wash);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  min-width: 0;
}
.product-emblem {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.product-emblem .app-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-control);
  object-fit: contain;
}
.product-emblem > span {
  font-size: 0.9rem;
  font-weight: 700;
}
.product-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  padding: 0;
  margin: 0;
}
.product-process li {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 0;
  position: relative;
  font-size: 0.875rem;
  line-height: 1.4;
}
.product-process li:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.9rem;
  top: 0.35rem;
  color: var(--link);
}
.product-process .line-icon {
  width: 2rem;
  height: 2rem;
  color: var(--link);
}
.product-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-copy h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}
.product-copy > p {
  max-width: 39rem;
  margin: 0 0 1.25rem;
}
.product-capabilities {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
}
.product-capabilities li {
  margin: 0.5rem 0;
}
.product-card .read-link {
  color: var(--link);
  font-weight: 700;
  padding-top: 0.75rem;
  margin-top: auto;
  min-height: 3.1rem;
}
.product-home-grid .product-card:first-child .read-link {
  color: var(--link);
}
.product-home-grid .product-card:first-child .product-visual {
  background: var(--brand);
  color: white;
  justify-content: space-between;
  padding: 3rem;
}
.product-home-grid .product-card:first-child .product-process .line-icon,
.product-home-grid .product-card:first-child .product-process li::after {
  color: white;
}
.product-home-grid .product-card:first-child .product-process {
  gap: 2.5rem;
}
.product-home-grid .product-card:first-child .product-process .line-icon {
  width: 3rem;
  height: 3rem;
}
.product-home-grid .product-card:first-child .product-copy {
  padding: 3rem;
}
.product-home-grid .product-card:first-child h3 {
  font-size: 3rem;
}
.product-card.product-medical .product-visual {
  background: #e6edea;
}
.product-card.product-knowledge .product-visual {
  background: #ece7df;
}
.product-card.product-seo .product-visual {
  background: #e6ecf3;
}
.product-card.product-pay-site .product-visual {
  background: #e9e8e2;
}
.availability-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}
.archive-link {
  margin-top: 2rem;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: space-between;
}
.archive-link > div {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.archive-link .line-icon {
  width: 2rem;
  height: 2rem;
}
.module-proof {
  margin-top: 4rem;
}
.module-users {
  gap: 1rem;
}
.module-users img {
  background: white;
  border-radius: var(--radius-control);
  padding: 0.5rem;
}
.product-detail-hero {
  background: var(--pale);
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
}
.product-art .product-visual {
  border-radius: var(--radius-panel);
  min-height: 19rem;
  justify-content: space-between;
}
.product-art img.app-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
}
.product-platform {
  font-weight: 700;
}
.product-status {
  font-weight: 400;
  color: var(--muted);
  font-size: 1rem;
  margin-top: 1rem;
}
.related-section .product-card {
  max-width: 52rem;
}
.related-section .product-card .product-visual {
  padding-block: 1.5rem;
}
/* Authenticated corporate identity: source SVGs/bitmaps, never retyped logo lookalikes. */
.client-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.client-panel {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--pale);
  border-radius: var(--radius-panel);
  min-width: 0;
}
.client-logo {
  width: 100%;
  max-width: 13rem;
  height: 4rem;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 2rem;
}
.client-work {
  line-height: 1.5;
  max-width: 30rem;
}
.client-destination {
  font-size: 0.95rem;
  color: var(--link);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding-top: 1.5rem;
  margin-top: auto;
}
.client-mark {
  margin-bottom: 1.75rem;
}
.client-mark .client-logo {
  margin: 0;
}
.client-text-identity {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  display: block;
  padding: 0.5rem 0;
}
.client-card {
  padding: 2rem;
  background: var(--pale);
  border-radius: var(--radius-panel);
}
.client-card h2 {
  font-size: 1.8rem;
}
.client-card > p {
  margin-block: 0.75rem;
}
.client-card h2 + p {
  margin-top: 1.25rem;
}
.review-feature {
  margin-top: 4rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  gap: 5rem;
  grid-template-columns: 1fr 1.15fr;
}
.review-intro h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.9rem);
}
.review-intro p {
  max-width: 32rem;
}
.review-synthesis {
  padding: 2.5rem;
  background: var(--ink);
  color: white;
  border-radius: var(--radius-panel);
}
.review-synthesis h4 {
  font-size: 2rem;
}
.review-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.review-points h5 {
  font:
    700 1rem/1.4 Golos,
    sans-serif;
  letter-spacing: 0;
  margin: 0;
}
.review-points p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #d5dce5;
}
.review-synthesis .text-link {
  color: #c0d0ff;
  margin-top: 1.25rem;
}
.review-list > article {
  padding-block: 3rem;
}
.review-list article > div:first-child {
  padding-right: 1rem;
}
.review-list dl {
  display: grid;
  grid-template-columns: minmax(9rem, 0.6fr) 1.4fr;
  gap: 1rem;
  background: var(--pale);
  padding: 1.5rem;
  border-radius: var(--radius-control);
}
.review-list dd {
  margin: 0;
}
.video-grid .image-link {
  overflow: clip;
}
.video-grid img {
  border-radius: var(--radius-media);
  aspect-ratio: 1.78;
}
.video-grid h3 {
  font-size: 1.65rem;
}
.press-preview {
  background: white;
  border-radius: var(--radius-panel);
}
.press-preview > span {
  font-weight: 700;
}
.press-preview h3 {
  font-size: 1.8rem;
}
.public-practice {
  background: var(--pale);
  gap: 5rem;
}
.event-feature > img,
.event-grid article > img,
.event-detail > div > img {
  border-radius: var(--radius-media);
}
.closing-cta {
  background: var(--ink);
  color: white;
}
.closing-cta .button {
  background: white;
  color: var(--ink);
}
.site-footer {
  background: white;
  padding-top: 4.5rem;
}
.footer-intro > a img {
  width: 10.5rem;
  height: auto;
}
.site-footer a {
  font-weight: 400;
}
.footer-bottom {
  color: var(--muted);
}
.detail-cover {
  padding-top: 0;
  padding-bottom: 3rem;
}
.detail-cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 45rem;
  margin: auto;
  object-fit: contain;
  border-radius: var(--radius-media);
  background: var(--pale);
}
.inline-evidence img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-media);
}
.reading-column {
  max-width: 51rem;
}
.reading-column h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
}
.reading-column p {
  font-size: 1.125rem;
  line-height: 1.7;
}
.reading-nav {
  background: var(--pale);
  padding: 1.5rem;
  border-radius: var(--radius-control);
}
.reading-nav nav a {
  font-weight: 700;
}
.service-rows > article {
  padding-block: 2.5rem;
}
.situation-pair article {
  border-radius: var(--radius-panel);
  background: var(--pale);
}
.situation-pair article:first-child {
  background: var(--ink);
  color: white;
}
.situation-pair article:first-child .button {
  background: white;
  color: var(--ink);
}
.medical-service {
  background: var(--pale);
}
.medical-layout img,
.integration-feature img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--radius-media);
}
.medical-layout > div,
.integration-feature > div {
  min-width: 0;
}
.integration-feature {
  grid-template-columns: 1fr 1fr;
}
.collection-filters {
  border-radius: var(--radius-panel);
}
.js .collection-filters {
  background: var(--pale);
  padding: 1.5rem;
}
.collection-filters input,
.collection-filters select,
#brief-scope {
  border-radius: var(--radius-control);
  border-color: #99a2af;
}
.reset-button {
  border-radius: var(--radius-control);
  border-color: var(--ink);
}
.result-count {
  font-weight: 700;
}
.empty-results {
  background: var(--pale);
  border-radius: var(--radius-panel);
}
.brief-builder {
  background: var(--pale);
  border-radius: var(--radius-panel);
}
.brief-summary {
  border-radius: var(--radius-control);
}
.facts-grid p {
  max-width: 23rem;
}
.company-facts {
  background: var(--pale);
}
.company-story h3 {
  font-size: 2rem;
}
@media (hover: hover) and (pointer: fine) {
  .case-card .image-link:hover img {
    transform: scale(1.025);
  }
  .client-panel:hover .client-destination > span {
    transform: translate(0.2rem, -0.2rem);
  }
}
@media (max-width: 1220px) {
  .role-tabs {
    gap: 0.7rem;
  }
  .role-tabs > a {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.45rem 0.5rem;
  }
  .role-tabs > a .line-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
  .role-label {
    font-size: 0.95rem;
  }
  .role-hint {
    font-size: 0.875rem;
  }
  .role-indicator {
    width: 2.5rem;
    height: 2.5rem;
  }
  .role-panel {
    gap: 3rem;
  }
  .role-panel .scope-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .ecosystem {
    padding: 2rem;
  }
  .flow-stages {
    gap: 2.3rem;
  }
  .flow-stage a {
    font-size: 0.875rem;
  }
  .flow-stage > p {
    min-height: 6rem;
  }
  .solution-large {
    padding: 2rem;
  }
  .product-visual,
  .product-copy {
    padding: 1.75rem;
  }
  .product-home-grid .product-card:first-child .product-visual,
  .product-home-grid .product-card:first-child .product-copy {
    padding: 2rem;
  }
  .client-panel {
    padding: 1.75rem;
  }
  .review-feature {
    gap: 3rem;
  }
  .review-synthesis {
    padding: 2rem;
  }
  .review-points {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 950px) {
  .section {
    padding-block: 4.5rem;
  }
  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2.75rem;
  }
  .header-right {
    background: transparent;
  }
  .hero-header .header-top {
    background: var(--ink);
    border-top-right-radius: var(--radius-shell);
  }
  .hero-header .primary-nav {
    background: var(--ink);
  }
  .hero-header .menu-toggle {
    background: var(--ink);
    border-top-right-radius: var(--radius-shell);
  }
  .hero-shade {
    background: linear-gradient(0deg, #10151c 0%, #10151ce8 40%, #10151c33 85%, transparent);
  }
  .role-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
  }
  .role-tabs > a {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0 0.8rem;
    gap: 0.75rem;
    min-height: 8.5rem;
  }
  .role-label {
    font-size: 0.95rem;
  }
  .role-hint {
    font-size: 0.875rem;
    margin-top: -0.35rem;
  }
  .role-panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .role-panel .scope-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .role-proof {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
  .role-proof > img {
    aspect-ratio: 1.25;
    height: 100%;
    object-fit: cover;
  }
  .role-proof > div {
    padding: 1.5rem;
  }
  .ecosystem {
    padding: 2.5rem;
  }
  .flow-intro {
    display: block;
    margin-bottom: 2.5rem;
  }
  .flow-intro > p {
    margin-top: 1.3rem;
    max-width: 35rem;
  }
  .flow-stages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .flow-stage.eco-node {
    padding-left: 7rem;
    min-height: 15rem;
  }
  .stage-symbol {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }
  .flow-stage h3 {
    font-size: 1.6rem;
  }
  .flow-stage > p {
    min-height: 0;
    font-size: 1rem;
  }
  .flow-stage > ul {
    margin-top: 1rem;
    max-width: 28rem;
  }
  .flow-stage a {
    font-size: 1rem;
  }
  .flow-port {
    left: 2rem;
    right: auto;
    top: -0.25rem;
  }
  .flow-stage .port-out {
    top: 4.25rem;
    bottom: auto;
  }
  .flow-return {
    flex-wrap: wrap;
  }
  .flow-return a {
    margin-left: 0;
  }
  .flow-stage:not(:last-child)::before {
    content: '↓';
    top: auto;
    right: auto;
    left: 1.8rem;
    bottom: -3rem;
  }
  .solution-layout {
    grid-template-columns: 1fr;
  }
  .solution-large {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 1.5rem;
  }
  .solution-large > img {
    height: 100%;
    max-height: 23rem;
    margin: 0;
  }
  .solution-stack {
    grid-template-columns: 1fr;
  }
  .solution-stack article {
    padding: 2rem 0;
  }
  .solution-stack h3 {
    font-size: 2rem;
  }
  .home-work .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-work .case-card:nth-child(n) {
    grid-column: auto;
  }
  .product-home-grid,
  .product-catalog {
    gap: 1.5rem;
  }
  .product-home-grid .product-card:first-child .product-copy h3 {
    font-size: 2.5rem;
  }
  .product-home-grid .product-card:first-child .product-visual {
    padding: 1.75rem;
  }
  .product-home-grid .product-card:first-child .product-copy {
    padding: 1.75rem;
  }
  .product-process {
    gap: 1rem;
  }
  .product-process li {
    font-size: 0.875rem;
  }
  .product-home-grid .product-card:first-child .product-process {
    gap: 1rem;
  }
  .product-copy h3 {
    font-size: 1.8rem;
  }
  .product-home-grid .product-card:first-child .product-process .line-icon {
    width: 2rem;
    height: 2rem;
  }
  .archive-link {
    display: block;
  }
  .archive-link > .text-link {
    margin: 1rem 0 0 3rem;
  }
  .client-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-logo {
    max-width: 12rem;
  }
  .review-feature {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .review-intro p {
    max-width: 43rem;
  }
  .review-points {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .public-practice {
    gap: 3rem;
  }
  .press-preview {
    padding: 1.5rem;
  }
  .press-preview h3 {
    font-size: 1.6rem;
  }
  .product-detail-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-art .product-visual {
    min-height: 0;
    gap: 2.5rem;
    max-width: 43rem;
    padding: 2rem;
  }
  .product-art .product-process {
    max-width: 35rem;
    width: 100%;
  }
  .review-list dl {
    grid-template-columns: 1fr;
  }
  .integration-feature {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .medical-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .medical-layout img {
    max-width: min(100%, 43rem);
  }
}
@media (max-width: 650px) {
  .hero-stage {
    margin: 0.5rem;
  }
  .hero-header .header-top {
    border-top-right-radius: 0;
  }
  .hero-header .menu-toggle {
    border-top-right-radius: var(--radius-shell);
  }
  .hero-copy {
    padding: 0 1.25rem 2rem;
  }
  .hero-copy h1 {
    font-size: clamp(2.65rem, 11.5vw, 4rem);
  }
  .hero-fact {
    border-radius: var(--radius-control);
    padding: 1.5rem;
  }
  .logo-compartment img {
    width: 8.75rem;
  }
  .section {
    padding-block: 3.5rem;
  }
  .company-proof {
    padding-block: 2.5rem 0;
  }
  .section-heading {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .page-lead {
    padding-block: 2.5rem;
  }
  .page-lead h1 {
    font-size: 2.35rem;
  }
  .role-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .role-tabs > a {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
    padding: 0.35rem 0;
    gap: 0.3rem 0.6rem;
    min-height: 4.7rem;
  }
  .role-tabs > a .line-icon {
    grid-row: 1/3;
    width: 2.5rem;
    height: 2.5rem;
  }
  .role-tabs > a::after {
    display: none;
  }
  .role-tabs > a:last-child {
    grid-column: 1/-1;
  }
  .role-label {
    font-size: 0.95rem;
  }
  .role-hint {
    font-size: 0.875rem;
    margin: 0;
  }
  .role-indicator {
    width: 2.5rem;
    height: 2.5rem;
  }
  .role-panel {
    min-height: 0;
    gap: 2rem;
  }
  .role-panel .scope-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .role-panel > div > h3 {
    font-size: 1.9rem;
  }
  .role-proof {
    display: block;
    border-radius: var(--radius-panel);
  }
  .role-proof > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
  }
  .role-proof > div {
    padding: 1.5rem;
  }
  .role-proof h4 {
    font-size: 1.5rem;
  }
  .role-proof .text-link {
    display: flex;
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
  }
  .ecosystem {
    margin-top: 3rem;
    padding: 2rem 1.25rem;
    border-radius: var(--radius-panel);
  }
  .flow-intro h3 {
    font-size: 1.75rem;
  }
  .flow-intro > p {
    font-size: 1rem;
  }
  .flow-stage.eco-node {
    padding-left: 3.8rem;
    min-height: 17rem;
  }
  .stage-symbol {
    width: 2.75rem;
    height: 2.75rem;
  }
  .stage-symbol .line-icon {
    width: 1.6rem;
    height: 1.6rem;
  }
  .flow-stage h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
  }
  .flow-stage > p {
    font-size: 0.95rem;
  }
  .flow-stage a {
    font-size: 0.95rem;
    gap: 0.5rem;
    min-height: 3.3rem;
  }
  .flow-stage .port-in,
  .flow-stage .port-out {
    left: 1.1rem;
  }
  .flow-stage .port-out {
    top: 2.5rem;
  }
  .flow-stage:not(:last-child)::before {
    left: 0.9rem;
  }
  .flow-return {
    padding-top: 1.5rem;
    margin-top: 2rem;
    gap: 0.75rem;
  }
  .flow-return p {
    flex: 1;
    font-size: 0.95rem;
  }
  .flow-return a {
    font-size: 0.95rem;
  }
  .solution-large {
    display: block;
    padding: 1.75rem;
  }
  .solution-large > img {
    height: 16rem;
    margin: 1.5rem auto;
    max-width: 100%;
  }
  .solution-stack article {
    padding: 1.75rem 0;
  }
  .solution-stack h3 {
    font-size: 1.8rem;
  }
  .home-work .case-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .card-text h3 {
    font-size: 1.8rem;
  }
  .image-action {
    width: 3rem;
    height: 3rem;
  }
  .product-home-grid,
  .product-catalog {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-home-grid .product-card:first-child {
    display: flex;
    grid-column: auto;
  }
  .product-home-grid .product-card:first-child .product-visual,
  .product-home-grid .product-card:first-child .product-copy,
  .product-visual,
  .product-copy {
    padding: 1.5rem;
  }
  .product-home-grid .product-card:first-child .product-copy h3 {
    font-size: 2rem;
  }
  .product-copy h3 {
    font-size: 1.8rem;
  }
  .product-process {
    gap: 1.4rem;
  }
  .product-process li {
    font-size: 0.875rem;
  }
  .product-emblem .app-icon {
    width: 3rem;
    height: 3rem;
  }
  .product-emblem > span {
    font-size: 0.9rem;
  }
  .product-copy .read-link {
    font-size: 1rem;
  }
  .archive-link {
    margin-top: 1rem;
    padding-bottom: 0;
  }
  .archive-link > div {
    align-items: start;
  }
  .archive-link > .text-link {
    margin-left: 0;
  }
  .module-users {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .module-users img {
    aspect-ratio: 1.8;
  }
  .client-panels {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .client-panel {
    padding: 1.75rem;
  }
  .client-logo {
    max-width: 13rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
  }
  .client-destination {
    padding-top: 1.4rem;
    font-size: 1rem;
  }
  .review-feature {
    margin-top: 3rem;
    gap: 2.5rem;
  }
  .review-intro h3 {
    font-size: 2rem;
  }
  .review-synthesis {
    padding: 1.75rem;
  }
  .review-points {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .review-synthesis h4 {
    font-size: 1.8rem;
  }
  .review-list dl {
    padding: 1.25rem;
  }
  .client-card {
    padding: 1.75rem;
  }
  .client-card h2 {
    font-size: 1.8rem;
  }
  .public-practice {
    gap: 3.5rem;
  }
  .press-preview h3 {
    font-size: 1.7rem;
  }
  .detail-cover {
    padding-top: 0;
    padding-bottom: 2rem;
  }
  .reading-column p {
    font-size: 1.05rem;
  }
  .reading-nav {
    padding: 1.25rem;
  }
  .product-detail-hero {
    padding-top: 2.5rem;
    gap: 2rem;
  }
  .product-art .product-visual {
    padding: 1.5rem;
    gap: 2rem;
  }
  .product-detail-hero .actions .button {
    width: 100%;
  }
  .site-footer {
    padding-top: 3rem;
  }
  .footer-intro > a img {
    width: 10.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-art img,
  .button,
  .role-indicator,
  .flow-edge,
  .stage-symbol {
    animation: none !important;
    transition: none !important;
  }
  .case-card .image-link:hover img {
    transform: none;
  }
}
@media print {
  .section {
    padding-block: 1.5rem;
  }
  .flow-lines {
    display: none;
  }
  .ecosystem {
    background: white;
    color: black;
  }
  .flow-stage a,
  .flow-stage > p,
  .flow-intro > p,
  .flow-return a {
    color: black;
  }
  .flow-stages {
    display: block;
  }
  .flow-stage.eco-node {
    padding: 1rem 0;
  }
  .stage-symbol,
  .flow-port {
    display: none;
  }
  .flow-stage > p {
    min-height: 0;
  }
  .product-home-grid .product-card:first-child .product-visual {
    background: #eee;
    color: black;
  }
  .review-synthesis,
  .closing-cta {
    background: white;
    color: black;
  }
  .review-points p,
  .review-synthesis .text-link {
    color: black;
  }
}
