/* Charge-inspired presentation layer. Keep this after the page styles.
   Shared across the master template; content and setup tokens remain intact. */
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/work-sans-400.ttf') format('truetype'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/work-sans-500.ttf') format('truetype'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/work-sans-600.ttf') format('truetype'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/work-sans-700.ttf') format('truetype'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/work-sans-800.ttf') format('truetype'); }

:root {
  --trust-navy: #1b1b1b;
  --brand-blue: #4868de;
  --workwear-blue: #4768dc;
  --pin-red: #c63f21;
  --pin-red-hover: #a9321a;
  --map-green: #35856b;
  --road-yellow: #f5c99c;
  --off-white: #fff;
  --steel-gray: #525252;
  --light-gray: #e9e5e2;
  --border-gray: #d6d2cf;
  --font-heading: 'Work Sans', Arial, sans-serif;
  --font-body: 'Work Sans', Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 3px #1b1b1b0d;
  --shadow-md: 0 4px 8px #1b1b1b12;
  --shadow-lg: 0 10px 28px #1b1b1b12;
  --shadow-xl: 0 18px 44px #1b1b1b16;
  --theme-shell: #faf7f5;
  --theme-mint: #dceeed;
  --theme-blue: #e0e8fc;
  --theme-lilac: #e6dbef;
  --theme-peach: #fce4cd;
  --logo-size: 36px;
  --logo-size-scrolled: 36px;
}

body { background: #fff; color: var(--trust-navy); font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6, .btn, .nav__link, .header__logo-text { font-family: var(--font-heading); }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.6vw, 4rem); letter-spacing: -.045em; line-height: 1.08; }
h3 { letter-spacing: -.025em; }
.section { padding-block: 96px; }
.section-header { margin-bottom: 48px; }
.section-header p { font-size: 20px; line-height: 1.6; }
.section-header__label { color: var(--steel-gray); letter-spacing: .08em; font-size: 12px; }

/* Floating capsule navigation, including the existing mobile drawer. */
.header { top: 16px; width: calc(100% - 48px); max-width: 1120px; margin: 16px auto 0; background: var(--theme-shell); border: 1px solid #f3efec; border-radius: 100px; box-shadow: 0 3px 4px #1b1b1b1f; }
.header.scrolled { box-shadow: 0 4px 12px #1b1b1b1f; }
.header__inner { min-height: 84px; height: auto; padding: 12px 18px 12px 26px; gap: 24px; }
.header__logo { align-self: center; padding: 0; gap: 8px; min-width: 0; }
.header__logo img, .header.scrolled .header__logo img { width: 36px; height: 36px; padding: 0; background: transparent; border-radius: 8px; box-shadow: none; }
.header__logo-text, .header.scrolled .header__logo-text { font-size: 16px; letter-spacing: -.045em; overflow-wrap: anywhere; }
.nav { gap: 24px; }
.nav__links { gap: 24px; }
.nav__link { font-size: 14px; font-weight: 500; padding: 10px 0; white-space: nowrap; }
.nav__link::after { width: 0; height: 2px; background: var(--pin-red); border: 0; }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.btn { border-radius: 100px; font-weight: 600; padding: 17px 28px; transition: background .2s, box-shadow .2s, transform .2s; }
.btn--primary { color: #fff; background: var(--pin-red); border-color: var(--pin-red); box-shadow: 0 5px 3px #25252526; }
.btn--primary:hover { color: #fff; background: var(--pin-red-hover); border-color: var(--pin-red-hover); box-shadow: 0 7px 12px #25252520; transform: translateY(-2px); }
.btn--secondary { color: var(--trust-navy); border: 1px solid var(--border-gray); background: #fff; box-shadow: none; }
.btn--secondary:hover { color: var(--trust-navy); background: var(--theme-shell); border-color: var(--trust-navy); }
.btn--sm { padding: 15px 22px; font-size: 14px; }
.btn--lg { padding: 22px 36px; font-size: 16px; }
.btn--pulse { animation: none; }
.btn--pulse::after { display: none; }
.mobile-nav__link { color: var(--trust-navy); border-bottom: 1px solid var(--light-gray); }
.mobile-nav__link.active { color: var(--pin-red-hover); }

/* Spacious, centered hero. Existing demo visual follows the message. */
.hero { padding: 80px 0 72px; background: #fff; }
.hero::before { display: none; }
.hero__inner { display: flex; flex-direction: column; gap: 60px; text-align: center; }
.hero__content { width: 100%; max-width: 980px; margin: auto; }
.hero__label { background: var(--theme-shell); color: var(--steel-gray); font-size: 12px; font-weight: 500; margin-bottom: 24px; }
.hero__title { max-width: 940px; margin: 0 auto 32px; font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero__title span { color: var(--trust-navy); display: block; }
.hero__subtitle { max-width: 760px; margin: 0 auto 44px; font-size: 24px; color: var(--trust-navy); line-height: 1.5; }
.hero__ctas { justify-content: center; align-items: center; gap: 16px; }
.hero__stats { justify-content: center; gap: 20px; margin-top: 64px; padding: 0; border: 0; }
.hero__stats > div { flex: 1; max-width: 290px; padding: 24px 16px; border: 1px solid var(--border-gray); border-radius: 12px; }
.hero__stat-number { justify-content: center; font-size: 20px; font-weight: 600; }
.hero__stat-label { font-size: 13px; margin-top: 10px; }
.hero__visual { order: initial; min-height: 0; width: 100%; max-width: 820px; }
.hero__map-card { max-width: 720px; border: 1px solid var(--light-gray); border-radius: 24px; box-shadow: var(--shadow-xl); }
.hero__float { display: none; }

/* Pastel feature cards and quiet supporting sections. */
.toolbox, .job-board, .reporting, .route-map, .problem, .process, .why-different { background: #fff; color: var(--trust-navy); }
.toolbox__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.toolbox__card { border: 0; padding: 32px 24px; min-height: 260px; text-align: center; box-shadow: none; border-radius: 20px; }
.toolbox__card:nth-child(4n+1) { background: var(--theme-mint); }
.toolbox__card:nth-child(4n+2) { background: var(--theme-blue); }
.toolbox__card:nth-child(4n+3) { background: var(--theme-lilac); }
.toolbox__card:nth-child(4n+4) { background: var(--theme-peach); }
.toolbox__card::before { display: none; }
.toolbox__card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.toolbox__card-icon { margin: 0 auto 24px; background: #ffffff80; border-radius: 16px; }
.toolbox__card-icon svg { color: var(--trust-navy); }
.toolbox__card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 16px; }
.toolbox__card p { font-size: 16px; color: #414141; }
.why-different h2, .why-different__point h3 { color: var(--trust-navy); }
.why-different__point { border: 0; background: var(--theme-shell); padding: 32px; }
.why-different__point:hover { background: var(--theme-blue); border-color: transparent; }
.why-different__point svg { color: var(--brand-blue); }
.why-different__point p { color: var(--steel-gray); font-size: 16px; }
.why-different .section-header p { color: var(--steel-gray) !important; }
.why-different .section-header__label { color: var(--steel-gray) !important; }
.card, .reporting__metric { border: 1px solid var(--light-gray); box-shadow: none; }
.process__timeline::before { background: var(--light-gray); }
.process__step-number { background: var(--theme-shell); color: var(--pin-red); border-color: #fff; box-shadow: none; }

/* Blue conversion panels from the reference, with a dark pill CTA. */
.leak-check, .final-cta, .cta-box, .section--blue { background: linear-gradient(180deg, #4864d0, #4768dc); color: #fff; }
.leak-check::before, .final-cta::before, .final-cta::after, .cta-box::before { display: none; }
.final-cta { width: calc(100% - 48px); max-width: 1152px; margin: 40px auto 96px; padding: 88px 24px; border-radius: 28px; }
.final-cta h2, .cta-box h2 { max-width: 780px; margin-inline: auto; }
.final-cta p, .final-cta__tagline { color: #fff; }
.final-cta .btn--primary, .cta-box .btn--primary, .leak-check .btn--primary { background: #1b1b1b; border-color: #1b1b1b; box-shadow: none; }
.final-cta .btn--primary:hover, .cta-box .btn--primary:hover, .leak-check .btn--primary:hover { background: #333; border-color: #333; }

/* Inner pages share the same typography, cards, forms and FAQ treatment. */
.page-hero, .service-hero { background: #fff; color: var(--trust-navy); padding: 80px 0 64px; text-align: center; }
.page-hero::after, .service-hero::before, .service-hero::after { display: none; }
.page-hero__title, .service-hero__title { color: var(--trust-navy); font-size: clamp(2.5rem, 6vw, 4.5rem); max-width: 980px; margin-inline: auto; }
.page-hero__title span, .service-hero__title span { color: var(--trust-navy); }
.page-hero__subtitle, .service-hero__subtitle { color: var(--steel-gray); max-width: 760px; margin-inline: auto; }
.page-hero .breadcrumbs, .service-hero .breadcrumbs { color: var(--steel-gray); }
.service-hero__meta { justify-content: center; }
.service-hero__meta-item, .service-hero__meta-item strong { color: var(--steel-gray); }
.pricing-card { background: var(--theme-shell); border: 1px solid var(--light-gray); border-radius: 20px; padding: 36px 28px; box-shadow: none; }
.pricing-card--featured { background: var(--theme-peach); border-color: #f6c9a3; transform: none; box-shadow: none; }
.pricing-card--featured:hover { transform: translateY(-6px); }
.pricing-card__badge { background: var(--pin-red); }
.pricing-card__tier { color: var(--steel-gray); }
.form-input, .form-textarea, .form-select { border-radius: 12px; background: var(--theme-shell); border: 1px solid var(--border-gray); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px #4868de1a; }
.faq-item { border: 0; border-bottom: 1px solid var(--light-gray); border-radius: 0; background: #fff; }
.faq-question, .faq-item summary { font-family: var(--font-body); font-size: 18px; font-weight: 500; padding: 24px 0; }
.faq-answer__inner { padding: 0 0 24px; }
.footer { background: var(--theme-shell); color: var(--steel-gray); border-top: 1px solid var(--light-gray); margin-top: auto; }
.footer__heading, .footer__link, .footer__bottom a { color: var(--trust-navy); }
.footer .header__logo-text { color: var(--trust-navy) !important; }
.footer p { color: var(--steel-gray) !important; }
.footer__link:hover, .footer__bottom a:hover { color: var(--pin-red-hover); }
.footer__bottom { border-color: var(--border-gray); }
.footer__social-link { background: #ece6e1; color: var(--trust-navy); }
.footer__social-link:hover { background: var(--trust-navy); color: #fff; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 4px; }

@media (max-width: 1100px) {
  .nav, .nav__links { gap: 16px; }
  .header__inner { gap: 16px; padding-inline: 20px; }
  .toolbox__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header { width: calc(100% - 32px); top: 12px; margin-top: 12px; }
  .header__inner { min-height: 72px; }
  .hero { padding-top: 64px; }
  .hero__visual { order: initial; }
  .hero__stats { flex-wrap: wrap; }
  .section { padding-block: 72px; }
}


@media (max-width: 600px) {
  .header { width: calc(100% - 24px); }
  .header__inner { min-height: 66px; padding: 10px 20px; }
  .hero { padding: 56px 0; }
  .hero__inner { gap: 40px; }
  .hero__title { font-size: 40px; line-height: 1.06; margin-bottom: 28px; }
  .hero__subtitle { font-size: 20px; margin-bottom: 36px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: auto; max-width: 100%; }
  .hero__stats { margin-top: 44px; gap: 12px; }
  .hero__stats > div { flex-basis: 100%; max-width: 100%; padding: 20px; }
  .toolbox__grid { grid-template-columns: 1fr; }
  .toolbox__card { padding: 32px; min-height: auto; }
  .section { padding-block: 56px; }
  .section-header p { font-size: 18px; }
  .page-hero, .service-hero { padding: 56px 0 40px; }
  .final-cta { width: calc(100% - 24px); margin-block: 24px 56px; padding: 56px 8px; border-radius: 20px; }
  .final-cta .btn { padding-inline: 24px; }
  .pricing-card { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .toolbox__card, .pricing-card, .hero__map-card { animation: none; transition: none; }
}

/* Cross-page visual audit: readable content and a consistent component scale. */
:root { --text-muted: #525252; }
.reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
h1, h2, h3, .header__logo-text, .footer__link { overflow-wrap: anywhere; }
.btn { text-align: center; }
.container > *, .grid > *, .page-layout__inner > *, .pricing-grid > *, .hero__inner > * { min-width: 0; }
main section[id], main h2[id], main h3[id] { scroll-margin-top: 120px; }

.blog-hero, .hwdi-hero, .wd-hero, .ga-hero {
  background: #fff; color: var(--trust-navy); text-align: center; padding: 80px 0 64px;
}
.hwdi-hero::before, .wd-hero::before, .wd-hero::after, .ga-hero::before { display: none; }
.blog-hero__title, .hwdi-hero__title, .wd-hero__title, .ga-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.08;
  letter-spacing: -.045em; color: var(--trust-navy); max-width: 980px; margin: 0 auto 24px;
}
.blog-hero__title span, .hwdi-hero__title span, .wd-hero__title span, .ga-hero__title span { color: inherit; }
.blog-hero__subtitle, .hwdi-hero__subtitle, .wd-hero__subtitle, .ga-hero__subtitle {
  color: var(--steel-gray); font-size: 20px; max-width: 760px; margin: 0 auto 24px;
}
.hwdi-hero__intro, .wd-hero__intro { color: var(--steel-gray); max-width: 720px; margin: 0 auto 20px; }
.hwdi-hero .breadcrumbs, .wd-hero .breadcrumbs, .ga-hero .breadcrumbs, .blog-hero .breadcrumbs { color: var(--steel-gray); }
.hwdi-hero .breadcrumbs a, .wd-hero .breadcrumbs a, .ga-hero .breadcrumbs a, .blog-hero .breadcrumbs a { color: var(--brand-blue) !important; }
.wd-hero__ctas, .ga-hero__ctas { justify-content: center; margin-top: 32px; }
.service-hero__badge, .hwdi-hero__badge, .wd-hero__badge, .ga-hero__badge {
  background: var(--theme-shell); border: 1px solid var(--light-gray); color: var(--steel-gray); font-size: 12px; font-weight: 500;
}
.ga-hero__stat { background: var(--theme-shell); border-color: var(--light-gray); color: var(--steel-gray); }
.ga-hero__stat strong { color: var(--trust-navy); }

.content-area h2, .article-content h2, .blog-article__body h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.03em; }
.content-area h3, .article-content h3, .blog-article__body h3 { font-size: 22px; line-height: 1.3; color: var(--trust-navy); }
.service-section__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
.service-section__desc { font-size: 18px; line-height: 1.7; }
.pricing-card h2, .pricing-card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.blog-article { padding: 64px 0 80px; }
.blog-article__header { padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--light-gray); }
.blog-article__date { display: block; color: var(--steel-gray); font-size: 14px; margin-bottom: 16px; }
.blog-article__header h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 24px; }
.blog-article__intro { font-size: 20px; color: var(--steel-gray); line-height: 1.7; }
.blog-article__body h2 { margin: 40px 0 20px; }
.blog-article__body h3 { margin: 28px 0 16px; }
.blog-article__body p { font-size: 18px; line-height: 1.8; margin-bottom: 24px; }
.blog-article__body ul, .blog-article__body ol { padding-left: 24px; margin-block: 24px; list-style: revert; }
.blog-article .cta-box { margin-top: 56px; }

.final-cta { text-align: center; }
.final-cta h2 { color: #fff; margin-bottom: 24px; }
.final-cta p { font-size: 18px; line-height: 1.7; max-width: 720px; margin: 0 auto 32px; }
.final-cta__tagline { font-size: 14px; font-weight: 400; max-width: 720px; margin: 24px auto 0; }
.hwdi-final-cta, .wd-final-cta, .ga-final-cta {
  background: linear-gradient(180deg, #4864d0, #4768dc); color: #fff; text-align: center;
  width: calc(100% - 48px); max-width: 1152px; margin: 40px auto 80px; padding: 80px 24px; border-radius: 28px;
}
.hwdi-final-cta::before, .wd-final-cta::before, .wd-final-cta::after, .ga-final-cta::before { display: none; }
.hwdi-final-cta h2, .wd-final-cta h2, .ga-final-cta h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 4rem); max-width: 780px; margin-inline: auto; }
.hwdi-final-cta .btn--primary, .wd-final-cta .btn--primary, .ga-final-cta .btn--primary { background: #1b1b1b; border-color: #1b1b1b; box-shadow: none; }
.hwdi-final-cta p, .wd-final-cta p, .ga-final-cta p { color: #fff; }
.audit-step { flex: 1 1 0; min-width: 0; }
.audit-step__label { overflow-wrap: anywhere; }
.audit-progress__line { flex: 0 1 32px; min-width: 12px; }
.form-input, .form-select, .form-textarea { min-width: 0; max-width: 100%; }
.hero__map-card { min-width: 0; width: 100%; }

@media (max-width: 600px) {
  .blog-hero, .hwdi-hero, .wd-hero, .ga-hero { padding: 56px 0 40px; }
  .blog-article { padding: 48px 0 56px; }
  .blog-article__body h2 { font-size: 28px; }
  .cta-box { padding: 36px 24px; }
  .cta-box h2, .cta-box h3 { font-size: 30px; }
  .hwdi-final-cta, .wd-final-cta, .ga-final-cta { width: calc(100% - 24px); margin-block: 24px 56px; padding: 48px 8px; border-radius: 20px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; text-align: left; }
}

/* Keep conversion copy readable when panels sit inside article layouts. */
.content-area .cta-box h2, .content-area .cta-box h3, .content-area .cta-box p,
.article-content .cta-box h2, .article-content .cta-box h3, .article-content .cta-box p { color: #fff; }
.blog-hero .breadcrumbs { color: var(--steel-gray) !important; }
.leak-check .section-header__label { color: #fff; }
.hwdi-section-nav { display: none; }
@media (min-width: 1680px) { .hwdi-section-nav { display: block; } }
@media (max-width: 600px) { .why-different__points { grid-template-columns: 1fr; } }
.breadcrumbs, .breadcrumbs span { color: var(--steel-gray) !important; }
.breadcrumbs a { color: var(--brand-blue) !important; }
.pricing-banner__price span { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; vertical-align: baseline; }
.pricing-banner__label, .pricing-banner__sub, .pricing-banner__split { color: #e7edf2; }
.pricing-banner__split strong, .ga-calc__result-card strong { color: #9ce0c3; }
.ga-calc__result-card span { color: #e7edf2; }
.final-cta a:not(.btn) { color: #fff; text-decoration: underline; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.leak-check .section-header__label { color: #fff !important; }

/* Shared navigation remains readable instead of shrinking labels on tablets. */
.header__logo { flex-shrink: 1; max-width: 230px; }
.header__logo img { flex-shrink: 0; object-fit: contain; }
.header__logo-text { min-width: 0; }
.header .nav { margin-left: auto; }
.hamburger { align-items: center; justify-content: center; min-width: 44px; min-height: 44px; flex-shrink: 0; }
@media (max-width: 1100px) {
  .js-navigation .nav { display: none; }
  .js-navigation .hamburger { display: flex; }
  html:not(.js-navigation) .header__inner { flex-wrap: wrap; }
  html:not(.js-navigation) .header .nav { width: 100%; margin: 0; flex-wrap: wrap; }
  html:not(.js-navigation) .nav__links { display: flex; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .contact-layout__form { order: -1; }
}
.footer__description { max-width: 32ch; }
.form-mode-notice { margin-bottom: 20px; padding: 14px 16px; background: var(--theme-shell); color: var(--steel-gray); border: 1px solid var(--border-gray); border-radius: 12px; font-size: 15px; line-height: 1.6; }
.form-inner fieldset { border: 0; min-width: 0; }
.form-inner button:disabled { cursor: not-allowed; opacity: .65; transform: none; }
.form-inner :is(input, textarea, select):disabled { cursor: not-allowed; }
.form-error.visible { display: block; }
.footer__social-link { width: auto; height: auto; min-height: 44px; padding: 8px 14px; font-size: 14px; border-radius: 24px; }
.article-toc { margin-block: 24px 32px; padding: 24px; border: 1px solid var(--border-gray); border-radius: 16px; background: var(--theme-shell); }
.article-toc ol { list-style: decimal; padding-left: 22px; margin: 12px 0 0; }
.article-toc a { text-decoration: underline; text-underline-offset: 3px; }
.article-toc li { margin: 8px 0; }

.footer__logo img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.blog-article details { border: 1px solid var(--light-gray); border-radius: 12px; padding: 20px; margin: 12px 0; }
.blog-article summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.blog-article details p { margin-top: 16px; }
/* The primary message must never wait for an entrance animation to become readable. */
.hero__title, .hero__subtitle, .hero__ctas, .hero__stats { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-delay: 0s !important; transition-delay: 0s !important; } }

/* Decision pages lead with the choices, rather than repeated introductions. */
.pricing-page .page-hero { padding: 56px 0 40px; }
.pricing-page .page-hero__title { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.package-options { padding-top: 32px; }
.package-options .section-header { margin-bottom: 32px; }
.package-options .section-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.package-options .section-header p { margin-top: 16px; font-size: 18px; }
