.trial-flow-screen{max-width:100%;padding:8px 0}.trial-flow-screen p{font-size:15px;line-height:1.6;color:#555}.trial-flow-screen h3{font-size:24px;line-height:1.3;font-weight:500;margin:0 0 24px}.trial-flow-actions{display:grid;gap:16px;margin-top:24px}.trial-flow-actions a{font:inherit;text-align:center;overflow-wrap:anywhere}.trial-flow-actions .primary{display:block;padding:14px;text-decoration:none;white-space:normal}#trial-contact{max-height:88vh;overflow:auto}#trial-contact [hidden]{display:none!important}.trial-payment-frame{display:block;width:100%;border:0;min-height:100px}

/* Trial contact dialog: responsive desktop layout, scoped to the native form. */
.home-preview #trial #trial-contact{max-height:calc(100dvh - 32px);scrollbar-gutter:stable}
.home-preview #trial #trial-contact .trial-contact-title{position:sticky;top:-1px;z-index:2;background:#fff}
.home-preview #trial #trial-contact input:not([type="checkbox"]):not([type="hidden"]){box-shadow:none;outline:none;transition:border-color .15s ease}
.home-preview #trial #trial-contact input:not([type="checkbox"]):not([type="hidden"]):hover,
.home-preview #trial #trial-contact input:not([type="checkbox"]):not([type="hidden"]):focus{border-color:#57C568!important;box-shadow:none;outline:none}
.home-preview #trial #trial-contact input:not([type="checkbox"]):not([type="hidden"]):focus-visible{border:2px solid #57C568;padding:9px 11px;outline:none;box-shadow:none}
.home-preview #trial #trial-contact .form__item--submit{text-align:center}
@media(min-width:900px){
 .home-preview #trial #trial-contact{width:min(640px,calc(100vw - 48px));max-width:calc(100vw - 48px)}
 .home-preview #trial #trial-contact .form{grid-template-columns:minmax(0,1fr) max-content;gap:20px 20px}
 .home-preview #trial #trial-contact .form__item:has(input[name="field4"]){width:0;min-width:100%}
 .home-preview #trial #trial-contact .form::before,
 .home-preview #trial #trial-contact .form::after{display:none}
 .home-preview #trial #trial-contact .form__item{min-width:0;margin:0}
 .home-preview #trial #trial-contact .inside-trial-consent{grid-column:1/-1;grid-row:3;margin:0!important}
 .home-preview #trial #trial-contact .form__item--submit{width:max-content;grid-column:2;grid-row:2;align-self:end;justify-self:end;text-align:right}
 .home-preview #trial #trial-contact .form__item--submit .form__item__title{display:none}
}
@media(max-width:600px){.home-preview #trial #trial-contact{max-height:calc(100dvh - 24px)}}

/* Buttons follow the brand padding ratio, without desktop row stretching. */
.home-preview #trial #trial-contact .form__item--submit button{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;height:auto;min-height:48px;line-height:24px;padding:12px 24px;white-space:nowrap}

@media(min-width:900px){
 .home-preview #trial #trial-contact{--trial-payment-width:min(1040px,calc(100vw - 48px))}
 .home-preview #trial #trial-contact.trial-payment-open{width:var(--trial-payment-width)}
 .home-preview #trial #trial-contact.trial-payment-open .trial-flow-screen{padding:0}
 .home-preview #trial #trial-contact.trial-payment-open .trial-flow-screen>h3{margin:0 0 24px}
}
@media(max-width:600px){.home-preview #trial #trial-contact .form__item--submit button{padding:10px 20px;line-height:28px}}

/* Prepare the final-width frame offscreen; reveal only after layout and fonts settle. */
.home-preview #trial #trial-contact .trial-payment-stage{position:fixed;left:-10000px;top:0;visibility:hidden;pointer-events:none;padding:0}
.home-preview #trial #trial-contact .trial-payment-stage .trial-payment-frame{min-height:0}
.home-preview #trial #trial-contact .trial-payment-notice{font-size:14px;line-height:1.5;margin:12px 0 0}

/* Consent control: iOS-like shape, keyboard-only focus, no desktop native-icon mismatch. */
.home-preview #trial #trial-contact .trial-consent-box{position:relative;display:block;width:20px;height:20px;margin:3px 0 0;border-radius:6px}
.home-preview #trial #trial-contact .trial-consent-mark{position:absolute;inset:0;display:grid;place-items:center;background:#fff;border:1.5px solid #9aa79e;border-radius:6px;transition:background-color .16s ease,border-color .16s ease,transform .12s ease}
.home-preview #trial #trial-contact .trial-consent-mark svg{display:block;width:18px;height:18px}
.home-preview #trial #trial-contact .trial-consent-mark path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .16s ease}
.home-preview #trial #trial-contact .trial-consent-box input:checked+.trial-consent-mark{background:#007aff;border-color:#007aff}
.home-preview #trial #trial-contact .trial-consent-box input:checked+.trial-consent-mark path{stroke-dashoffset:0}
.home-preview #trial #trial-contact .trial-consent-box input:focus-visible+.trial-consent-mark{outline:2px solid #1c4732;outline-offset:3px}
.home-preview #trial #trial-contact .trial-consent-box input:active+.trial-consent-mark{transform:scale(.94)}
.home-preview #trial #trial-contact .trial-consent-box input:disabled+.trial-consent-mark{opacity:.55}
@media(prefers-reduced-motion:reduce){.home-preview #trial #trial-contact .trial-consent-mark,.home-preview #trial #trial-contact .trial-consent-mark path{transition:none}}
@media(forced-colors:active){.home-preview #trial #trial-contact .trial-consent-mark{border-color:CanvasText}.home-preview #trial #trial-contact .trial-consent-box input:checked+.trial-consent-mark{background:Highlight;border-color:Highlight}.home-preview #trial #trial-contact .trial-consent-mark path{stroke:HighlightText}}
