.byc-quiz-section {
  scroll-margin-top: 96px;
  background: #f6faf9;
  padding: 56px 20px;
  color: #0b1f1c;
  font-family: Arial, Helvetica, sans-serif;
}

.byc-quiz-shell {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: start;
}

.byc-quiz-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.byc-quiz-copy p {
  margin: 0 0 18px;
  color: #56655f;
  font-size: 17px;
  line-height: 1.55;
}

.byc-quiz-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.byc-quiz-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #0b1f1c;
  font-size: 15px;
  line-height: 1.45;
}

.byc-quiz-point::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #14b8a6;
}

.byc-quiz-card {
  background: #ffffff;
  border: 1px solid #e3ece9;
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(11, 31, 28, 0.08);
}

.byc-quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.byc-quiz-progress-line {
  position: relative;
  flex: 1;
  height: 6px;
  background: #e6faf7;
  border-radius: 999px;
  overflow: hidden;
}

.byc-quiz-progress-fill {
  height: 100%;
  width: 20%;
  background: #14b8a6;
  transition: width .2s ease;
}

.byc-quiz-step-count {
  color: #56655f;
  font-size: 14px;
  white-space: nowrap;
}

.byc-quiz-step {
  display: none;
}

.byc-quiz-step.is-active {
  display: block;
}

.byc-quiz-step h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.byc-quiz-options {
  display: grid;
  gap: 10px;
}

.byc-quiz-options.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.byc-quiz-option {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #cdf0ea;
  border-radius: 4px;
  background: #ffffff;
  color: #0b1f1c;
  font: inherit;
  font-size: 15px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.byc-quiz-options.is-compact .byc-quiz-option {
  min-height: 38px;
  padding: 9px 10px;
  font-size: 14px;
}

.byc-quiz-option:hover {
  border-color: #14b8a6;
  background: #f6faf9;
}

.byc-quiz-option.is-selected {
  border-color: #14b8a6;
  background: #e6faf7;
  color: #0b1f1c;
  font-weight: 700;
}

.byc-quiz-date,
.byc-quiz-field {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid #cdf0ea;
  border-radius: 4px;
  background: #ffffff;
  color: #0b1f1c;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.byc-quiz-date:focus,
.byc-quiz-field:focus {
  border-color: #14b8a6;
}

.byc-quiz-fields {
  display: grid;
  gap: 12px;
}

.byc-quiz-error {
  display: none;
  margin-top: 12px;
  color: #e40014;
  font-size: 14px;
  line-height: 1.4;
}

.byc-quiz-error.is-visible {
  display: block;
}

.byc-quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.byc-quiz-btn {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #14b8a6;
  border-radius: 4px;
  background: #14b8a6;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.byc-quiz-btn:hover {
  background: #0e9488;
  border-color: #0e9488;
}

.byc-quiz-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.byc-quiz-btn-secondary {
  background: #ffffff;
  color: #0b1f1c;
  border-color: #cdf0ea;
}

.byc-quiz-btn-secondary:hover {
  background: #f6faf9;
  border-color: #14b8a6;
}

.byc-calculator-note {
  max-width: 1120px;
  margin: 18px auto 0;
  padding: 16px 18px;
  border: 1px solid #cdf0ea;
  border-radius: 4px;
  background: #ffffff;
  color: #0b1f1c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.byc-calculator-note p {
  margin: 0;
  color: #56655f;
  font-size: 15px;
  line-height: 1.45;
}

.byc-calculator-note a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 4px;
  background: #0b1f1c;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.byc-calculator-note a:hover {
  background: #0e9488;
}

.byc-calculator-page {
  background: #f6faf9;
  color: #0b1f1c;
  font-family: Arial, Helvetica, sans-serif;
}

.byc-calculator-page-intro,
.byc-calculator-page-after,
.byc-calculator-page-faq,
.byc-calculator-page-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 22px;
}

.byc-calculator-page-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.byc-calculator-page-intro p,
.byc-calculator-page-after p,
.byc-calculator-page-cta p {
  max-width: 780px;
  margin: 0 0 18px;
  color: #56655f;
  font-size: 17px;
  line-height: 1.55;
}

.byc-calculator-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.byc-calculator-benefits span {
  padding: 9px 11px;
  border: 1px solid #cdf0ea;
  border-radius: 4px;
  background: #ffffff;
  font-size: 14px;
  color: #0b1f1c;
}

.byc-calculator-page #calculator {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.byc-calculator-page-faq h2,
.byc-calculator-page-cta h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.byc-faq-grid {
  display: grid;
  gap: 12px;
}

.byc-faq-item {
  padding: 16px;
  border: 1px solid #e3ece9;
  border-radius: 4px;
  background: #ffffff;
}

.byc-faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.byc-faq-item p {
  margin: 0;
  color: #56655f;
  font-size: 15px;
  line-height: 1.5;
}

.byc-calculator-page-cta a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 4px;
  background: #14b8a6;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .byc-quiz-section {
    padding: 40px 16px;
  }

  .byc-quiz-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .byc-quiz-card {
    padding: 18px;
  }

  .byc-quiz-options.is-compact {
    grid-template-columns: 1fr;
  }

  .byc-quiz-actions {
    flex-direction: column-reverse;
  }

  .byc-quiz-btn {
    width: 100%;
  }

  .byc-calculator-note {
    margin-left: 16px;
    margin-right: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .byc-calculator-note a {
    width: 100%;
  }
}

/* Stats block visual alignment */
main > section:nth-of-type(2) [class*="text-[48px]"],
main > section:nth-of-type(2) [class*="md:text-[56px]"] {
  font-size: 56px !important;
  line-height: 1.05 !important;
}

main > section:nth-of-type(2) sup,
main > section:nth-of-type(2) .text-[24px] {
  font-size: 0.55em !important;
  line-height: 1 !important;
  vertical-align: super !important;
}

/* Stats accent numbers */
main > section:nth-of-type(2) .tabular-nums {
  color: #14b8a6 !important;
}

/* Service hero stats visual alignment */
main > section:first-of-type .tabular-nums {
  color: #14b8a6 !important;
  font-size: 56px !important;
  line-height: 1.05 !important;
}

@media (max-width: 767px) {
  main > section:first-of-type .tabular-nums {
    font-size: 48px !important;
  }
}
