.pipeline {
  --pipeline-purple: #ae9bff;
  --pipeline-sky: #9cd6f7;
  --pipeline-rule: #303036;
}
.pipeline-presentation.is-tabbed {
  display: grid;
  grid-template-columns: minmax(224px, 1fr) minmax(0, 3fr);
  align-items: start;
  gap: clamp(16px, 3vw, 36px);
}
.pipeline-tabs:not([hidden]) { display: grid; gap: 8px; }
.pipeline-tabs button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 8px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 16px;
  border: 1px solid #273640;
  border-radius: 16px;
  background: #08090b;
  color: var(--pipeline-sky);
  text-align: start;
  font: inherit;
  cursor: pointer;
}
.pipeline-tabs button[aria-selected="true"] {
  border-color: var(--pipeline-purple);
  background: #171421;
  color: var(--pipeline-purple);
}
.pipeline-tabs button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .32; }
.pipeline-tabs button[aria-selected="true"]::after { opacity: 1; }
.pipeline-tab-number { font: 700 1.25rem/1 var(--studio-font); font-variant-numeric: tabular-nums; }
.pipeline-tab-title, .pipeline-tab-subtitle { display: block; overflow-wrap: anywhere; }
.pipeline-tab-title { font-size: 1rem; font-weight: 700; }
.pipeline-tab-subtitle { margin-top: 3px; font: 500 .75rem/1.2 var(--studio-font); letter-spacing: .05em; text-transform: uppercase; }
.pipeline-tabs button:focus-visible,
.pipeline-faq :is(summary, a):focus-visible {
  outline: 2px solid var(--pipeline-sky);
  outline-offset: 3px;
}
.pipeline-presentation.is-tabbed .pipeline-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-width: 0; }
.pipeline-presentation.is-tabbed [data-pipeline-panel] {
  grid-area: 1 / 1;
  container-type: inline-size;
  padding: clamp(16px, 4vw, 32px);
  border: 1px solid #302638;
  border-radius: 12px;
  background: #08070a;
}
.pipeline-presentation.is-tabbed [data-pipeline-panel][inert] { visibility: hidden; }
/* Size the four overview panels together. The comparison has its own dimensions. */
.pipeline-presentation.is-tabbed #geometry[inert],
.pipeline-presentation.is-tabbed .pipeline-features:has(#geometry:not([inert])) [data-pipeline-panel][inert] {
  display: none;
}
.pipeline-presentation.is-tabbed .pipeline-index { color: var(--pipeline-purple); }
.pipeline-presentation.is-tabbed [data-pipeline-panel] h3 { color: #eee6ff; }
.pipeline-presentation.is-tabbed [data-pipeline-panel] > p:not(.pipeline-index) { color: #cfc1e8; }
.pipeline-presentation.is-tabbed [data-pipeline-panel] .technical-visual {
  height: auto;
  aspect-ratio: auto;
  background: radial-gradient(ellipse at center, rgb(32 81 88 / .05), transparent 73%);
}
.pipeline-presentation.is-tabbed [data-pipeline-panel] .technical-visual > svg {
  width: min(100%, 900px);
  max-width: none;
  height: auto;
  overflow: visible;
}
.pipeline-presentation [data-pipeline-panel] .technical-visual > svg text {
  font-family: var(--studio-font);
}
@container (min-width: 500px) {
  .pipeline-presentation [data-pipeline-panel] .technical-visual > svg :is(path, line, polyline, polygon, rect, circle, ellipse) {
    vector-effect: non-scaling-stroke;
  }
}
@media (min-width: 781px) {
  .pipeline-presentation.is-tabbed [data-pipeline-panel] { display: flex; flex-direction: column; }
  .pipeline-presentation.is-tabbed [data-pipeline-panel] .technical-visual { flex: 1 0 auto; }
}
.pipeline-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 22px);
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.pipeline-workflow > li {
  display: grid;
  align-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: clamp(12px, 2vw, 26px);
  border: 1px solid #2b3745;
  border-radius: 14px;
  background: linear-gradient(135deg, #0c1117, #09090d 85%);
  color: var(--pipeline-sky);
  overflow-wrap: anywhere;
}
.pipeline-workflow > .pipeline-workflow-accent {
  border-color: #534570;
  background: linear-gradient(135deg, #160f20, #0d0a12 85%);
  color: var(--pipeline-purple);
}
.pipeline-workflow-art { display: grid; place-items: center; width: min(100%, 128px); aspect-ratio: 112 / 76; }
.pipeline .pipeline-workflow-art svg { display: block; width: 100%; height: auto; }
.pipeline-workflow-art img { display: block; max-width: 65%; height: auto; }
.pipeline-workflow .workflow-guide { opacity: .36; }
.pipeline-workflow-number { font: 500 .75rem/1.4 var(--studio-font); letter-spacing: .08em; }
.pipeline-workflow strong, .pipeline-workflow small { display: block; }
.pipeline-workflow strong { margin-top: 4px; color: #eee9f8; font-size: 1rem; font-weight: 700; line-height: 1.4; }
.pipeline-workflow small { margin-top: 5px; color: #c3bacf; font-size: .8125rem; line-height: 1.5; }
@container (min-width: 660px) {
  .pipeline-workflow > li { grid-template-columns: minmax(0, 1fr) minmax(96px, .75fr); gap: 16px; }
  .pipeline-workflow > li > div { grid-area: 1 / 1; }
  .pipeline-workflow-art { grid-area: 1 / 2; justify-self: end; }
}
.pipeline-faq {
  margin-top: clamp(42px, 7vw, 88px);
  padding-top: clamp(22px, 4vw, 40px);
  border-top: 1px solid var(--pipeline-rule);
}
.pipeline-comparison { width: 100%; }
.pipeline-compare-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #c4c4ce;
  font-size: .875rem;
}
.pipeline-compare-labels > span:last-child, .pipeline-faq em { color: var(--pipeline-purple); }
.pipeline-compare-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
  border-radius: 8px;
}
.pipeline-compare-stage img { display: block; width: 100%; height: auto; }
.pipeline-compare-stage.is-interactive {
  --split: 48%;
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-height: max(37.5rem, 75cqw);
  cursor: ew-resize;
  touch-action: pan-y;
}
.pipeline-compare-stage.is-interactive img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
}
.pipeline-compare-stage.is-interactive .pipeline-restored { clip-path: inset(0 0 0 var(--split)); }
.pipeline-compare-stage input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.pipeline-compare-stage:not(.is-interactive) .pipeline-divider { display: none; }
.pipeline-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(20px, var(--split), calc(100% - 20px));
  width: 2px;
  background: var(--pipeline-purple);
  transform: translateX(-50%);
}
.pipeline-divider::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #14111c;
  color: var(--pipeline-purple);
  transform: translate(-50%, -50%);
}
.pipeline-compare-stage input:focus-visible + .pipeline-divider::after { outline: 2px solid var(--pipeline-sky); }
.pipeline-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 24px 48px; }
.pipeline-faq-label { margin: 0 0 8px; color: var(--pipeline-purple); font: 500 .875rem var(--studio-font); letter-spacing: .12em; }
.pipeline-faq em { font-style: normal; }
.pipeline-faq-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 24px;
  background: var(--pipeline-sky);
  color: #0d1820;
  font-weight: 700;
  text-decoration: none;
}
.pipeline-faq details { border-top: 1px solid var(--pipeline-rule); }
.pipeline-faq details:last-child { border-bottom: 1px solid var(--pipeline-rule); }
.pipeline-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 12px 3px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}
.pipeline-faq summary::-webkit-details-marker { display: none; }
.pipeline-faq summary::after {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-right: 4px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.pipeline-faq details[open] summary { color: var(--pipeline-purple); }
.pipeline-faq details[open] summary::after { transform: rotate(225deg); }
.pipeline-faq details p { margin: 0; padding: 0 22px 18px 3px; color: #bfc0c7; line-height: 1.75; }
@media (max-width: 780px) {
  .pipeline-presentation.is-tabbed, .pipeline-faq { grid-template-columns: minmax(0, 1fr); }
  .pipeline-tabs:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline-tabs button {
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    gap: 4px 7px;
    min-height: 66px;
    padding: 8px;
    border-radius: 12px;
  }
  .pipeline-tabs button::after { display: none; }
  .pipeline-tab-copy { display: contents; }
  .pipeline-tab-number { font-size: 1rem; }
  .pipeline-tab-title { font-size: clamp(.8125rem, 3.4vw, 1rem); letter-spacing: -.04em; }
  .pipeline-tab-subtitle {
    grid-column: 1 / -1;
    margin: 0;
    font-size: clamp(.625rem, 2.7vw, .75rem);
    letter-spacing: -.02em;
  }
}
@media (max-width: 350px) {
  .pipeline-tabs button { column-gap: 4px; padding-inline: 6px; }
  .pipeline-tab-number { font-size: .8125rem; }
  .pipeline-tab-title { font-size: .75rem; }
  .pipeline-tab-subtitle { font-size: .59375rem; letter-spacing: -.035em; }
}
