/* Custom automation: the selected Glass design. */
.system.system--glass {
  --system-line: var(--nur7-light-line);
  padding: 76px 28px 64px;
  background: #f5f5f7;
}
.system--glass .system__inner { width: min(1180px, 100%); }
.system.system--glass .system__heading h2 {
  font-family: inherit;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.065em;
  color: var(--nur7-violet-hover);
  background: var(--nur7-light-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.system.system--glass .system__process {
  position: relative;
  width: min(1060px, 100%);
  margin-top: 40px;
  border-top: 1px solid var(--system-line);
  text-align: center;
}
.system.system--glass .system__step { padding: 25px 32px 3px; align-items: center; text-align: center; }
.system.system--glass .system__step + .system__step { border-left-color: var(--system-line); }
.system.system--glass .system__step h3 { font-size: clamp(25px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.05em; line-height: 1.2; color: var(--nur7-light-text); }
.system.system--glass .system__step > p:last-child { max-width: 420px; margin: 15px auto 0; font-size: 17px; line-height: 1.6; color: var(--nur7-light-muted); }
.system-diagram {
  position: relative;
  isolation: isolate;
  width: min(1140px, 100%);
  margin: 42px auto 30px;
  padding: 30px 30px 31px;
  border: 1px solid var(--nur7-light-line);
  border-radius: 34px;
  background: var(--nur7-light-surface);
}
.system-flow {
  --disc: 150px;
  --core: 194px;
  --track: var(--nur7-light-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}
.system-flow::before,
.system-flow::after { content: ""; position: absolute; top: calc(var(--core) / 2); left: 12.5%; right: 12.5%; height: 1px; pointer-events: none; }
.system-flow::before { background: var(--track); }
.system-flow::after {
  top: calc(var(--core) / 2 - .5px);
  height: 2px;
  background: linear-gradient(90deg,transparent 28%,color-mix(in srgb,var(--nur7-violet) 25%,transparent) 39%,var(--nur7-violet) 44%,var(--nur7-accent-soft) 46%,transparent 47%) 110% 0 / 360% 100% no-repeat;
  animation: system-flow-current 8s linear infinite paused;
}
.system-flow[data-active="true"]::after { animation-play-state: running; }
@keyframes system-flow-current { from { background-position: 110% 0; } to { background-position: -30% 0; } }
.system-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.system-node__socket { display: grid; place-items: center; width: 100%; height: var(--core); }
.system-node__face {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--disc);
  height: var(--disc);
  border: 1px solid var(--nur7-light-line);
  border-radius: 50%;
  background: linear-gradient(150deg,var(--nur7-light-surface) 25%,var(--nur7-light-raised) 70%,var(--nur7-light-control));
  color: var(--nur7-light-muted);
  box-shadow: inset 0 2px 2px #fff,inset 0 -2px 3px #20212418,0 16px 23px -17px #20212445;
}
.system-node__face > svg { width: 43px; height: 43px; filter: drop-shadow(0 1px #fff); }
.system-node__face > img { width: 72px; height: 72px; object-fit: contain; }
.system-node__name { display: block; margin-top: 17px; max-width: min(100%, 15ch); color: var(--nur7-light-body); font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; text-align: center; }
.system-node--business .system-node__name { max-width: 100%; }
.system-node--nur7 .system-node__name { max-width: min(100%, 22ch); text-wrap: balance; }
.system-node--nur7 .system-node__face {
  width: var(--core);
  height: var(--core);
}
.system.system--glass .system__inner > .action { margin-top: 0; min-height: 48px; }
.system--glass .system-diagram {
  padding-top: 34px;
  padding-bottom: 35px;
  border: 1px solid var(--nur7-light-surface);
  background: radial-gradient(ellipse at 50% 100%,var(--nur7-light-tint),transparent 64%),linear-gradient(135deg,var(--nur7-light-surface),var(--nur7-light-raised) 57%,var(--nur7-light-surface));
  box-shadow: inset 0 1px #fff,0 20px 45px -30px #20212433;
}
.system--glass .system-flow { --disc: 154px; --core: 194px; --track: var(--nur7-light-line); }
.system--glass .system-node__face {
  border: 1px solid transparent;
  background: linear-gradient(140deg,#fff,var(--nur7-light-raised) 62%,var(--nur7-light-control)) padding-box,conic-gradient(from 140deg,var(--nur7-light-edge),#fff 18%,var(--nur7-light-line) 38%,#fff 52%,var(--nur7-light-edge) 71%,#fff 83%,var(--nur7-light-edge)) border-box;
  box-shadow: inset 0 0 0 4px #ffffff6b,inset 2px 3px 5px #fff,inset -2px -3px 5px #20212414,0 13px 20px -15px #20212455;
  color: var(--nur7-light-muted);
}
.system--glass .system-node__face::after { position: absolute; content: ""; inset: 8px; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 1px 1px #2021241f; pointer-events: none; }
.system--glass .system-node--nur7 .system-node__face {
  background: radial-gradient(ellipse at 20% 5%,#fff,var(--nur7-light-raised) 50%,var(--nur7-light-tint-strong) 100%) padding-box,conic-gradient(from 160deg,var(--nur7-light-tint-strong),#fff 22%,var(--nur7-light-edge) 45%,#fff 65%,var(--nur7-light-tint-strong) 87%,var(--nur7-light-tint-strong)) border-box;
  box-shadow: inset 0 0 0 6px #ffffff63,inset 0 2px 4px #fff,0 0 0 8px #ffffff38,0 21px 34px -20px #20212455;
}
.system--glass .system-node--nur7 img { filter: brightness(0); opacity: .87; }
.system--glass .system-node--publish .system-node__face { color: var(--nur7-violet-icon); background: radial-gradient(ellipse at 20% 5%,#fff 0,var(--nur7-light-tint) 40%,color-mix(in srgb,var(--nur7-violet) 42%,#fff) 100%) padding-box,linear-gradient(135deg,#fff,color-mix(in srgb,var(--nur7-violet) 60%,#fff),#fff) border-box; }
.system--glass .system-node--publish svg { filter: none; }

@media (min-width: 761px) and (max-width: 1000px) {
  .system-flow, .system--glass .system-flow { --disc: 120px; --core: 158px; }
  .system-node__face > svg { width: 34px; height: 34px; }
  .system-node__face > img { width: 62px; height: 62px; }
}

@media (max-width: 760px) {
  .system.system--glass { padding: 54px 20px 52px; }
  .system.system--glass .system__heading h2 { font-size: 36px; }
  .system.system--glass .system__process { margin-top: 30px; width: min(100%, 520px); }
  .system.system--glass .system__step { padding: 22px 0 25px; }
  .system.system--glass .system__step + .system__step { padding: 25px 0 0; border-left: 0; border-top-color: var(--system-line); }
  .system.system--glass .system__step h3 { font-size: 25px; }
  .system.system--glass .system__step > p:last-child { max-width: 34ch; margin-top: 13px; font-size: 17px; line-height: 1.55; }
  .system--glass .system-diagram { margin-top: 34px; margin-bottom: 25px; padding: 28px 7px 25px; border-radius: 25px; }
  .system-flow, .system--glass .system-flow { --disc: clamp(46px, 15vw, 76px); --core: clamp(58px, 18vw, 92px); }
  .system-node__face > svg { width: 24px; height: 24px; }
  .system-node__face > img { width: 32px; height: 32px; }
  .system-node__name { font-size: 12px; line-height: 1.35; letter-spacing: -.02em; margin-top: 18px; }
  .system--glass .system-node__face::after { inset: 4px; }
  .system--glass .system-node--nur7 .system-node__face { box-shadow: inset 0 0 0 3px #ffffff63,inset 0 2px 4px #fff,0 0 0 4px #ffffff38,0 14px 24px -15px #20212455; }
}
@media (max-width: 360px) {
  .system.system--glass { padding-right: 16px; padding-left: 16px; }
  .system--glass .system-diagram { padding-right: 5px; padding-left: 5px; }
  .system-node__name { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .system-flow::after { display: none; animation: none; } }

.system.system--glass .system__step h3 { display: flex; align-items: baseline; justify-content: center; gap: .4em; }
.system__step-number { color: var(--nur7-violet); font-size: .56em; font-weight: 600; letter-spacing: 0; }
@media (max-width: 760px) { .system.system--glass .system__step h3 { font-size: 24px; } }
@media (forced-colors: active) {
  .system.system--glass .system__heading h2 { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
