/* Fraunces loaded via non-blocking <link> in page head — avoid render-blocking @import */

html {
  --sm-sx: 0;
  --sm-sy: 0;
  background: #f6f2ee;
}

.site-redesign-page,
.site-redesign-about {
  --site-ink: #211624;
  --site-muted: #6b5e6c;
  --site-line: rgba(61, 23, 57, 0.11);
  --site-soft: #f6f2ee;
  --site-plum: #65265f;
  --site-plum-dark: #3d1739;
  --site-sky: #dcaee2;
  --site-navy: #1e1120;
  --site-grid: rgba(61, 23, 57, 0.028);
  --site-grid-soft: rgba(61, 23, 57, 0.022);
  --site-shadow: rgba(61, 23, 57, 0.09);
  --site-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --site-ambient-bg:
    radial-gradient(ellipse at 84% 10%, rgba(101, 38, 95, 0.07), transparent 34rem),
    radial-gradient(ellipse at 14% 34%, rgba(101, 38, 95, 0.05), transparent 32rem),
    radial-gradient(ellipse at 70% 74%, rgba(158, 94, 150, 0.06), transparent 34rem),
    linear-gradient(180deg, #faf7f4 0%, #fffdfb 34%, #f7f2ee 100%);
  background: var(--site-soft) !important;
  color: var(--site-ink);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Scroll-driven ambient orbs (transform-only; vars set in main.js) */
.site-redesign-page::before,
.site-redesign-about::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(101, 38, 95, 0.09), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(158, 94, 150, 0.07), transparent 40%);
  content: "";
  inset: -22%;
  pointer-events: none;
  position: fixed;
  transform: translate3d(calc(var(--sm-sx, 0) * 1px), calc(var(--sm-sy, 0) * 1px), 0);
  will-change: transform;
  z-index: 0;
}

.site-redesign-page main,
.site-redesign-about main,
.site-redesign-page footer,
.site-redesign-about footer {
  position: relative;
  z-index: 1;
}

.site-redesign-page header,
.site-redesign-about header {
  position: fixed;
  z-index: 50;
}

/* Fixed grain overlay: kills digital flatness, sits under the header */
.site-redesign-page::after,
.site-redesign-about::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  opacity: 0.032;
  pointer-events: none;
  position: fixed;
  z-index: 30;
}

.site-redesign-page header,
.site-redesign-about header {
  background: rgba(255, 253, 251, 0.9) !important;
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(61, 23, 57, 0.08) !important;
  box-shadow: 0 16px 45px rgba(61, 23, 57, 0.08) !important;
}

.site-redesign-page header nav a,
.site-redesign-about header nav a {
  letter-spacing: 0;
}

.site-redesign-page :where(h1, h2, h3, h4, h5, h6, .heading-premium),
.site-redesign-about :where(h1, h2, h3, h4, h5, h6, .heading-premium) {
  font-family: "Fraunces", Georgia, serif !important;
  font-optical-sizing: auto;
  letter-spacing: 0 !important;
}

.site-redesign-page :where(h1, h2, .heading-premium),
.site-redesign-about :where(h1, h2, .heading-premium) {
  font-weight: 750 !important;
}

.site-redesign-page :where(h3, h4, h5, h6),
.site-redesign-about :where(h3, h4, h5, h6) {
  font-weight: 650 !important;
}

#mobile-menu-overlay {
  pointer-events: none;
  visibility: hidden;
}

#mobile-menu-overlay.translate-x-0,
#mobile-menu-overlay[style*="translateX(0)"] {
  pointer-events: auto;
  visibility: visible;
}

#cookie-banner {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--site-line, rgba(61, 23, 57, 0.11)) !important;
  box-shadow: 0 -18px 50px rgba(61, 23, 57, 0.14) !important;
}

#cookie-banner #btn-accept-cookies {
  background: #65265f !important;
  border-radius: 999px !important;
  color: #fff !important;
}

#cookie-banner #btn-reject-cookies {
  border-radius: 999px !important;
}

#cookie-banner a {
  color: #65265f !important;
}

@media (max-width: 767px) {
  #cookie-banner {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    border: 1px solid var(--site-line, rgba(61, 23, 57, 0.11)) !important;
    border-radius: 1.25rem !important;
    padding: 0.7rem !important;
    max-height: 26vh;
    overflow-y: auto;
  }

  #cookie-banner > div {
    display: grid !important;
    gap: 0.45rem !important;
    padding: 0 !important;
  }

  #cookie-banner h3 {
    display: none !important;
  }

  #cookie-banner p {
    font-size: 0.68rem !important;
    line-height: 1.24 !important;
  }

  #cookie-banner .flex-shrink-0 {
    width: 100% !important;
  }

  #cookie-banner .flex-shrink-0.flex,
  #cookie-banner .flex-shrink-0 .flex {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem !important;
  }

  #cookie-banner button {
    min-height: 2.35rem;
    padding: 0.45rem 0.55rem !important;
    font-size: 0.7rem !important;
    line-height: 1.15 !important;
  }
}

.site-redesign-page main {
  background: var(--site-ambient-bg);
  color: var(--site-ink);
}

.site-redesign-about main {
  background: var(--site-ambient-bg);
}

.site-redesign-page main > section {
  position: relative;
}

.site-redesign-page main > section:not(.site-ready-cta):not(:first-child):not(.bg-dark-900):not(.bg-gray-900):not(.bg-slate-900):not(.bg-brand-plum):not([class*="from-brand-plum"]):not([style*="background:#111827"]):not([style*="background: #111827"]):not([style*="background:#0f172a"]):not([style*="background: #0f172a"]):not([style*="background:#1a1a1a"]):not([style*="background: #1a1a1a"]):not([style*="background:#65265f"]):not([style*="background: #65265f"]) {
  background: linear-gradient(180deg, rgba(255, 253, 251, 0.70), rgba(255, 253, 251, 0.84)) !important;
  padding-block: clamp(4.5rem, 7vw, 6.5rem) !important;
}

.site-redesign-page main > section:not(.site-ready-cta):not(:first-child):not(.bg-dark-900):not(.bg-gray-900):not(.bg-slate-900):not(.bg-brand-plum):not([class*="from-brand-plum"]):not([style*="background:#111827"]):not([style*="background: #111827"]):not([style*="background:#0f172a"]):not([style*="background: #0f172a"]):not([style*="background:#1a1a1a"]):not([style*="background: #1a1a1a"]):not([style*="background:#65265f"]):not([style*="background: #65265f"]):nth-of-type(even) {
  background: linear-gradient(180deg, rgba(247, 242, 238, 0.72), rgba(255, 253, 251, 0.80)) !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) {
  background:
    radial-gradient(circle at 86% 20%, rgba(216, 155, 230, 0.16), transparent 28rem),
    radial-gradient(circle at 16% 16%, rgba(101, 38, 95, 0.5), transparent 24rem),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #180d1b 0%, #211326 52%, #351d3a 100%) !important;
  border-bottom: 0 !important;
  overflow: hidden;
  padding-block: clamp(5.5rem, 9vw, 8rem) !important;
}

/* Kill blue/purple gradient-text headline accents: solid italic plum-light instead */
.site-redesign-page main > section:first-child:not(.site-ready-cta) h1 span {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--site-sky) !important;
  -webkit-text-fill-color: currentColor !important;
  font-style: italic;
  font-weight: 600 !important;
}

/* Retint hard-coded sky-blue eyebrows and decorative blobs inside dark heroes */
.site-redesign-page main > section:first-child:not(.site-ready-cta) [style*="color:#7dd3fc"],
.site-redesign-page main > section:first-child:not(.site-ready-cta) [style*="color: #7dd3fc"] {
  color: #d9a9de !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) [style*="radial-gradient(circle,#7dd3fc"],
.site-redesign-page main > section:first-child:not(.site-ready-cta) [style*="radial-gradient(circle, #7dd3fc"] {
  background: radial-gradient(circle, #d89be6, transparent) !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta)::after {
  content: none;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) > * {
  position: relative;
  z-index: 1;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) h1 {
  color: #fff !important;
  font-size: clamp(3rem, 7vw, 6rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
  line-height: 0.92 !important;
  margin-bottom: 1.35rem !important;
  max-width: 12ch;
  text-wrap: balance;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) p,
.site-redesign-page main > section:first-child:not(.site-ready-cta) li,
.site-redesign-page main > section:first-child:not(.site-ready-cta) span:not([class*="icon"]) {
  color: rgba(255, 255, 255, 0.78) !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) a[class*="rounded"]:not([href*="portal.myac.re"]) {
  background: #fff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: var(--site-plum) !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) nav a,
.site-redesign-page main > section:first-child:not(.site-ready-cta) a[href="/blog"],
.site-redesign-page main > section:first-child:not(.site-ready-cta) a[href="/mortgage-guides"] {
  background: transparent !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration-color: rgba(255, 255, 255, 0.42) !important;
  text-underline-offset: 0.18em;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) nav span,
.site-redesign-page main > section:first-child:not(.site-ready-cta) nav .text-brand-plum {
  color: #fff !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-gray-100,
.site-redesign-page main > section:first-child:not(.site-ready-cta) span[class*="bg-gray-100"] {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92) !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-brand-sky\/10,
.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-emerald-50,
.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-amber-50,
.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-violet-50,
.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-rose-50,
.site-redesign-page main > section:first-child:not(.site-ready-cta) .bg-white\/20 {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) .text-white\/60,
.site-redesign-page main > section:first-child:not(.site-ready-cta) .text-gray-400 {
  color: rgba(255, 255, 255, 0.86) !important;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta) {
  background: #1e1120 !important;
  padding-block: clamp(6rem, 10vw, 9rem) !important;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta)::after {
  content: none;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta) > .absolute {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta) img {
  opacity: 0.82 !important;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta) h1 span {
  color: var(--site-sky) !important;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta) a {
  background: var(--site-plum) !important;
  border-color: var(--site-plum) !important;
  color: #fff !important;
}

.site-redesign-page.site-broker-photo-hero main > section:first-child:not(.site-ready-cta) a:hover {
  background: var(--site-plum-dark) !important;
}

/* Protection pages: centred intro block (div, not dark section hero) */
.site-redesign-page main > div.text-center.pt-16:first-child h1 {
  color: var(--site-ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(1.875rem, 4.5vw, 3rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.12 !important;
  margin-inline: auto;
  max-width: none !important;
}

.site-redesign-page main > div.text-center.pt-16:first-child h1 span {
  color: var(--site-plum) !important;
  font-style: italic;
  font-weight: 600 !important;
}

.site-redesign-page main > div.text-center.pt-16:first-child > p:first-of-type {
  color: var(--site-muted) !important;
  margin-inline: auto;
  max-width: 48rem;
}

.site-redesign-page main > div.text-center.pt-16:first-child > p.text-brand-sky {
  color: var(--site-plum) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-style: italic;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  margin-inline: auto;
  text-transform: lowercase;
}

.site-redesign-page h1,
.site-redesign-page h2,
.site-redesign-page h3,
.site-redesign-about main h1,
.site-redesign-about main h2 {
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.site-redesign-about main h1 {
  color: var(--site-ink) !important;
  font-size: clamp(3rem, 7vw, 5.6rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
  line-height: 0.92 !important;
  margin-inline: auto;
  max-width: 12ch;
}

.site-redesign-about main h1 span {
  color: var(--site-plum) !important;
}

.site-redesign-about main h2 {
  color: var(--site-ink) !important;
  font-size: clamp(2.25rem, 4.7vw, 4.2rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
  line-height: 0.98 !important;
}

.site-redesign-about main .glass-card h2,
.site-redesign-about main .glass-panel h2 {
  color: var(--site-plum) !important;
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
}

.site-redesign-page main h2 {
  color: var(--site-ink) !important;
  font-size: clamp(2.15rem, 4.5vw, 4rem) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  margin-bottom: 1rem !important;
}

.site-redesign-page main h3 {
  color: var(--site-ink) !important;
  font-weight: 850 !important;
  line-height: 1.08 !important;
}

.site-redesign-page main p {
  color: var(--site-muted) !important;
  line-height: 1.75 !important;
}

.site-redesign-page main .bg-dark-900,
.site-redesign-page main .bg-gray-900,
.site-redesign-page main .bg-slate-900,
.site-redesign-page main [style*="background:#111827"],
.site-redesign-page main [style*="background: #111827"],
.site-redesign-page main [style*="background:#0f172a"],
.site-redesign-page main [style*="background: #0f172a"],
.site-redesign-page main [style*="background:#1a1a1a"],
.site-redesign-page main [style*="background: #1a1a1a"] {
  background:
    radial-gradient(circle at 20% 14%, rgba(216, 155, 230, 0.14), transparent 24rem),
    #1e1120 !important;
  color: #fff !important;
}

.site-redesign-page main .bg-dark-900 h1,
.site-redesign-page main .bg-dark-900 h2,
.site-redesign-page main .bg-dark-900 h3,
.site-redesign-page main .bg-dark-900 h4,
.site-redesign-page main .bg-dark-900 summary,
.site-redesign-page main .bg-dark-900 td,
.site-redesign-page main .bg-dark-900 li,
.site-redesign-page main .bg-dark-900 strong,
.site-redesign-page main .bg-gray-900 h1,
.site-redesign-page main .bg-gray-900 h2,
.site-redesign-page main .bg-gray-900 h3,
.site-redesign-page main .bg-gray-900 h4,
.site-redesign-page main .bg-gray-900 summary,
.site-redesign-page main .bg-gray-900 td,
.site-redesign-page main .bg-gray-900 li,
.site-redesign-page main .bg-gray-900 strong,
.site-redesign-page main .bg-slate-900 h1,
.site-redesign-page main .bg-slate-900 h2,
.site-redesign-page main .bg-slate-900 h3,
.site-redesign-page main .bg-slate-900 h4,
.site-redesign-page main .bg-slate-900 summary,
.site-redesign-page main .bg-slate-900 td,
.site-redesign-page main .bg-slate-900 li,
.site-redesign-page main .bg-slate-900 strong,
.site-redesign-page main [style*="background:#111827"] h1,
.site-redesign-page main [style*="background:#111827"] h2,
.site-redesign-page main [style*="background:#111827"] h3,
.site-redesign-page main [style*="background:#111827"] h4,
.site-redesign-page main [style*="background:#111827"] summary,
.site-redesign-page main [style*="background:#111827"] td,
.site-redesign-page main [style*="background:#111827"] li,
.site-redesign-page main [style*="background:#111827"] strong,
.site-redesign-page main [style*="background: #111827"] h1,
.site-redesign-page main [style*="background: #111827"] h2,
.site-redesign-page main [style*="background: #111827"] h3,
.site-redesign-page main [style*="background: #111827"] h4,
.site-redesign-page main [style*="background: #111827"] summary,
.site-redesign-page main [style*="background: #111827"] td,
.site-redesign-page main [style*="background: #111827"] li,
.site-redesign-page main [style*="background: #111827"] strong,
.site-redesign-page main [style*="background:#0f172a"] h1,
.site-redesign-page main [style*="background:#0f172a"] h2,
.site-redesign-page main [style*="background:#0f172a"] h3,
.site-redesign-page main [style*="background:#0f172a"] h4,
.site-redesign-page main [style*="background:#0f172a"] summary,
.site-redesign-page main [style*="background:#0f172a"] td,
.site-redesign-page main [style*="background:#0f172a"] li,
.site-redesign-page main [style*="background:#0f172a"] strong,
.site-redesign-page main [style*="background: #0f172a"] h1,
.site-redesign-page main [style*="background: #0f172a"] h2,
.site-redesign-page main [style*="background: #0f172a"] h3,
.site-redesign-page main [style*="background: #0f172a"] h4,
.site-redesign-page main [style*="background: #0f172a"] summary,
.site-redesign-page main [style*="background: #0f172a"] td,
.site-redesign-page main [style*="background: #0f172a"] li,
.site-redesign-page main [style*="background: #0f172a"] strong,
.site-redesign-page main [style*="background:#1a1a1a"] h1,
.site-redesign-page main [style*="background:#1a1a1a"] h2,
.site-redesign-page main [style*="background:#1a1a1a"] h3,
.site-redesign-page main [style*="background:#1a1a1a"] h4,
.site-redesign-page main [style*="background:#1a1a1a"] summary,
.site-redesign-page main [style*="background:#1a1a1a"] td,
.site-redesign-page main [style*="background:#1a1a1a"] li,
.site-redesign-page main [style*="background:#1a1a1a"] strong,
.site-redesign-page main [style*="background: #1a1a1a"] h1,
.site-redesign-page main [style*="background: #1a1a1a"] h2,
.site-redesign-page main [style*="background: #1a1a1a"] h3,
.site-redesign-page main [style*="background: #1a1a1a"] h4,
.site-redesign-page main [style*="background: #1a1a1a"] summary,
.site-redesign-page main [style*="background: #1a1a1a"] td,
.site-redesign-page main [style*="background: #1a1a1a"] li,
.site-redesign-page main [style*="background: #1a1a1a"] strong {
  color: #fff !important;
}

.site-redesign-page main .bg-dark-900 p,
.site-redesign-page main .bg-gray-900 p,
.site-redesign-page main .bg-slate-900 p,
.site-redesign-page main [style*="background:#111827"] p,
.site-redesign-page main [style*="background: #111827"] p,
.site-redesign-page main [style*="background:#0f172a"] p,
.site-redesign-page main [style*="background: #0f172a"] p,
.site-redesign-page main [style*="background:#1a1a1a"] p,
.site-redesign-page main [style*="background: #1a1a1a"] p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.site-redesign-page main > section:not(:first-child) .container,
.site-redesign-page main > section:not(:first-child) .max-w-6xl,
.site-redesign-page main > section:not(:first-child) .max-w-7xl {
  max-width: 1180px !important;
}

.site-redesign-page main .rounded-xl,
.site-redesign-page main .rounded-2xl,
.site-redesign-page main .rounded-3xl,
.site-redesign-page main .glass-panel,
.site-redesign-page main [class*="shadow"],
.site-redesign-page main [style*="border-radius"],
.site-redesign-page main [style*="box-shadow"] {
  border-color: var(--site-line) !important;
  box-shadow: 0 24px 70px var(--site-shadow) !important;
}

.site-redesign-page main .rounded-xl,
.site-redesign-page main .rounded-2xl,
.site-redesign-page main .rounded-3xl,
.site-redesign-page main .glass-panel {
  border-radius: 1.25rem !important;
}

.site-redesign-page main a,
.site-redesign-page main button {
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.site-redesign-page main a:hover,
.site-redesign-page main button:hover {
  transform: translateY(-1px);
}

.site-redesign-page main a[style*="background:#5e2750"],
.site-redesign-page main a[style*="background: #5e2750"],
.site-redesign-page main a.bg-brand-plum,
.site-redesign-page main button.bg-brand-plum,
.site-redesign-page main button[style*="background:#5e2750"] {
  background: var(--site-plum) !important;
  border-color: var(--site-plum) !important;
  color: #fff !important;
}

.site-redesign-page main a[style*="background:#5e2750"]:hover,
.site-redesign-page main a.bg-brand-plum:hover,
.site-redesign-page main button.bg-brand-plum:hover {
  background: var(--site-plum-dark) !important;
}

.site-redesign-page main .grid > a,
.site-redesign-page main .grid > article,
.site-redesign-page main .grid > div,
.site-redesign-page main [class*="card"] {
  border-color: var(--site-line) !important;
}

.site-redesign-page main .grid > a:hover,
.site-redesign-page main .grid > article:hover {
  box-shadow: 0 30px 80px rgba(61, 23, 57, 0.14) !important;
  transform: translateY(-4px);
}

.site-redesign-page main .bg-brand-plum,
.site-redesign-page main [class*="from-brand-plum"],
.site-redesign-page main [style*="background:#65265f"],
.site-redesign-page main [style*="background: #65265f"] {
  color: #fff !important;
}

.site-redesign-page main .bg-brand-plum h2,
.site-redesign-page main .bg-brand-plum h3,
.site-redesign-page main .bg-brand-plum p,
.site-redesign-page main [class*="from-brand-plum"] h2,
.site-redesign-page main [class*="from-brand-plum"] h3,
.site-redesign-page main [class*="from-brand-plum"] p,
.site-redesign-page main [style*="background:#65265f"] h2,
.site-redesign-page main [style*="background:#65265f"] h3,
.site-redesign-page main [style*="background:#65265f"] p,
.site-redesign-page main [style*="background: #65265f"] h2,
.site-redesign-page main [style*="background: #65265f"] h3,
.site-redesign-page main [style*="background: #65265f"] p {
  color: inherit !important;
}

.site-redesign-page main .filter-btn,
.site-redesign-page main [class*="rounded-full"] {
  white-space: normal;
}

.site-ready-cta,
.site-redesign-page .site-ready-cta,
.site-redesign-about .site-ready-cta {
  background:
    radial-gradient(circle at 12% 20%, rgba(101, 38, 95, 0.10), transparent 26rem),
    linear-gradient(135deg, rgba(255, 253, 251, 0.92), rgba(247, 240, 236, 0.82)) !important;
}

.site-ready-cta .container > div,
.site-redesign-page .site-ready-cta .container > div,
.site-redesign-about .site-ready-cta .container > div {
  align-items: center !important;
  background:
    radial-gradient(circle at 84% 0%, rgba(216, 155, 230, 0.24), transparent 20rem),
    linear-gradient(150deg, #65265f, #3d1739) !important;
  border: 1px solid rgba(216, 155, 230, 0.28) !important;
  border-radius: 2rem !important;
  box-shadow: 0 32px 90px rgba(61, 23, 57, 0.28) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  padding: clamp(1.5rem, 4vw, 3rem) !important;
  position: relative !important;
}

.site-ready-cta .container > div::after,
.site-redesign-page .site-ready-cta .container > div::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.site-ready-cta .container > div > div:first-child > span:first-child,
.site-redesign-page .site-ready-cta .container > div > div:first-child > span:first-child {
  color: #d89be6 !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.02rem !important;
  font-style: italic !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: lowercase !important;
}

.site-ready-cta h2,
.site-ready-cta .heading-premium,
.site-redesign-page .site-ready-cta h2 {
  color: #fdf8fd !important;
  font-size: clamp(2.2rem, 5vw, 4.8rem) !important;
  text-wrap: balance;
}

.site-ready-cta .container > div > div:first-child p,
.site-redesign-page .site-ready-cta .container > div > div:first-child p {
  color: rgba(253, 248, 253, 0.78) !important;
}

.site-ready-cta .container > div > div:last-child a:first-child,
.site-redesign-page .site-ready-cta .container > div > div:last-child a:first-child {
  background: #fdf8fd !important;
  border-color: #fdf8fd !important;
  color: #65265f !important;
}

.site-ready-cta .container > div > div:last-child a:last-child,
.site-redesign-page .site-ready-cta .container > div > div:last-child a:last-child {
  background: transparent !important;
  border-color: rgba(253, 248, 253, 0.4) !important;
  color: #fdf8fd !important;
}

@media (max-width: 900px) {
  .site-redesign-page main > section:first-child:not(.site-ready-cta) {
    padding-block: 5rem !important;
  }

  .site-redesign-page main > section:first-child:not(.site-ready-cta) h1 {
    font-size: clamp(2.75rem, 13vw, 4.25rem) !important;
    max-width: 11ch;
  }

  .site-redesign-page main h2 {
    font-size: clamp(2rem, 10vw, 3.25rem) !important;
  }

  .site-redesign-about main h1 {
    font-size: clamp(2.75rem, 13vw, 4.25rem) !important;
  }

  .site-redesign-about main h2 {
    font-size: clamp(2rem, 10vw, 3.2rem) !important;
  }
}

@media (max-width: 560px) {
  .site-redesign-page main > section:first-child:not(.site-ready-cta) h1,
  .site-redesign-about main h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.2rem) !important;
    line-height: 0.96 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: calc(100vw - 2rem) !important;
    text-wrap: balance;
  }

  .site-redesign-page main > section:not(.site-ready-cta):not(:first-child) {
    padding-block: 4rem !important;
  }

  .site-redesign-page main .container,
  .site-redesign-page main [class*="max-w-"] {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }

  .site-redesign-page .site-ready-cta > div > div {
    border-radius: 1.2rem !important;
  }
}

.site-redesign-page :where(h1, h2, .heading-premium),
.site-redesign-about :where(h1, h2, .heading-premium) {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}

.site-redesign-page :where(h3, h4, h5, h6),
.site-redesign-about :where(h3, h4, h5, h6) {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.site-redesign-page main > section:first-child:not(.site-ready-cta) h1,
.site-redesign-page main h1,
.site-redesign-page main h2,
.site-redesign-page .site-ready-cta h2,
.site-redesign-about main h1,
.site-redesign-about main h2,
.site-redesign-about .site-ready-cta h2 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
}

.site-redesign-page main h3,
.site-redesign-page main h4,
.site-redesign-page main h5,
.site-redesign-page main h6,
.site-redesign-about main h3,
.site-redesign-about main h4,
.site-redesign-about main h5,
.site-redesign-about main h6 {
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

@media (min-width: 1024px) {
  .site-mega-nav {
    gap: clamp(1.1rem, 1.55vw, 1.75rem) !important;
    align-self: stretch;
  }

  .site-mega-link,
  .site-mega-trigger {
    align-items: center;
    color: #584a58;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 650;
    gap: 0.35rem;
    height: 100%;
    letter-spacing: 0;
    position: relative;
    text-decoration: none;
    transition: color 180ms ease;
    white-space: nowrap;
  }

  .site-mega-item::before {
    content: "";
    display: none;
    height: 1.4rem;
    left: 0;
    position: fixed;
    right: 0;
    top: 80px;
    z-index: 58;
  }

  .site-mega-item:hover::before,
  .site-mega-item:focus-within::before {
    display: block;
  }

  .site-mega-link::after,
  .site-mega-trigger::after {
    background: #65265f;
    bottom: 1.25rem;
    content: "";
    height: 1px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    transform: scaleX(0.7);
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-mega-link:hover,
  .site-mega-item:hover > .site-mega-trigger,
  .site-mega-trigger:focus-visible {
    color: #4a1c46;
  }

  .site-mega-link:hover::after,
  .site-mega-item:hover > .site-mega-trigger::after,
  .site-mega-trigger:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .site-mega-trigger svg {
    height: 0.9rem;
    transition: transform 180ms ease;
    width: 0.9rem;
  }

  .site-mega-item:hover > .site-mega-trigger svg {
    transform: rotate(180deg);
  }

  .site-mega-panel {
    background: #fff;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 26px 46px -38px rgba(15, 23, 42, 0.56);
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 85px;
    transform: translateY(-8px);
    transition: opacity 210ms ease, transform 210ms ease;
    visibility: hidden;
    content-visibility: hidden;
    contain: layout paint style;
    contain-intrinsic-size: 0 460px;
    z-index: 57;
  }

  .site-mega-item:hover .site-mega-panel,
  .site-mega-item:focus-within .site-mega-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    content-visibility: visible;
  }

  .site-mega-panel-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.36fr);
    margin: 0 auto;
    max-width: 1060px;
    min-height: 430px;
    padding: 0 2rem;
  }

  .site-mega-rail {
    display: none;
  }

  .site-mega-eyebrow,
  .site-mega-section-title {
    color: #4a1c46;
    display: block;
    font-size: 0.88rem;
    font-weight: 750;
    letter-spacing: 0;
    margin-bottom: 0.82rem;
  }

  .site-mega-rail-list {
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    display: grid;
    gap: 0.08rem;
    padding-top: 0.8rem;
  }

  .site-mega-rail-list a {
    color: #111827;
    display: block;
    font-size: 0.88rem;
    font-weight: 520;
    line-height: 1.3;
    padding: 0.42rem 0;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
  }

  .site-mega-rail-list a:hover {
    color: #65265f;
    transform: translateX(2px);
  }

  .site-mega-main {
    padding: 2.15rem 2.45rem 2.35rem 0;
  }

  .site-mega-link-grid {
    border-top: 1px solid rgba(148, 163, 184, 0.28);
    display: grid;
    gap: 1.15rem 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 1rem;
  }

  .site-mega-card {
    align-items: start;
    border-radius: 0.55rem;
    color: #17202d;
    display: grid;
    gap: 0.72rem;
    grid-template-columns: 1.35rem 1fr;
    min-height: 3.9rem;
    padding: 0.2rem 0.15rem;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
  }

  .site-mega-card::before {
    background: transparent;
    border: 2px solid rgba(101, 38, 95, 0.42);
    border-radius: 50%;
    box-sizing: border-box;
    content: "";
    height: 0.72rem;
    margin-top: 0.28rem;
    width: 0.72rem;
  }

  .site-mega-card:hover::before {
    border-color: #65265f;
    box-shadow: 0 0 0 3px rgba(101, 38, 95, 0.10);
  }

  .site-mega-card strong {
    color: #4a1c46;
    display: block;
    font-size: 0.9rem;
    font-weight: 720;
    line-height: 1.22;
    transition: color 180ms ease;
  }

  .site-mega-card span {
    color: #1f2937;
    display: block;
    font-size: 0.78rem;
    line-height: 1.34;
    margin-top: 0.3rem;
  }

  .site-mega-card:hover {
    color: #65265f;
    transform: translateX(2px);
  }

  .site-mega-card:hover strong {
    color: #65265f;
  }

  .site-mega-feature {
    background:
      linear-gradient(160deg, rgba(101, 38, 95, 0.06), rgba(247, 240, 236, 0.95)),
      #f7f0ec;
    border-left: 1px solid rgba(101, 38, 95, 0.12);
    padding: 2.15rem 1.55rem;
  }

  .site-mega-feature-list {
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    display: grid;
    gap: 0.95rem;
    padding-top: 1rem;
  }

  .site-mega-feature-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(101, 38, 95, 0.10);
    border-radius: 0.72rem;
    box-shadow: 0 10px 28px rgba(61, 23, 57, 0.06);
    color: #17202d;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 4.6rem 1fr;
    overflow: hidden;
    padding: 0.72rem;
    text-decoration: none;
    transition: transform 220ms var(--site-ease), background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }

  .site-mega-feature-card:hover {
    background: #fff;
    border-color: rgba(101, 38, 95, 0.22);
    box-shadow: 0 16px 36px rgba(61, 23, 57, 0.12);
    transform: translateY(-2px);
  }

  .site-mega-feature-card img {
    aspect-ratio: 1.2;
    border-radius: 0.52rem;
    height: 3.75rem;
    object-fit: cover;
    transition: transform 320ms var(--site-ease);
    width: 4.6rem;
  }

  .site-mega-feature-card:hover img {
    transform: scale(1.04);
  }

  .site-mega-feature-card strong {
    color: #4a1c46;
    display: block;
    font-size: 0.86rem;
    line-height: 1.22;
  }

  .site-mega-feature-card span {
    color: #1f2937;
    display: block;
    font-size: 0.74rem;
    line-height: 1.28;
    margin-top: 0.26rem;
  }
}

@media (min-width: 1024px) and (max-width: 1179px) {
  .site-mega-nav {
    gap: 0.72rem !important;
  }

  .site-mega-link,
  .site-mega-trigger {
    font-size: 0.78rem;
  }

  header a[href="https://portal.myac.re/"] {
    display: none !important;
  }

  header a[href="/get-in-touch"] {
    font-size: 0.8rem !important;
    padding: 0.65rem 1rem !important;
  }
}

/* ============================================================
   Premium pass: single plum accent, warm surfaces, typography
   ============================================================ */

/* Retire hard-coded steel-blue accents used across inner pages */
.site-redesign-page main [style*="color:#0369a1"],
.site-redesign-page main [style*="color: #0369a1"],
.site-redesign-page main [style*="color:#0284c7"],
.site-redesign-page main [style*="color: #0284c7"] {
  color: var(--site-plum) !important;
}

.site-redesign-page main svg[stroke="#0369a1"],
.site-redesign-page main svg[stroke="#0284c7"],
.site-redesign-page main svg[stroke="#59a5d8"] {
  stroke: var(--site-plum);
}

/* Sky-blue decorative blobs become plum-tinted */
:is(.site-redesign-page, .site-redesign-about) main [class*="bg-brand-sky/"] {
  background-color: rgba(101, 38, 95, 0.08) !important;
}

/* Pastel icon tiles become warm ivory cards with plum icons */
.site-redesign-page main :is([style*="background:#f0f9ff"], [style*="background: #f0f9ff"], [style*="background:#eff6ff"], [style*="background:#ecfdf5"], [style*="background:#fdf4ff"], [style*="background:#fdf2f8"], [style*="background:#f5f3ff"], [style*="background:#f0fdfa"], [style*="background:#fffbeb"], [style*="background:#fff1f2"], [style*="background:#faf5ff"], [style*="background:#fef2f2"], [style*="background:#fefce8"], [style*="background:#f0fdf4"], [style*="background:#eef2ff"], [style*="background:#fff7ed"], [style*="background:#f8fafc"], [style*="background:#f1f5f9"]) {
  background: #fdfaf7 !important;
  border-color: var(--site-line) !important;
}

/* Pastel icon chips inside those tiles get a single plum tint */
.site-redesign-page main :is([style*="background:#e0f2fe"], [style*="background:#dbeafe"], [style*="background:#d1fae5"], [style*="background:#fee2e2"], [style*="background:#fef3c7"], [style*="background:#ede9fe"], [style*="background:#ccfbf1"], [style*="background:#fce7f3"], [style*="background:#e9d5ff"], [style*="background:#bae6fd"], [style*="background:#cffafe"]) {
  background: #f3e8f2 !important;
}

.site-redesign-page main svg[stroke="#0ea5e9"],
.site-redesign-page main svg[stroke="#2563eb"],
.site-redesign-page main svg[stroke="#059669"],
.site-redesign-page main svg[stroke="#0d9488"],
.site-redesign-page main svg[stroke="#d97706"],
.site-redesign-page main svg[stroke="#dc2626"],
.site-redesign-page main svg[stroke="#7c3aed"],
.site-redesign-page main svg[stroke="#db2777"] {
  stroke: var(--site-plum);
}

.site-redesign-page main :is(.bg-purple-50, .bg-blue-50, .bg-sky-50, .bg-emerald-50, .bg-teal-50, .bg-amber-50, .bg-rose-50, .bg-pink-50, .bg-violet-50, .bg-indigo-50, .bg-cyan-50):not([class*="hover"]) {
  background-color: #fdfaf7 !important;
}

/* Numbers read as data */
.site-redesign-page main :is(strong, b, td, [class*="stat"], [id*="calc-result"]) {
  font-variant-numeric: tabular-nums;
}

/* Body copy measure — skip centred labels/captions (max-width without margin-inline: auto shifts them left) */
.site-redesign-page main p:not(.text-center) {
  max-width: 68ch;
  text-wrap: pretty;
}

.site-redesign-page main p.text-center,
.site-redesign-page main .text-center > p {
  margin-inline: auto;
  max-width: none;
  text-wrap: pretty;
}

.site-redesign-page main :is(h1, h2, h3) {
  text-wrap: balance;
}

/* Buttons: tactile press feedback */
.site-redesign-page main a:active,
.site-redesign-page main button:active {
  transform: translateY(1px) scale(0.99);
}

/* Active page indication in the header nav */
.site-mega-link[aria-current="page"],
.site-mega-trigger.is-current {
  color: var(--site-plum, #65265f) !important;
}

.site-mega-link[aria-current="page"]::after,
.site-mega-trigger.is-current::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

/* ============================================================
   Motion system: staggered reveals, spotlight cards, focus rings
   ============================================================ */

.js-reveal .stagger-children > * {
  transition: opacity 700ms var(--site-ease, cubic-bezier(0.22, 1, 0.36, 1)), transform 700ms var(--site-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.js-reveal .stagger-children:not(.revealed) > * {
  opacity: 0;
  transform: translateY(26px);
}

.js-reveal .stagger-children > :nth-child(2) { transition-delay: 75ms; }
.js-reveal .stagger-children > :nth-child(3) { transition-delay: 150ms; }
.js-reveal .stagger-children > :nth-child(4) { transition-delay: 225ms; }
.js-reveal .stagger-children > :nth-child(5) { transition-delay: 300ms; }
.js-reveal .stagger-children > :nth-child(6) { transition-delay: 375ms; }
.js-reveal .stagger-children > :nth-child(n+7) { transition-delay: 450ms; }

.sm-spotlight {
  position: relative;
}

.sm-spotlight::after {
  background: radial-gradient(15rem circle at var(--sm-mx, 50%) var(--sm-my, 50%), rgba(101, 38, 95, 0.13), transparent 62%);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 320ms ease;
}

.sm-spotlight:hover::after {
  opacity: 1;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #65265f;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-redesign-page::before,
  .site-redesign-about::before {
    transform: none !important;
  }

  .js-reveal .stagger-children > *,
  .js-reveal .reveal-on-scroll,
  .js-reveal .reveal-slide-right,
  .js-reveal .reveal-scale-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-redesign-page main a,
  .site-redesign-page main button {
    transition: none !important;
  }
}

/* PPC landing conversion module */
.ppc-lead-section {
  background:
    radial-gradient(ellipse at 86% 12%, rgba(101, 38, 95, 0.075), transparent 30rem),
    radial-gradient(ellipse at 12% 80%, rgba(158, 94, 150, 0.06), transparent 30rem),
    linear-gradient(180deg, rgba(255, 253, 251, 0.82), rgba(247, 242, 238, 0.86)) !important;
  border-bottom: 1px solid var(--site-line, rgba(61, 23, 57, 0.11));
  border-top: 1px solid var(--site-line, rgba(61, 23, 57, 0.11));
  color: var(--site-ink, #211624);
  padding: clamp(4.5rem, 7vw, 6.5rem) 1.5rem !important;
}

.ppc-lead-shell {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  margin: 0 auto;
  max-width: 73.75rem;
}

.ppc-lead-copy {
  color: var(--site-ink, #211624);
}

.ppc-lead-kicker {
  align-items: center;
  color: var(--site-plum, #65265f);
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 600;
  gap: 0.6rem;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  text-transform: lowercase;
}

.ppc-lead-kicker::before {
  background: currentColor;
  content: "";
  height: 1px;
  opacity: 0.65;
  width: 1.9rem;
}

.ppc-lead-copy h2 {
  color: var(--site-ink, #211624);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 1.25rem;
  max-width: 11ch;
  text-wrap: balance;
}

.ppc-lead-copy p {
  color: var(--site-muted, #6b5e6c);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
  margin: 0 0 1.35rem;
  max-width: 42rem;
  text-wrap: pretty;
}

.ppc-lead-copy ul {
  display: grid;
  gap: 0.72rem;
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
}

.ppc-lead-copy li {
  color: var(--site-ink, #211624);
  font-weight: 700;
  line-height: 1.5;
  padding-left: 1.55rem;
  position: relative;
}

.ppc-lead-copy li::before {
  background: var(--site-plum, #65265f);
  border-radius: 999px;
  content: "";
  height: 0.44rem;
  left: 0;
  position: absolute;
  top: 0.52rem;
  width: 0.44rem;
}

.ppc-lead-warning {
  border-left: 3px solid rgba(101, 38, 95, 0.32);
  color: var(--site-muted, #6b5e6c) !important;
  font-size: 0.86rem !important;
  padding-left: 1rem;
}

.ppc-disclosure-box {
  background: rgba(255, 253, 251, 0.78);
  border: 1px solid rgba(101, 38, 95, 0.14);
  border-radius: 1rem;
  margin-top: 1rem;
  padding: 1rem;
}

.ppc-disclosure-box strong {
  color: var(--site-plum-dark, #3d1739);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.ppc-disclosure-box p {
  color: var(--site-muted, #6b5e6c);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.ppc-lead-form {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.35rem;
  box-shadow: 0 28px 80px var(--site-shadow, rgba(61, 23, 57, 0.11)), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.85rem);
}

.ppc-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.ppc-lead-form label {
  color: var(--site-ink, #211624);
  display: grid;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.42rem;
}

.ppc-lead-form :is(input, select, textarea) {
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid var(--site-line, rgba(61, 23, 57, 0.11));
  border-radius: 0.95rem;
  color: var(--site-ink, #211624);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  min-height: 3rem;
  padding: 0.82rem 0.95rem;
  width: 100%;
}

.ppc-lead-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.ppc-lead-form :is(input, select, textarea):focus {
  border-color: rgba(101, 38, 95, 0.55);
  box-shadow: 0 0 0 3px rgba(101, 38, 95, 0.14);
  outline: 0;
}

.ppc-lead-form button {
  background: var(--site-plum, #65265f);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  min-height: 3.35rem;
  padding: 0.9rem 1.25rem;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), background 260ms ease, box-shadow 260ms ease;
}

.ppc-lead-form button:hover {
  background: var(--site-plum-dark, #3d1739);
  box-shadow: 0 18px 42px rgba(101, 38, 95, 0.22);
  transform: translateY(-2px);
}

.ppc-lead-form button:active {
  transform: translateY(1px) scale(0.99);
}

.ppc-form-small {
  color: var(--site-muted, #6b5e6c);
  font-size: 0.86rem;
  font-weight: 650;
  margin: -0.25rem 0 0;
  text-align: center;
}

.ppc-form-small a {
  color: var(--site-plum, #65265f);
  font-weight: 800;
}

@media (max-width: 900px) {
  .ppc-lead-shell,
  .ppc-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog and guide editorial polish */
.blog-index-page main,
.blog-article-page main,
.guide-article-page main {
  background:
    radial-gradient(circle at 8% 18%, rgba(101, 38, 95, 0.08), transparent 30rem),
    radial-gradient(circle at 92% 30%, rgba(80, 166, 214, 0.08), transparent 28rem),
    #fbf8f7;
}

.blog-index-page main > div:first-child {
  background:
    linear-gradient(135deg, rgba(101, 38, 95, 0.08), rgba(255, 255, 255, 0.94) 48%, rgba(80, 166, 214, 0.08)) !important;
  border-bottom: 1px solid rgba(61, 23, 57, 0.1);
  padding-bottom: clamp(4.5rem, 8vw, 7rem) !important;
  padding-top: clamp(4.5rem, 8vw, 7rem) !important;
}

.blog-index-page main > div:first-child .max-w-5xl {
  max-width: 58rem;
  text-align: left;
}

.blog-index-page main > div:first-child h1,
.blog-article-page main > div:first-child h1,
.guide-article-page main > section:first-child h1 {
  color: var(--site-ink, #211624) !important;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.55rem, 5.1vw, 4.65rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
  max-width: 15ch;
}

.blog-index-page main > div:first-child h1 span {
  color: var(--site-plum, #65265f) !important;
}

.blog-index-page main > div:first-child p,
.blog-article-page main > div:first-child p,
.guide-article-page main > section:first-child p {
  color: #56485b !important;
  font-size: clamp(1rem, 1.6vw, 1.18rem) !important;
  font-weight: 500;
  line-height: 1.75 !important;
  max-width: 42rem;
}

.blog-index-page main > div:first-child .inline-flex,
.blog-article-page main > div:first-child .inline-flex,
.guide-article-page main > section:first-child .inline-block,
.guide-article-page main > section:first-child .inline-flex {
  border: 1px solid rgba(101, 38, 95, 0.12);
  border-radius: 999px;
}

.blog-index-page main > section {
  background: rgba(255, 255, 255, 0.72);
  border-left: 1px solid rgba(61, 23, 57, 0.06);
  border-right: 1px solid rgba(61, 23, 57, 0.06);
  padding-top: clamp(3rem, 6vw, 5rem) !important;
}

.blog-index-page #specialist-case-studies {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.blog-index-page #specialist-case-studies h2 {
  color: var(--site-ink, #211624);
  font-size: clamp(2rem, 3vw, 2.85rem) !important;
  letter-spacing: -0.035em;
  line-height: 1.06;
  max-width: 14ch;
}

.blog-index-page #specialist-case-studies p {
  color: #5d5262;
  font-size: 1.02rem;
  line-height: 1.75;
}

.blog-index-page main a.group,
.blog-index-page main .grid > a,
.blog-article-page main a.group {
  border-color: rgba(61, 23, 57, 0.1) !important;
  border-radius: 1.15rem !important;
  box-shadow: 0 18px 50px rgba(61, 23, 57, 0.07) !important;
}

.blog-index-page main a.group:hover,
.blog-index-page main .grid > a:hover,
.blog-article-page main a.group:hover {
  box-shadow: 0 24px 70px rgba(61, 23, 57, 0.12) !important;
  transform: translateY(-3px);
}

.blog-index-page main .grid h3,
.blog-index-page main .grid h2 {
  color: var(--site-ink, #211624) !important;
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.08 !important;
}

.blog-index-page main .grid p {
  color: #625767 !important;
  line-height: 1.68 !important;
}

.blog-index-page main .grid a[style*="linear-gradient"] h3,
.blog-index-page main .grid a[style*="linear-gradient"] p,
.blog-index-page main a[style*="linear-gradient"] h3,
.blog-index-page main a[style*="linear-gradient"] p {
  color: #fff !important;
}

.blog-index-page main .grid a[style*="linear-gradient"] p,
.blog-index-page main a[style*="linear-gradient"] p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.blog-index-page main a[style*="linear-gradient"] svg {
  color: rgba(255, 255, 255, 0.82) !important;
}

.blog-index-page main [style*="linear-gradient"] :is(h2, h3) {
  color: #fff !important;
}

.blog-index-page main [style*="linear-gradient"] p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.blog-article-page main > div:first-child {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 241, 247, 0.92) 54%, rgba(233, 244, 250, 0.82)) !important;
  border-bottom: 1px solid rgba(61, 23, 57, 0.1) !important;
  padding-bottom: clamp(3.25rem, 7vw, 5.75rem) !important;
  padding-top: clamp(3.25rem, 7vw, 5.75rem) !important;
}

.blog-article-page main > div:first-child .max-w-3xl {
  max-width: 54rem;
}

.blog-article-page main > div:first-child a {
  color: var(--site-plum, #65265f) !important;
}

.blog-article-page main > div:first-child .text-white,
.blog-article-page main > div:first-child .text-white\/70,
.blog-article-page main > div:first-child .text-white\/80 {
  color: #5a4d60 !important;
}

.blog-article-page main > div:first-child .inline-flex {
  background: rgba(101, 38, 95, 0.1) !important;
  color: var(--site-plum, #65265f) !important;
}

.blog-article-page article {
  padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  padding-top: clamp(3rem, 6vw, 5rem) !important;
}

.blog-article-page article.max-w-3xl,
.blog-article-page article .max-w-3xl,
.blog-article-page article > div {
  max-width: 46rem !important;
}

.blog-article-page .blog-content {
  color: #4d4352;
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  line-height: 1.82;
}

.blog-article-page .blog-content :is(h2, h3),
.guide-article-page .prose :is(h2, h3) {
  color: var(--site-ink, #211624) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-weight: 750 !important;
  letter-spacing: -0.025em;
}

.blog-article-page .blog-content h2,
.guide-article-page .prose h2:not(.m-0) {
  font-size: clamp(2rem, 3.4vw, 3.15rem) !important;
  line-height: 1.04 !important;
  margin-bottom: 1rem !important;
  margin-top: clamp(2.75rem, 6vw, 4.5rem) !important;
}

.blog-article-page .blog-content h3,
.guide-article-page .prose h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  line-height: 1.15 !important;
}

.blog-article-page .blog-content :is(p, li),
.guide-article-page .prose :is(p, li) {
  color: #594f5e !important;
  line-height: 1.78 !important;
}

.blog-article-page .blog-content strong,
.guide-article-page .prose strong {
  color: #211624 !important;
  font-weight: 800;
}

.blog-article-page .blog-content ul,
.guide-article-page .prose ul {
  padding-left: 1.25rem !important;
}

.blog-article-page .blog-content li::marker,
.guide-article-page .prose li::marker {
  color: var(--site-plum, #65265f);
}

.blog-article-page .blog-content .callout,
.blog-article-page .blog-content .case-study,
.guide-article-page .prose > div.bg-white:first-child {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(61, 23, 57, 0.12) !important;
  border-left: 4px solid var(--site-plum, #65265f) !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 60px rgba(61, 23, 57, 0.08) !important;
}

.blog-article-page .blog-content .callout {
  padding: clamp(1.15rem, 3vw, 1.6rem) !important;
}

.blog-article-page .blog-content .case-study {
  padding: clamp(1.3rem, 4vw, 2rem) !important;
}

.blog-article-page article .mt-16.rounded-3xl {
  background: linear-gradient(135deg, #65265f, #3d1739) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(61, 23, 57, 0.18);
}

.blog-article-page article .mt-16.rounded-3xl :is(h2, h3, p) {
  color: #fff !important;
}

.blog-article-page article .mt-16.rounded-3xl p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.guide-article-page article {
  padding-top: clamp(2.25rem, 5vw, 4rem) !important;
}

.guide-article-page article > .container {
  max-width: 48rem !important;
}

.guide-article-page .prose > div.bg-white:first-child {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem) !important;
}

.guide-article-page .accordion-head h2 {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem) !important;
  letter-spacing: -0.01em;
  line-height: 1.25 !important;
}

@media (max-width: 767px) {
  .blog-index-page main > div:first-child,
  .blog-article-page main > div:first-child,
  .guide-article-page main > section:first-child {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
  }

  .blog-index-page main > div:first-child .max-w-5xl,
  .blog-article-page main > div:first-child .max-w-3xl,
  .guide-article-page main > section:first-child .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .blog-index-page main > div:first-child h1,
  .blog-article-page main > div:first-child h1,
  .guide-article-page main > section:first-child h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
    line-height: 1.02 !important;
  }

  .blog-index-page main > section,
  .blog-article-page article,
  .guide-article-page article {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .blog-index-page #specialist-case-studies h2,
  .blog-article-page .blog-content h2,
  .guide-article-page .prose h2:not(.m-0) {
    font-size: clamp(1.85rem, 9vw, 2.45rem) !important;
    line-height: 1.06 !important;
  }

  .blog-article-page article .mt-16.rounded-3xl {
    margin-top: 3rem !important;
    padding: 2rem 1.25rem !important;
  }

  .blog-index-page main .grid {
    gap: 1rem !important;
  }
}

/* Blog hub rebuild */
.blog-index-page main.blog-hub {
  background: #fbf8f7 !important;
  color: var(--site-ink, #211624);
  min-height: 100vh;
}

.blog-index-page main.blog-hub > section,
.blog-index-page main.blog-hub > section:first-child {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
}

.blog-index-page main.blog-hub > section:first-child::after {
  content: none !important;
}

.blog-hub-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  width: 100%;
}

.blog-hub-hero {
  background: #fffdfa !important;
  border-bottom: 1px solid rgba(61, 23, 57, 0.1) !important;
}

.blog-hub-hero .blog-hub-shell {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(3rem, 7vw, 5rem);
}

.blog-index-page main.blog-hub > .blog-hub-hero .blog-hub-kicker {
  color: var(--site-plum, #65265f) !important;
}

.blog-hub-kicker {
  color: var(--site-plum, #65265f) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.2 !important;
  margin: 0 0 1rem !important;
  text-transform: uppercase;
}

.site-redesign-page.blog-index-page main.blog-hub > section.blog-hub-hero .blog-hub-hero-copy h1,
.blog-index-page main.blog-hub > .blog-hub-hero h1,
.blog-hub-hero h1 {
  color: var(--site-ink, #211624) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(3.2rem, 6vw, 5.8rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.96 !important;
  margin: 0 !important;
  max-width: 11ch !important;
}

.blog-index-page main.blog-hub > .blog-hub-hero .blog-hub-hero-copy > p:last-child,
.blog-hub-hero-copy > p:last-child {
  color: #5d5262 !important;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem) !important;
  line-height: 1.7 !important;
  margin: 1.5rem 0 0 !important;
  max-width: 42rem;
}

.blog-hub-brief {
  background: #ffffff;
  border: 1px solid rgba(61, 23, 57, 0.11);
  border-radius: 1rem;
  box-shadow: 0 18px 55px rgba(61, 23, 57, 0.07);
  padding: 1.35rem;
}

.blog-hub-brief-label {
  color: #7b6d80 !important;
  font-size: 0.76rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.11em;
  margin: 0 0 0.75rem !important;
  text-transform: uppercase;
}

.blog-hub-brief a {
  border-top: 1px solid rgba(61, 23, 57, 0.09);
  color: var(--site-ink, #211624);
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 0.85rem 0;
  text-decoration: none;
}

.blog-hub-brief a:first-of-type {
  border-top: 0;
}

.blog-hub-brief a:hover {
  color: var(--site-plum, #65265f);
}

.blog-hub-section {
  padding: clamp(3rem, 6vw, 5rem) 0 !important;
}

.blog-hub-section + .blog-hub-section {
  padding-top: 0 !important;
}

.blog-hub-section-head {
  align-items: end;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.blog-hub-section-head.compact {
  display: block;
}

.blog-hub-section-head h2 {
  color: var(--site-ink, #211624) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(2.25rem, 3.4vw, 3.6rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
  margin: 0 !important;
  max-width: 12ch;
}

.blog-hub-section-head > p {
  color: #5d5262 !important;
  font-size: 1.05rem !important;
  line-height: 1.72 !important;
  margin: 0 !important;
  max-width: 44rem;
}

.blog-featured-grid,
.blog-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-index-page main.blog-hub .blog-featured-grid,
.blog-index-page main.blog-hub .blog-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.blog-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-feature-card,
.blog-post-card,
.blog-contact-card {
  background: #ffffff;
  border: 1px solid rgba(61, 23, 57, 0.11);
  border-radius: 1rem;
  box-shadow: 0 16px 48px rgba(61, 23, 57, 0.06);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  text-decoration: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.blog-feature-card:hover,
.blog-post-card:hover {
  border-color: rgba(101, 38, 95, 0.25);
  box-shadow: 0 22px 65px rgba(61, 23, 57, 0.1);
  transform: translateY(-2px);
}

.blog-feature-card {
  min-height: 16rem;
}

.blog-card-meta {
  align-items: center;
  color: var(--site-plum, #65265f);
  display: flex;
  font-size: 0.76rem;
  font-weight: 850;
  gap: 1rem;
  justify-content: space-between;
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.blog-card-meta span {
  color: #8a7d8d;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.blog-feature-card h3,
.blog-post-card h3,
.blog-contact-card h3 {
  color: var(--site-ink, #211624) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  font-weight: 750 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.08 !important;
  margin: 0 0 0.8rem !important;
}

.blog-post-card h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem) !important;
}

.blog-feature-card p,
.blog-post-card p,
.blog-contact-card p {
  color: #615664 !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  margin: 0 0 1.3rem !important;
}

.blog-card-link {
  color: var(--site-plum, #65265f);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 850;
  margin-top: auto;
}

.blog-card-link::after {
  content: "->";
  margin-left: 0.45rem;
  transition: transform 220ms ease;
}

.blog-feature-card:hover .blog-card-link::after,
.blog-post-card:hover .blog-card-link::after {
  transform: translateX(3px);
}

.blog-contact-card {
  background: var(--site-plum, #65265f);
  border-color: var(--site-plum, #65265f);
  box-shadow: 0 22px 70px rgba(101, 38, 95, 0.18);
}

.blog-contact-card .blog-hub-kicker,
.blog-contact-card h3,
.blog-contact-card p {
  color: #ffffff !important;
}

.blog-contact-card p {
  color: rgba(255, 255, 255, 0.76) !important;
}

.site-redesign-page.blog-index-page main.blog-hub .blog-contact-card h3 {
  color: #ffffff !important;
}

.site-redesign-page.blog-index-page main.blog-hub .blog-contact-card p:not(.blog-hub-kicker) {
  color: rgba(255, 255, 255, 0.78) !important;
}

.blog-contact-card a {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  color: var(--site-plum, #65265f);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 850;
  justify-content: center;
  margin-top: auto;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  width: max-content;
}

@media (max-width: 960px) {
  .blog-hub-hero .blog-hub-shell,
  .blog-hub-section-head,
  .blog-featured-grid,
  .blog-feature-grid,
  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-index-page main.blog-hub .blog-featured-grid,
  .blog-index-page main.blog-hub .blog-feature-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-hub-brief {
    max-width: 36rem;
  }
}

@media (max-width: 767px) {
  .blog-index-page main.blog-hub {
    padding-top: 5.25rem;
  }

  .blog-hub-hero .blog-hub-shell {
    gap: 1.75rem;
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
  }

  .site-redesign-page.blog-index-page main.blog-hub > section.blog-hub-hero .blog-hub-hero-copy h1,
  .blog-index-page main.blog-hub > .blog-hub-hero h1,
  .blog-hub-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem) !important;
    line-height: 0.98 !important;
    max-width: 9.5ch !important;
  }

  .blog-hub-section {
    padding: 2.5rem 0 !important;
  }

  .blog-hub-section-head h2 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    max-width: 11ch;
  }

  .blog-feature-card,
  .blog-post-card,
  .blog-contact-card {
    border-radius: 0.9rem;
    padding: 1.25rem;
  }

  .blog-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

