/* All form styles are scoped: the surrounding homepage is unchanged. */
.thrive-enquiry{--tf-wine:var(--wine,#6d1a36);--tf-cream:var(--cream,#faf6f0);color:#301c24;background:var(--tf-cream);font-family:inherit;padding:clamp(22px,5vw,42px);min-width:0;overflow-wrap:anywhere;scroll-margin-top:150px}
#webinar-form>.thrive-enquiry{margin:clamp(14px,3vw,26px);border:1px solid #ddbec9;border-radius:20px;box-shadow:0 8px 24px #6d1a360a}
#webinar-form>.form-heading{background:#fff}
.thrive-enquiry,.thrive-enquiry *{box-sizing:border-box}
.thrive-enquiry [hidden]{display:none!important}
.thrive-enquiry h2{color:var(--tf-wine);font-size:clamp(27px,4vw,38px);line-height:1.2;letter-spacing:-.025em;margin:0 0 22px}
.thrive-enquiry p{font-size:16px;line-height:1.6;color:#55454b;margin:0 0 22px}
.thrive-enquiry .tf-intro p{font-size:15px}
.thrive-enquiry .tf-required{color:#a92d39}
.thrive-enquiry .tf-required-note{font-size:14px;margin-bottom:24px}
.thrive-enquiry fieldset{border:0;min-width:0;padding:0;margin:0}
.thrive-enquiry legend{width:100%;padding:0;line-height:1.45;white-space:normal}
.thrive-enquiry .tf-step>legend{font-size:24px;font-weight:600;color:var(--tf-wine);margin-bottom:24px;scroll-margin-top:150px}
.thrive-enquiry .tf-field{display:block;font-size:18px;line-height:1.5;margin:0 0 28px}
.thrive-enquiry input:not([type=radio]):not([type=checkbox]),.thrive-enquiry textarea{display:block;width:100%;min-width:0;min-height:52px;padding:13px 15px;margin:12px 0 0;background:#fff;border:1px solid #cbbfc4;border-radius:8px;color:#301c24;font:inherit;font-family:inherit;font-size:16px;line-height:1.5;box-shadow:none}
.thrive-enquiry textarea{resize:vertical;min-height:130px;max-height:450px}
.thrive-enquiry input::placeholder,.thrive-enquiry textarea::placeholder{color:#746b72;opacity:1}
.thrive-enquiry input:focus-visible,.thrive-enquiry textarea:focus-visible,.thrive-enquiry button:focus-visible,.thrive-enquiry a:focus-visible{outline:3px solid var(--tf-wine);outline-offset:3px}
.thrive-enquiry .tf-question{margin-bottom:32px}
.thrive-enquiry .tf-question>legend{font-size:19px;font-weight:500;margin-bottom:10px}
.thrive-enquiry .tf-hint{font-size:15px;color:var(--tf-wine);margin-bottom:16px}
.thrive-enquiry .tf-choices{display:grid;gap:10px}
.thrive-enquiry .tf-choice{display:flex;align-items:center;gap:12px;min-height:50px;padding:10px 12px;border:1px solid #ddd0d5;border-radius:8px;background:#fff;cursor:pointer;font-size:16px;line-height:1.45;margin:0;min-width:0}
.thrive-enquiry .tf-choice input{flex:0 0 21px;width:21px;height:21px;accent-color:var(--tf-wine);margin:0}
.thrive-enquiry .tf-choice:has(input:checked){border-color:var(--tf-wine);background:#f3e4e9;box-shadow:inset 0 0 0 1px var(--tf-wine)}
.thrive-enquiry .tf-other{margin-top:16px;margin-bottom:0}
.thrive-enquiry .tf-confidence{display:grid;gap:24px;margin-top:20px}
.thrive-enquiry .tf-confidence legend{font-size:16px;margin-bottom:10px}
.thrive-enquiry .tf-scale{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.thrive-enquiry .tf-scale .tf-choice{flex-direction:column;justify-content:center;text-align:center;height:100%;padding:12px 8px;font-size:14px;gap:8px}
.thrive-enquiry .tf-privacy{font-size:17px}
.thrive-enquiry .tf-privacy a{color:var(--tf-wine);text-underline-offset:3px}
.thrive-enquiry .tf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}
.thrive-enquiry .tf-actions:has(.tf-back[hidden]){grid-template-columns:1fr}
.thrive-enquiry button{font:inherit;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;border-radius:8px;min-height:52px;padding:14px 20px;cursor:pointer;border:1px solid var(--tf-wine);white-space:normal}
.thrive-enquiry .tf-next{background:var(--tf-wine);color:#fff}
.thrive-enquiry .tf-back{background:#fff;color:var(--tf-wine)}
.thrive-enquiry button:disabled{opacity:.6;cursor:wait}
.thrive-enquiry .tf-progress{display:flex;align-items:center;gap:20px;padding:16px;margin-top:18px;background:#eee5e8;border-radius:8px;font-size:14px;color:var(--tf-wine)}
.thrive-enquiry .tf-progress-label{flex-shrink:0}
.thrive-enquiry progress{display:block;appearance:none;border:0;min-width:0;width:100%;height:7px;border-radius:20px;overflow:hidden;background:#ddd4d8;accent-color:var(--tf-wine)}
.thrive-enquiry progress::-webkit-progress-bar{background:#ddd4d8;border-radius:20px}
.thrive-enquiry progress::-webkit-progress-value{background:var(--tf-wine);border-radius:20px}
.thrive-enquiry progress::-moz-progress-bar{background:var(--tf-wine);border-radius:20px}
.thrive-enquiry .tf-error{background:#fff2f3;color:#8d1834;border:1px solid #c77d91;padding:16px;border-radius:8px;line-height:1.5;margin-bottom:24px;scroll-margin-top:150px}
.thrive-enquiry .tf-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.thrive-enquiry .tf-success{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:8px 0;scroll-margin-top:150px}
.thrive-enquiry .tf-success-mark{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;border-radius:50%;color:var(--tf-wine);background:#eddae1;font-size:30px;line-height:1;margin:0}
.thrive-enquiry .tf-success h2{margin:0;font-size:clamp(25px,4vw,34px);line-height:1.25}
.thrive-enquiry .tf-success p{margin:0;line-height:1.5}
.thrive-enquiry .tf-success-copy{display:grid;gap:12px;width:100%;max-width:34rem}
.thrive-enquiry .tf-success .tf-success-signoff{margin-top:4px;font-size:15px}
.thrive-enquiry .tf-again{border:0;text-decoration:underline;text-underline-offset:4px;background:transparent;color:var(--tf-wine);margin:0;min-height:44px;padding:10px 12px}
.tf-standalone{max-width:740px;width:calc(100% - 32px);margin:40px auto;border:1px solid #ddbec9;border-radius:15px;overflow:hidden}
@media(max-width:520px){.thrive-enquiry .tf-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.thrive-enquiry .tf-scale .tf-choice{flex-direction:row;text-align:left;justify-content:flex-start;font-size:14px;min-height:62px}.thrive-enquiry .tf-step>legend{font-size:22px}.thrive-enquiry .tf-field,.thrive-enquiry .tf-question>legend{font-size:17px}}
@media(prefers-reduced-motion:reduce){.thrive-enquiry{scroll-behavior:auto}}
