/* Solution pages: animated hero graphics (js/sd-anim.js). Stage 560 x 440, scaled to the card width.
   Not part of the generated dark theme: dark rules are written here. */
@property --sdb-x {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 100%;
}

.sdx {
  position: relative;
  overflow: hidden;
  aspect-ratio: 560 / 440;
  padding: 0;
  border-radius: 20px;
  background: radial-gradient(70% 60% at 70% 20%, rgba(96, 165, 250, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff, #f7f9fe);
  box-shadow:
    0 0 0 1px #e6ebf4,
    0 24px 60px -24px rgba(48, 80, 160, 0.3);
}
.sdx-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 560px;
  height: 440px;
  padding: 22px 24px;
  box-sizing: border-box;
  transform: scale(var(--sdx-s, 1));
  transform-origin: 0 0;
  font-family: var(--font-family);
  color: #101828;
}
.sdx-stage * {
  box-sizing: border-box;
}
.sdx-stage svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sdx-stage ul,
.sdx-stage ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sdx-title {
  font-size: 14px;
  font-weight: 600;
  color: #101828;
}
.sdx .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* =================== brand: before / after =================== */
.sdx-stage--brand {
  --sdb-x: 100%;
  transition: --sdb-x 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.sdx-stage--brand[data-step='2'],
.sdx-stage--brand[data-step='4'] {
  --sdb-x: 50%;
}
.sdx-stage--brand[data-step='3'] {
  --sdb-x: 0%;
}
.sdb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
}
.sdb-seg {
  position: relative;
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: #f2f4f7;
  font-size: 12px;
  font-weight: 500;
}
.sdb-seg span {
  position: relative;
  width: 64px;
  text-align: center;
  line-height: 24px;
  color: #667085;
  transition: color 0.4s;
}
.sdb-seg__hl {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 64px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.14);
  transition:
    left 0.6s cubic-bezier(0.65, 0, 0.35, 1),
    width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.sdx-stage--brand[data-step='2'] .sdb-seg__hl,
.sdx-stage--brand[data-step='4'] .sdb-seg__hl {
  width: 128px;
}
.sdx-stage--brand[data-step='3'] .sdb-seg__hl {
  left: 67px;
}
.sdx-stage--brand[data-step='0'] .sdb-seg span:first-of-type,
.sdx-stage--brand[data-step='1'] .sdb-seg span:first-of-type,
.sdx-stage--brand[data-step='2'] .sdb-seg span,
.sdx-stage--brand[data-step='4'] .sdb-seg span,
.sdx-stage--brand[data-step='3'] .sdb-seg span:last-of-type {
  color: #101828;
}
/* AI reads the logo */
.sdb-ai {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  margin-top: 12px;
  padding: 0 14px 0 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e6ebf4;
  box-shadow: 0 8px 20px -14px rgba(48, 80, 160, 0.4);
}
.sdb-logo {
  display: flex;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
}
.sdb-ai__txt {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.sdb-ai__txt b {
  font-size: 14px;
  font-weight: 600;
}
.sdb-ai__txt small {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 16px;
  font-size: 12px;
  color: #667085;
  transition: opacity 0.4s;
}
.sdb-ai__txt small svg {
  width: 14px;
  height: 14px;
  color: #7c3aed;
}
.sdb-ai__s1 {
  background: linear-gradient(90deg, #98a2b3 0%, #101828 50%, #98a2b3 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: sdb-shimmer 1.6s linear infinite;
}
@keyframes sdb-shimmer {
  to {
    background-position: -200% 0;
  }
}
.sdb-ai__s2 {
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0;
  color: #0f766e !important;
  font-weight: 500;
}
.sdx-stage--brand.ge1 .sdb-ai__s1 {
  opacity: 0;
}
.sdx-stage--brand.ge1 .sdb-ai__s2 {
  opacity: 1;
}
.sdb-sw {
  display: flex;
  gap: 6px;
}
.sdb-sw i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.08);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 0.3s,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sdb-sw i:nth-child(2) {
  transition-delay: 0.1s;
}
.sdb-sw i:nth-child(3) {
  transition-delay: 0.2s;
}
.sdb-sw i:nth-child(4) {
  transition-delay: 0.3s;
}
.sdx-stage--brand.ge1 .sdb-sw i {
  opacity: 1;
  transform: none;
}
/* the compared screens */
.sdb-stage {
  position: relative;
  height: 230px;
  margin-top: 16px;
}
.sdb-scr {
  position: absolute;
  inset: 0;
  --p: #2563eb;
  --p-soft: #eff6ff;
  --r: 8px;
  --hf: 'Poppins', sans-serif;
}
.sdb-after {
  --p: #0f766e;
  --p-soft: #e3f3ef;
  --r: 14px;
  --hf: 'DM Sans', 'Poppins', sans-serif;
  clip-path: inset(-24px -24px -24px var(--sdb-x));
}
.sdb-app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 18px;
  overflow: hidden;
  border-radius: calc(var(--r) + 4px);
  background: #fff;
  border: 1px solid #e4e9f2;
  box-shadow: 0 18px 40px -26px rgba(30, 50, 110, 0.45);
  font-size: 12px;
}
.sdb-after .sdb-app {
  background: #fcfbf8;
  border-color: #e8e4da;
}
.sdb-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sdb-top b {
  font-family: var(--hf);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sdb-badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--p-soft);
  color: var(--p);
  font-size: 11px;
  font-weight: 600;
}
.sdb-av {
  width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-soft), var(--p));
}
.sdb-tools {
  display: flex;
  gap: 8px;
}
.sdb-in {
  flex: 1;
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r);
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #98a2b3;
}
.sdb-btn {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r);
  background: var(--p);
  color: #fff;
  font-weight: 600;
}
.sdb-btn--o {
  background: #fff;
  color: #344054;
  border: 1px solid #d0d5dd;
}
.sdb-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sdb-kpis div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px 10px;
  border-radius: var(--r);
  border: 1px solid #edf0f5;
  background: #fff;
}
.sdb-kpis small {
  font-size: 10.5px;
  color: #667085;
}
.sdb-kpis b {
  font-family: var(--hf);
  font-size: 16px;
  font-weight: 600;
}
.sdb-kpis i {
  height: 5px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--p) var(--w), #edf0f5 var(--w));
}
.sdb-rows li {
  display: grid;
  grid-template-columns: 26px 1fr auto 58px;
  align-items: center;
  gap: 10px;
  height: 28px;
  border-top: 1px solid #f2f4f7;
}
.sdb-ava {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--p-soft);
  color: var(--p);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}
.sdb-rows span {
  color: #344054;
}
.sdb-st {
  padding: 1px 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #067647;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
}
.sdb-st--due {
  background: #fffaeb;
  color: #b54708;
}
.sdb-rows b {
  text-align: right;
  font-weight: 600;
}
.sdb-cap {
  position: absolute;
  top: -11px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.4s;
}
.sdb-before .sdb-cap {
  left: 14px;
  background: #101828;
  color: #fff;
}
.sdb-after .sdb-cap {
  right: 14px;
  background: #0f766e;
  color: #fff;
}
.sdx-stage--brand[data-step='2'] .sdb-cap,
.sdx-stage--brand[data-step='4'] .sdb-cap {
  opacity: 1;
}
.sdx-stage--brand[data-step='3'] .sdb-after .sdb-cap {
  opacity: 1;
}
.sdx-stage--brand[data-step='0'] .sdb-before .sdb-cap,
.sdx-stage--brand[data-step='1'] .sdb-before .sdb-cap {
  opacity: 1;
}
.sdb-handle {
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: var(--sdb-x);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: #101828;
  opacity: 0;
  transition: opacity 0.4s;
}
.sdb-handle i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: #101828;
  box-shadow: 0 6px 16px -6px rgba(16, 24, 40, 0.6);
}
.sdb-handle i::before,
.sdb-handle i::after {
  content: '';
  position: absolute;
  top: 11px;
  border: 4px solid transparent;
}
.sdb-handle i::before {
  left: 4px;
  border-right: 5px solid #fff;
}
.sdb-handle i::after {
  right: 4px;
  border-left: 5px solid #fff;
}
.sdx-stage--brand[data-step='2'] .sdb-handle,
.sdx-stage--brand[data-step='3'] .sdb-handle,
.sdx-stage--brand[data-step='4'] .sdb-handle {
  opacity: 1;
}
/* token changes */
.sdb-toks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.sdb-toks li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e6ebf4;
}
.sdb-toks span {
  font-size: 11px;
  color: #667085;
}
.sdb-toks b {
  position: relative;
  height: 18px;
  font-size: 13px;
  font-weight: 600;
}
.sdb-toks s,
.sdb-toks em {
  position: absolute;
  left: 0;
  top: 0;
  font-style: normal;
  text-decoration: none;
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.sdb-toks em {
  color: #0f766e;
  opacity: 0;
  transform: translateY(8px);
}
.sdx-stage--brand.ge2 .sdb-toks s {
  opacity: 0;
  transform: translateY(-8px);
}
.sdx-stage--brand.ge2 .sdb-toks em {
  opacity: 1;
  transform: none;
}
.sdb-toks li:nth-child(2) s,
.sdb-toks li:nth-child(2) em {
  transition-delay: 0.12s;
}
.sdb-toks li:nth-child(3) s,
.sdb-toks li:nth-child(3) em {
  transition-delay: 0.24s;
}
.sdx-stage--brand.ge2 .sdb-toks li {
  border-color: #b9e3da;
}

/* =================== audit: how the report is made =================== */
.sda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
}
.sda-steps {
  display: flex;
  gap: 6px;
  counter-reset: s;
}
.sda-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  background: #f2f4f7;
  font-size: 12px;
  font-weight: 500;
  color: #667085;
  transition:
    background-color 0.4s,
    color 0.4s;
}
.sda-steps li::before {
  counter-increment: s;
  content: counter(s);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  font-size: 10.5px;
  font-weight: 600;
}
.sdx-stage--audit[data-step='0'] .sda-steps li:nth-child(1),
.sdx-stage--audit[data-step='1'] .sda-steps li:nth-child(1),
.sdx-stage--audit[data-step='2'] .sda-steps li:nth-child(2),
.sdx-stage--audit[data-step='3'] .sda-steps li:nth-child(3),
.sdx-stage--audit[data-step='4'] .sda-steps li:nth-child(3) {
  background: #2563eb;
  color: #fff;
}
.sdx-stage--audit[data-step='0'] .sda-steps li:nth-child(1)::before,
.sdx-stage--audit[data-step='1'] .sda-steps li:nth-child(1)::before,
.sdx-stage--audit[data-step='2'] .sda-steps li:nth-child(2)::before,
.sdx-stage--audit[data-step='3'] .sda-steps li:nth-child(3)::before,
.sdx-stage--audit[data-step='4'] .sda-steps li:nth-child(3)::before {
  color: #2563eb;
}
.sdx-stage--audit.ge2 .sda-steps li:nth-child(1)::before,
.sdx-stage--audit.ge3 .sda-steps li:nth-child(2)::before {
  content: '✓';
  background: #dcfae6;
  color: #079455;
}
.sda-connect,
.sda-scan,
.sda-report {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 64px;
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.5s,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0s 0.5s;
}
.sdx-stage--audit[data-step='0'] .sda-connect,
.sdx-stage--audit[data-step='1'] .sda-connect,
.sdx-stage--audit[data-step='2'] .sda-scan,
.sdx-stage--audit[data-step='3'] .sda-report,
.sdx-stage--audit[data-step='4'] .sda-report {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.15s, 0.15s, 0s;
}
/* 1 connect */
.sda-connect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 36px 20px;
}
.sda-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 18px;
}
.sda-tile {
  display: flex;
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4e9f2;
  box-shadow: 0 12px 26px -16px rgba(30, 50, 110, 0.5);
}
.sda-tile--fig {
  background: #101828;
  border-color: #101828;
  color: #fff;
}
.sda-tile--px {
  padding: 0;
  border: 0;
  overflow: hidden;
}
.sda-tile--px img {
  width: 100%;
  height: 100%;
}
.sda-wire {
  position: relative;
  width: 120px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #b9c8e6 0 6px, transparent 6px 11px);
}
.sda-wire i {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
  animation: sda-flow 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes sda-flow {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 8px);
  }
}
.sda-label {
  font-size: 13px;
  font-weight: 500;
  color: #344054;
}
.sda-url {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  font-size: 14px;
}
.sda-fig {
  display: flex;
  flex: none;
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 7px;
  background: #101828;
  color: #fff;
}
.sda-type {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  color: #475467;
}
.sda-type span,
.sda-type b {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  vertical-align: bottom;
}
.sda-type b {
  color: #101828;
  font-weight: 600;
}
@keyframes sda-type-a {
  from {
    max-width: 0;
  }
  to {
    max-width: 140px;
  }
}
@keyframes sda-type-b {
  from {
    max-width: 0;
  }
  to {
    max-width: 110px;
  }
}
.sdx-stage--audit[data-step='0'] .sda-type span {
  animation: sda-type-a 0.9s steps(17) 0.3s both;
}
.sdx-stage--audit[data-step='0'] .sda-type b {
  animation: sda-type-b 0.9s steps(11) 1.25s both;
}
.sdx-stage--audit.ge1 .sda-type span {
  max-width: 140px;
}
.sdx-stage--audit.ge1 .sda-type b {
  max-width: 110px;
}
.sda-caret {
  width: 1.5px;
  height: 20px;
  margin-left: -8px;
  background: #2563eb;
  animation: sda-blink 1s steps(1) infinite;
}
@keyframes sda-blink {
  50% {
    opacity: 0;
  }
}
.sda-run {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 12px;
  background: #101828;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.15s,
    background-color 0.2s;
}
.sdx-stage--audit[data-step='1'] .sda-run {
  transition-delay: 0.6s;
  transform: scale(0.97);
  background: #2563eb;
}
.sda-ro {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #667085;
}
.sda-ro svg {
  width: 14px;
  height: 14px;
  color: #079455;
}
/* 2 scan */
.sda-file {
  position: absolute;
  left: 0;
  top: 6px;
  width: 220px;
  height: 252px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4e9f2;
  box-shadow: 0 16px 36px -24px rgba(30, 50, 110, 0.5);
  overflow: hidden;
}
.sda-file__b {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sda-file__b i {
  height: 8px;
  border-radius: 4px;
  background: #101828;
  width: 60%;
}
.sda-file__b i + i {
  width: 85%;
  height: 6px;
  background: #e4e7ec;
}
.sda-file__g {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.sda-file__g i {
  height: 54px;
  border-radius: 8px;
  background: #eff4ff;
  border: 1px solid #dbe6fb;
}
.sda-file__g i:nth-child(2) {
  background: #2563eb;
}
.sda-file__g i:nth-child(4) {
  border-radius: 20px;
}
.sda-file__g i:nth-child(6) {
  background: #3b6ff0;
}
.sda-beam {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.18) 70%, #2563eb 98%, transparent);
  opacity: 0;
}
.sdx-stage--audit[data-step='2'] .sda-beam {
  animation: sda-beam 1.3s cubic-bezier(0.45, 0, 0.55, 1) 2;
}
@keyframes sda-beam {
  0% {
    top: -40px;
    opacity: 1;
  }
  100% {
    top: 252px;
    opacity: 1;
  }
}
.sda-checks {
  position: absolute;
  left: 244px;
  right: 0;
  top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sda-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4e9f2;
  font-size: 13.5px;
  font-weight: 500;
  color: #98a2b3;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.sda-checks li i {
  display: flex;
  width: 22px;
  height: 22px;
  padding: 5px;
  border-radius: 50%;
  border: 1.5px solid #d0d5dd;
  color: transparent;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.sda-checks li i svg {
  stroke-width: 3.2;
}
.sda-checks li b {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: #667085;
  opacity: 0;
  transition: opacity 0.3s;
}
.sdx-stage--audit[data-step='2'] .sda-checks li,
.sdx-stage--audit[data-step='2'] .sda-checks li i,
.sdx-stage--audit[data-step='2'] .sda-checks li b {
  transition-delay: calc(0.5s + var(--k) * 0.55s);
}
.sdx-stage--audit.ge2 .sda-checks li {
  color: #101828;
  border-color: #dbe6fb;
}
.sdx-stage--audit.ge2 .sda-checks li i {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.sdx-stage--audit.ge2 .sda-checks li b {
  opacity: 1;
}
.sda-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 284px;
  height: 8px;
  border-radius: 999px;
  background: #e4e9f2;
  overflow: hidden;
}
.sda-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}
.sdx-stage--audit[data-step='2'] .sda-bar i {
  width: 100%;
  transition: width 2.6s cubic-bezier(0.45, 0, 0.55, 1);
}
.sdx-stage--audit.ge3 .sda-bar i {
  width: 100%;
}
.sda-pct {
  position: absolute;
  left: 0;
  top: 304px;
  font-size: 13px;
  color: #667085;
}
.sda-pct b {
  color: #101828;
  font-variant-numeric: tabular-nums;
}
/* 3 report */
.sda-score {
  position: absolute;
  left: 0;
  top: 2px;
  width: 132px;
  height: 132px;
}
.sda-score svg {
  transform: rotate(-90deg);
}
.sda-score circle {
  stroke: #e8edf5;
  stroke-width: 3;
}
.sda-score .sda-score__v {
  stroke: #2563eb;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.sdx-stage--audit.ge3 .sda-score__v {
  stroke-dasharray: 78 100;
}
.sda-score b {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sda-score small {
  position: absolute;
  left: 0;
  right: 0;
  top: 82px;
  text-align: center;
  font-size: 11px;
  color: #667085;
}
.sda-sum {
  position: absolute;
  left: 156px;
  right: 0;
  top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sda-sum span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4e9f2;
  font-size: 11.5px;
  color: #667085;
}
.sda-sum b {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  color: #101828;
}
.sda-sum span:nth-child(2) b {
  color: #d92d20;
}
.sda-finds {
  position: absolute;
  left: 0;
  right: 0;
  top: 152px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sda-finds li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e4e9f2;
  opacity: 0;
  transform: translateX(16px);
  transition:
    opacity 0.45s,
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sdx-stage--audit[data-step='3'] .sda-finds li {
  transition-delay: calc(0.7s + var(--k) * 0.22s);
}
.sdx-stage--audit.ge3 .sda-finds li {
  opacity: 1;
  transform: none;
}
.sda-finds b {
  font-size: 13px;
  font-weight: 600;
}
.sda-finds small {
  font-size: 11.5px;
  color: #2563eb;
}
.sda-sev {
  justify-self: start;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.sda-sev--h {
  background: #fef3f2;
  color: #b42318;
}
.sda-sev--m {
  background: #fffaeb;
  color: #b54708;
}
.sda-acts {
  position: absolute;
  left: 0;
  top: 316px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s 1.4s;
}
.sdx-stage--audit.ge3 .sda-acts {
  opacity: 1;
}
.sda-act {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
  transition:
    transform 0.15s,
    box-shadow 0.3s;
}
.sda-act--p {
  border-color: #101828;
  background: #101828;
  color: #fff;
}
.sdx-stage--audit[data-step='4'] .sda-act--p {
  transform: scale(0.96);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}
/* pointer */
.sda-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 22px;
  height: 22px;
  color: #101828;
  opacity: 0;
  transform: translate(420px, 270px);
  transition:
    transform 0.6s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.3s;
}
.sda-cursor svg {
  fill: #fff;
}
.sdx-stage--audit[data-step='0'] .sda-cursor {
  opacity: 1;
  transform: translate(440px, 262px);
}
.sdx-stage--audit[data-step='1'] .sda-cursor {
  opacity: 1;
  transform: translate(276px, 318px);
}
.sdx-stage--audit[data-step='4'] .sda-cursor {
  opacity: 1;
  transform: translate(104px, 392px);
}

/* dark theme: the frame turns dark, the product screens stay light like a screenshot */
html[data-px-theme='dark'] .sdx {
  background: radial-gradient(70% 60% at 70% 20%, rgba(59, 130, 246, 0.2), transparent 70%),
    linear-gradient(180deg, #121a2b, #0d1422);
  box-shadow:
    0 0 0 1px #243049,
    0 24px 60px -24px rgba(0, 0, 0, 0.7);
}
html[data-px-theme='dark'] .sdx-title,
html[data-px-theme='dark'] .sda-label,
html[data-px-theme='dark'] .sda-pct b {
  color: #f2f4f7;
}
html[data-px-theme='dark'] .sda-pct,
html[data-px-theme='dark'] .sda-ro {
  color: #98a2b3;
}
html[data-px-theme='dark'] .sdb-seg,
html[data-px-theme='dark'] .sda-steps li,
html[data-px-theme='dark'] .sda-bar {
  background: #1d2638;
}
html[data-px-theme='dark'] .sdb-seg span {
  color: #98a2b3;
}
html[data-px-theme='dark'] .sdb-seg__hl,
html[data-px-theme='dark'] .sda-steps li::before {
  background: #2c3851;
}
html[data-px-theme='dark'] .sdx-stage--brand .sdb-seg span[style],
html[data-px-theme='dark'] .sdx-stage--brand[data-step] .sdb-seg span {
  color: #cfd6e2;
}
html[data-px-theme='dark'] .sda-run,
html[data-px-theme='dark'] .sda-act--p {
  background: #f2f4f7;
  border-color: #f2f4f7;
  color: #101828;
}
html[data-px-theme='dark'] .sdx-stage--audit[data-step='1'] .sda-run {
  background: #3b82f6;
  color: #fff;
}
html[data-px-theme='dark'] .sda-cursor {
  color: #f2f4f7;
}
html[data-px-theme='dark'] .sda-cursor svg {
  fill: #101828;
}

@media (prefers-reduced-motion: reduce) {
  .sdx *,
  .sdx *::before,
  .sdx *::after {
    animation: none !important;
    transition: none !important;
  }
}
html[data-px-theme='dark'] .sda-score b {
  color: #f2f4f7;
}
html[data-px-theme='dark'] .sda-score small {
  color: #98a2b3;
}
html[data-px-theme='dark'] .sda-score circle {
  stroke: #2a3446;
}
html[data-px-theme='dark'] .sda-score .sda-score__v {
  stroke: #3b82f6;
}
