/* The survey on thank-you page 1, Typeform-style (Adi 2026-11-08, round 2): one question per screen, large type,
   lettered choices with an icon each, a vertical slide between questions, a big underlined answer field, an OK button
   with the Enter hint, the progress line on top and the up and down arrows bottom right. Tantra palette, Inter. */
.tf { position: relative; max-width: 820px; margin: 32px auto 0; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; --focus: var(--volt); text-align: left; }
.tf-bar { height: 4px; background: var(--lilac); }
.tf-bar i { display: block; height: 100%; width: 0; background: var(--volt); transition: width .45s var(--ease); }
.tf-stage { position: relative; min-height: 460px; padding: 40px 22px 24px; display: grid; align-content: center; }
@media (min-width: 768px) { .tf-stage { min-height: 520px; padding: 56px 64px 32px; } }
.tf-slide { display: grid; gap: 0; }
.tf-slide[hidden] { display: none; }

/* Question */
.tf-q { display: flex; gap: 12px; margin: 0; font-size: clamp(21px, 1.05rem + 1.1vw, 28px); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.tf-q b { font-weight: 700; }
.tf-num { flex: none; display: inline-flex; align-items: center; gap: 4px; padding-top: .28em; font-size: .62em; font-weight: 700; color: var(--volt); font-variant-numeric: tabular-nums; }
.tf-num__a { width: 1em; height: 1em; }
.tf-help { margin: 10px 0 0; padding-left: calc(.62em + 30px); font-size: clamp(15px, .9rem + .2vw, 17px); color: var(--muted); }
.tf-q + .tf-choices, .tf-help + .tf-choices, .tf-q + .tf-in, .tf-help + .tf-in, .tf-help + .tf-counts { margin-top: 28px; }
.tf-choices, .tf-in, .tf-counts, .tf-act, .tf-err { margin-left: 0; }
@media (min-width: 768px) { .tf-choices, .tf-in, .tf-counts, .tf-act, .tf-err, .tf-help { margin-left: 38px; padding-left: 0; } }

/* Choices: letter key, icon, label, tick */
.tf-choices { display: grid; grid-auto-rows: max-content; gap: 8px; max-width: 560px; }
.tf-choices--2 { max-width: none; }
@media (min-width: 640px) { .tf-choices--2 { grid-template-columns: 1fr 1fr; } }
.tf-c { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 9px 40px 9px 10px; border-radius: 10px; cursor: pointer; background: color-mix(in srgb, var(--volt) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--volt) 28%, transparent); color: var(--ink); font-size: 16px; line-height: 1.3; transition: background .15s, box-shadow .15s, transform .15s; -webkit-tap-highlight-color: transparent; }
.tf-c:hover { background: color-mix(in srgb, var(--volt) 10%, transparent); }
.tf-c input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tf-key { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font-size: 12.5px; font-weight: 700; color: var(--volt-deep); background: var(--white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--volt) 45%, transparent); transition: background .15s, color .15s; }
.tf-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--volt-deep); background: var(--white); box-shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--volt) 14%, transparent); }
.tf-svg { width: 20px; height: 20px; }
.tf-meter .on { fill: var(--volt); } .tf-meter .off { fill: color-mix(in srgb, var(--volt) 16%, transparent); }
.tf-l { min-width: 0; }
.tf-tick { position: absolute; right: 12px; width: 20px; height: 20px; color: var(--volt); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.tf-c:has(input:checked) { background: color-mix(in srgb, var(--volt) 14%, transparent); box-shadow: inset 0 0 0 2px var(--volt); }
.tf-c:has(input:checked) .tf-key { background: var(--volt); color: var(--white); box-shadow: none; }
.tf-c:has(input:checked) .tf-tick { opacity: 1; transform: none; }
.tf-c:has(input:focus-visible) { outline: 3px solid var(--volt); outline-offset: 2px; }
.tf-c.is-blink { animation: tf-blink .4s steps(2) 1; }
@keyframes tf-blink { 50% { background: color-mix(in srgb, var(--volt) 26%, transparent); } }

/* Funnel pick */
.tf-choices--funnels { max-width: 640px; max-height: 440px; overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.tf-c--fn { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.tf-c--fn .tf-key { margin-top: 5px; }
.tf-fn__top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.tf-fn__top b { font-size: 16.5px; }
.tf-fn__top em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--white); background: var(--volt); padding: 3px 8px; border-radius: 999px; }
.tf-fn__fit { font-size: 13px; font-weight: 700; color: var(--volt-deep); font-variant-numeric: tabular-nums; }
.tf-fn__why { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.tf-c--fn .tf-tick { top: 14px; }

/* Big underlined answer field (Typeform) */
.tf-in { position: relative; display: flex; align-items: center; gap: 10px; max-width: 520px; border-bottom: 2px solid color-mix(in srgb, var(--volt) 30%, transparent); transition: border-color .2s; }
.tf-in:focus-within { border-color: var(--volt); }
.tf-in__ico { flex: none; color: var(--volt); display: grid; }
.tf-in__ico .tf-svg { width: 26px; height: 26px; }
.tf-in input { width: 100%; min-width: 0; padding: 8px 0 10px; border: 0; background: transparent; outline: none; font: 500 clamp(26px, 1.4rem + 1.2vw, 34px)/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tf input::placeholder { color: #c3c7d4; opacity: 1; font-weight: 400; }
.tf-counts { display: grid; gap: 10px; max-width: 620px; }
@media (min-width: 640px) { .tf-counts { grid-template-columns: 1fr 1fr; } }
.tf-count { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--volt) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--volt) 22%, transparent); cursor: text; }
.tf-count:focus-within { box-shadow: inset 0 0 0 2px var(--volt); background: var(--white); }
.tf-count__ico { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--volt-deep); background: var(--white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--volt) 14%, transparent); }
.tf-count__l { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tf-count input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; outline: none; font: 600 22px/1.2 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }

/* OK, hint, error */
.tf-act { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.tf-ok { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--volt); color: var(--white); font: 700 17px/1 var(--sans); cursor: pointer; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--volt) 90%, transparent); transition: background .15s, transform .15s; }
.tf-ok:hover { background: var(--volt-hover); }
.tf-ok:active { transform: translateY(1px); }
.tf-ok .tf-svg { width: 18px; height: 18px; }
.tf-ok--go { min-height: 52px; padding: 0 26px; }
.tf-hint { font-size: 13px; color: var(--muted); }
.tf-hint b { font-weight: 700; color: var(--ink); }
.tf-err { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 14px; font-weight: 600; justify-self: start; }
.tf-err .tf-svg { width: 16px; height: 16px; }
.tf-slide.is-shake { animation: tf-shake .35s; }
@keyframes tf-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Slide transitions */
.tf-out-up { animation: tf-out-up .22s var(--ease) forwards; }
.tf-out-down { animation: tf-out-down .22s var(--ease) forwards; }
.tf-in-up { animation: tf-in-up .38s var(--ease); }
.tf-in-down { animation: tf-in-down .38s var(--ease); }
@keyframes tf-out-up { to { opacity: 0; transform: translateY(-36px); } }
@keyframes tf-out-down { to { opacity: 0; transform: translateY(36px); } }
@keyframes tf-in-up { from { opacity: 0; transform: translateY(48px); } }
@keyframes tf-in-down { from { opacity: 0; transform: translateY(-48px); } }

/* Footer: question count and the up and down arrows */
.tf-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 16px 22px; }
@media (min-width: 768px) { .tf-foot { padding: 12px 24px 20px 64px; } }
.tf-count-q { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tf-arrows { display: inline-flex; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--volt) 80%, transparent); }
.tf-arrow { display: grid; place-items: center; width: 40px; height: 36px; border: 0; background: var(--volt); color: var(--white); cursor: pointer; }
.tf-arrow + .tf-arrow { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .25); }
.tf-arrow:hover { background: var(--volt-hover); }
.tf-arrow:disabled { background: #b9aef7; cursor: default; }
.tf-arrow .tf-svg { width: 18px; height: 18px; }
.tf-done { justify-items: start; }
.tf-done__ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 16px; border-radius: 16px; color: var(--white); background: var(--volt); }
.tf-done__ico .tf-svg { width: 30px; height: 30px; }
.tf-done .tf-help { padding-left: 0; margin-left: 0; }
@media (prefers-reduced-motion: reduce) { .tf-out-up, .tf-out-down, .tf-in-up, .tf-in-down, .tf-c.is-blink, .tf-slide.is-shake { animation: none !important; } }
