/*
Theme Name: ANS InjuryFlow PI/MVA
Author: InjuryFlow Project
Description: Direct-response accident intake funnel with immediate contact capture, short follow-up interview, and direct-to-case-management integration.
Version: 2.5.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ans-injuryflow-theme
License: GPL-2.0-or-later
*/

/* Standard content pages, including the firm's privacy policy. */
:root{--theme-navy:#14212d;--theme-coral:#d76e57;--theme-text:#304252;}
html{scroll-behavior:smooth}body.ans-theme-standard{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--theme-navy);background:#f8f6f1;line-height:1.7}
.ans-theme-standard *, .ans-theme-standard *:before,.ans-theme-standard *:after{box-sizing:border-box}
.ans-theme-standard a{color:#aa4b35}.ans-theme-header{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#152431;color:#fff;padding:20px max(5%,calc((100vw - 1100px)/2))}.ans-theme-header a{color:#fff;text-decoration:none}.ans-theme-header strong{font-size:18px;letter-spacing:.04em}.ans-theme-header nav{display:flex;gap:18px;font-size:13px}.ans-theme-shell{max-width:930px;min-height:60vh;padding:60px 5%;margin:auto}.ans-theme-shell h1{font-size:clamp(30px,5vw,48px);line-height:1.15}.ans-theme-shell p{max-width:700px}.ans-theme-footer{background:#152431;color:#cbd5dc;padding:30px max(5%,calc((100vw - 1100px)/2));font-size:12px}.ans-theme-footer a{color:#ffd1c0}.ans-theme-entry{background:#fff;padding:22px;border:1px solid #e5e7e7;border-radius:6px;margin:18px 0}.ans-theme-entry a{font-weight:700}@media(max-width:680px){.ans-theme-header{flex-direction:column;align-items:flex-start}.ans-theme-header nav{flex-wrap:wrap}.ans-theme-shell{padding-top:35px}}

/* ===== Full conversion funnel layout: bundled in the primary WordPress theme stylesheet. ===== */
:root{--ink:#112b3c;--ink2:#0b1f2c;--cream:#fbfaf7;--text:#172b35;--soft:#697b84;--orange:#e76540;--orange2:#c95131;--line:#e2e7e9}
.ans-fast,.ans-fast *{box-sizing:border-box}.ans-fast{margin:0;background:var(--cream);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);line-height:1.45;-webkit-font-smoothing:antialiased}.ans-fast button,.ans-fast input,.ans-fast select{font:inherit}.ans-fast a{text-decoration:none}.ans-fast a:focus-visible,.ans-fast button:focus-visible,.ans-fast input:focus-visible,.ans-fast select:focus-visible{outline:3px solid #f5b181;outline-offset:3px}.ans-fast-width{max-width:1300px;margin:0 auto;padding-left:40px;padding-right:40px}.ans-fast-utility{background:#0b2230;color:#c7d6dc;font-size:10px;font-weight:800;letter-spacing:.14em}.ans-fast-utility .ans-fast-width{display:flex;justify-content:space-between;min-height:32px;align-items:center}.ans-fast-utility .utility-right{color:#93b0ba;letter-spacing:.05em}.ans-fast-header{background:#fff;border-bottom:1px solid #edf0ef}.ans-fast-header .header-inner{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.fast-logo{display:flex;gap:14px;align-items:center;color:#102b3a!important}.fast-logo-symbol{font-weight:950;font-size:31px;letter-spacing:-.105em;line-height:1;border-right:1px solid #c9d6d7;padding:5px 14px 5px 0}.fast-logo-dot{color:var(--orange)}.fast-logo-copy{font-size:12px;font-weight:890;letter-spacing:.08em;line-height:1.45}.fast-logo-copy strong{font-weight:500;font-size:9px;letter-spacing:.2em;color:#7e909b;margin-left:3px}.header-action-copy strong{font-size:12px}.ans-fast-hero{position:relative;background:radial-gradient(circle at 28% 22%,#244556 0,transparent 45%),linear-gradient(135deg,#102c3c 15%,#071e2d 95%);overflow:hidden}.ans-fast-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.033) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.033) 1px,transparent 1px);background-size:62px 62px;mask-image:linear-gradient(110deg,#000,transparent 78%)}.ans-fast-hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.065);width:610px;height:610px;top:30px;left:-360px;border-radius:50%;box-shadow:0 0 0 90px rgba(255,255,255,.015),0 0 0 210px rgba(255,255,255,.014);pointer-events:none}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,520px);gap:clamp(32px,6vw,86px);align-items:start;padding-top:64px;padding-bottom:70px}.hero-message{color:white;padding-top:43px}.hero-kicker{font-size:11px;font-weight:800;letter-spacing:.19em;color:#a8d0cc;display:flex;align-items:center;gap:10px}.kicker-dot{width:8px;height:8px;background:#58c8a8;border-radius:50%;box-shadow:0 0 0 4px rgba(88,200,168,.1)}.hero-message h1{font-size:clamp(58px,5.9vw,88px);line-height:.98;letter-spacing:-.073em;font-weight:790;margin:29px 0 24px;max-width:730px}.hero-message h1 span{color:#ffb58d}.hero-lede{font-size:17px;line-height:1.75;color:#c6d8de;max-width:535px;margin:0 0 28px}.hero-plain{display:flex;align-items:center;gap:13px;color:#dce8e9;font-size:13px;margin:11px 0}.hero-plain-icon{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#2b655f;color:#d7fef1;font-size:12px;font-weight:900}.hero-identity{margin-top:58px;display:flex;flex-direction:column;gap:5px}.identity-rule{height:1px;width:62px;background:#ff9a73;margin-bottom:14px}.hero-identity>span{font-size:10px;color:#8ca9b5;font-weight:800;letter-spacing:.19em}.hero-identity strong{font-size:15px;letter-spacing:.01em}.hero-identity small{color:#9aafba;font-size:12px;margin-top:2px}.fast-card{box-shadow:0 25px 80px rgba(0,0,0,.22);background:#fff;border-radius:12px;overflow:hidden;align-self:start;min-width:0}.fast-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#eef5f2;border-bottom:1px solid #e0e8e4;padding:18px 30px}.fast-top-label{font-size:10px;font-weight:900;letter-spacing:.12em;color:#46615a}.fast-top-signal{color:#26705c;font-size:10px;font-weight:900;letter-spacing:.07em;white-space:nowrap}.signal-dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#40af84;margin-right:5px}.fast-panel,.fast-success,.fast-closed{padding:28px 34px 25px}.fast-panel[hidden],.fast-success[hidden],.fast-error[hidden]{display:none!important}.fast-steps{display:flex;align-items:center;gap:13px;font-size:10px;letter-spacing:.09em;color:#9cadb2;font-weight:850;margin-bottom:20px}.fast-steps span{white-space:nowrap}.fast-steps .current{color:#df6542}.fast-steps i{width:24px;height:1px;background:#d5dedf}.fast-panel h2,.fast-success h2,.fast-closed h2{font-size:clamp(24px,2.5vw,30px);letter-spacing:-.055em;line-height:1.16;margin:0 0 8px;color:#122d3d;font-weight:820}.fast-panel .fast-subtitle{font-size:13px;color:#718087;margin:0 0 22px}.fast-field{margin:0 0 16px}.fast-field>label{display:block;font-size:12px;font-weight:820;color:#2d4450;margin:0 0 7px}.fast-field>label span{color:#c45736}.fast-field input,.fast-field select{border:1px solid #cdd8dc!important;background:#fdfefd;color:#1e3846;border-radius:6px!important;min-height:49px!important;font-size:15px!important;width:100%;padding:11px 14px!important;box-shadow:none!important;outline:none}.fast-field input:focus,.fast-field select:focus{border-color:#3d8592!important;box-shadow:0 0 0 3px rgba(67,140,154,.12)!important}.fast-field input::placeholder{color:#a4b0b5}.fast-consent{display:flex;gap:10px;align-items:flex-start;cursor:pointer;color:#687982;font-size:11px;line-height:1.65;padding:3px 0 0}.fast-consent input{flex:0 0 17px;width:17px;height:17px;margin:2px 0 0;accent-color:#153f4a}.fast-consent strong{font-weight:820;color:#354c56}.fast-trap{position:absolute;width:1px;height:1px;left:-10000px;overflow:hidden}.fast-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:56px;border:0;border-radius:6px;cursor:pointer;background:#e6603c;color:#fff!important;padding:16px 19px;font-weight:900;font-size:15px;box-shadow:0 5px 0 rgba(131,48,25,.11);margin-top:20px;text-align:left}.fast-cta:hover{background:var(--orange2)}.fast-cta:disabled{background:#aaa;cursor:wait}.fast-cta span{font-size:23px;line-height:1}.fast-under-cta{display:flex;align-items:center;justify-content:center;gap:6px;color:#87959b;font-size:10px;line-height:1.6;margin:14px 0 0;text-align:center}.fast-under-cta svg{width:15px;height:15px;color:#538877;flex-shrink:0}.fast-card-bottom{background:#f8faf9;border-top:1px solid #edf0ef;padding:13px 34px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#85929a}.fast-card-bottom a{color:#557b80;text-decoration:underline}.fast-error{background:#fff3ef;color:#903a2b;border:1px solid #f0c9bc;padding:9px 11px;font-size:12px;margin-top:12px;border-radius:5px}.fast-interview-group{margin:0 0 17px;border:0;padding:0;min-width:0}.fast-interview-group legend{font-size:12px;font-weight:850;margin:0 0 9px;padding:0;color:#324957}.fast-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.fast-options-three{grid-template-columns:repeat(2,minmax(0,1fr))}.fast-options label{position:relative;display:block;cursor:pointer}.fast-options input{position:absolute;opacity:0;width:1px;height:1px}.fast-options label span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:42px;padding:7px 8px;border:1px solid #d9e1e3;border-radius:5px;color:#4e666e;background:#f9fbfa;font-size:11px;font-weight:780}.fast-options label input:checked+span{background:#edf6f1;border-color:#40897e;color:#20584d;box-shadow:inset 0 0 0 1px #40897e}.fast-options label input:focus-visible+span{outline:3px solid #ebad7b}.fast-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fast-saved-marker{color:#247856;background:#e8f7ed;display:inline-flex;padding:5px 11px;font-size:11px;font-weight:850;border-radius:20px;margin:0 0 14px}.fast-skip{margin:10px auto 0;display:block;border:0;background:transparent;color:#69808c;text-decoration:underline;font-size:11px;cursor:pointer;padding:8px}.fast-finished{padding-top:45px;padding-bottom:40px}.fast-check{width:55px;height:55px;border-radius:50%;background:#e8f7f0;color:#1d8a67;display:grid;place-items:center;font-size:28px;margin-bottom:18px}.fast-finished p,.fast-success p,.fast-closed p{font-size:14px;line-height:1.75;color:#657983}.fast-tiny{font-size:11px!important;margin-top:19px!important}.hero-base{background:#09212f;border-top:1px solid rgba(255,255,255,.09)}.hero-base .ans-fast-width{display:flex;justify-content:space-between;gap:18px;align-items:center;min-height:70px}.hero-base span{color:#a2bcc5;font-size:10px;letter-spacing:.1em;font-weight:800;white-space:nowrap}.ans-fast-next{padding:84px 0 98px;background:#fafaf8}.section-heading{text-align:center;max-width:640px;margin:0 auto 40px}.section-eyebrow{font-size:11px;color:#ba563a;letter-spacing:.14em;font-weight:890}.section-heading h2,.last-inner h2{font-size:clamp(28px,3.4vw,43px);color:#152c39;letter-spacing:-.055em;line-height:1.12;margin:12px 0}.section-heading p,.last-inner p{font-size:14px;color:#708189}.next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.next-grid article{background:#fff;border:1px solid #e6e9e8;border-radius:9px;padding:29px}.next-number{font-size:12px;font-weight:890;color:#d96748}.next-grid h3{font-size:18px;letter-spacing:-.03em;margin:18px 0 9px}.next-grid p{font-size:13px;line-height:1.75;color:#6c7e88;margin:0}.ans-fast-last{background:#e7eeed;padding:55px 0}.last-inner{display:flex;justify-content:space-between;gap:40px;align-items:center}.last-inner h2{margin:7px 0}.last-inner p{margin:0}.fast-footer{background:#112936;color:#b1c1c9;padding:37px 0 44px}.footer-grid{display:flex;justify-content:space-between;gap:45px;font-size:12px;line-height:1.8}.footer-grid>div:first-child{min-width:290px}.footer-grid strong{color:#edf7fa;font-size:12px}.footer-right{max-width:640px}.footer-right p{margin:0 0 8px}.footer-right a{color:#ffc6ac;text-decoration:underline}.fast-mobile-bar{display:none}
@media(max-width:1000px){.ans-fast-width{padding-left:25px;padding-right:25px}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(380px,470px);gap:24px}.hero-message h1{font-size:60px}.hero-lede{font-size:15px}.hero-base span{font-size:9px}}
@media(max-width:780px){.ans-fast-header .header-inner{height:76px}.ans-fast-utility{font-size:9px}.hero-grid{display:flex;flex-direction:column;gap:30px;padding-top:33px;padding-bottom:38px}.hero-message{padding-top:0;width:100%}.hero-message h1{font-size:clamp(46px,10vw,72px);margin:17px 0}.hero-lede{font-size:14px;max-width:650px;margin-bottom:17px}.hero-identity{display:none}.hero-plain{display:none}.fast-card{width:100%;max-width:540px;margin:0 auto}.hero-base .ans-fast-width{overflow-x:auto;justify-content:flex-start;padding-top:15px;padding-bottom:15px;min-height:53px}.ans-fast-next{padding:63px 0}.next-grid{grid-template-columns:1fr;gap:12px}.next-grid article{padding:21px}.last-inner{display:block}.footer-grid{display:block}.footer-right{margin-top:20px}.fast-mobile-bar{position:fixed;bottom:0;left:0;right:0;z-index:19;display:flex;background:white;padding:9px 11px calc(9px + env(safe-area-inset-bottom));gap:8px;box-shadow:0 -5px 20px rgba(3,22,33,.2)}.fast-mobile-bar a{text-align:center;display:grid;place-items:center;padding:13px;border-radius:5px;font-weight:850;font-size:12px;min-height:44px}.fast-mobile-start{background:#e6603c;color:#fff;flex:2.15}.fast-footer{padding-bottom:100px}.fast-card{scroll-margin-top:16px}}
@media(max-width:460px){.ans-fast-width{padding-left:17px;padding-right:17px}.ans-fast-utility .utility-right{display:none}.fast-logo-symbol{font-size:26px;padding-right:9px}.fast-logo-copy{font-size:10px}.fast-logo-copy strong{font-size:8px}.fast-logo{gap:9px}.hero-grid{padding-top:29px}.hero-kicker{font-size:9px}.hero-message h1{font-size:48px}.fast-card-top{padding:15px 20px}.fast-panel,.fast-success,.fast-closed{padding:23px 21px 21px}.fast-panel h2{font-size:26px}.fast-card-bottom{padding:13px 20px}.fast-steps{font-size:9px}.fast-cta{font-size:14px}.hero-base span{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v2.1 — all-online CTA; no phone links or two-button mobile footer. */
.fast-header-online{display:inline-flex;align-items:center;gap:14px;background:#e6603c;color:#fff!important;border-radius:6px;font-size:13px;font-weight:850;padding:15px 19px;white-space:nowrap;transition:background .15s ease}.fast-header-online:hover{background:#cb4c2d}.fast-header-online span{font-size:21px;line-height:1}.fast-last-online{background:#153846;color:#fff!important;padding:17px 21px;display:inline-flex;align-items:center;justify-content:space-between;min-width:295px;gap:32px;font-size:15px;font-weight:840;border-radius:5px}.fast-last-online span{font-size:20px}.fast-mobile-bar .fast-mobile-start{flex:1;display:flex;justify-content:center;font-size:14px}.fast-success .fast-cta-link,.fast-finished .fast-cta-link{background:#153846}@media(max-width:780px){.fast-last-online{margin-top:24px}}@media(max-width:460px){.fast-header-online{padding:11px 10px;font-size:10px;gap:4px}.fast-header-online span{font-size:15px}.fast-last-online{min-width:0;width:100%}}

/* InjuryFlow MVA 2.3 - guided web interview and e-sign */
.mva-progress{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:17px;font-size:11px;color:#557184;font-weight:800;letter-spacing:.06em}
.mva-progress-label{color:#17354a}.mva-progress-bar{height:5px;flex:0 0 100%;border-radius:9px;background:#e7edf1;overflow:hidden}.mva-progress-bar i{width:33%;height:100%;display:block;background:#fa916e;transition:width .25s ease}
.mva-stage[hidden],.fast-panel[hidden],#mva-verify-form[hidden],#mva-sign-form[hidden]{display:none!important}
.mva-stage .fast-field,.mva-stage .fast-interview-group{margin-bottom:16px}
.mva-stage textarea{width:100%;box-sizing:border-box;border:1px solid #cbd7df;border-radius:9px;font:inherit;padding:13px;resize:vertical;min-height:76px;color:#163448}
.mva-stage fieldset{border:0;padding:0;margin:20px 0}.mva-stage legend{font-weight:750;color:#17394c;margin-bottom:12px;line-height:1.35}.mva-optional{font-size:12px;font-weight:500;color:#72889a}
.fast-options-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.mva-actions{display:flex;align-items:center;gap:10px}.mva-actions .fast-cta{flex:1;min-width:0}.mva-back{border:1px solid #cbd7df;padding:13px 15px;border-radius:9px;background:white;color:#24485b;font-weight:800;cursor:pointer}
.mva-review-note{font-size:12px;line-height:1.5;color:#5c7281;background:#f0f5f8;border-radius:9px;padding:12px}
.mva-agreement-title{display:flex;justify-content:space-between;gap:12px;color:#193949;font-weight:800;font-size:13px;margin:20px 0 8px}.mva-agreement-title span{font-weight:600;color:#677f8e;font-size:11px}
.mva-agreement-text{border:1px solid #d6e0e5;background:#fff;border-radius:12px;min-height:200px;max-height:330px;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;padding:20px;color:#263c4b;box-shadow:inset 0 1px 4px #eef3f7}
.mva-secondary-button{background:#12394c;color:white;border:0;border-radius:10px;padding:13px 16px;width:100%;font-weight:800;cursor:pointer}.mva-secondary-button:hover{background:#1c536b}.mva-verify-group{margin:16px 0}.mva-verify-form{margin-top:15px}.mva-verified{padding:10px 12px;background:#eaf7ef;color:#1e6946;border-radius:8px;font-weight:800;font-size:13px}
#mva-sign-form .fast-consent{margin:13px 0;display:flex;align-items:flex-start;gap:10px}.mva-step-mini{font-style:normal;color:#678296;font-size:11px}
@media(max-width:660px){.fast-options-four{grid-template-columns:repeat(2,minmax(0,1fr))}.mva-actions{gap:7px}.mva-actions .fast-cta{font-size:14px;padding-left:10px;padding-right:10px}.mva-agreement-text{max-height:260px;padding:14px}}

.mva-download{display:block;text-align:center;font-weight:800;color:#0c587c;padding:12px;border:1px solid #a9cfdf;border-radius:9px;margin-top:12px;text-decoration:none;background:#effaff}.mva-download:hover{background:#dff2fb}

.mva-address{background:#f5f9fb;border:1px solid #dfeaf0;padding:16px;border-radius:11px;margin:14px 0 20px}.mva-address-title{color:#17394c;font-weight:850}.mva-address-help{font-size:12px;color:#647e8b;margin:4px 0 13px}

/* v2.4: explicit fee-agreement handoff, no false finality on prescreen. */
#mva-sign-panel .fast-saved-marker{background:#e7f7ed;color:#18714c}
#mva-sign-panel .mva-agreement-text{max-height:400px;border:2px solid #9ec7b6;background:#fcfffe}
#mva-sign-panel .mva-verify-group{background:#eef5f2;border-radius:12px;padding:14px}
.fast-finished h2{font-size:clamp(28px,3vw,40px)}
@media(max-width:660px){#mva-sign-panel .mva-agreement-text{max-height:320px}}

/* v2.5 - keep direct-to-signing flow visually prominent */
#mva-sign-panel .mva-agreement-title{font-weight:900;font-size:15px;color:#0b6548} #mva-sign-panel .mva-agreement-text{max-height:420px} #mva-sign-submit{background:#19865b} #mva-sign-submit:hover{background:#136946}
