/* AI Tradie HQ Locked Subpage Brand Kit (1 Dec 2026)
   Applies the exact Home locked visual identity (#f3f4ee paper, #151613 ink, #52574d muted,
   fill-only #a3e635 lime with #151613 dark ink, Geist + Geist Mono, translucent 64px header,
   mobile drawer, elevated offer cards, and subtle floating Ask Legend pill) across all 20 subpages. */

:root {
  --athq-paper: #f3f4ee;
  --athq-surface: #ffffff;
  --athq-surface-soft: #eceee6;
  --athq-ink: #151613;
  --athq-muted: #52574d;
  --athq-line: #d6d9ce;
  --athq-lime: #a3e635;
  --athq-lime-hover: #96d72e;
  --athq-dark: #151613;
  --athq-font: Geist, GeistReview, -apple-system, BlinkMacSystemFont, sans-serif;
  --athq-mono: 'Geist Mono', GeistReviewMono, ui-monospace, Menlo, monospace;
}

/* Base light-paper lock for all non-Home, non-Ask subpages (including dark-tagged /terms/) */
html:has(body:not(.home-page):not(.ask-page)),
html[data-theme="dark"]:has(body.terms-page) {
  color-scheme: light !important;
  --bg: #f3f4ee !important;
  --paper: #f3f4ee !important;
  --surface: #ffffff !important;
  --raised: #eceee6 !important;
  --text: #151613 !important;
  --ink: #151613 !important;
  --muted: #52574d !important;
  --hairline: #d6d9ce !important;
  --line: #d6d9ce !important;
  --rule: #d6d9ce !important;
  --lime: #a3e635 !important;
}

body:not(.home-page):not(.ask-page) {
  margin: 0;
  background: #f3f4ee !important;
  color: #151613 !important;
  font-family: var(--athq-font) !important;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================================
   1. UNIFIED TRANSLUCENT STICKY HEADER + MOBILE DRAWER (ALL 20 SUBPAGES)
   ===================================================================== */
html body.inner-page main:not(:has(.book-calendar)):not(:has(.article)) {
  padding-top: 0 !important;
}

html body header.header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 50;
  height: 64px !important;
  min-height: 64px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  background: rgb(243 244 238 / 0.90) !important;
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgb(21 22 19 / 0.10) !important;
  font-family: var(--athq-font);
  color: #151613;
}

html body header.header .wrap.header-inner {
  width: min(calc(100% - 96px), 1240px);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

html body header.header .logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--athq-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #151613 !important;
  text-decoration: none;
  white-space: nowrap;
}

html body header.header .brand-symbol {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

html body header.header .logo-hq {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  transform: translateY(-5px);
}

html body header.header .nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

html body header.header .nav > a:not(.btn),
html body header.header .services-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--athq-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  color: #151613 !important;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 2px !important;
  margin: 0 !important;
}

html body header.header .nav > a:not(.btn):before,
html body header.header .services-menu summary:before {
  display: none !important;
}

html body header.header .nav > a:not(.btn):hover,
html body header.header .nav > a[aria-current="page"]:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 6px;
}

html body header.header .services-menu {
  position: relative;
  border: 0;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
}

html body header.header .services-menu summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

html body header.header .services-menu summary .services-chevron {
  margin: 0 0 2px 2px !important;
}

html body header.header .services-menu summary::-webkit-details-marker {
  display: none;
}

html body header.header .services-menu > div {
  position: absolute;
  top: 34px;
  left: -16px;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #d6d9ce;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 14px 32px rgb(21 22 19 / 0.12);
  z-index: 60;
}

html body header.header .services-menu > div a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #151613 !important;
  text-decoration: none;
}

html body header.header .services-menu > div a:hover {
  background: #eceee6;
}

html body header.header .nav .btn.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: #151613 !important;
  color: #f6f7f2 !important;
  border: 0;
  font-family: var(--athq-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: none !important;
  letter-spacing: -0.005em !important;
  text-decoration: none;
  white-space: nowrap;
}

html body header.header .nav .btn.btn-dark:hover {
  background: #2c3028 !important;
}

html body header.header .menu-button {
  display: none;
  cursor: pointer;
}

@media (max-width: 1080px) {
  html body header.header .wrap.header-inner {
    width: calc(100% - 48px);
  }

  html body header.header .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 68px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgb(21 22 19 / 0.16);
    background: rgb(255 255 255 / 0.78);
    font-family: var(--athq-font);
    font-size: 14px;
    font-weight: 560;
    color: #151613;
  }

  html body header.header .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #f3f4ee;
    padding: 20px 24px 28px;
    border-bottom: 1px solid #d6d9ce;
    box-shadow: 0 18px 36px rgb(21 22 19 / 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    z-index: 55;
  }

  html body header.header .nav.open {
    display: flex;
  }

  html body header.header .nav > a:not(.btn),
  html body header.header .services-menu summary {
    font-size: 16px;
    padding: 6px 0;
  }

  html body header.header .services-menu > div {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 4px 0 0 12px;
  }

  html body header.header .nav .btn.btn-dark {
    align-self: flex-start;
    margin-top: 6px;
  }
}

/* =====================================================================
   2. BUY NOW / SERVICES / OFFER / AUDIT PAGES (NO MORE MONOCHROME B&W!)
   ===================================================================== */
body:not(.home-page):not(.ask-page) .editorial-section,
body:not(.home-page):not(.ask-page) .sec.terms-pg {
  background: #f3f4ee;
  color: #151613;
}

body:not(.home-page):not(.ask-page) .service-intro {
  background: linear-gradient(180deg, #eceee6 0%, #f3f4ee 100%);
  border-bottom: 1px solid #d6d9ce;
  padding-block: clamp(56px, 7vw, 96px);
}

body:not(.home-page):not(.ask-page) .eyebrow,
body:not(.home-page):not(.ask-page) .lab,
body:not(.home-page):not(.ask-page) .choice-fit,
body:not(.home-page):not(.ask-page) .section-kicker {
  font-family: var(--athq-mono) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #52574d !important;
}

body:not(.home-page):not(.ask-page) .button,
body:not(.home-page):not(.ask-page) a.btn:not(.btn-dark):not(.btn-plain),
body:not(.home-page):not(.ask-page) button.btn:not(.btn-dark):not(.btn-plain),
body:not(.home-page):not(.ask-page) .checkout-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px !important;
  background: #a3e635 !important;
  color: #151613 !important;
  border: 0 !important;
  font-family: var(--athq-font);
  font-weight: 650;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

body:not(.home-page):not(.ask-page) .button:hover,
body:not(.home-page):not(.ask-page) a.btn:not(.btn-dark):not(.btn-plain):hover,
body:not(.home-page):not(.ask-page) button.btn:not(.btn-dark):not(.btn-plain):hover,
body:not(.home-page):not(.ask-page) .checkout-cta:hover {
  background: #96d72e !important;
  color: #151613 !important;
  transform: translateY(-1px);
}

/* Services / Buy Now choice cards — elevated white surfaces with crisp lime accent */
body:not(.home-page):not(.ask-page) .offer-choices .choice-line {
  background: #ffffff;
  border: 1px solid #d6d9ce;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgb(21 22 19 / 0.05);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 36px;
  align-items: center;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-line:last-of-type {
  border-top: 3px solid #151613;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-line h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
  color: #151613;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-line h3 a {
  color: #151613;
  text-decoration: none;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-bullets {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #52574d;
  display: grid;
  gap: 6px;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
  min-width: 210px;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-price strong {
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #151613;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-price a.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #a3e635;
  color: #151613 !important;
  border: 0;
  font-weight: 650;
  text-decoration: none;
}

body:not(.home-page):not(.ask-page) .offer-choices .choice-price a.text-link:hover {
  background: #96d72e;
}

@media (max-width: 780px) {
  body:not(.home-page):not(.ask-page) .offer-choices .choice-line {
    grid-template-columns: 1fr;
  }
  body:not(.home-page):not(.ask-page) .offer-choices .choice-price {
    align-items: flex-start;
    text-align: left;
  }
}

/* Proof band on /services/ */
body:not(.home-page):not(.ask-page) .offer-proof-band {
  background: #151613;
  color: #f3f4ee;
  padding-block: clamp(56px, 7vw, 88px);
}

body:not(.home-page):not(.ask-page) .offer-proof-band .eyebrow {
  color: #c5c9be !important;
}

body:not(.home-page):not(.ask-page) .offer-proof-band h2,
body:not(.home-page):not(.ask-page) .offer-proof-band blockquote,
body:not(.home-page):not(.ask-page) .offer-proof-band strong,
body:not(.home-page):not(.ask-page) .offer-proof-band a {
  color: #f3f4ee !important;
}

body:not(.home-page):not(.ask-page) .offer-proof-band p,
body:not(.home-page):not(.ask-page) .offer-proof-band figcaption {
  color: #c5c9be !important;
}

/* Terms page light-paper override (replaces legacy data-theme="dark") */
body.terms-page {
  background: #f3f4ee !important;
  color: #151613 !important;
}

body.terms-page .sec.terms-pg {
  padding-block: clamp(48px, 6vw, 84px);
}

body.terms-page .sec.terms-pg .wrap {
  width: min(calc(100% - 48px), 860px);
  margin-inline: auto;
}

body.terms-page main h1,
body.terms-page main h2,
body.terms-page main h3 {
  color: #151613 !important;
  font-family: var(--athq-font) !important;
}

body.terms-page main p,
body.terms-page main li {
  color: #3e423a !important;
}

body.terms-page main a:not(.btn) {
  color: #151613 !important;
}

body.terms-page .terms-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 32px;
}

body.terms-page .terms-index a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d6d9ce;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

body.terms-page .terms-index a:hover {
  background: #a3e635;
  border-color: #a3e635;
  color: #151613 !important;
}

body.terms-page .tsec {
  background: #ffffff;
  border: 1px solid #d6d9ce;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 18px;
}

body.terms-page .foot {
  display: none;
}

/* Ensure unified dark directory footer looks crisp on all subpages */
footer.home-directory {
  background: #151613;
  color: #f3f4ee;
  padding: clamp(56px, 6vw, 80px) 0 32px;
  font-family: var(--athq-font);
}

footer.home-directory .directory-inner {
  width: min(calc(100% - 96px), 1240px);
  margin-inline: auto;
}

@media (max-width: 959px) {
  footer.home-directory .directory-inner {
    width: calc(100% - 48px);
  }
}

footer.home-directory a {
  color: #d6d9ce;
  text-decoration: none;
}

footer.home-directory a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer.home-directory a.directory-roi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #a3e635;
  color: #151613 !important;
  font-weight: 650;
  text-decoration: none !important;
}

footer.home-directory a.directory-roi:hover {
  background: #96d72e;
  color: #151613 !important;
  text-decoration: none !important;
}

/* =====================================================================
   3. SUBTLE FLOATING "ASK LEGEND" PILL ON SUBPAGES (HIDDEN ON /, /book/, /ask/)
   ===================================================================== */
html body a.ask-float-pill {
  position: fixed;
  right: 20px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #151613 !important;
  color: #f6f7f2 !important;
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow: 0 14px 36px rgb(21 22 19 / 0.28);
  font-family: var(--athq-font);
  font-size: 14px;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: -0.005em !important;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

html body a.ask-float-pill:hover,
html body a.ask-float-pill:focus-visible {
  background: #262922 !important;
  transform: translateY(-2px);
}

.ask-float-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a3e635;
  flex-shrink: 0;
}

body.ask-pill-hidden .ask-float-pill {
  opacity: 0;
  pointer-events: none;
}

/* =====================================================================
   4. RICH SERVER-HYDRATED SITE CARDS INSIDE /ask/ & LEGEND CHAT
   ===================================================================== */
.legend-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.legend-site-card {
  background: #151914;
  border: 1px solid rgb(163 230 53 / 0.34);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.legend-card-eyebrow {
  align-self: flex-start;
  font-family: var(--athq-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #a3e635;
  color: #151613;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0;
}

.legend-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}

.legend-card-title {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f6f7f2;
  margin: 0;
}

.legend-card-price {
  font-family: var(--athq-mono);
  font-size: 13px;
  font-weight: 600;
  color: #d7e2c8;
}

.legend-card-summary {
  font-size: 14px;
  line-height: 1.5;
  color: rgb(246 247 242 / 0.84);
  margin: 0;
}

.legend-card-bullets {
  margin: 2px 0 4px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: rgb(246 247 242 / 0.78);
}

.legend-card-meta {
  font-family: var(--athq-mono);
  font-size: 12px;
  color: rgb(246 247 242 / 0.64);
  margin: 0;
}

.legend-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #a3e635;
  color: #151613 !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  margin-top: 2px;
}

.legend-card-cta:hover {
  background: #96d72e;
  color: #151613 !important;
}

/* =====================================================================
   5. CONVERSION COCKPIT (/book/) & SECTION RHYTHM ACROSS ALL SUBPAGES
   Eliminates flat white walls by alternating #151613 charcoal, #e6e9de warm stone,
   #f3f4ee paper, and #ffffff elevated cards to guide the eye down every page.
   ===================================================================== */

/* --- 5A. /book/ — 2-column dark conversion cockpit (calendar above the fold!) --- */
body:has(.book-calendar) {
  background: #151613 !important;
  color: #f3f4ee !important;
}

main:has(.book-calendar) {
  background: #151613;
  color: #f3f4ee;
  padding: clamp(28px, 4vw, 52px) max(24px, calc((100% - 1240px) / 2)) clamp(64px, 7vw, 96px) !important;
  display: grid;
  grid-template-columns: minmax(0, 410px) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 24px 44px;
  align-items: start;
}

main:has(.book-calendar) > .page-hero {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 8px 0 0 !important;
  border-bottom: 0 !important;
}

main:has(.book-calendar) > .page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  background: #a3e635;
  color: #151613 !important;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}

main:has(.book-calendar) > .page-hero .eyebrow::before {
  display: none !important;
}

main:has(.book-calendar) > .page-hero h1 {
  color: #f3f4ee !important;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 14px !important;
}

main:has(.book-calendar) > .page-hero .lead {
  color: #c5c9be !important;
  font-size: 1.06rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 38ch;
}

main:has(.book-calendar) > .book-expect {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 24px !important;
  background: #1e201b;
  border: 1px solid rgb(243 244 238 / 0.12);
  border-radius: 18px;
  display: flex !important;
  flex-direction: column;
  gap: 20px !important;
  counter-reset: bookstep;
}

main:has(.book-calendar) > .book-expect > div {
  border: 0 !important;
  padding: 0 0 0 42px !important;
  position: relative;
  counter-increment: bookstep;
}

main:has(.book-calendar) > .book-expect > div::before {
  content: "0" counter(bookstep);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #a3e635;
  color: #151613;
  font-family: var(--athq-mono);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

main:has(.book-calendar) > .book-expect h2 {
  color: #f3f4ee !important;
  font-size: 1.02rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 4px !important;
}

main:has(.book-calendar) > .book-expect p {
  color: #c5c9be !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

main:has(.book-calendar) > .book-section {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

main:has(.book-calendar) .book-fit-note {
  background: #1e201b !important;
  border: 1px solid rgb(243 244 238 / 0.14) !important;
  border-left: 3px solid #a3e635 !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin: 0 0 18px !important;
  color: #c5c9be !important;
}

main:has(.book-calendar) .book-fit-note p {
  color: #c5c9be !important;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 6px;
}

main:has(.book-calendar) .book-fit-note p:last-child {
  margin-bottom: 0;
}

main:has(.book-calendar) .book-fit-note strong,
main:has(.book-calendar) .book-fit-note a {
  color: #f3f4ee !important;
}

main:has(.book-calendar) .book-calendar {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 8px !important;
  border: 1px solid rgb(255 255 255 / 0.14) !important;
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.48) !important;
  overflow: hidden;
}

main:has(.book-calendar) .fineprint {
  color: #9da396 !important;
  font-size: 0.84rem;
  margin: 14px 0 0 !important;
}

main:has(.book-calendar) .fineprint a {
  color: #f3f4ee !important;
}

@media (max-width: 1020px) {
  main:has(.book-calendar) {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  main:has(.book-calendar) > .page-hero {
    grid-column: 1;
    grid-row: 1;
  }
  main:has(.book-calendar) > .book-section {
    grid-column: 1;
    grid-row: 2;
  }
  main:has(.book-calendar) > .book-expect {
    grid-column: 1;
    grid-row: 3;
  }
}

/* --- 5B. /about/ — Dark Hero -> Warm Stone Metric Cards -> Elevated Story -> Stone 3-Step Cards -> Dark CTA --- */
main:has(.about-intro) > section {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(24px, calc((100% - 1240px) / 2)) !important;
  box-sizing: border-box;
}

main:has(.about-intro) > .about-intro {
  background: #151613;
  color: #f3f4ee;
  padding-block: clamp(56px, 7vw, 96px) !important;
}

main:has(.about-intro) > .about-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  background: #a3e635;
  color: #151613 !important;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

main:has(.about-intro) > .about-intro h1 {
  color: #f3f4ee !important;
  max-width: 16ch;
  margin-bottom: 18px;
}

main:has(.about-intro) > .about-intro > p:not(.eyebrow) {
  color: #c5c9be !important;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 62ch;
}

main:has(.about-intro) > .about-stats-band {
  background: #e6e9de;
  border-top: 1px solid #d2d6c8;
  border-bottom: 1px solid #d2d6c8;
  padding-block: clamp(44px, 5vw, 68px) !important;
}

main:has(.about-intro) .about-stats-grid {
  border: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
}

main:has(.about-intro) .about-stats-grid > div {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-top: 3px solid #151613;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 8px 24px rgb(21 22 19 / 0.05);
}

main:has(.about-intro) .about-stats-grid strong {
  display: block;
  color: #151613 !important;
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

main:has(.about-intro) .about-stats-grid p {
  color: #52574d !important;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

main:has(.about-intro) > .about-people {
  background: #f3f4ee;
  padding-block: clamp(56px, 7vw, 88px) !important;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

main:has(.about-intro) > .about-people > img {
  border-radius: 20px;
  box-shadow: 0 18px 44px rgb(21 22 19 / 0.12);
  border: 1px solid #d2d6c8;
}

main:has(.about-intro) > .about-people > div {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 42px);
  box-shadow: 0 10px 28px rgb(21 22 19 / 0.05);
}

main:has(.about-intro) .about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

main:has(.about-intro) .about-links a.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eceee6;
  border: 1px solid #d2d6c8;
  color: #151613 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

main:has(.about-intro) .about-links a.text-link:hover {
  background: #a3e635;
  border-color: #a3e635;
}

main:has(.about-intro) > .about-principles-band {
  background: #e6e9de;
  border-top: 1px solid #d2d6c8;
  border-bottom: 1px solid #d2d6c8;
  padding-block: clamp(56px, 7vw, 88px) !important;
}

main:has(.about-intro) > .about-principles-band h2 {
  margin-bottom: 28px !important;
}

main:has(.about-intro) .about-principles-band .offer-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: principle;
}

main:has(.about-intro) .about-principles-band .offer-steps-grid > div {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 8px 24px rgb(21 22 19 / 0.05);
  counter-increment: principle;
}

main:has(.about-intro) .about-principles-band .offer-steps-grid > div::before {
  content: "0" counter(principle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #a3e635;
  color: #151613;
  font-family: var(--athq-mono);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

main:has(.about-intro) > .last-section {
  background: #151613;
  color: #f3f4ee;
  padding-block: clamp(56px, 7vw, 88px) !important;
  border-bottom: 1px solid rgb(243 244 238 / 0.12);
}

main:has(.about-intro) > .last-section h2 {
  color: #f3f4ee !important;
  margin-bottom: 24px;
}

main:has(.about-intro) > .last-section .locked-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

main:has(.about-intro) > .last-section .btn.btn-dark {
  background: #a3e635 !important;
  color: #151613 !important;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}

main:has(.about-intro) > .last-section .btn.btn-dark:hover {
  background: #96d72e !important;
}

main:has(.about-intro) > .last-section a.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgb(243 244 238 / 0.28);
  color: #f3f4ee !important;
  text-decoration: none;
  font-weight: 600;
}

main:has(.about-intro) > .last-section a.text-link:hover {
  background: rgb(243 244 238 / 0.10);
}

@media (max-width: 900px) {
  main:has(.about-intro) .about-stats-grid,
  main:has(.about-intro) > .about-people,
  main:has(.about-intro) .about-principles-band .offer-steps-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- 5C. /insights/ & /insights/* — Dark Hero + Elevated Article Cards --- */
main:has(.article-index) > section {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(24px, calc((100% - 1240px) / 2)) !important;
  box-sizing: border-box;
}

main:has(.article-index) > .page-hero {
  background: #151613;
  color: #f3f4ee;
  padding-block: clamp(56px, 7vw, 92px) !important;
}

main:has(.article-index) > .page-hero .eyebrow {
  display: inline-flex;
  background: #a3e635;
  color: #151613 !important;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

main:has(.article-index) > .page-hero .eyebrow::before {
  display: none !important;
}

main:has(.article-index) > .page-hero h1 {
  color: #f3f4ee !important;
}

main:has(.article-index) > .page-hero .lead {
  color: #c5c9be !important;
}

main:has(.article-index) > .article-index {
  background: #e6e9de;
  padding-block: clamp(48px, 6vw, 80px) !important;
  display: grid;
  gap: 18px;
}

main:has(.article-index) .article-teaser {
  background: #ffffff !important;
  border: 1px solid #d2d6c8 !important;
  border-radius: 18px;
  padding: clamp(24px, 3vw, 36px) !important;
  box-shadow: 0 8px 24px rgb(21 22 19 / 0.05);
  transition: transform 160ms ease, border-color 160ms ease;
}

main:has(.article-index) .article-teaser:hover {
  transform: translateY(-2px);
  border-color: #151613 !important;
}

main:has(.article-index) .article-teaser > div:first-child > span {
  display: inline-flex;
  font-family: var(--athq-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #eceee6;
  color: #151613;
  padding: 4px 10px;
  border-radius: 999px;
}

main:has(.article-index) .article-teaser .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  margin-top: 16px;
  border-radius: 999px;
  background: #151613;
  color: #f3f4ee !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

main:has(.article-index) .article-teaser:hover .text-link {
  background: #a3e635;
  color: #151613 !important;
}

/* Individual Insight Article */
main:has(.article) {
  background: #e6e9de;
  padding: clamp(32px, 5vw, 56px) 24px clamp(64px, 7vw, 96px) !important;
}

main:has(.article) > .article {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 22px;
  padding: clamp(28px, 5vw, 56px) !important;
  margin-inline: auto;
  max-width: 840px;
  box-shadow: 0 12px 36px rgb(21 22 19 / 0.06);
}

/* --- 5D. /privacy/ — Warm Stone Hero + Clean Elevated Section Cards --- */
main:has(.policy) > section {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(24px, calc((100% - 920px) / 2)) !important;
  box-sizing: border-box;
}

main:has(.policy) > .page-hero {
  background: #e6e9de;
  border-bottom: 1px solid #d2d6c8;
  padding-block: clamp(48px, 6vw, 80px) !important;
}

main:has(.policy) > .page-hero .eyebrow {
  display: inline-flex;
  background: #a3e635;
  color: #151613 !important;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

main:has(.policy) > .page-hero .eyebrow::before {
  display: none !important;
}

main:has(.policy) > section:has(.policy) {
  background: #f3f4ee;
  padding-block: clamp(40px, 5vw, 68px) !important;
}

main:has(.policy) .policy {
  display: grid;
  gap: 18px;
}

main:has(.policy) .policy-block {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 6px 20px rgb(21 22 19 / 0.04);
}

main:has(.policy) .policy-block h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem) !important;
  margin: 0 0 12px !important;
  color: #151613 !important;
}

main:has(.policy) .policy-block p {
  color: #464b42 !important;
  line-height: 1.65;
  margin: 0 0 12px;
}

main:has(.policy) .policy-block p:last-child {
  margin-bottom: 0;
}

/* --- 5E. Support pages (/contact/, /results/, /for-plumbers/, /for-electricians/, etc.) --- */
main.support-page > .support-intro {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(56px, 7vw, 92px) max(24px, calc((100% - 1240px) / 2)) !important;
  background: #151613 !important;
  color: #f3f4ee !important;
  box-sizing: border-box;
}

main.support-page > .support-intro .support-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--athq-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #a3e635;
  color: #151613 !important;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 18px;
}

main.support-page > .support-intro h1 {
  color: #f3f4ee !important;
}

main.support-page > .support-intro .support-lead {
  color: #c5c9be !important;
}

main.support-page > .support-intro .support-primary {
  background: #a3e635 !important;
  color: #151613 !important;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}

main.support-page > .support-intro .support-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgb(243 244 238 / 0.28);
  color: #f3f4ee !important;
  text-decoration: none !important;
  font-weight: 600;
}

main.support-page > .support-intro .support-secondary:hover {
  background: rgb(243 244 238 / 0.10);
}

/* Contact form card */
main.support-page > .support-contact {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(48px, 6vw, 80px) max(24px, calc((100% - 780px) / 2)) !important;
  background: #e6e9de;
  border-bottom: 1px solid #d2d6c8;
  box-sizing: border-box;
}

main.support-page > .support-contact form.form {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  width: 100%;
  max-width: 780px;
  box-shadow: 0 14px 36px rgb(21 22 19 / 0.06);
}

main.support-page > .support-contact form.form button[type="submit"] {
  background: #a3e635 !important;
  color: #151613 !important;
  border-radius: 999px;
  font-weight: 650;
  border: 0;
}

/* Trade demo + on-the-job + pricing separation */
main.support-page > .job-demo-band {
  background: #e6e9de !important;
  border-bottom: 1px solid #d2d6c8;
}

main.support-page > .support-detail {
  padding-block: clamp(48px, 6vw, 76px) !important;
}

main.support-page > .home-paths {
  background: #e6e9de !important;
  border-top: 1px solid #d2d6c8;
  border-bottom: 1px solid #d2d6c8;
  padding-block: clamp(56px, 7vw, 88px) !important;
}

/* Results page polish: elevated video & review cards, restrained evidence strip */
main.support-page .customer-film,
main.support-page .customer-short {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgb(21 22 19 / 0.05);
}

main.support-page .written-featured .review-card {
  background: #ffffff !important;
  border: 1px solid #d2d6c8 !important;
  border-top: 3px solid #a3e635 !important;
  border-radius: 16px !important;
  padding: 26px !important;
  box-shadow: 0 8px 24px rgb(21 22 19 / 0.05);
}

main.support-page .written-reviews details {
  background: #ffffff;
  border: 1px solid #d2d6c8 !important;
  border-radius: 14px;
  padding: 16px 22px !important;
  margin-bottom: 10px;
}

main.support-page > .results-evidence {
  padding: 28px 0 !important;
  margin: 0 auto 48px !important;
  width: min(calc(100% - 48px), 1240px) !important;
  border-radius: 18px !important;
}

main.support-page > .results-evidence h2 {
  font-size: 1.5rem !important;
  margin-bottom: 6px !important;
}

/* Offer pages (/ai-audit/, /follow-up-engine/) — clear section contrast between bands */
body:not(.home-page):not(.ask-page) .offer-opening {
  background: #e6e9de !important;
  border-bottom: 1px solid #d2d6c8;
}

body:not(.home-page):not(.ask-page) .offer-steps-band {
  background: #e6e9de !important;
  border-top: 1px solid #d2d6c8;
  border-bottom: 1px solid #d2d6c8;
}

body:not(.home-page):not(.ask-page) .offer-steps-band .offer-steps-grid > div {
  background: #ffffff;
  border: 1px solid #d2d6c8;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgb(21 22 19 / 0.04);
}


/* =====================================================================
   FOUNDER-FIRST REDESIGN PASS (4 Dec 2026)
   - Warm 4-surface colour breaks across Services, Offer, Results, About, FAQ
   - Fix mobile floating Ask Legend pill overlap (desktop >= 960px only)
   - Standout 5-star review cards & verified trade outcomes
   ===================================================================== */
@media (max-width: 959px) {
  html body a.ask-float-pill {
    display: none !important;
  }
}

html body header.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin-top: 0 !important;
  background: rgba(247, 246, 242, 0.94) !important;
  border-bottom: 1px solid #dad6cb !important;
}

/* Warm surface rhythm on Services, Offer, Results & About pages */
body:not(.home-page):not(.ask-page) {
  background: #f7f6f2 !important;
  padding-top: 64px !important;
}

.offer-choices,
.results-reviews,
.about-principles-band {
  background: #f7f6f2;
}

.offer-proof-band {
  background: #132219 !important;
  color: #f7f6f2 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.offer-proof-band h2,
.offer-proof-band strong,
.offer-proof-band a {
  color: #ffffff !important;
}
.offer-proof-band p,
.offer-proof-band .eyebrow,
.offer-proof-band figcaption {
  color: #cad5cc !important;
}

.offer-steps-band,
.about-stats-band,
.support-contact {
  background: #eae7df !important;
  color: #151613 !important;
  border-top: 1px solid #d5d0c4;
  border-bottom: 1px solid #d5d0c4;
}

/* Pre-FAQ dark Forest colour break on Offer & Pricing sections */
.section.section-dark.buyer-frame,
.engage#price,
.home-paths#pricing {
  background: #132219 !important;
  color: #f7f6f2 !important;
}
.home-paths#pricing h2,
.home-paths#pricing h3,
.home-paths#pricing h4,
.home-paths#pricing a,
.home-paths#pricing strong,
.engage#price h2,
.engage#price dt,
.engage#price b,
.engage#price strong {
  color: #f7f6f2 !important;
}
.home-paths#pricing p,
.home-paths#pricing span,
.engage#price p,
.engage#price dd,
.engage#price small {
  color: #cad5cc !important;
}
.home-paths#pricing .path-card {
  background: #1b2f23 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
.home-paths#pricing .choice-line {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
.home-paths#pricing .offer-action,
.engage#price .btn.checkout,
.buyer-frame .btn.checkout {
  background: #a3e635 !important;
  color: #151613 !important;
  border: none !important;
  font-weight: 700 !important;
}
.home-paths#pricing .offer-action:hover,
.engage#price .btn.checkout:hover,
.buyer-frame .btn.checkout:hover {
  background: #96d72e !important;
  color: #151613 !important;
}

/* Distinct Warm Stone FAQ band with crisp white cards */
.offer-faq-band,
section.questions {
  background: #eae7df !important;
  color: #151613 !important;
  border-top: 1px solid #d4cfc2;
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.offer-faq-band details,
section.questions details {
  background: #ffffff !important;
  border: 1px solid #d4cfc2 !important;
  border-radius: 14px !important;
  padding: 4px 18px !important;
  margin-bottom: 10px !important;
  box-shadow: 0 4px 14px rgba(21, 22, 19, 0.04);
}

/* Standout Review Cards & Verified Trade Outcomes on /results/ */
.results-verified-outcomes {
  padding: 40px 0 12px;
}
.results-verified-outcomes h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.025em;
}
.results-outcomes-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.results-outcome-card {
  background: #141614;
  color: #ffffff;
  border-radius: 16px;
  padding: 22px;
}
.results-outcome-card span {
  display: block;
  font-family: 'Geist Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: #a3e635;
  margin-bottom: 6px;
}
.results-outcome-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.written-featured .review-card {
  background: #ffffff !important;
  border: 1.5px solid #d2cdc0 !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 12px 28px rgba(21, 22, 19, 0.08) !important;
}
.review-rating .star-row {
  color: #d97706;
  font-size: 16px;
  letter-spacing: 1px;
  margin-right: 6px;
}

/* Remove loud neon pill badge on support/trade page intros with accessible contrast */
html body main.support-page .support-intro .support-label {
  background: transparent !important;
  color: #c7cbc0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-transform: none !important;
  letter-spacing: -0.005em !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
