/* Extensions to the production service hero, capability tiles, and CTA. */
.system-handoff-overview, .system-handoff-detail {
  --system-inset: clamp(28px, 7vw, 110px);
  --system-space: clamp(32px, 5vw, 66px);
  --system-muted: #b7b7b4;
}

.system-wrap { padding-inline: var(--system-inset); }
.system-wrap h2 { font-size: clamp(27px, 3.4vw, 49px); font-weight: 500; letter-spacing: -.05em; line-height: 1.08; }
.system-wrap p { color: var(--system-muted); line-height: 1.55; max-width: 68ch; }
.system-wrap h2 + p { margin-top: 12px; }

body.preview-only .preview-service-nav a[aria-current="location"] {
  border-bottom-color: var(--signal) !important;
  box-shadow: inset 0 -2px 0 var(--signal);
}
.system-handoff-overview #synapse { scroll-margin-top: 92px; }
.system-map { margin-block: 0 var(--system-space); }
.system-map h2 { font-size: 22px; margin-bottom: 14px; letter-spacing: -.02em; }
.system-map-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.system-map-links a {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 17px clamp(12px, 2vw, 24px);
  color: inherit;
  background: linear-gradient(145deg, color-mix(in srgb, var(--signal) 8%, #101010), #101010 72%);
  border-top: 2px solid color-mix(in srgb, var(--signal) 60%, #101010);
}
.system-map-links a:last-child { grid-column: 1 / -1; }
.system-map-links a:is(:hover, :focus-visible) { border-top-color: var(--signal); background-color: #191919; }
.system-map-links strong { font-size: clamp(15px, 1.65vw, 23px); font-weight: 500; overflow-wrap: anywhere; }
.system-map-links span { font-size: 14px; line-height: 1.35; color: #b7b7b4; }
.system-map-links a:focus-visible, .system-wrap a:focus-visible, .system-related-research a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  z-index: 1;
}
.capability-grid.system-linked-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.capability-grid.system-linked-capabilities li { display: flex; align-items: stretch; padding: 0 !important; }
.capability-grid.system-linked-capabilities li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.capability-grid.system-linked-capabilities li:focus-within::before { transform: scaleY(1); }
.system-linked-capabilities li > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 5px 13px;
  width: 100%;
  padding: 24px 27px 24px 26px;
  text-decoration: none;
}
.system-linked-capabilities li > a:focus-visible { outline: 2px solid var(--signal, var(--lime)); outline-offset: -3px; }
.system-linked-capabilities li > a::after { content: "↗" / ""; grid-column: 2; grid-row: 1; color: inherit; font-size: .85em; }
.system-linked-capabilities strong { font-weight: 400; line-height: 1.25; }
.system-linked-capabilities span { grid-column: 1; color: #b7b7b4; font-size: 15px; line-height: 1.4; max-width: 64ch; }

.system-related-research { margin-block: 22px 0; }
.system-related-research h3 { font: 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--signal); margin-bottom: 9px; }
.system-related-research ul, .system-panel-links, .research-system-links ul { display: grid; gap: 7px; }
.system-related-research a, .system-wrap a:not([class]), .system-panel a {
  text-decoration: underline;
  text-decoration-color: #81817f;
  text-underline-offset: 3px;
}
.system-map .system-map-links a { text-decoration: none; }
.system-synapse {
  --signal: var(--lime);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--system-space);
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 83% 20%, #39ff1411, transparent 65%), #101010;
}
.system-engagement, .system-example, .system-workflow, .system-examples, .system-audit, .system-related-offerings {
  padding-block: var(--system-space);
  border-top: 1px solid var(--line);
}
body.preview-only.system-handoff-overview .system-read-cta.system-engagement { display: block; }
body.preview-only.system-handoff-overview .system-read-cta.system-engagement h2 { max-width: none; font-size: clamp(27px, 3.4vw, 49px); }
body.preview-only.system-handoff-overview .system-read-cta.system-engagement p { max-width: 68ch; }
.system-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(18px, 3vw, 42px);
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.system-timeline-service { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.system-timeline > li { border-top: 2px solid var(--signal); padding-top: 14px; }
.system-handoff-overview .system-timeline > li { border-top-color: #686866; }
.system-timeline h3 { font-size: 20px; line-height: 1.15; font-weight: 500; }
.system-timeline span { display: block; font: 12px/1.4 var(--mono); color: var(--signal); margin-top: 8px; }
.system-handoff-overview .system-timeline span { color: var(--system-muted); }
.system-timeline p { margin-top: 8px; }
.system-timeline ol { color: var(--system-muted); list-style: decimal; padding-left: 21px; display: grid; gap: 5px; margin-top: 10px; }
.system-timing-note { font-size: 14px; margin-top: 18px; }
.system-actions { display: flex; flex-wrap: wrap; align-items: center; margin-top: 26px; gap: 12px; }
:is(.system-handoff-overview, .system-handoff-detail) .topbar {
  inset-inline: 0;
  width: auto;
  grid-template-columns: minmax(0, 1fr) auto;
}
:is(.system-handoff-overview, .system-handoff-detail) .topbar .brand-lockup { justify-self: start; }
:is(.system-handoff-overview, .system-handoff-detail) .topbar .index-trigger { min-height: 44px; border-radius: 8px; }
:is(.system-handoff-overview, .system-handoff-detail) .index-trigger:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
:is(.system-handoff-overview, .system-handoff-detail) .index-layer { overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 480px) {
  .system-actions { align-items: stretch; flex-direction: column; }
  .system-actions .lowob-action { width: 100%; }
}

.system-breadcrumb { padding-block: 18px; border-bottom: 1px solid var(--line); }
.system-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.4; }
.system-breadcrumb li + li::before { content: "/" / ""; color: #81817f; margin-right: 10px; }
.system-breadcrumb [aria-current] { color: var(--system-muted); }
.system-handoff-detail .detail-hero.system-offering-hero { min-height: 0; height: auto; padding: var(--system-space) var(--system-inset); }
.system-handoff-detail .system-offering-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(40px, 7.3vw, 106px);
  line-height: .98;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}
.system-handoff-detail .system-offering-hero > p { margin-top: 20px; color: var(--system-muted); }
.system-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.system-wrap.system-panels { margin: var(--system-space) var(--system-inset); padding: 0; }
.system-panel { min-width: 0; padding: clamp(18px, 3vw, 34px); background: #101010; }
.system-panel h2 { font-size: clamp(19px, 2.1vw, 29px); letter-spacing: -.03em; line-height: 1.2; }
.system-panel h2::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--signal); vertical-align: .17em; }
.system-panel p + p, .system-panel-links { margin-top: 13px; }
.system-panel-note, .system-panel-links { font-size: 14px; }
.system-related-offerings .capability-grid, .system-workflow .system-panels, .system-examples .system-panels, .system-table-region { margin-block-start: 22px; }
.system-examples > p { margin-top: 16px; }
.system-table-region { overflow-x: auto; }
.system-table-region:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.system-audit table { width: 100%; border-collapse: collapse; }
.system-audit :is(th, td) { border: 1px solid var(--line); padding: clamp(8px, 1.5vw, 16px); text-align: left; vertical-align: top; font-size: clamp(12px, 1.3vw, 17px); line-height: 1.45; }
.system-audit th { font-weight: 600; }
.system-audit thead th { background: #121612; }
.system-audit tbody td { color: var(--system-muted); }

@media (max-width: 780px) {
  .system-handoff-overview, .system-handoff-detail { --system-inset: 24px; }
  .system-handoff-overview #synapse { scroll-margin-top: 76px; }
  .system-map-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-grid.system-linked-capabilities { grid-template-columns: 1fr; }
  .capability-grid.system-linked-capabilities li:nth-child(odd) { border-right: 0; }
  .system-linked-capabilities li > a { padding: 17px; }
}
@media (max-width: 640px) {
  .system-panels, .system-timeline, .system-timeline-service { grid-template-columns: 1fr; }
  .system-timeline { row-gap: 20px; }
}
