/* Typeform-style qualification questionnaire (full screen) */
html.tf-lock, html.tf-lock body { overflow: hidden !important; }
#tf { position: fixed; inset: 0; z-index: 99999; background: #faf9f6 radial-gradient(#e6e1d6 1px, transparent 1px) 0 0 / 20px 20px; color: #0b1224; overflow-y: auto; -webkit-overflow-scrolling: touch; font-family: var(--ff-geist, system-ui, sans-serif); }
#tf[hidden] { display: none; }
.tf-bar { position: fixed; top: 0; left: 0; right: 0; height: 6px; background: #e6e1d6; z-index: 3; }
.tf-bar i { display: block; height: 100%; width: 0; background: #169CF9; border-radius: 0 6px 6px 0; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.tf-x { position: fixed; top: 16px; right: 18px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); font-size: 26px; line-height: 1; cursor: pointer; color: #0b1224; }
.tf-back { position: fixed; top: 20px; left: 20px; z-index: 3; background: none; border: 0; font: inherit; font-weight: 600; font-size: 15px; color: #0e5a9a; cursor: pointer; padding: 8px; }
.tf-back[hidden] { display: none; }
.tf-wrap { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 84px 24px 70px; }
.tf-q { width: 100%; max-width: 760px; }
.tf-step { animation: tfNext .45s cubic-bezier(.2, .8, .2, 1) both; }
.tf-step.prev { animation-name: tfPrev; }
@keyframes tfNext { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
@keyframes tfPrev { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
.tf-badge { display: inline-flex; align-items: center; gap: 8px; background: #169CF9; color: #fff; border-radius: 8px; padding: 6px 12px; font-weight: 800; font-size: 16px; margin-bottom: 18px; }
.tf-badge span { font-weight: 600; }
#tf h2 { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; color: #0b1224; margin: 0 0 26px; }
.tf-sub { color: #0e5a9a; font-size: 17px; margin: -10px 0 18px; }
.tf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.tf-f { display: grid; gap: 6px; } .tf-f:nth-child(5) { grid-column: 1 / -1; }
.tf-f label { font-size: 14px; font-weight: 700; color: #0e5a9a; }
.tf-f input { font: inherit; font-size: 18px; padding: 10px 2px; border: 0; border-bottom: 2px solid #c9c3b4; background: transparent; color: #0b1224; width: 100%; border-radius: 0; }
.tf-f input:focus { outline: none; border-bottom-color: #169CF9; }
.tf-err { display: none; color: #c0392b; font-size: 13px; } .tf-f.err .tf-err { display: block; } .tf-f.err input { border-bottom-color: #c0392b; }
.tf-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: #0e5a9a; margin: 22px 0 0; line-height: 1.45; } .tf-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: #169CF9; }
.tf-opts { display: grid; gap: 10px; max-width: 640px; }
.tf-opt { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 14px 16px; background: #fff; border: 2px solid #d9d4c8; border-radius: 12px; font: inherit; font-size: 17px; font-weight: 600; color: #0b1224; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.tf-opt:hover { border-color: #169CF9; transform: translateX(3px); }
.tf-opt kbd { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #c9c3b4; border-radius: 7px; font: inherit; font-weight: 800; font-size: 14px; color: #0e5a9a; background: #faf9f6; transition: all .15s; }
.tf-opt.sel { border-color: #169CF9; background: #e9f5fe; } .tf-opt.sel kbd { background: #169CF9; border-color: #169CF9; color: #fff; }
.tf-ok { display: flex; align-items: center; gap: 14px; margin-top: 26px; } .tf-ok em { font-style: normal; font-size: 13px; color: #0e5a9a; }
.tf-btn { display: inline-flex; align-items: center; gap: 8px; background: #169CF9; color: #fff !important; font: inherit; font-weight: 700; font-size: 17px; padding: 13px 26px; border: 3px solid #0b1224; border-radius: 12px; cursor: pointer; text-decoration: none; transition: transform .15s; }
.tf-btn:hover { transform: translate(2px, 2px); } .tf-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; } .tf-btn.sm { padding: 9px 18px; font-size: 15px; }
.tf-foot { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13px; color: #0e5a9a; pointer-events: none; }
#tfCal { min-height: 560px; margin-top: 8px; background: #fff; border-radius: 14px; }
.tf-dep { margin-top: 18px; padding: 16px; border: 1.5px dashed #169CF9; border-radius: 12px; background: rgba(22, 156, 249, .05); } .tf-dep p { color: #0e5a9a; margin: 6px 0 12px; font-size: 14px; }
@media (max-width: 640px) { .tf-fields { grid-template-columns: 1fr; } .tf-wrap { align-items: flex-start; padding: 72px 18px 64px; } .tf-opt { font-size: 15.5px; padding: 12px 13px; } .tf-ok em { display: none; } .tf-btn { padding: 12px 22px; } }
@media (hover: none) { .tf-ok em { display: none; } }
@media (prefers-reduced-motion: reduce) { .tf-step { animation: none; } }
@media (max-width: 640px) { .tf-foot { display: none; } .tf-fields { gap: 6px; } .tf-f input { font-size: 17px; padding: 8px 2px; } }

.tf-fields.one { grid-template-columns: 1fr; max-width: 560px; } .tf-fields.one .tf-f input { font-size: clamp(20px, 3vw, 28px); padding: 12px 2px; }

/* inline version (lives inside the Apply section) */
#tf.tf-inline { position: relative; inset: auto; z-index: 1; overflow: hidden; background: #fff; border: 2px solid #0b1224; border-radius: 20px; max-width: 820px; margin: 0 auto; text-align: left; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .4); }
#tf.tf-inline .tf-bar { position: absolute; border-radius: 20px 20px 0 0; }
#tf.tf-inline .tf-back { position: absolute; top: 18px; left: 18px; }
#tf.tf-inline .tf-wrap { min-height: 520px; padding: 70px 44px 60px; }
#tf.tf-inline .tf-foot { position: absolute; bottom: 14px; }
#tf.tf-inline #tfCal { background: #faf9f6; }
@media (max-width: 640px) { #tf.tf-inline .tf-wrap { padding: 62px 18px 40px; min-height: 0; } #tf.tf-inline { border-radius: 16px; } }

/* smaller inline card so the whole questionnaire fits comfortably */
#tf.tf-inline { max-width: 680px; border-radius: 18px; }
#tf.tf-inline .tf-wrap { min-height: 0; padding: 52px 34px 44px; }
#tf.tf-inline h2 { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.2; margin-bottom: 18px; }
#tf.tf-inline .tf-badge { font-size: 13px; padding: 4px 10px; margin-bottom: 12px; }
#tf.tf-inline .tf-opts { gap: 8px; }
#tf.tf-inline .tf-opt { font-size: 15px; padding: 10px 13px; gap: 11px; border-radius: 10px; }
#tf.tf-inline .tf-opt kbd { width: 26px; height: 26px; font-size: 12.5px; }
#tf.tf-inline .tf-ok { margin-top: 18px; } #tf.tf-inline .tf-btn { font-size: 15px; padding: 9px 20px; border-width: 2px; }
#tf.tf-inline .tf-fields.one { max-width: 440px; } #tf.tf-inline .tf-fields.one .tf-f input { font-size: clamp(17px, 2.2vw, 22px); padding: 8px 2px; }
#tf.tf-inline .tf-f label, #tf.tf-inline .tf-consent { font-size: 12.5px; }
#tf.tf-inline .tf-back { top: 14px; left: 14px; font-size: 13.5px; } #tf.tf-inline .tf-foot { font-size: 12px; bottom: 10px; }
@media (max-width: 640px) { #tf.tf-inline .tf-wrap { padding: 50px 16px 38px; } #tf.tf-inline h2 { font-size: 19px; } #tf.tf-inline .tf-opt { font-size: 14.5px; } }
