/* Round Robin Pro lead forms: pages, one question at a time and page transitions (ported from PowerKit Pro forms-public.css). */
:root { --pf-ink: var(--ink); --pf-ink-2: var(--mut); --pf-line-2: var(--line); --pf-card: var(--card); --pf-r-btn: 14px; }
.pf-ptitle { font-size: 21px; margin: 0 0 16px; letter-spacing: -.01em; }
.pf-l-steps .pf-page > .field > .lbl { font-size: clamp(20px, 4.4vw, 26px); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; }
.pf-l-steps .pf-page > .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .pf-l-steps .pf-page > .field select, .pf-l-steps .pf-page > .field textarea { font-size: 18px; padding: 14px 16px; }
.pf-invalid input:not([type=checkbox]):not([type=radio]), .pf-invalid select, .pf-invalid textarea, .pf-invalid .chip span { border-color: #dc2626 !important; }
.pf-paged .reveal { opacity: 1; transform: none; }
.pf-nav .submit { flex: 1; margin-top: 0; width: auto; }
.pf-nav .pf-back, .pf-nav .pf-next { font-family: Inter, system-ui, sans-serif; }
/* ----- pages and one question at a time ----- */
.pf-progress { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--pf-ink, #18202F) 9%, transparent); overflow: hidden; margin: 4px 0 8px; }
.pf-progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.pf-count { margin: 0 0 18px; font-size: 13px; font-weight: 600; color: var(--pf-ink-2, #6b7280); letter-spacing: .02em; }
.pf-ptitle { font-size: 21px; margin: 0 0 16px; letter-spacing: -.01em; }
.pf-stage { position: relative; }
.pf-page[hidden] { display: none !important; }
.pf-nav { display: flex; gap: 10px; align-items: center; }
.pf-nav .pf-btn { flex: 1; }
.pf-l-pages .pf-nav, .pf-l-steps .pf-nav { margin-top: 18px; }
.pf-l-pages .pf-nav .pf-btn, .pf-l-steps .pf-nav .pf-btn { margin-top: 0; }
.pf-back, .pf-next { border-radius: var(--pf-r-btn, 14px); padding: 15px 20px; font: 700 16px var(--text, system-ui), sans-serif; cursor: pointer; transition: filter .2s, background .2s, border-color .2s; }
.pf-back { background: transparent; color: var(--pf-ink, #18202F); border: 1px solid var(--pf-line-2, #d1d5db); }
.pf-back:hover { border-color: var(--pf-ink-2, #6b7280); }
.pf-next { flex: 1; background: var(--accent); color: var(--pf-on-accent, #fff); border: 0; box-shadow: 0 12px 26px -16px var(--accent); }
.pf-next:hover { filter: brightness(1.06); }
.pf-paged .pf-nav [hidden] { display: none; }
.pf-enter { display: none; margin: 10px 0 0; font-size: 12.5px; color: var(--pf-ink-2, #6b7280); text-align: center; }
.pf-enter kbd { font: 600 11.5px var(--text, system-ui); border: 1px solid var(--pf-line-2, #d1d5db); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }
@media (hover: hover) and (pointer: fine) { .pf-paged .pf-enter { display: block; } }
.pf-bad { animation: pfShake .4s; }
.pf-page .pf-invalid input:not([type=checkbox]):not([type=radio]), .pf-page .pf-invalid select, .pf-page .pf-invalid textarea, .pf-invalid .pf-opt { border-color: #dc2626; }
.pf-msg { display: block; color: #b91c1c; font-size: 13px; font-weight: 600; margin-top: 6px; }
@keyframes pfShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Typeform style: one big question per screen. */
.pf-l-steps .pf-page { min-height: 220px; display: flex; flex-direction: column; justify-content: center; }

/* ----- page transitions: the leaving page is laid over the arriving one while both animate ----- */
.pf-stage.pf-moving { isolation: isolate; }
.pf-leaving { position: absolute; top: 0; left: 0; right: 0; z-index: 2; pointer-events: none; background: var(--pf-card, #fff); }
.pf-t-turn .pf-stage.pf-moving, .pf-t-flip .pf-stage.pf-moving { perspective: 1800px; }
.pf-t-slide .pf-stage.pf-moving, .pf-t-rise .pf-stage.pf-moving, .pf-t-zoom .pf-stage.pf-moving { overflow: hidden; margin: 0 -6px; padding: 0 6px; }
.pf-anim-in, .pf-anim-out { animation-duration: .48s; animation-timing-function: cubic-bezier(.2,.7,.2,1); animation-fill-mode: both; }
/* slide */
.pf-t-slide .pf-fwd.pf-anim-in { animation-name: pfSlideInR; } .pf-t-slide .pf-fwd.pf-anim-out { animation-name: pfSlideOutL; }
.pf-t-slide .pf-rev.pf-anim-in { animation-name: pfSlideInL; } .pf-t-slide .pf-rev.pf-anim-out { animation-name: pfSlideOutR; }
@keyframes pfSlideInR { from { transform: translateX(56px); opacity: 0; } }
@keyframes pfSlideInL { from { transform: translateX(-56px); opacity: 0; } }
@keyframes pfSlideOutL { to { transform: translateX(-56px); opacity: 0; } }
@keyframes pfSlideOutR { to { transform: translateX(56px); opacity: 0; } }
/* fade */
.pf-t-fade .pf-anim-in { animation-name: pfFadeIn; animation-duration: .38s; } .pf-t-fade .pf-anim-out { animation-name: pfFadeOut; animation-duration: .24s; }
@keyframes pfFadeIn { from { opacity: 0; } }
@keyframes pfFadeOut { to { opacity: 0; } }
/* zoom */
.pf-t-zoom .pf-anim-in { animation-name: pfZoomIn; } .pf-t-zoom .pf-anim-out { animation-name: pfZoomOut; animation-duration: .3s; }
@keyframes pfZoomIn { from { transform: scale(.9); opacity: 0; } }
@keyframes pfZoomOut { to { transform: scale(1.06); opacity: 0; } }
/* rise */
.pf-t-rise .pf-fwd.pf-anim-in { animation-name: pfRiseIn; } .pf-t-rise .pf-fwd.pf-anim-out { animation-name: pfRiseOut; animation-duration: .3s; }
.pf-t-rise .pf-rev.pf-anim-in { animation-name: pfSinkIn; } .pf-t-rise .pf-rev.pf-anim-out { animation-name: pfSinkOut; animation-duration: .3s; }
@keyframes pfRiseIn { from { transform: translateY(34px); opacity: 0; } }
@keyframes pfRiseOut { to { transform: translateY(-22px); opacity: 0; } }
@keyframes pfSinkIn { from { transform: translateY(-34px); opacity: 0; } }
@keyframes pfSinkOut { to { transform: translateY(22px); opacity: 0; } }
/* page turn: the page peels over from its left edge like a book page, with a shadow under the curl */
.pf-t-turn .pf-anim-in, .pf-t-turn .pf-anim-out { animation-duration: .78s; animation-timing-function: cubic-bezier(.45,.05,.25,1); }
.pf-t-turn .pf-anim-out, .pf-t-turn .pf-rev.pf-anim-in { backface-visibility: hidden; transform-style: flat; }
.pf-t-turn .pf-fwd.pf-anim-out { transform-origin: 0 50%; animation-name: pfTurnAway; box-shadow: 0 0 0 transparent; }
.pf-t-turn .pf-fwd.pf-anim-in { animation-name: pfTurnUnder; }
.pf-t-turn .pf-rev.pf-anim-in { transform-origin: 0 50%; animation-name: pfTurnBack; position: relative; z-index: 3; background: var(--pf-card, #fff); }
.pf-t-turn .pf-rev.pf-anim-out { animation-name: pfTurnDim; z-index: 1; }
.pf-t-turn .pf-anim-out::after, .pf-t-turn .pf-rev.pf-anim-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.16)); opacity: 0; animation: inherit; animation-name: pfCurlShade; }
.pf-t-turn .pf-rev.pf-anim-in::after { animation-direction: reverse; }
@keyframes pfTurnAway { 0% { transform: rotateY(0); opacity: 1; box-shadow: 0 0 0 rgba(0,0,0,0); } 60% { opacity: 1; box-shadow: 30px 0 50px -20px rgba(0,0,0,.35); } 85% { opacity: 1; } 100% { transform: rotateY(-100deg); opacity: 0; box-shadow: 40px 0 60px -20px rgba(0,0,0,0); } }
@keyframes pfTurnBack { 0% { transform: rotateY(-100deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: rotateY(0); opacity: 1; } }
@keyframes pfTurnUnder { 0% { filter: brightness(.82); transform: scale(.985); } 100% { filter: none; transform: none; } }
@keyframes pfTurnDim { to { filter: brightness(.8); transform: scale(.985); } }
@keyframes pfCurlShade { 0% { opacity: 0; } 60% { opacity: 1; } 100% { opacity: .6; } }
/* flip: the card turns over on its vertical axis */
.pf-t-flip .pf-anim-in, .pf-t-flip .pf-anim-out { animation-duration: .36s; backface-visibility: hidden; }
.pf-t-flip .pf-anim-out { animation-name: pfFlipOut; animation-timing-function: cubic-bezier(.55,0,1,.45); }
.pf-t-flip .pf-anim-in { animation-name: pfFlipIn; animation-delay: .34s; animation-timing-function: cubic-bezier(0,.55,.45,1); }
.pf-t-flip .pf-rev.pf-anim-out { animation-name: pfFlipOutR; } .pf-t-flip .pf-rev.pf-anim-in { animation-name: pfFlipInR; }
@keyframes pfFlipOut { to { transform: rotateY(90deg); } }
@keyframes pfFlipIn { from { transform: rotateY(-90deg); } }
@keyframes pfFlipOutR { to { transform: rotateY(-90deg); } }
@keyframes pfFlipInR { from { transform: rotateY(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .pf-anim-in, .pf-anim-out, .pf-t-flip .pf-anim-in { animation: pfFadeIn .2s ease both !important; transform: none !important; }
  .pf-anim-out { animation-name: pfFadeOut !important; }
  .pf-anim-out::after, .pf-anim-in::after { display: none; }
  .pf-progress i, .pf-btn { transition: none; }
}
