.kozo-check {
  --kozo-navy: #181b42;
  --kozo-red: #c40000;
  --kozo-white: #ffffff;
  --kozo-text: #565660;
  --kozo-muted: #646575;
  --kozo-line: #e4e4e4;
  --kozo-surface: #f4f4f6;
  color: var(--kozo-navy);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
}

.kozo-check *,
.kozo-check *::before,
.kozo-check *::after {
  box-sizing: border-box;
}

.kozo-check [hidden] {
  display: none !important;
}

.kozo-check__card {
  background: var(--kozo-surface);
  border-radius: 12px;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.75rem);
  position: relative;
}

.kozo-check__card::before {
  background: var(--kozo-red);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.kozo-check h2,
.kozo-check h3,
.kozo-check p,
.kozo-check ul,
.kozo-check fieldset,
.kozo-check figure {
  margin-top: 0;
}

.kozo-check h2 {
  color: var(--kozo-navy);
  font-size: clamp(2rem, 4.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.kozo-check__start h2 {
  max-width: 720px;
  padding-bottom: 1.05rem;
  position: relative;
}

.kozo-check__start h2::after {
  background: var(--kozo-red);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  transform: rotate(-1deg);
  width: 92px;
}

.kozo-check__eyebrow {
  color: var(--kozo-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.kozo-check__intro {
  color: var(--kozo-text);
  font-size: 1.08rem;
  max-width: 66ch;
}

.kozo-check__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 1.5rem 0 1.9rem;
  padding: 0;
}

.kozo-check__facts li {
  background: var(--kozo-white);
  border: 1px solid var(--kozo-line);
  border-radius: 999px;
  color: var(--kozo-navy);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
}

.kozo-check__facts li::before {
  color: var(--kozo-red);
  content: "•";
  margin-right: 0.45rem;
}

.kozo-check__button {
  align-items: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  justify-content: center;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.kozo-check__button--primary {
  background: var(--kozo-navy);
  color: var(--kozo-white) !important;
}

.kozo-check__button--primary:hover:not(:disabled) {
  background: var(--kozo-red);
  color: var(--kozo-white) !important;
  transform: translateY(-1px);
}

.kozo-check__button:disabled {
  background: #c8c9d0;
  color: var(--kozo-white) !important;
  cursor: not-allowed;
}

.kozo-check button:focus-visible,
.kozo-check a:focus-visible {
  outline: 3px solid var(--kozo-red);
  outline-offset: 3px;
}

.kozo-check__note {
  color: var(--kozo-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 1rem 0 0;
  max-width: 74ch;
}

.kozo-check__progress-row {
  margin-bottom: 1.6rem;
}

.kozo-check__progress-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.kozo-check__counter,
.kozo-check__progress-percent {
  color: var(--kozo-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.kozo-check__progress-percent {
  color: var(--kozo-text);
}

.kozo-check__progress {
  background: #d8d9df;
  border-radius: 999px;
  height: 7px;
  overflow: hidden;
  width: 100%;
}

.kozo-check__progress-value {
  background: var(--kozo-red);
  display: block;
  height: 100%;
  transition: width 220ms ease;
  width: 0;
}

.kozo-check__question-slot > * {
  animation: kozo-reveal 220ms ease both;
}

.kozo-check__fieldset {
  background: var(--kozo-white);
  border: 0;
  border-left: 5px solid var(--kozo-red);
  border-radius: 0 12px 12px 0;
  margin-bottom: 0;
  min-width: 0;
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
}

.kozo-check__question {
  color: var(--kozo-navy);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  padding: 0;
  width: 100%;
}

.kozo-check__answer-hint {
  color: var(--kozo-text);
  font-size: 0.92rem;
  margin-bottom: 1.35rem;
}

.kozo-check__options {
  display: grid;
  gap: 0.7rem;
}

.kozo-check__option {
  align-items: center;
  background: var(--kozo-white);
  border: 1.5px solid var(--kozo-line);
  border-radius: 12px;
  color: var(--kozo-navy);
  cursor: pointer;
  display: flex;
  font-family: inherit;
  justify-content: flex-start;
  min-height: 58px;
  padding: 0.65rem 0.85rem;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
  width: 100%;
}

.kozo-check button.kozo-check__option:hover,
.kozo-check button.kozo-check__option:focus {
  background: var(--kozo-surface) !important;
  border-color: var(--kozo-navy);
  color: var(--kozo-navy) !important;
  transform: translateY(-1px);
}

.kozo-check button.kozo-check__option[aria-pressed="true"],
.kozo-check button.kozo-check__option[aria-pressed="true"]:hover,
.kozo-check button.kozo-check__option[aria-pressed="true"]:focus {
  background: var(--kozo-navy) !important;
  border-color: var(--kozo-navy) !important;
  color: var(--kozo-white) !important;
}

.kozo-check__option-number {
  align-items: center;
  background: var(--kozo-surface);
  border-radius: 50%;
  color: var(--kozo-navy);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 1rem;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  margin-right: 0.75rem;
  min-width: 34px;
  width: 34px;
}

.kozo-check__option[aria-pressed="true"] .kozo-check__option-number {
  background: var(--kozo-white);
  color: var(--kozo-navy);
}

.kozo-check__option-label {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
}

.kozo-check__navigation {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 1.35rem;
}

.kozo-check__back,
.kozo-check__restart {
  background: transparent;
  border: 0;
  color: var(--kozo-navy);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kozo-check__next {
  min-width: 128px;
}

.kozo-check__result {
  animation: kozo-reveal 260ms ease both;
}

.kozo-check__result-overview {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  grid-template-columns: 210px minmax(0, 1fr);
  margin-bottom: 1.75rem;
}

.kozo-check__gauge {
  --kozo-gauge-color: var(--kozo-navy);
  align-items: center;
  aspect-ratio: 1;
  background: conic-gradient(var(--kozo-gauge-color) 0 var(--kozo-gauge-angle), #d8d9df var(--kozo-gauge-angle) 360deg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 210px;
  padding: 16px;
  position: relative;
  width: 100%;
}

.kozo-check__result--high .kozo-check__gauge {
  --kozo-gauge-color: var(--kozo-red);
}

.kozo-check__gauge::after {
  background: var(--kozo-white);
  border-radius: 50%;
  content: "";
  inset: 16px;
  position: absolute;
}

.kozo-check__gauge-center {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.kozo-check__gauge-score {
  color: var(--kozo-navy);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.kozo-check__gauge-total {
  color: var(--kozo-text);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.kozo-check__result-title {
  margin-bottom: 0.55rem !important;
}

.kozo-check__score-label {
  color: var(--kozo-red);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.kozo-check__result-block {
  color: var(--kozo-text);
  max-width: 66ch;
}

.kozo-check__result-block p {
  margin-bottom: 0.85rem;
}

.kozo-check__subheading {
  color: var(--kozo-navy);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.kozo-check__experiment {
  background: var(--kozo-white);
  border-left: 5px solid var(--kozo-red);
  border-radius: 0 12px 12px 0;
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
}

.kozo-check__experiment p {
  color: var(--kozo-text);
  margin-bottom: 0;
}

.kozo-check__support-note {
  border-left: 4px solid var(--kozo-red);
  color: var(--kozo-text);
  font-size: 0.9rem;
  padding-left: 0.85rem;
}

.kozo-check__bridge {
  border-top: 1px solid var(--kozo-line);
  margin-top: 1.9rem;
  padding-top: 1.9rem;
}

.kozo-check__bridge-title {
  color: var(--kozo-navy);
  font-size: clamp(1.45rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.kozo-check__bridge > p {
  color: var(--kozo-text);
}

.kozo-check__character-group {
  background: var(--kozo-white);
  border: 1px solid var(--kozo-line);
  border-radius: 12px;
  margin: 1.5rem 0 1.7rem;
  overflow: hidden;
  padding: 0.75rem 0.75rem 0.65rem;
}

.kozo-check__character-group-image {
  display: block;
  height: auto;
  margin: 0 auto;
  width: 100%;
}

.kozo-check__character-group-caption {
  color: var(--kozo-navy);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.5rem;
  text-align: center;
}

.kozo-check__cta-meta {
  color: var(--kozo-muted);
  font-size: 0.8rem;
  margin: 0.65rem 0 0;
}

.kozo-check__restart {
  margin-top: 1.4rem;
}

.kozo-check__note--result {
  border-top: 1px solid var(--kozo-line);
  margin-top: 1.2rem;
  padding-top: 1rem;
}

@keyframes kozo-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .kozo-check__options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .kozo-check__option {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    padding: 0.75rem 0.35rem;
    text-align: center;
  }

  .kozo-check__option-number {
    flex-basis: 38px;
    font-size: 1.1rem;
    height: 38px;
    margin: 0 0 0.55rem;
    min-width: 38px;
    width: 38px;
  }
}

@media (max-width: 759px) {
  .kozo-check__result-overview {
    grid-template-columns: 1fr;
  }

  .kozo-check__result-copy {
    text-align: left;
  }

  .kozo-check__gauge {
    max-width: 180px;
  }

}

@media (max-width: 480px) {
  .kozo-check__card {
    border-radius: 10px;
  }

  .kozo-check__button {
    font-size: 1rem;
    width: 100%;
  }

  .kozo-check__navigation {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 0.65rem;
  }

  .kozo-check__back {
    align-self: center;
  }

  .kozo-check__character-group {
    padding: 0.45rem 0.35rem 0.55rem;
  }

  .kozo-check__character-group-caption {
    font-size: 0.62rem;
    line-height: 1.45;
  }
}

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