.cocheck-root {
  --cocheck-navy: #0d3a52;
  --cocheck-navy-deep: #082f45;
  --cocheck-gold: #a8864e;
  --cocheck-ink: #172b36;
  --cocheck-muted: #6f7e84;
  --cocheck-line: #dce2e2;
  --cocheck-paper: #ffffff;
  --cocheck-page: #f4f6f5;
  width: 100%;
  color: var(--cocheck-ink);
  background: var(--cocheck-page);
  font-family: inherit;
  line-height: 1.7;
  text-align: right;
  direction: rtl;
  padding: clamp(20px, 4vw, 48px) 16px;
  box-sizing: border-box;
}

.cocheck-root *,
.cocheck-root *::before,
.cocheck-root *::after {
  box-sizing: border-box;
}

.cocheck-root [hidden] {
  display: none !important;
}

.cocheck-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.cocheck-brand {
  text-align: center;
  padding: 0 0 26px;
}

.cocheck-in-flow .cocheck-brand {
  padding-bottom: 12px;
}

.cocheck-logo {
  display: block;
  width: min(270px, 68vw);
  max-height: 190px;
  object-fit: contain;
  margin: 0 auto 4px;
}

.cocheck-in-flow .cocheck-logo {
  width: min(160px, 48vw);
  max-height: 92px;
}

.cocheck-in-flow .cocheck-slogan {
  font-size: 14px;
}

.cocheck-slogan {
  margin: 0;
  font-weight: 700;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.4;
}

.cocheck-slogan-first,
.cocheck-slogan-divider {
  color: var(--cocheck-navy);
}

.cocheck-slogan-second {
  color: var(--cocheck-gold);
}

.cocheck-screen {
  width: min(100%, 850px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 36px);
  background: var(--cocheck-paper);
  border: 1px solid rgba(13, 58, 82, 0.08);
}

.cocheck-home {
  min-height: 250px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cocheck-eyebrow {
  margin: 0 0 8px;
  color: var(--cocheck-gold);
  font-size: 13px;
  font-weight: 700;
}

.cocheck-root h1,
.cocheck-root h2 {
  color: var(--cocheck-navy);
  line-height: 1.4;
}

.cocheck-root h1 {
  margin: 0 0 14px;
  font-size: clamp(21px, 3vw, 30px);
}

.cocheck-intro,
.cocheck-final-intro {
  max-width: 620px;
  margin: 0 auto 26px;
  color: #53636a;
  font-size: 15px;
}

.cocheck-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--cocheck-navy);
  border-radius: 3px;
  padding: 10px 22px;
  background: var(--cocheck-navy);
  color: #fff !important;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.cocheck-button:hover,
.cocheck-button:focus-visible {
  background: var(--cocheck-navy-deep);
  border-color: var(--cocheck-navy-deep);
  color: #fff !important;
}

.cocheck-button:active {
  transform: translateY(1px);
}

.cocheck-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.cocheck-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--cocheck-line);
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.cocheck-heading-row h1 {
  margin-bottom: 0;
}

.cocheck-question {
  min-width: 0;
  margin: 0 0 13px;
  padding: 15px;
  border: 1px solid var(--cocheck-line);
  background: #fff;
  transition: border-color 140ms ease;
}

.cocheck-question:focus-within,
.cocheck-question-answered {
  border-color: rgba(13, 58, 82, 0.45);
}

.cocheck-question legend {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  padding: 0;
  margin: 0 0 12px;
  color: var(--cocheck-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.cocheck-question-number {
  display: inline-flex;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 134, 78, 0.14);
  color: var(--cocheck-gold);
  font-size: 13px;
}

.cocheck-answers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.cocheck-answer {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  min-height: 46px;
  padding: 8px 7px;
  border: 1px solid #e5e9e9;
  background: #fbfcfc;
  color: #526167;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.cocheck-answer:hover {
  border-color: rgba(13, 58, 82, 0.38);
}

.cocheck-answer:has(input:checked) {
  border-color: var(--cocheck-navy);
  background: #f1f6f7;
  color: var(--cocheck-navy);
}

.cocheck-answer input {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  appearance: none;
  border: 1px solid #aab5b9;
  border-radius: 1px;
  background: #fff;
  cursor: pointer;
}

.cocheck-answer input:checked {
  border-color: var(--cocheck-navy);
  background-color: var(--cocheck-navy);
  background-image: linear-gradient(45deg, transparent 42%, #fff 42%, #fff 54%, transparent 54%),
    linear-gradient(-45deg, transparent 55%, #fff 55%, #fff 66%, transparent 66%);
}

.cocheck-answer input:focus-visible {
  outline: 2px solid var(--cocheck-gold);
  outline-offset: 2px;
}

.cocheck-choice-number {
  flex: none;
  color: var(--cocheck-gold);
  font-weight: 700;
}

.cocheck-answer-text {
  min-width: 0;
}

.cocheck-validation,
.cocheck-submit-status {
  margin: 10px 0 0;
  color: #9d3c32;
  font-size: 13px;
}

.cocheck-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.cocheck-final h1 {
  margin-bottom: 5px;
}

.cocheck-final-intro {
  margin: 0 0 20px;
}

.cocheck-lead-form {
  display: grid;
  gap: 13px;
}

.cocheck-field {
  display: grid;
  gap: 6px;
  color: var(--cocheck-ink);
  font-size: 14px;
  font-weight: 600;
}

.cocheck-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--cocheck-line);
  border-radius: 2px;
  padding: 10px 12px;
  background: #fbfcfc;
  color: var(--cocheck-ink);
  font: inherit;
  font-weight: 400;
  outline: none;
}

.cocheck-field input:focus {
  border-color: var(--cocheck-navy);
  box-shadow: 0 0 0 2px rgba(13, 58, 82, 0.1);
}

.cocheck-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.cocheck-submit {
  width: 100%;
  margin-top: 5px;
}

.cocheck-result {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--cocheck-line);
  background: #f8faf9;
  text-align: center;
}

.cocheck-result h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.cocheck-result-score {
  margin: 0;
  color: var(--cocheck-gold);
  font-size: clamp(42px, 9vw, 64px);
  font-weight: 700;
  line-height: 1.15;
}

.cocheck-result > p:not(.cocheck-result-score) {
  margin: 6px 0 12px;
  color: var(--cocheck-muted);
  font-size: 14px;
}

.cocheck-notification-status {
  color: var(--cocheck-navy) !important;
}

.cocheck-whatsapp-link {
  margin-top: 8px;
  background: #176c4b;
  border-color: #176c4b;
}

.cocheck-whatsapp-link:hover,
.cocheck-whatsapp-link:focus-visible {
  background: #12583d;
  border-color: #12583d;
}

.cocheck-contact {
  width: min(100%, 850px);
  margin: 16px auto 0;
  padding: 22px 26px;
  background: var(--cocheck-navy);
  color: #fff;
}

.cocheck-contact h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
}

.cocheck-contact p {
  margin: 0;
  font-size: 14px;
}

.cocheck-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 8px;
}

.cocheck-contact a {
  color: #f0d8ad;
  font-size: 13px;
  text-decoration: underline;
}

.cocheck-footer {
  padding-top: 18px;
  color: var(--cocheck-muted);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .cocheck-answers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cocheck-root {
    padding: 14px 10px;
  }

  .cocheck-brand {
    padding-bottom: 16px;
  }

  .cocheck-logo {
    width: min(230px, 72vw);
    max-height: 150px;
  }

  .cocheck-screen {
    padding: 16px 13px;
  }

  .cocheck-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .cocheck-answers {
    grid-template-columns: 1fr;
  }

  .cocheck-answer {
    min-height: 42px;
    font-size: 13px;
  }

  .cocheck-actions {
    flex-direction: column-reverse;
  }

  .cocheck-actions .cocheck-button {
    width: 100%;
  }

  .cocheck-contact {
    padding: 18px 16px;
  }
}
