/* platform form: the popup GHL provides natively and we have to supply off-GHL.
   Deliberately theme-neutral and token-driven -- blocks bring their own palette, and a form
   that imposed a look would clash with 149 differently-branded pages. */
.pf-ov{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;
  background:rgba(0,0,0,.72);padding:16px;overflow-y:auto}
.pf-ov[data-open]{display:flex}
.pf-ov,.pf-ov *{box-sizing:border-box}   /* the card never leans on the page having its own reset */
.pf-card{background:#14161a;color:#f4f5f7;border-radius:16px;width:min(520px,100%);
  padding:28px 26px 22px;box-shadow:0 24px 60px rgba(0,0,0,.5);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;position:relative;margin:auto}
.pf-x{position:absolute;top:12px;right:14px;background:none;border:0;color:#8b929c;font-size:26px;
  line-height:1;cursor:pointer;padding:4px 8px}
.pf-x:hover{color:#fff}
.pf-h{margin:0 0 6px;font-size:22px;font-weight:700;letter-spacing:-.01em}
.pf-sub{margin:0 0 18px;font-size:15px;line-height:1.5;color:#b4bac4}
.pf-f{margin:0 0 14px}.pf-f[hidden]{display:none}
.pf-f label{display:block;font-size:15px;font-weight:600;margin:0 0 6px;color:#d6dae0}
.pf-f input,.pf-f select,.pf-f textarea{width:100%;padding:11px 13px;border-radius:9px;
  border:1px solid #4a5160;background:#0d0f12;color:#f4f5f7;font-size:16px;font-family:inherit}
.pf-f input:focus,.pf-f select:focus,.pf-f textarea:focus{outline:2px solid var(--pf-accent,#e8590c);outline-offset:1px;border-color:transparent}
.pf-row{display:flex;gap:10px}.pf-row .pf-f{flex:1}
.pf-checks{border:0;padding:0;min-width:0}.pf-checks legend{display:block;padding:0;font-size:15px;font-weight:600;margin:0 0 8px;color:#d6dae0}
.pf-checks .pf-check{display:flex;gap:10px;align-items:center;margin:0 0 8px;font-size:15px;line-height:1.3;color:#d6dae0;cursor:pointer}
.pf-checks .pf-check input{width:22px;height:22px;flex:0 0 auto;margin:0;padding:0;border:0;box-shadow:none;accent-color:var(--pf-accent,#e8590c)}
.pf-consent{display:flex;gap:10px;align-items:flex-start;margin:16px 0 4px}
.pf-consent input{margin-top:2px;width:22px;height:22px;flex:0 0 auto;accent-color:var(--pf-accent,#e8590c)}
.pf-consent span{font-size:14px;line-height:1.45;color:#b4bac4}
.pf-consent a{color:inherit;text-decoration:underline}
.pf-go{width:100%;margin-top:14px;padding:14px;border:0;border-radius:10px;cursor:pointer;
  background:var(--pf-accent,#e8590c);color:var(--pf-accent-ink,#fff);font-size:16px;font-weight:700;font-family:inherit}
.pf-go:disabled{opacity:.55;cursor:default}
.pf-err{margin:10px 0 0;font-size:15px;color:#ff9a9a;min-height:1em}
.pf-dots{display:flex;gap:6px;justify-content:center;margin:0 0 16px}
.pf-dots i{width:6px;height:6px;border-radius:50%;background:#2c313a}
.pf-dots i[data-on]{background:var(--pf-accent,#e8590c)}
@media (max-width:420px){.pf-row{flex-direction:column;gap:0}.pf-card{padding:24px 18px 18px}}
/* On a light page the card is light too (form.js matchPage sets data-light from the background behind the button). */
.pf-ov[data-light] .pf-card{background:#ffffff;color:#14161a;box-shadow:0 24px 60px rgba(0,0,0,.22)}
.pf-ov[data-light]{background:rgba(20,22,26,.55)}
.pf-ov[data-light] .pf-x{color:#6b7280}.pf-ov[data-light] .pf-x:hover{color:#14161a}
.pf-ov[data-light] .pf-sub,.pf-ov[data-light] .pf-consent span{color:#4b5563}
.pf-ov[data-light] .pf-f label{color:#1f2937}.pf-ov[data-light] .pf-checks legend,.pf-ov[data-light] .pf-check{color:#1f2937}
.pf-ov[data-light] .pf-f input,.pf-ov[data-light] .pf-f select,.pf-ov[data-light] .pf-f textarea{background:#ffffff;color:#14161a;border-color:#cfd4dc}
.pf-ov[data-light] .pf-err{color:#b42318}
.pf-ov[data-light] .pf-dots i{background:#d9dde3}
/* A SHEET ON A NATIVE PAGE (form.js sheetMode, lib/funnel-native.mjs): at phone width, on a block that asks for it. */
.pf-grab{display:none}
@media (max-width:700px){
  .pf-ov[data-sheet]{align-items:flex-end;padding:0;overflow:hidden;background:rgba(0,0,0,0);transition:background-color .3s}
  .pf-ov[data-sheet][data-up]{background:rgba(0,0,0,.5)}
  .pf-ov[data-sheet] .pf-card{width:100%;margin:0;border-radius:22px 22px 0 0;max-height:94%;overflow-y:auto;overscroll-behavior:contain;
    padding:10px 20px calc(22px + env(safe-area-inset-bottom,0px));transform:translateY(105%);
    transition:transform .38s cubic-bezier(.2,.8,.2,1),border-radius .45s,max-height .45s,height .45s,background-color .4s}
  .pf-ov[data-sheet][data-up] .pf-card{transform:none}
  .pf-ov[data-sheet] .pf-card.pf-drag{transition:none}
  .pf-ov[data-sheet] .pf-grab{display:block;width:40px;height:5px;border-radius:3px;background:currentColor;opacity:.22;margin:0 auto 16px}
  .pf-ov[data-sheet] .pf-x{top:6px}
  .pf-ov[data-sheet] .pf-card[data-done]{height:100%;max-height:100%;border-radius:0;background:var(--pf-handoff,#fff);display:grid;place-items:center}
  .pf-ov[data-sheet] .pf-card[data-done] .pf-grab,.pf-ov[data-sheet] .pf-card[data-done] .pf-x{display:none}
  @media (prefers-reduced-motion:reduce){.pf-ov[data-sheet] .pf-card{transition:none}.pf-done-mark *{animation:none;stroke-dashoffset:0}}
}
/* THE HAND-OFF, at every width (form.js handoff): the tick that draws itself, and on a computer the window filling in
   the next page's colour while the card fades into it. A phone's sheet does the same by growing (above). */
.pf-done-mark{width:64px;height:64px;margin:auto;color:var(--pf-accent,#1f2420)}
.pf-done-mark svg{width:100%;height:100%}
.pf-done-mark circle{stroke-dasharray:145;stroke-dashoffset:145;animation:pf-draw .45s ease-out forwards}
.pf-done-mark path{stroke-dasharray:36;stroke-dashoffset:36;animation:pf-draw .3s ease-out .35s forwards}
@keyframes pf-draw{to{stroke-dashoffset:0}}
.pf-ov[data-handoff]:not([data-sheet]){background:var(--pf-handoff,#fff);transition:background-color .45s}
.pf-ov[data-handoff]:not([data-sheet]) .pf-card{background:transparent;box-shadow:none;transition:background-color .3s,box-shadow .3s}
.pf-ov[data-handoff]:not([data-sheet]) .pf-x,.pf-ov[data-handoff]:not([data-sheet]) .pf-grab{display:none}

/* A FORM ON THE PAGE (form.js inline, a block with [data-pf-inline]): the same card, sitting in the page instead of over
   it. Nothing to close; the block's own heading and words lead it. */
.pf-ov.pf-inline{position:static;inset:auto;z-index:auto;display:block;background:none;padding:0;overflow:visible}
.pf-ov.pf-inline .pf-card{margin:0;width:100%;max-width:520px;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.pf-ov.pf-inline[data-light] .pf-card{box-shadow:0 12px 32px rgba(16,42,42,.10)}
.pf-ov.pf-inline .pf-x,.pf-ov.pf-inline .pf-grab{display:none}
.pf-ov.pf-inline .pf-form>.pf-f:first-child{margin-top:0}
