:root {
  --eds-black: #0e0f11;
  --eds-panel: #18191d;
  --eds-panel-soft: #202126;
  --eds-white: #fff;
  --eds-muted: #aeb0b7;
  --eds-line: #34363d;
  --eds-red: #c62828;
  --eds-red-bright: #e03232;
  --eds-blue: #0074c1;
  --eds-lime: #c4f16d;
}

.eds-check,
.eds-check * {
  box-sizing: border-box;
}

.eds-check {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 720px;
  padding: clamp(42px, 7vw, 92px) clamp(22px, 6vw, 88px);
  color: var(--eds-white);
  background:
    radial-gradient(circle at 84% 22%, rgba(0, 116, 193, .17), transparent 26rem),
    radial-gradient(circle at 93% 34%, rgba(198, 40, 40, .2), transparent 22rem),
    var(--eds-black);
  font-family: "Instrument Sans", Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.wp-block-post-content .eds-check {
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Give the check a landing-page canvas inside constrained block themes. */
body:has(.eds-check) main.wp-block-group {
  max-width: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

body:has(.eds-check) {
  overflow-x: hidden;
}

body.eds-check-demo-page .wp-site-blocks > header,
body.eds-check-demo-page .wp-site-blocks > footer {
  display: none !important;
}

body:has(.eds-check) main.wp-block-group > .wp-block-group,
body:has(.eds-check) .wp-block-post-content:has(.eds-check) {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.eds-check) .wp-block-post-title {
  display: none !important;
}

.eds-check::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 25%, #000 100%);
}

.eds-check button,
.eds-check a {
  font: inherit;
}

.eds-check__intro,
.eds-check__quiz,
.eds-check__result {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.eds-check__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(44px, 7vw, 82px);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.eds-check__brand-eye {
  position: relative;
  width: 31px;
  height: 23px;
  border: 2px solid var(--eds-white);
  border-radius: 70% 15% 70% 15%;
  transform: rotate(45deg);
}

.eds-check__brand-eye::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--eds-red-bright);
}

.eds-check__kicker,
.eds-check__eyebrow,
.eds-check__section-heading > p,
.eds-check__cta p {
  margin: 0 0 14px;
  color: var(--eds-red-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eds-check h1 {
  max-width: 820px;
  margin: 0;
  color: var(--eds-white);
  font-size: clamp(43px, 7.2vw, 88px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.eds-check h1 span {
  display: block;
  color: var(--eds-red-bright);
}

.eds-check__lead {
  max-width: 660px;
  margin: 30px 0 0;
  color: #d7d8dc;
  font-size: clamp(18px, 2vw, 23px);
}

.eds-check__facts {
  display: flex;
  gap: 1px;
  max-width: 680px;
  margin: 42px 0;
  padding: 0;
  list-style: none;
  background: var(--eds-line);
  border: 1px solid var(--eds-line);
}

.eds-check__facts li {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 24px;
  background: rgba(14, 15, 17, .92);
}

.eds-check__facts strong {
  font-size: 25px;
}

.eds-check__facts span,
.eds-check__privacy,
.eds-check__nav span,
.eds-check__disclaimer {
  color: var(--eds-muted);
  font-size: 13px;
}

.eds-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 14px 23px;
  border: 1px solid var(--eds-line);
  border-radius: 2px;
  color: var(--eds-white);
  background: transparent;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.eds-button:hover,
.eds-button:focus-visible {
  color: var(--eds-white);
  border-color: var(--eds-white);
  transform: translateY(-2px);
}

.eds-button--primary {
  border-color: var(--eds-red);
  background: var(--eds-red);
}

.eds-button--primary:hover,
.eds-button--primary:focus-visible {
  border-color: var(--eds-red-bright);
  background: var(--eds-red-bright);
}

.eds-button:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.eds-check__privacy {
  margin: 14px 0 0;
}

.eds-check__topline,
.eds-check__nav,
.eds-check__score-wrap,
.eds-check__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.eds-check__topline {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 800;
}

.eds-check__step {
  color: var(--eds-muted);
}

.eds-check__category {
  margin-left: 20px;
  color: var(--eds-white);
}

.eds-check__percent {
  color: var(--eds-red-bright);
}

.eds-check__progress {
  height: 3px;
  margin: 15px 0 clamp(36px, 6vw, 72px);
  overflow: hidden;
  background: var(--eds-line);
}

.eds-check__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--eds-red), var(--eds-blue));
  transition: width .25s ease;
}

.eds-check__question-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--eds-line);
  background: rgba(24, 25, 29, .92);
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}

.eds-check__question-card h2,
.eds-check__result-copy h2 {
  max-width: 880px;
  margin: 0;
  color: var(--eds-white);
  font-size: clamp(29px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.eds-check__hint {
  max-width: 820px;
  margin: 20px 0 34px;
  color: var(--eds-muted);
  font-size: 16px;
}

.eds-check__answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.eds-check__answers button {
  position: relative;
  min-height: 126px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--eds-line);
  color: var(--eds-white);
  background: var(--eds-black);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.eds-check__answers button:hover,
.eds-check__answers button:focus-visible,
.eds-check__answers button.is-selected {
  border-color: var(--eds-red-bright);
  background: #251718;
  transform: translateY(-2px);
}

.eds-check__answers b,
.eds-check__answers span {
  display: block;
}

.eds-check__answers b {
  margin-bottom: 7px;
  font-size: 20px;
}

.eds-check__answers span {
  color: var(--eds-muted);
  font-size: 13px;
}

.eds-check__answers i {
  position: absolute;
  right: 12px;
  bottom: -15px;
  color: rgba(255,255,255,.045);
  font-size: 64px;
  font-style: normal;
  font-weight: 900;
}

.eds-check__nav {
  margin-top: 24px;
}

.eds-check__score-wrap {
  justify-content: flex-start;
  margin: 28px 0 48px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--eds-line);
  background: var(--eds-panel);
}

.eds-check__score {
  display: grid;
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  place-content: center;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--eds-panel) 82%, transparent 83% 99%), conic-gradient(var(--eds-red-bright) calc(var(--score) * 1%), var(--eds-line) 0);
  text-align: center;
}

.eds-check__score strong,
.eds-check__score span {
  display: block;
}

.eds-check__score strong {
  font-size: 39px;
  line-height: 1;
}

.eds-check__score span {
  margin-top: 7px;
  color: var(--eds-muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eds-check__result-copy {
  max-width: 690px;
}

.eds-check__result-copy > p:first-child {
  margin: 0 0 10px;
  color: var(--eds-red-bright);
  font-weight: 800;
  text-transform: uppercase;
}

.eds-check__result-copy > p:last-child {
  margin: 18px 0 0;
  color: var(--eds-muted);
}

.eds-check__categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.eds-check__category-card {
  padding: 20px;
  border: 1px solid var(--eds-line);
  background: var(--eds-panel);
}

.eds-check__category-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.eds-check__category-card span {
  color: var(--eds-red-bright);
  font-weight: 800;
}

.eds-check__bar {
  height: 4px;
  margin-top: 17px;
  background: var(--eds-line);
}

.eds-check__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--eds-red-bright), var(--eds-blue));
}

.eds-check__recommendations {
  margin-top: 64px;
}

.eds-check__section-heading h3,
.eds-check__cta h3 {
  margin: 0;
  color: var(--eds-white);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
}

.eds-check__recommendations ol {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--eds-line);
  list-style: none;
}

.eds-check__recommendations li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--eds-line);
}

.eds-check__recommendations li > span {
  color: var(--eds-red-bright);
  font-weight: 900;
}

.eds-check__recommendations strong {
  font-size: 18px;
}

.eds-check__recommendations p {
  margin: 5px 0 0;
  color: var(--eds-muted);
}

.eds-check__cta {
  margin-top: 64px;
  padding: clamp(26px, 5vw, 48px);
  border-left: 4px solid var(--eds-red-bright);
  background: linear-gradient(110deg, #1d1e22, #121316);
}

.eds-check__cta > div {
  flex: 1;
}

.eds-check__cta h3 {
  max-width: 620px;
}

.eds-check__restart {
  display: block;
  margin: 32px auto 0;
  border: 0;
  color: var(--eds-muted);
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}

.eds-check__disclaimer {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  .eds-check__answers,
  .eds-check__categories {
    grid-template-columns: 1fr;
  }

  .eds-check__answers button {
    min-height: 92px;
  }

  .eds-check__score-wrap,
  .eds-check__cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .eds-check {
    padding-inline: 16px;
  }

  .eds-check__facts {
    flex-direction: column;
  }

  .eds-check__category {
    display: block;
    margin: 7px 0 0;
  }

  .eds-check__nav span {
    display: none;
  }

  .eds-check__score {
    flex-basis: 142px;
    width: 142px;
    height: 142px;
  }

  .eds-check__cta .eds-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eds-check *,
  .eds-check *::before,
  .eds-check *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
