@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/lato-400.woff2) format('woff2');}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/lato-700.woff2) format('woff2');}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/roboto-400.woff2) format('woff2');}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/roboto-700.woff2) format('woff2');}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Roboto,system-ui,sans-serif;color:#272727;background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:Lato,sans-serif;font-weight:400;color:#434184;line-height:1.3;margin:0}
a{color:#14A7F5}a:hover{color:#0989cd}
.wrap{max-width:1280px;margin:0 auto;padding:0 15px}
.topbar{text-align:center;padding:10px}
.topbar p{margin:0 0 4px;font-size:15px}
.topbar .logo{margin:4px auto 0;width:928px}
.intro{padding:50px 0}
.grid{display:grid;gap:46px;grid-template-columns:1fr 1fr;align-items:start}
.intro h1{font-size:39px;color:#454383;padding-right:75px}
.intro h1 strong,.learn h2 strong{font-weight:700}
.intro p,.body p{font-size:18px;margin:25px 0}
.quote{text-align:center}.quote h2{font-size:42px;color:#454383}.quote p{font-family:Lato,sans-serif;font-size:20px;color:#454383;margin:0}
.video{position:relative;margin-top:25px;aspect-ratio:16/9}.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.body{text-align:center;padding:0 0 25px}
.body h2{font-size:32px;color:#434184;padding-top:25px}
.body hr{width:90%;border:0;border-top:1px solid #dbdbdb;margin:25px auto}
.body p{margin:0 auto;max-width:1100px}
.btn{display:inline-block;margin-top:25px;font-family:Roboto,sans-serif;font-weight:700;font-size:22px;line-height:1;padding:16px 20px;color:#fff!important;text-decoration:none;border-radius:4px;text-shadow:rgba(0,0,0,.4) 2px 2px 4px;background:linear-gradient(-180deg,#434184,#37356c 90%);box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.btn:hover{filter:brightness(1.1)}
.learn{background:#f6f6f6;padding:50px 0;margin-top:25px}
.learn h2{font-size:53px;line-height:1.1}
.learn p{font-size:18px}
.social{text-align:center;margin-top:50px}.social h3{font-size:31px}
.social ul{list-style:none;padding:0;margin:15px 0 0;display:flex;justify-content:center;gap:10px}
.social svg{width:48px;height:48px;display:block}
.portrait{width:400px;margin:0 auto 25px;border-radius:8px}
blockquote{margin:0;background:#fff;box-shadow:0 .125rem .25rem rgba(0,0,0,.075);padding:1rem;border-radius:.375rem;font-size:20px;color:#000}
.author{display:flex;align-items:center;gap:12px;margin:16px 0 0 24px}
.author img{width:50px;height:50px;border-radius:50%;object-fit:cover}
.author strong{display:block;font-size:15px;color:#45447f}.author span{font-size:13px;color:#45447f}
footer{text-align:center;font-size:13px;padding:25px 15px}
@media (max-width:767px){
 .grid{grid-template-columns:1fr;gap:30px}
 .intro{padding:30px 0}
 .intro h1{font-size:27px;padding-right:0;text-align:center}
 .intro p{text-align:center}
 .quote h2{font-size:33px}.quote p{font-size:16px}
 .body h2{font-size:25px;line-height:1.1}
 .learn h2{font-size:36px;text-align:center}
 .learn .copy{text-align:center}
 .learn .grid>div:first-child{order:2}
 .portrait{width:100%;max-width:400px}
 blockquote{font-size:18px}
}
.hero{text-align:center;padding:10px 15px 30px}.hero h1{font-size:30px;font-weight:700}.hero h1 span{font-weight:400;color:#6a68b0}.hero p{margin:4px 0;font-size:14px}
.qsec{background:#f2f2f2;padding:40px 0}.qsec .grid{align-items:center}.qmark{font-size:90px;line-height:.6;color:#434184;font-family:Georgia,serif;text-align:center;margin-bottom:20px}
.qsec .portrait{width:100%;max-width:533px;border-radius:12px}
.reasons{padding:40px 0;text-align:center}.reasons h2{font-size:30px;font-weight:700}.reasons h2 span{font-weight:400;color:#6a68b0}
.reasons ul{text-align:left;columns:2;column-gap:60px;max-width:1000px;margin:25px auto;font-size:14px}
.related{text-align:center;padding:10px 0 40px}.related h2{font-size:28px}.related p{max-width:900px;margin:15px auto;font-size:15px}
.contact{background:#f2f2f2;padding:40px 0}.contact h2{font-size:34px;text-align:center;font-weight:700}.contact h2 span{display:block;font-weight:400;color:#6a68b0}
.contact .copy p{font-size:14px}.formbox{background:#fff;border:1px solid #888;padding:20px;max-width:420px;margin:0 auto;font-size:13px}
.formbox h3{text-align:center;font-size:26px;font-weight:700}.formbox>p{text-align:center}
.formbox input,.formbox textarea{width:100%;padding:8px;margin:5px 0;border:1px solid #bbb;border-radius:3px;font:inherit}
.formbox label.chk{display:flex;gap:8px;align-items:flex-start;margin:10px 0;font-size:11px}.formbox label.chk input{width:auto;margin-top:2px}
.formbox button{width:100%;background:#1a73e8;color:#fff;border:0;padding:12px;font-weight:700;font-size:15px;border-radius:3px;cursor:pointer}
.sr{position:absolute;left:-9999px}.msg{padding:12px;border-radius:4px;margin:10px 0;display:none}.msg.ok{background:#e6f4ea;color:#185c2b;display:block}.msg.err{background:#fde8e8;color:#8a1c1c;display:block}
@media (max-width:767px){.reasons ul{columns:1}}
.hlogo{max-height:155px;width:auto;height:auto;max-width:100%;margin:10px auto}
/* Readability pass (below hero only); never smaller than live drvidali.preventmiscarriage.com */
main p,main li{line-height:1.6}
.reasons p,.related p,.contact .copy p{font-size:clamp(17px,.4vw + 15.5px,19px)}
.reasons ul{font-size:clamp(17px,.4vw + 15.5px,19px);max-width:1100px}
.reasons h2{font-size:clamp(35px,1vw + 30px,40px)}
.related h2{font-size:clamp(32px,.8vw + 28px,36px);line-height:1.25}
.contact h2{font-size:clamp(36px,1.5vw + 30px,44px)}
blockquote{font-size:clamp(19px,.4vw + 17.5px,22px);line-height:1.6}
.author strong{font-size:17px}.author span{font-size:15px}
.formbox{font-size:16px;max-width:460px}.formbox h3{font-size:36px}.formbox>p{font-size:17px}
.formbox input,.formbox textarea{font-size:17px;padding:10px}
.formbox label.chk{font-size:13.5px;line-height:1.5}.formbox form p{font-size:15px}
.formbox button{font-size:clamp(17px,.35vw + 15.5px,20px);padding:14px}
.msg{font-size:17px}
footer,footer p{font-size:15px}
/* merged sections from first landing rebuild */
.intro{padding:50px 0}.intro .grid{max-width:1100px;margin:0 auto;align-items:center}
.intro h2{font-size:clamp(30px,1.2vw + 25px,38px);color:#434184;padding-right:0;line-height:1.25}
.intro p,.before p{font-size:clamp(17px,.4vw + 15.5px,19px);line-height:1.6}
.intro .quote h2{font-size:clamp(33px,1vw + 28px,40px);font-weight:700}.intro .quote p{font-size:clamp(17px,.4vw + 15.5px,20px);margin:0}
.before{padding:10px 0 30px}.before h2{font-size:clamp(32px,.8vw + 28px,36px);line-height:1.25}
@media (max-width:767px){.intro h2,.intro p{text-align:center}}
.before p{max-width:1000px;margin:0 auto 18px}
/* full-width pass */
.body p,.reasons ul,.related p,.before p{max-width:100%}
.wrap.grid,.intro .grid,.qsec .grid,.contact .grid{max-width:1280px}
.before hr{width:100%}
.formbox{max-width:460px}
/* social icons: match live (FA brands, 70px glyph, fa-fw 87.5x70 box, 10px gap, no bg) */
.social{margin-top:15px}.srow{display:flex;justify-content:center;align-items:center}
.srow a{display:inline-flex;align-items:center;justify-content:center;width:87.5px;height:70px;margin-right:10px;background:transparent}
.srow a:last-child{margin-right:0}.srow svg{height:70px;width:auto;max-width:87.5px;display:block}
/* width 1350 */
.wrap,.wrap.grid,.intro .grid,.qsec .grid,.contact .grid{max-width:1350px}
/* mobile pass */
.related a{display:inline-block;padding:12px 8px;min-height:44px}
.formbox form p,footer,footer p{font-size:16px}
.formbox label.chk input{width:22px;height:22px;flex:0 0 22px;margin:0}
.formbox label.chk{min-height:44px;cursor:pointer}
.formbox input,.formbox textarea{min-height:44px}
@media (max-width:900px){.grid{grid-template-columns:1fr;gap:30px}.learn .grid>div:first-child{order:0}.intro h2,.intro p{text-align:center}.qsec .portrait{margin:0 auto}}
@media (max-width:767px){.wrap{padding:0 20px}.reasons ul{padding-left:22px}.formbox{padding:18px}}
footer{padding:25px 20px}@media (max-width:900px){.wrap{padding:0 20px}}
/* typography consistency pass */
:root{--body:clamp(17px,.4vw + 15.5px,19px);--ink:#272727}
.hero p,main p,main li,blockquote,.formbox>p,.intro .quote p{font-family:Roboto,system-ui,sans-serif;font-size:var(--body);line-height:1.6;color:var(--ink)}
blockquote{color:var(--ink)}
.intro .quote p{color:#454383}
.formbox input,.formbox textarea,.formbox button{font-family:Roboto,system-ui,sans-serif}
.formbox input,.formbox textarea{font-size:var(--body);color:var(--ink)}
.formbox label.chk,.formbox form p,footer p{font-size:16px;line-height:1.5;color:var(--ink)}
.formbox form p{margin:12px 0}
.before h2 strong{font-weight:700}
.related h2{font-weight:700}

/* staging: ESSI spec sections */
.rpl,.rpl-testing,.faq{padding:40px 0;text-align:center}
.rpl-testing{background:#f6f6f6}
.rpl h2,.rpl-testing h2,.faq h2{font-size:clamp(32px,.8vw + 28px,36px);line-height:1.25;font-weight:700}
.rpl hr,.rpl-testing hr,.faq hr{width:100%;border:0;border-top:1px solid #dbdbdb;margin:25px auto}
.rpl p,.rpl-testing p{margin:0 auto 18px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:30px 0 10px;text-align:left}
.card{background:#fff;border:1px solid #e3e3ee;border-top:4px solid #434184;border-radius:6px;padding:22px;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}
.card h3{font-size:clamp(22px,.4vw + 20px,26px);font-weight:700;margin-bottom:10px}.card p{margin:0}
.steps{text-align:left;max-width:900px;margin:10px auto 0;padding-left:1.6em;font-family:Roboto,system-ui,sans-serif;font-size:var(--body);line-height:1.6;color:var(--ink)}
.steps li{margin-bottom:12px}.steps strong{color:#434184}
.cta{margin:0}.cta .btn{min-height:44px;line-height:1.2}
.acc{text-align:left;max-width:1000px;margin:0 auto}
.acc details{border:1px solid #dbdbdb;border-radius:6px;margin-bottom:12px;background:#fff}
.acc summary{cursor:pointer;min-height:44px;padding:14px 48px 14px 18px;font-family:Lato,sans-serif;font-weight:700;font-size:clamp(19px,.4vw + 17.5px,22px);color:#434184;line-height:1.35;list-style:none;position:relative}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:28px;line-height:1}
.acc details[open] summary::after{content:"\2212"}
.acc details p{margin:0;padding:0 18px 16px}
@media (max-width:900px){.cards{grid-template-columns:1fr}}
@media (max-width:767px){.cta .btn{font-size:18px;max-width:100%;white-space:normal}}

.faq h2{margin-bottom:28px}

/* staging hero tweaks */
.hero h1{margin-top:24px}
.hero h1+p{max-width:800px;margin-left:auto;margin-right:auto;text-wrap:balance}
@media (max-width:767px){.hero h1{margin-top:16px}}

/* staging spacing pass: vertical rhythm */
:root{--sec-y:clamp(56px,3.2vw + 44px,88px);--h-gap:24px;--p-gap:1em;--cta-gap:36px;--card-gap:30px;--card-pad:26px;--faq-gap:13px;--media-gap:clamp(28px,2vw + 20px,48px)}
main section.qsec,main section.intro,main section.rpl,main section.rpl-testing,main section.before,main section.reasons,main section.related,main section.faq,main section.contact,
section.qsec,section.intro,section.rpl,section.rpl-testing,section.before,section.reasons,section.related,section.faq,section.contact{padding-top:var(--sec-y)!important;padding-bottom:var(--sec-y)!important}
section h2{margin-top:0;margin-bottom:var(--h-gap)}
section h2+hr,section hr{margin:0 auto var(--h-gap)}
.faq h2{margin-bottom:var(--h-gap)}
section .wrap>p,section .formbox>p,.card p,.steps+p{margin-bottom:var(--p-gap)}
section .wrap>p:last-child{margin-bottom:0}
.cta{margin-top:var(--cta-gap)!important}.cta .btn{margin-top:0}
.cards{gap:var(--card-gap);margin:var(--cta-gap) 0 0}.card{padding:var(--card-pad)}
.card h3{margin-bottom:12px}
.steps li{margin-bottom:14px}
.acc details{margin-bottom:var(--faq-gap)}.acc details:last-child{margin-bottom:0}
.acc details p{padding:4px 18px 18px}
.qsec .wrap,.qsec figure,.intro .quote,.intro iframe,.intro .video{margin-top:var(--media-gap);margin-bottom:var(--media-gap)}
.qsec .wrap{margin-top:0;margin-bottom:0}
.intro .quote{padding-top:var(--media-gap);padding-bottom:var(--media-gap)}
.reasons ul{margin-top:var(--h-gap)}
.contact .formbox{margin-top:0}

/* heading gap fix: explicit, high-specificity */
:root{--heading-gap:24px;--heading-gap-h3:16px}
html body section h2{margin-bottom:var(--heading-gap)!important}
html body section h3{margin-bottom:var(--heading-gap-h3)!important}
html body section h2+*,html body section h3+*{margin-top:0!important}
html body section h2+hr{margin-bottom:var(--heading-gap)!important}

/* hero spacing */
html body .hero{padding:20px 15px 40px}
html body .hero p{margin:0 0 4px}
html body .hero .hlogo{margin:20px auto 0;display:block}
html body .hero h1{margin:24px 0 13px}
html body .hero h1+p{margin:0 auto}
@media (max-width:767px){html body .hero h1{margin-top:16px}}

/* DOB date picker */
.formbox label.dobl{display:block;margin:8px 0 0;font-size:15px;color:#555;text-align:left}
.formbox input[type=date]{display:block;width:100%;box-sizing:border-box;height:calc(1.6em + 22px);line-height:1.6;background:#fff;color:#272727;text-align:left;cursor:pointer;position:relative;z-index:1}
.formbox input[type=date]::-webkit-date-and-time-value{text-align:left}

/* mobile type & spacing pass (<=600px) */
@media (max-width:600px){
 html body .hero p{font-size:14px;line-height:1.45;margin:0 0 6px}
 html body .hero h1{font-size:26px;line-height:1.2;font-weight:700;margin:16px 0 14px}
 html body .hero h1+p{font-size:16px;line-height:1.6;color:#555;max-width:34ch;margin:0 auto}
 html body .hero{padding-bottom:40px}
 .qmark{font-size:64px!important;line-height:.8!important;margin:0 0 4px!important;height:auto!important}
 html body blockquote{font-size:16px;line-height:1.65;padding:22px}
 html body .author{margin:20px 0 0 4px}
 html body .author strong{font-size:15px;font-weight:700;margin-bottom:4px}
 html body .author span{font-size:13px;color:#6b6a8f}
 html body section h2,html body .intro h2,html body .related h2,html body .rpl h2,html body .rpl-testing h2,html body .faq h2,html body .formbox h3{font-size:24px!important;line-height:1.25!important}
 html body section h3,html body .card h3{font-size:19px!important;line-height:1.3!important}
 html body section h2{margin-bottom:18px!important}
 html body section h3{margin-bottom:12px!important}
 html body section h2+hr{margin-bottom:18px!important}
 html body main p,html body section p,html body section li,html body .steps,html body .intro .quote p,html body .acc details p{font-size:16px!important;line-height:1.65!important}
 html body .acc summary{font-size:17px;line-height:1.4}
 :root{--sec-y:56px}
}

.formbox input[type=date]{padding-right:14px}
.formbox input[type=date]::-webkit-calendar-picker-indicator{opacity:1;display:block;cursor:pointer;width:22px;height:22px;margin-left:8px}
