.spfc {
  --spfc-navy: #0b2341;
  --spfc-blue: #225ec9;
  --spfc-blue-soft: #ecf3fe;
  --spfc-gold: #f59e0b;
  --spfc-gold-dark: #d97706;
  --spfc-orange-soft: #fff1e2;
  --spfc-text: #193452;
  --spfc-muted: #64758a;
  --spfc-line: #d8e5f6;
  --spfc-bg: #f4f8fd;
  width: 100%;
  color: var(--spfc-text);
  font-family: inherit;
  line-height: 1.55;
}

.spfc,
.spfc * {
  box-sizing: border-box;
}

.spfc [hidden] {
  display: none !important;
}

.spfc[data-spfc-state='idle'] .spfc__shell {
  display: none;
}

.spfc__anchor {
  position: relative;
  top: -100px;
  display: block;
  width: 1px;
  height: 1px;
}

.spfc__shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--spfc-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px -45px rgba(11, 35, 65, 0.55);
}

.spfc__progress {
  padding: 18px clamp(22px, 4vw, 46px) 0;
  background: #fff;
}

.spfc__progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  color: var(--spfc-muted);
  font-size: 13px;
  font-weight: 650;
}

.spfc__progress-track,
.spfc__dimension-track {
  overflow: hidden;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #e8eef6;
}

.spfc__progress-track span,
.spfc__dimension-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--spfc-blue), #4d83e1);
  transition: width 360ms ease;
}

.spfc__screen {
  padding: clamp(34px, 6vw, 68px) clamp(22px, 6vw, 72px);
}

.spfc__screen h2,
.spfc__screen h3,
.spfc__screen p {
  margin-top: 0;
}

.spfc__screen h2 {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--spfc-navy);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.spfc__screen h3 {
  color: var(--spfc-navy);
  font-size: 21px;
  line-height: 1.25;
}

.spfc__eyebrow {
  margin-bottom: 12px;
  color: var(--spfc-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.spfc__lead {
  max-width: 820px;
  margin-bottom: 28px;
  color: var(--spfc-muted);
  font-size: clamp(17px, 2vw, 20px);
}

.spfc__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 24px;
}

.spfc__benefits div {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border: 1px solid var(--spfc-line);
  border-radius: 14px;
  background: var(--spfc-bg);
}

.spfc__benefits strong {
  margin-bottom: 4px;
  color: var(--spfc-navy);
  font-size: 18px;
}

.spfc__benefits span,
.spfc__transparency,
.spfc__secure,
.spfc__mail-note {
  color: var(--spfc-muted);
  font-size: 13px;
}

.spfc__transparency {
  max-width: 760px;
  margin-bottom: 22px;
}

.spfc__teaser-action {
  margin: 28px 0 22px;
  padding: 22px 24px;
  border: 1px solid #cfe0f6;
  border-radius: 15px;
  background: var(--spfc-blue-soft);
}

.spfc__teaser-action h3 {
  margin-bottom: 8px;
}

.spfc__teaser-action p {
  margin-bottom: 0;
}

.spfc__navigation--teaser {
  align-items: center;
}

.spfc__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.spfc__button:hover {
  transform: translateY(-1px);
}

.spfc__button:focus-visible,
.spfc input:focus-visible,
.spfc__option:has(input:focus-visible) {
  outline: 3px solid rgba(34, 94, 201, 0.28);
  outline-offset: 3px;
}

.spfc__button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.spfc__button--primary {
  color: var(--spfc-navy);
  background: var(--spfc-gold);
  border-color: var(--spfc-gold);
  box-shadow: 0 10px 26px -16px rgba(217, 119, 6, 0.8);
}

.spfc__button--primary:hover {
  color: var(--spfc-navy);
  background: #f8ad20;
  border-color: #f8ad20;
}

.spfc__button--ghost {
  color: var(--spfc-navy);
  background: #fff;
  border-color: #cbd8e8;
}

.spfc__button--ghost:hover {
  color: var(--spfc-navy);
  background: var(--spfc-bg);
  border-color: #afc2d9;
}

.spfc__fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.spfc__fieldset legend {
  max-width: 900px;
  margin: 0 0 10px;
  padding: 0;
  color: var(--spfc-navy);
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 750;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.spfc__help {
  max-width: 800px;
  margin-bottom: 26px;
  color: var(--spfc-muted);
  font-size: 15px;
}

.spfc__options {
  display: grid;
  gap: 11px;
}

.spfc__option {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid #d5e0ee;
  border-radius: 13px;
  cursor: pointer;
  background: #fff;
  color: var(--spfc-text);
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.spfc__option:hover {
  transform: translateY(-1px);
  border-color: #9fb9df;
  background: #f9fbff;
}

.spfc__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.spfc__option-control {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 2px solid #9aacc1;
  border-radius: 50%;
  background: #fff;
}

.spfc__option input:checked + .spfc__option-control {
  border-color: var(--spfc-blue);
}

.spfc__option input:checked + .spfc__option-control::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--spfc-blue);
  content: '';
}

.spfc__option:has(input:checked) {
  border-color: var(--spfc-blue);
  background: var(--spfc-blue-soft);
}

.spfc__option-label {
  font-size: 16px;
  font-weight: 560;
  line-height: 1.4;
}

.spfc__navigation {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
}

.spfc__error {
  margin: 16px 0 0;
  padding: 11px 14px;
  border-left: 4px solid #c2410c;
  border-radius: 7px;
  color: #8a2c0d;
  background: #fff2eb;
  font-size: 14px;
  font-weight: 650;
}

.spfc__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin: 28px 0 23px;
}

.spfc__fields label {
  display: grid;
  gap: 7px;
  color: var(--spfc-navy);
  font-size: 14px;
  font-weight: 680;
}

.spfc__field--wide {
  grid-column: 1 / -1;
}

.spfc__fields input {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #cbd8e8;
  border-radius: 9px;
  color: var(--spfc-text);
  background: #fff;
  font: inherit;
  font-size: 16px;
}

.spfc__fields input:focus {
  border-color: var(--spfc-blue);
}

.spfc__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.spfc__consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 13px 0;
  color: var(--spfc-muted);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.5;
}

.spfc__consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 2px 0 0;
  accent-color: var(--spfc-blue);
}

.spfc__consent a {
  color: var(--spfc-blue);
  text-decoration: underline;
}

.spfc__secure {
  margin: 13px 0 0;
  text-align: right;
}

.spfc__screen--loading {
  min-height: 430px;
  text-align: center;
}

.spfc__screen--loading h2 {
  margin: 24px auto 12px;
  font-size: clamp(28px, 4vw, 40px);
}

.spfc__screen--loading p {
  color: var(--spfc-muted);
}

.spfc__screen--inbox {
  text-align: center;
}

.spfc__screen--inbox h2,
.spfc__screen--inbox .spfc__lead,
.spfc__screen--inbox .spfc__transparency {
  margin-right: auto;
  margin-left: auto;
}

.spfc__inbox-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #fff;
  background: #1e8a62;
  font-size: 32px;
  font-weight: 800;
}

.spfc__spinner {
  display: inline-block;
  width: 58px;
  height: 58px;
  border: 5px solid #e5edf7;
  border-top-color: var(--spfc-blue);
  border-radius: 50%;
  animation: spfc-spin 0.85s linear infinite;
}

@keyframes spfc-spin {
  to { transform: rotate(360deg); }
}

.spfc__result-hero {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 50px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--spfc-line);
}

.spfc__score {
  --spfc-ring-color: var(--spfc-blue);
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--spfc-ring-color) calc(var(--spfc-score) * 1%), #e6edf6 0);
}

.spfc__score::before {
  grid-area: 1 / 1;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #fff;
  content: '';
}

.spfc__score div {
  z-index: 1;
  grid-area: 1 / 1;
  text-align: center;
}

.spfc__score strong {
  display: block;
  color: var(--spfc-navy);
  font-size: 45px;
  line-height: 1;
}

.spfc__score span {
  color: var(--spfc-muted);
  font-size: 13px;
  font-weight: 650;
}

.spfc__badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--spfc-blue);
  background: var(--spfc-blue-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.spfc__result-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(29px, 4vw, 43px);
}

.spfc__result-heading > p:last-child {
  margin-bottom: 0;
  color: var(--spfc-muted);
  font-size: 16px;
}

.spfc[data-result='strong'] .spfc__score { --spfc-ring-color: #1e8a62; }
.spfc[data-result='strong'] .spfc__badge { color: #116047; background: #e4f7ef; }
.spfc[data-result='promising'] .spfc__score { --spfc-ring-color: var(--spfc-blue); }
.spfc[data-result='limited'] .spfc__score { --spfc-ring-color: var(--spfc-gold-dark); }
.spfc[data-result='limited'] .spfc__badge { color: #9a4e08; background: var(--spfc-orange-soft); }
.spfc[data-result='hidden'] .spfc__score { --spfc-ring-color: #b45309; }
.spfc[data-result='hidden'] .spfc__badge { color: #8a3d08; background: #ffede0; }

.spfc__score-note {
  margin: 22px 0 0;
  color: var(--spfc-muted);
  font-size: 13px;
}

.spfc__dimension-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 30px;
  margin: 34px 0;
}

.spfc__dimension:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.spfc__dimension-copy {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
  font-size: 14px;
}

.spfc__dimension-copy span {
  color: var(--spfc-text);
  font-weight: 650;
}

.spfc__dimension-copy strong {
  color: var(--spfc-navy);
}

.spfc__result-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0;
}

.spfc__result-card {
  padding: 24px;
  border: 1px solid var(--spfc-line);
  border-radius: 15px;
}

.spfc__result-card h3 {
  margin-bottom: 13px;
}

.spfc__result-card ul,
.spfc__next-steps ol {
  margin: 0;
  padding-left: 21px;
}

.spfc__result-card li,
.spfc__next-steps li {
  margin-bottom: 9px;
}

.spfc__result-card--positive {
  border-color: #cfe0f6;
  background: var(--spfc-blue-soft);
}

.spfc__result-card--attention {
  border-color: #f2d5af;
  background: var(--spfc-orange-soft);
}

.spfc__next-steps {
  margin: 34px 0;
  padding: 25px 27px;
  border: 1px solid var(--spfc-line);
  border-radius: 15px;
  background: #fff;
}

.spfc__next-steps .spfc__eyebrow {
  margin-bottom: 13px;
}

.spfc__result-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding: 27px;
  border-radius: 16px;
  color: #fff;
  background: var(--spfc-navy);
}

.spfc__result-cta h3 {
  margin-bottom: 7px;
  color: #fff;
}

.spfc__result-cta p {
  max-width: 630px;
  margin-bottom: 0;
  color: #c6d5e7;
  font-size: 14px;
}

.spfc__result-cta .spfc__button {
  flex: 0 0 auto;
}

.spfc__mail-note {
  margin: 15px 0 0;
  text-align: center;
}

.spfc__noscript {
  max-width: 1100px;
  margin: 12px auto;
  padding: 14px 18px;
  border: 1px solid var(--spfc-line);
  border-radius: 10px;
  background: #fff;
}

@media (max-width: 760px) {
  .spfc__shell {
    border-radius: 16px;
  }

  .spfc__benefits,
  .spfc__fields,
  .spfc__dimension-grid,
  .spfc__result-columns {
    grid-template-columns: 1fr;
  }

  .spfc__benefits div {
    min-height: auto;
  }

  .spfc__field--wide,
  .spfc__dimension:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .spfc__result-hero {
    grid-template-columns: 1fr;
  }

  .spfc__score {
    width: 145px;
    height: 145px;
  }

  .spfc__score::before {
    width: 112px;
    height: 112px;
  }

  .spfc__score strong {
    font-size: 38px;
  }

  .spfc__result-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .spfc__result-cta .spfc__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .spfc__progress {
    padding: 15px 17px 0;
  }

  .spfc__screen {
    padding: 32px 17px;
  }

  .spfc__navigation {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .spfc__navigation .spfc__button {
    width: 100%;
  }

  .spfc__option {
    align-items: flex-start;
    padding: 14px;
  }

  .spfc__result-card,
  .spfc__next-steps,
  .spfc__result-cta {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spfc *,
  .spfc *::before,
  .spfc *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
