/* Polish layer. Loaded after site.css; delete the <link> (or deploy the "matched" folder) to roll back. */

/* --- type: calmer measure, better rag, consistent rhythm --- */
html{text-rendering:optimizeLegibility;scroll-padding-top:96px}
h1,h2,h3,h4{text-wrap:balance}
p,li{text-wrap:pretty}
::selection{background:#536c7c;color:#fff5d9}
.copy p,.copy li,.band p,.steps li,.steps li p{font-size:clamp(1.0625rem,.25vw + 1rem,1.1875rem);line-height:1.65}
.copy>p,.copy>ul,.copy>ol{max-width:62ch}
.home-hero .copy p:not(.price):not(.how-link){font-size:1.125rem;line-height:1.6}
.prose p,.numstep p,.boxed p,.boxed li{font-size:1.0625rem;line-height:1.65}
.copy li{margin-bottom:.6em}
.copy ul{padding-left:1.4em}
.eyebrow,.copy .eyebrow{font-size:.9rem;letter-spacing:.04em;margin-bottom:1.1rem;opacity:.85}
:root{--pad:clamp(56px,7vw,108px)}

/* --- header: quiet, sticky, with a soft blur --- */
.site-header{background:rgba(255,245,217,.9);-webkit-backdrop-filter:saturate(1.2) blur(10px);backdrop-filter:saturate(1.2) blur(10px);border-bottom:1px solid rgba(24,34,65,.1)}
.nav a:not(.btn),.nav .folder{position:relative}
.nav a:not(.btn):not([aria-current])::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.nav a:not(.btn):not([aria-current]):hover::after{transform:scaleX(1)}
.nav a:hover,.nav .folder:hover{text-decoration:none}
.nav a[aria-current="page"]{text-decoration-thickness:1px}
.sub{border-radius:12px;border-color:rgba(24,34,65,.12);box-shadow:0 14px 34px -14px rgba(24,34,65,.28)}

/* --- buttons: one consistent control --- */
.btn,.nav a.btn{border-radius:8px;letter-spacing:.01em;transition:background-color .2s ease,transform .2s ease,box-shadow .2s ease}
.btn:hover,.nav a.btn:hover{opacity:1;background:#2a3763;transform:translateY(-1px);box-shadow:0 8px 18px -10px rgba(24,34,65,.55)}
.t-dark .btn:hover,.t-black .btn:hover,.t-black-bold .btn:hover,.t-bright .btn:hover,.t-dark-bold .btn:hover,.site-footer .btn:hover,.band .btn:hover{background:#fff;color:var(--navy)}
.btn:active{transform:none;box-shadow:none}

/* --- links in running text --- */
.copy p a,.copy li a,.boxed a,.prose a{text-decoration-thickness:1px;text-underline-offset:.22em;transition:text-decoration-color .2s ease}
.copy p a:hover,.copy li a:hover,.prose a:hover{text-decoration-thickness:2px}

/* --- FAQ: tidy accordion --- */
.faq-wrap>*{max-width:860px}
details.faq summary{padding:26px 56px 26px 0;transition:color .2s ease}
details.faq summary:hover{color:var(--slate)}
.t-dark details.faq summary:hover,.t-black details.faq summary:hover{color:#fff}
details.faq summary::after{content:"";width:14px;height:14px;right:8px;margin-top:-7px;transform:none;background:linear-gradient(currentColor,currentColor) center/100% 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 100% no-repeat;transition:transform .3s ease}
details.faq[open] summary::after{content:"";transform:rotate(45deg)}
details.faq[open] .ans{animation:faq-in .35s ease both}
details.faq .ans{padding:0 56px 28px 0}
details.faq .ans p{font-size:1.0625rem;line-height:1.65;max-width:68ch}
@keyframes faq-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
details.faq{border-top-color:rgba(128,128,128,.4)}

/* --- cards --- */
.card{transition:transform .25s ease}
.card img{transition:transform .5s ease}
a.card:hover h3{text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
.card h3{margin-top:2px}
.cards{gap:clamp(20px,2.4vw,32px)}
a.card{overflow:hidden}

/* --- photos: slightly softer corners and a hint of depth --- */
.media img,.card img,.post-hero{border-radius:18px}

/* --- how it works steps --- */
.numstep{padding:26px 0}
.numstep h4{font-size:1.35rem}

/* --- forms --- */
.form label{font-size:.95rem;margin-bottom:6px;font-weight:600}
.form input[type=text],.form input[type=email],.form textarea{border:1px solid rgba(24,34,65,.28);border-radius:8px;padding:13px 15px;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease}
.form input:focus,.form textarea:focus{outline:none;border-color:var(--slate);box-shadow:0 0 0 3px rgba(83,108,124,.28)}
.contact-after .steps-col{max-width:560px}
.contact-after ol,.contact-after p{font-size:1.125rem;line-height:1.6}
.contact-after ol{padding-left:1.3em}
.contact-after li{margin-bottom:.7em}

/* --- footer --- */
.site-footer{padding:clamp(56px,7vw,92px) 0}
.site-footer .cols{gap:clamp(32px,6vw,88px)}
.site-footer p{line-height:1.6}
.site-footer a{text-underline-offset:.2em}
.site-footer .news input{border-radius:8px;border-color:rgba(255,245,217,.4);transition:border-color .2s ease,box-shadow .2s ease}
.site-footer .news input:focus{outline:none;border-color:var(--cream);box-shadow:0 0 0 3px rgba(255,245,217,.25)}

/* --- about page panel --- */
.panel{padding:clamp(28px,3.6vw,48px)}
.panel .col{padding:34px 30px}

/* --- phones --- */
@media (max-width:720px){
  .copy p,.copy li,.band p,.steps li{font-size:1.0625rem}
  .split{gap:32px}
  .site-header{background:var(--cream)}
}
@media (prefers-reduced-motion:reduce){details.faq[open] .ans{animation:none}}

/* adjacent sections of the same colour share one gap instead of doubling it */
.sec.t-white+.sec.t-white,.sec.t-dark+.sec.t-dark,.sec.t-black+.sec.t-black{padding-top:0}
.home-hero+.sec.t-white{padding-top:var(--pad)}

/* MailerLite footer sign-up: blend the embedded form into the dark footer */
.site-footer .ml-embedded{max-width:440px}
.site-footer .ml-form-embedContainer{margin:0!important;width:100%!important}
.site-footer .ml-form-align-center{text-align:left!important}
.site-footer .ml-form-embedWrapper{background:transparent!important;border:0!important;box-shadow:none!important;max-width:100%!important;width:100%!important;border-radius:0!important}
.site-footer .ml-form-embedBody{padding:0!important}
.site-footer .ml-form-embedContent{display:none!important}
.site-footer .ml-form-formContent{margin:0 0 12px!important}
.site-footer .ml-form-recaptcha{margin:0 0 14px!important}
.site-footer .ml-form-embedSubmit{margin:0!important;float:none!important;width:auto!important}
.site-footer .ml-embedded + p.small{margin-top:14px}
.site-footer .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary{background-color:#FFF5D9!important;color:#182241!important;font-family:"PT Serif",Georgia,serif!important;font-size:1rem!important;font-weight:400!important;border-radius:6.4px!important;padding:1.1rem 1.6rem!important;width:auto!important;height:auto!important;border:0!important;cursor:pointer}
.site-footer .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover{background-color:#fff!important}
.site-footer .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input.form-control{font-family:"PT Serif",Georgia,serif!important;font-size:1rem!important;background-color:#fffdf6!important;color:#182241!important;border:1px solid #536c7c!important;border-radius:6.4px!important;padding:14px 16px!important;height:auto!important}
#mlb2-48630400.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary{background-color:#FFF5D9!important;color:#182241!important;font-family:"PT Serif",Georgia,serif!important;font-size:1rem!important;font-weight:400!important;border-radius:6.4px!important;padding:1.1rem 1.6rem!important;width:auto!important;height:auto!important;border:0!important}
#mlb2-48630400.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover{background-color:#fff!important}
#mlb2-48630400.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input.form-control{font-family:"PT Serif",Georgia,serif!important;font-size:1rem!important;background-color:#fffdf6!important;color:#182241!important;border:1px solid #536c7c!important;border-radius:6.4px!important;padding:14px 16px!important;height:auto!important}

/* Buttons inside a paragraph were losing their side padding to the tap-target rule */
.copy p > a.btn:only-child,.site-footer p a.btn,.site-footer li a.btn,.pricerow .how-link a.btn{padding:1.1rem 1.3rem}
