/* Focused presentation refinements. Established branding and page content stay intact. */
/* Filled primary actions; secondary actions inherit the surrounding page surface. */
body:not(.portal-body) :is(.button.outline,.button.secondary,button.outline),
body:not(.portal-body) :is(.button.outline,.button.secondary,button.outline):hover,
body:not(.portal-body) :is(.button.outline,.button.secondary,button.outline):active{
 background:transparent!important;background-image:none!important;border-color:transparent!important;color:#6034a2!important;box-shadow:none!important
}
body:not(.portal-body) :is(.hero,.dark) :is(.button.outline,.button.secondary){color:#d3b4ff!important}
body:not(.portal-body) :is(.button.outline,.button.secondary):hover{text-decoration:underline;text-underline-offset:4px}
/* A single, centred FAQ column with generous clickable question rows. */
body :is(.faq-grid,.tool-faq,.uk-guide-faq){width:100%;max-width:900px;margin-left:auto;margin-right:auto}
body .faq-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;align-items:start}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details{padding:0!important;margin:0!important;border:1px solid #e3dce9!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
body :is(.tool-faq,.uk-guide-faq)>details+details{margin-top:12px!important}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary{display:block;position:relative;padding:18px 50px 18px 22px!important;font-size:15px!important;font-weight:600;line-height:1.5;list-style:none;cursor:pointer;color:#2d1b58}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary::-webkit-details-marker{display:none}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary::marker{content:''}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary>span:last-child{display:none!important}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary::after{content:'';position:absolute;right:23px;top:25px;width:6px;height:6px;border-right:1.5px solid #85738e;border-bottom:1.5px solid #85738e;transform:rotate(45deg);transition:transform 180ms ease-out}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details[open]>summary::after{transform:rotate(225deg);top:28px}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details[open]{border-color:#c5afd9!important}
body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>p{margin:0!important;padding:0 22px 20px!important;font-size:14px!important;line-height:1.8!important;color:#716b86}
body :is(.tool-faq,.uk-guide-faq)>h2{text-align:center;margin-bottom:26px}
body .home-additions .home-faq-layout{display:block;max-width:900px;margin:28px auto 0}
body .home-additions .home-faq-controls{position:static;padding:0;background:transparent;border:0;border-radius:0;margin:0 0 24px}
body .home-additions .home-faq-controls label{max-width:440px}
body .home-additions .home-faq-controls [role=group]{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body .home-additions .home-faq-controls [role=group] button{background:transparent!important;color:#6034a2!important;border:1px solid #e3dce9!important;padding:7px 12px;border-radius:6px;box-shadow:none!important}
body .home-additions .home-faq-controls [role=group] button[aria-pressed=true]{background:#f3edfb!important;border-color:#bfa6da!important}
body .home-additions .home-faq-help{background:transparent;border:0;border-top:1px solid #e8e0f2;border-radius:0;padding:14px 0 0;margin-top:16px;font-size:12px;line-height:1.6}
body .home-additions .home-faq-help p{display:inline;margin:0 10px;font-size:12px}
body .home-additions .home-faq-help strong{display:inline;font-size:12px}
/* Compact form, lifted above the purple hero with a subtle natural shadow. */
.hero-grid:has(#quote-details) .brief{padding:16px!important;border:1px solid #e3dbe9;border-radius:14px!important;box-shadow:0 18px 40px #170c3029,0 3px 8px #170c3012;position:relative;isolation:isolate}
.hero-grid #quote-details.quote-aligned .quote-heading{background:#281850;margin:-16px -16px 12px;padding:14px 16px!important;border-radius:13px 13px 0 0;text-align:left}
.hero-grid #quote-details.quote-aligned .quote-heading h2{color:#fff!important;font-size:22px;line-height:1.25;letter-spacing:-.5px}
.hero-grid #quote-details.quote-aligned .quote-promises{margin-top:0;padding-top:6px;padding-bottom:6px;background:transparent;border:0;border-bottom:1px solid #e8e0f2;border-radius:0}
.hero-grid #quote-details.quote-aligned .quote-promises::before{display:none}
.hero-grid #quote-details.quote-aligned .quote-promises>span{color:#716b86}
.hero-grid #quote-details.quote-aligned .quote-promises strong{font-weight:500}
.hero-grid #quote-details.quote-aligned .quote-section-fields input,.hero-grid #quote-details.quote-aligned .quote-section-fields select,.hero-grid #quote-details.quote-aligned .quote-description textarea{background:#faf9fc;border-color:#ddd5e6;border-radius:7px}
.hero-grid #quote-details.quote-aligned>.button{box-shadow:0 4px 10px #6034a21a;border-radius:7px}
body :is(.home-quote-guidance,.services-quote,.reviews-enquiry,.directory-match){box-shadow:0 8px 24px #2818500a}
@media(max-width:760px){body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary{padding:16px 42px 16px 16px!important;font-size:14px!important}body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary::after{right:18px;top:23px}body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details[open]>summary::after{top:26px}body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>p{padding:0 16px 17px!important;font-size:13px!important}.hero-grid #quote-details.quote-aligned .quote-heading{padding:13px 16px!important}.hero-grid #quote-details.quote-aligned .quote-heading h2{font-size:21px}body .home-additions .home-faq-help p{display:block;margin:3px 0}body .home-additions .home-faq-controls [role=group] button{font-size:11px;padding:7px 9px}}
@media(prefers-reduced-motion:reduce){body :is(.faq-grid,.tool-faq,.uk-guide-faq)>details>summary::after{transition:none}}

@media(max-width:360px){body .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px;padding-left:12px;padding-right:12px}body .stats>div{min-width:0;padding:0 4px}body .stats strong{font-size:23px}body .stats span{white-space:normal;overflow-wrap:anywhere}}

body .home-additions.home-faq-section>.home-faq-help{max-width:900px;margin:20px auto 0;text-align:center}

/* In-copy resource links retain the paragraph typography and remain identifiable. */
a.inline-resource-link{color:#6034a2;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
a.inline-resource-link:hover{color:#452573}
