@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/inter-400.ttf') format('truetype'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/inter-500.ttf') format('truetype'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/inter-600.ttf') format('truetype'); }
:root { color-scheme: light; --yellow: #fee600; --text: #101828; --border: #e5e7eb; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 14px; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, a { font: inherit; }
[hidden] { display: none !important; }
.calculator { width: 100%; max-width: 1260px; margin: 0 auto; padding: 32px; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 1px 3px #0000001a; }
.eyebrow { margin: 6px 0 11px; color: #6a7282; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .3px; text-transform: uppercase; }
h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 27.5px; }
.intro { margin: 12px 0 0; color: #4a5565; line-height: 22.75px; }
#question-groups { padding: 16px 0 20px; display: grid; gap: 8px; }
.group { border: 1px solid var(--border); border-radius: 8px; }
.group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 23px 16px; background: #f9fafb; border-radius: 8px; font-weight: 600; line-height: 20px; cursor: pointer; }
.group summary::-webkit-details-marker { display: none; }
.group[open] summary { padding: 14px 16px; border-radius: 8px 8px 0 0; }
.chevron { display: block; width: 16px; height: 16px; }
.group[open] .chevron { transform: rotate(180deg); }
.questions { padding: 13px 16px 12px; }
.question { margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid #f3f4f6; min-width: 0; }
.question:last-child { border-bottom: 0; }
.question-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.question-label { display: flex; align-items: baseline; gap: 5px; min-width: 0; font-weight: 500; line-height: 19.25px; }
.info { position: relative; display: inline-flex; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.info-toggle { width: 22px; height: 24px; margin: -5px -4px; padding: 5px 4px; border: 0; background: transparent; cursor: pointer; }
.info-toggle img { display: block; width: 14px; height: 14px; }
.tooltip { position: fixed; z-index: 10; width: min(334px, calc(100vw - 32px)); padding: 20px 25px; border-radius: 8px; background: #f8f6f2; box-shadow: 0 3px 16px #00000018; color: #2b2d33; font-size: 14px; font-weight: 400; line-height: 19.25px; max-height: calc(100vh - 32px); overflow: auto; }
.answers { display: flex; flex-shrink: 0; gap: 8px; }
.answer { position: relative; cursor: pointer; }
.answer input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.answer span { display: flex; align-items: center; justify-content: center; min-width: 80px; min-height: 50px; padding: 12px 16px; border: 1.5px solid #2b2d334d; border-radius: 8px; background: #fff; color: #2b2d33; font-size: 15px; font-weight: 500; line-height: 22.5px; letter-spacing: .02px; }
.answer input[value="yes"]:checked + span { background: var(--yellow); border-color: #2b2d3333; }
.answer input[value="no"]:checked + span { background: #fef2f2; border-color: #ff6467; color: #9f0712; }
.answer:hover span { border-color: #2b2d33; }
:focus-visible, .answer input:focus-visible + span { outline: 2px solid #007a91; outline-offset: 3px; }
.error { margin: 6px 0 0; color: #9f0712; font-size: 12px; line-height: 16px; }
.question.invalid .answer span { border-color: #ff6467; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 1.5px solid #2b2d334d; border-radius: 8px; background: #fff; color: #2b2d33; font-size: 15px; font-weight: 500; line-height: 22.5px; text-decoration: none; cursor: pointer; }
.primary { background: var(--yellow); border-color: #2b2d3333; }
.button:hover { filter: brightness(.97); }
.button:disabled { cursor: default; opacity: .5; }
.result { margin-top: 24px; padding: 20px; border: 1px solid; border-radius: 8px; scroll-margin-top: 16px; }
.result.positive { background: #f0fdf4; border-color: #b9f8cf; }
.result.negative { background: #fef2f2; border-color: #ffc9c9; }
.result-copy { display: flex; align-items: flex-start; gap: 12px; }
.result-icon { width: 20px; height: 20px; margin-top: 2px; }
.result h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.positive h2 { color: #008236; }
.negative h2, .negative ul { color: #c10007; }
.result p { margin: 4px 0 0; color: #4a5565; line-height: 22.75px; }
.result ul { margin: 8px 0 0; padding-left: 12px; line-height: 20px; }
.result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.text-link { margin-left: 4px; color: #6a7282; line-height: 20px; }
.disclaimer { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--border); color: #6a7282; font-size: 12px; line-height: 19.5px; }
@media (max-width: 767px) {
  .calculator { padding: 32px 16px; }
  .questions { padding: 0; }
  .question { padding: 16px; }
  .question-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .question-label { font-size: 15px; }
  .answers { width: 100%; }
  .answer { flex: 1; min-width: 0; }
  .answer span { min-width: 0; min-height: 54px; }
  #submit-area .button { width: 100%; }
  .result-actions { flex-direction: column; align-items: stretch; }
  .text-link { margin: 4px 0 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
