/* The Accidental Analyst | Precision Workbench palette | 2026-11-02
   Loaded AFTER legacy page styles, deliberately scoped to page and surface.
   Never propagate light-on-dark text onto a light card nested inside a dark hero.
   Palette: logo red #D6301F, deep slate #132838, warm paper #F8FAFC,
   AI blue #2E63D4 (illustrations only), trust mint #94E0D2 on dark surfaces. */
:root {
  --pw-navy:#132838;
  --pw-navy-2:#1B3848;
  --pw-paper:#F8FAFC;
  --pw-white:#FFFFFF;
  --pw-ink:#172B3A;
  --pw-slate:#435565;
  --pw-line:#D8E1E6;
  --pw-red:#D6301F;
  --pw-red-hover:#B82719;
  --pw-mint:#94E0D2;
  --pw-teal:#145D55;
  --pw-on-dark:#F4F8FA;
  --pw-muted-dark:#D6E4EB;
}
/* Common brand and navigation. Match the logo's red across all site CTAs. */
body.taa-new { --brand-action:var(--pw-red); }
body.taa-new .site-header, body.taa-new .new-header {
  background:#F9F7F2 !important; border-bottom:1px solid #E4DFD7 !important;
}
body.taa-new .site-header .new-brand,body.taa-new .site-header .new-brand span { color:var(--pw-ink); }
body.taa-new .site-header .new-brand b { color:var(--pw-red); }
body.taa-new .site-nav > a:not(.nav-cta),body.taa-new .site-nav > a:not(.new-nav-cta) {
  color:#293E4B;
}
body.taa-new .site-header .nav-cta,body.taa-new .site-header .new-nav-cta {
  background:var(--pw-red) !important; border-color:var(--pw-red) !important;
  color:#FFF !important; box-shadow:none !important; font-family:Manrope,Arial,sans-serif;
}
body.taa-new .site-header .nav-cta:hover,body.taa-new .site-header .new-nav-cta:hover {
  background:var(--pw-red-hover) !important; border-color:var(--pw-red-hover) !important;
}
body.taa-new .button.primary,body.taa-new .button.new-primary,body.taa-new .new-primary,
body.taa-new .hero-offer-cta {
  background:var(--pw-red) !important; border-color:var(--pw-red) !important;
  color:#fff !important; box-shadow:0 6px 16px rgba(91,35,26,.12) !important;
  font-family:Manrope,Arial,sans-serif;
}
body.taa-new .button.primary:hover,body.taa-new .button.new-primary:hover,
body.taa-new .new-primary:hover,body.taa-new .hero-offer-cta:hover {
  background:var(--pw-red-hover) !important; border-color:var(--pw-red-hover) !important;
  color:#fff !important; box-shadow:0 8px 18px rgba(91,35,26,.18) !important;
}
body.taa-new .button.secondary,body.taa-new .button.new-secondary {
  font-family:Manrope,Arial,sans-serif;
}
body.taa-new a:focus-visible,body.taa-new button:focus-visible,body.taa-new input:focus-visible,
body.taa-store a:focus-visible,body.taa-store button:focus-visible {
  outline:3px solid #2377AD !important; outline-offset:3px;
}
/* HOME: all typography on the dark hero is explicitly constrained to the copy column. */
body.aa-home-refresh main section.th23-hero {
  background:linear-gradient(115deg,#132838 0%,#1A3B49 100%) !important;
  color:var(--pw-on-dark) !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy h1 {
  color:#FFF !important; font-size:clamp(2.45rem,3.65vw,3.6rem) !important;
  line-height:1.105 !important; letter-spacing:-.045em !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy h1 em {
  color:var(--pw-mint) !important; font-style:normal !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-kicker {
  color:#F1F7FB !important; background:rgba(255,255,255,.10) !important;
  border:1px solid rgba(255,255,255,.28) !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-hero-tagline {
  color:#FFFFFF !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-lead {
  color:var(--pw-on-dark) !important; opacity:1 !important;
  font-size:1.04rem; line-height:1.74;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-hero-reassure,
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-team-path {
  color:var(--pw-muted-dark) !important; opacity:1 !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-hero-reassure strong { color:#FFF !important; }
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-team-path a {
  color:#CEF5EB !important; text-decoration-color:currentColor !important;
}
body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-team-path a:hover { color:#FFF !important; }
body.aa-home-refresh main .th23-hero .th23-actions .button.primary {
  background:var(--pw-red) !important; border-color:var(--pw-red) !important; color:#FFF !important;
}
body.aa-home-refresh main .th23-hero .th23-actions .button.secondary {
  background:transparent !important; color:#FFF !important;
  border:1.5px solid #C6DCE3 !important;
}
body.aa-home-refresh main .th23-hero .th23-actions .button.secondary:hover {
  background:rgba(255,255,255,.12) !important;
}
/* Crucial boundary: the light video proof card is a WHITE surface, not part of the dark copy. */
body.aa-home-refresh main section.th23-hero .th237-proof-video {
  background:#FFF !important; color:var(--pw-ink) !important;
  border-color:#DCE5E8 !important; box-shadow:0 17px 34px rgba(7,25,36,.20);
}
body.aa-home-refresh main section.th23-hero .th237-proof-video .th237-video-label {
  color:var(--pw-teal) !important;
}
body.aa-home-refresh main section.th23-hero .th237-proof-video .th237-video-heading {
  color:var(--pw-navy) !important;
}
body.aa-home-refresh main section.th23-hero .th237-proof-video .th237-video-caption {
  color:#405566 !important;
}
body.aa-home-refresh main section.th23-hero .th237-proof-video a.th237-video-youtube {
  color:#115C55 !important; text-decoration-color:currentColor !important;
}
body.aa-home-refresh main section.th23-hero .th237-proof-video a.th237-video-youtube:hover {
  color:#0C403D !important;
}
body.aa-home-refresh main .th237-video-frame .home-video-play-icon {
  background:#FFF !important; color:var(--pw-red) !important;
}
/* Home: fewer competing tints; warm paper cards, bold readable headings. */
body.aa-home-refresh main .th23-outcomes,
body.aa-home-refresh main .th23-members { background:#F3F7F7 !important; }
body.aa-home-refresh main .th23-reviews,
body.aa-home-refresh main .th23-proof { background:#F0F4F6 !important; }
body.aa-home-refresh main .th23-current-card,
body.aa-home-refresh main .th23-more-grid article,
body.aa-home-refresh main .th23-steps article { background:#FFF !important; border-color:var(--pw-line) !important; }
body.aa-home-refresh main .th23-friday { background:#EBF4F2 !important; border-left-color:var(--pw-teal) !important; color:var(--pw-ink) !important; }
body.aa-home-refresh main .th237-offer-strip { background:#F4F7F7 !important; border-bottom-color:var(--pw-line) !important; }
body.aa-home-refresh main .th237-offer-price strong { color:var(--pw-navy) !important; }
body.aa-home-refresh main .th237-offer-benefits span:before { color:var(--pw-teal) !important; }
body.aa-home-refresh main a.th237-offer-link,
body.aa-home-refresh main .th23-more-grid a,
body.aa-home-refresh main .th23-text-link,
body.aa-home-refresh main .th23-reviews figcaption a,
body.aa-home-refresh main .th23-proof a { color:var(--pw-teal) !important; }
body.aa-home-refresh main .th23-kicker,
body.aa-home-refresh main .th23-current-card span,
body.aa-home-refresh main .th23-members-card > span { color:var(--pw-teal) !important; }
/* Dark updates panel: never let a shared blue eyebrow override light ink. */
body.aa-home-refresh main section.th23-updates {
  background:var(--pw-navy) !important; color:#FFF !important;
}
body.aa-home-refresh main section.th23-updates .th23-updates-grid > div > .th23-kicker {
  color:#BCECE3 !important; background:none !important; opacity:1 !important;
}
body.aa-home-refresh main section.th23-updates .th23-updates-grid > div > h2 {
  color:#FFF !important;
}
body.aa-home-refresh main section.th23-updates .th23-updates-grid > div > p:not(.th23-kicker) {
  color:#E0EAF0 !important;
}
body.aa-home-refresh main section.th23-updates .th23-updates-card {
  background:#FFF !important; color:var(--pw-ink) !important;
  border:1px solid #DCE5E8 !important;
}
body.aa-home-refresh main section.th23-updates .th23-updates-card p,
body.aa-home-refresh main section.th23-updates .th23-updates-card h3 {
  color:var(--pw-ink) !important;
}
/* Beehiiv's embed may use a cross-origin iframe; CSS cannot style text *inside* it. */
body.aa-home-refresh .site-beehiiv-host,
body.aa-home-refresh .site-beehiiv-host :is(input,button,select,label),
body.aa-home-refresh .site-beehiiv-host * {
  font-family:Manrope,Arial,sans-serif !important;
}
body.aa-home-refresh .site-beehiiv-host button,
body.aa-home-refresh .site-beehiiv-host input[type="submit"] {
  background:var(--pw-red) !important; color:white !important;
  border-color:var(--pw-red) !important; border-radius:8px;
  font-family:Manrope,Arial,sans-serif !important; font-weight:800;
}
body.aa-home-refresh main .th23-closing { background:#EBF1F0 !important; }
/* Other public Build pages: remove mint as button fill and protect dark sections. */
body.taa-new.rwb-page .rwb-hero { background:linear-gradient(115deg,#132838,#1A3B49) !important; }
body.taa-new.rwb-page .rwb-hero h1 { color:#FFF !important; }
body.taa-new.rwb-page .rwb-hero h1 em { color:var(--pw-mint) !important; }
body.taa-new.rwb-page .rwb-hero .rwb-hero-lead,
body.taa-new.rwb-page .rwb-hero .rwb-muted { color:var(--pw-muted-dark) !important; }
body.taa-new.rwb-page .rwb-hero .rwb-eyebrow { color:#BCECE3 !important; }
body.taa-new.rwb-page .rwb-hero .button.primary,
body.taa-new.rwb-page .rwb-team-cta .button.primary { background:var(--pw-red) !important; color:#FFF !important; border-color:var(--pw-red) !important; }
body.taa-new.rwb-page .rwb-hero .button.secondary {
  background:transparent !important; color:#FFF !important; border-color:#B9D4DE !important;
}
body.taa-new.rwb-page .rwb-updates,body.taa-new.rwb-page .rwb-team-cta { background:var(--pw-navy) !important; }
body.taa-new.rwb-page .rwb-updates h2,body.taa-new.rwb-page .rwb-team-cta h2 { color:#FFF !important; }
body.taa-new.rwb-page .rwb-updates .rwb-eyebrow,
body.taa-new.rwb-page .rwb-team-cta .rwb-eyebrow { color:#BCECE3 !important; }
body.taa-new.rwb-page .rwb-update-box,
body.taa-new.rwb-page .rwb-pricing { background:#FFF !important; color:var(--pw-ink) !important; }
body.taa-new.rwb-page .rwb-update-box :is(h2,h3,p,small),
body.taa-new.rwb-page .rwb-pricing :is(h2,h3,p,li,small) { color:var(--pw-ink); }
/* Site-wide footer: dark background, legible body and links. */
body.taa-new footer.site-footer,body.taa-new footer.new-footer {
  background:var(--pw-navy) !important; color:var(--pw-on-dark) !important;
}
body.taa-new footer.site-footer strong,body.taa-new footer.site-footer small,
body.taa-new footer.site-footer .footer-copy { color:var(--pw-on-dark) !important; }
body.taa-new footer.site-footer a { color:#D7EAF1 !important; }
body.taa-new footer.site-footer a:hover { color:#FFF !important; }
body.taa-new footer.site-footer strong span { color:#FF9586 !important; }
/* Buttons and forms outside home: consistent typography. */
body.taa-new :is(button,.button,input[type="submit"],.site-nav a.nav-cta) {
  font-family:Manrope,Arial,sans-serif;
}
body.taa-new :is(input,textarea,select) { color:var(--pw-ink); }
/* Independent Store app uses its own CSS, so align primary actions without rewriting it. */
body.taa-store .site-header { background:#F9F7F2 !important; }
body.taa-store .brand b { color:var(--pw-red) !important; }
body.taa-store .btn-primary,body.taa-store .nav-contact {
  background:var(--pw-red) !important; color:#FFF !important;
  border-color:var(--pw-red) !important; font-family:Manrope,Arial,sans-serif;
}
body.taa-store .btn-primary:hover,body.taa-store .nav-contact:hover {
  background:var(--pw-red-hover) !important; border-color:var(--pw-red-hover) !important;
}
@media(max-width:600px) {
  body.aa-home-refresh main .th23-hero .th23-hero-copy h1 {
    font-size:clamp(2.0rem,7vw,2.7rem) !important;
  }
  body.aa-home-refresh main .th23-hero .th23-hero-copy .th23-lead { font-size:1rem; }
  body.aa-home-refresh main .th23-hero .th237-proof-video { padding:17px; }
}

/* Keep the final phrase together to avoid a one-word line in the hero. */
body.aa-home-refresh .pw-keep-together { white-space:nowrap; }
body.taa-new footer.site-footer .new-footer-grid small { white-space:nowrap; }
body.aa-home-refresh main .th23-hero .th23-hero-copy h1 em .pw-keep-together {
  color:inherit !important;
}

/* WEB242 | One hero conversion path, plainspoken copy, full-width Build card. */
body.aa-home-refresh main .th23-hero-grid {
  grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);
  align-items:center;
  gap:clamp(28px,4.5vw,64px);
}
body.aa-home-refresh main .th23-hero .th23-lead { max-width:59ch; }
/* Paid product card is a LIGHT surface; protect contrast from dark hero inheritance. */
body.aa-home-refresh main .th23-hero .pw-hero-offer {
  background:#FFF !important;
  color:var(--pw-ink) !important;
  border:1px solid #DCE5E8;
  border-radius:18px;
  box-shadow:0 18px 42px rgba(6,28,39,.23);
  padding:clamp(24px,2.8vw,34px);
  max-width:520px;
  width:100%;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer .th23-offer-eyebrow {
  color:var(--pw-teal) !important;
  opacity:1 !important;
  margin:0 0 10px;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer h2 {
  color:var(--pw-navy) !important;
  font-size:clamp(1.28rem,1.8vw,1.72rem);
  line-height:1.25;
  letter-spacing:-.025em;
  margin:0 0 11px;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer .pw-hero-offer-intro {
  color:#445A68 !important;
  font-size:.91rem;
  line-height:1.52;
  margin:0 0 18px;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer .th23-price {
  color:var(--pw-navy) !important;
  margin:0 0 15px;
  font-size:clamp(2.8rem,4vw,3.55rem);
}
body.aa-home-refresh main .th23-hero .pw-hero-offer .th23-price span {
  color:#435665 !important;
  font-size:.86rem;
  margin-top:3px;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer ul { gap:10px; margin:0 0 21px; }
body.aa-home-refresh main .th23-hero .pw-hero-offer li {
  color:#304753 !important;
  font-size:.88rem;
  line-height:1.5;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer li::before { color:var(--pw-teal) !important; }
body.aa-home-refresh main .th23-hero .pw-hero-offer .button.primary {
  background:var(--pw-red) !important;
  border-color:var(--pw-red) !important;
  color:#FFF !important;
  justify-content:center;
  font-size:.94rem;
}
body.aa-home-refresh main .th23-hero .pw-hero-offer .th23-offer-small {
  color:#526471 !important;
  margin:12px 0 0;
}
/* The Netflix example is an independent proof section, not a second sale CTA. */
body.aa-home-refresh main .pw-video-proof {
  background:#FFF !important;
  padding:clamp(42px,5vw,64px) 0;
  scroll-margin-top:76px;
}
body.aa-home-refresh main .pw-video-proof-copy h2 {
  color:var(--pw-navy) !important;
  margin:12px 0 14px;
  max-width:21ch;
}
body.aa-home-refresh main .pw-video-proof-copy > p:not(.th23-kicker) {
  color:#435765 !important;
  max-width:44ch;
  margin:0;
  line-height:1.66;
}
body.aa-home-refresh main .pw-video-proof .th237-proof-video {
  background:#FFF !important;
  color:var(--pw-ink) !important;
  border:1px solid var(--pw-line) !important;
  border-radius:16px;
  padding:20px;
  min-width:0;
  box-shadow:0 8px 30px rgba(7,30,43,.09);
}
body.aa-home-refresh main .pw-video-proof .th237-video-label { color:var(--pw-teal) !important; }
body.aa-home-refresh main .pw-video-proof .th237-video-heading { color:var(--pw-navy) !important; }
body.aa-home-refresh main .pw-video-proof .th237-video-caption { color:#405566 !important; }
body.aa-home-refresh main .pw-video-proof .th237-video-youtube { color:var(--pw-teal) !important; }
/* Eliminate the half-empty 720px card limit, without inventing a dashboard preview. */
body.aa-home-refresh main .th23-catalog .pw-current-build-card {
  max-width:none !important;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(195px,.37fr);
  align-items:center;
  gap:clamp(20px,4vw,50px);
  padding:clamp(24px,3vw,36px);
}
body.aa-home-refresh main .pw-current-build-card .pw-current-build-body { min-width:0; }
body.aa-home-refresh main .pw-current-build-card .pw-current-build-body h3 { max-width:30ch; }
body.aa-home-refresh main .pw-current-build-card .pw-current-build-body p { max-width:58ch; }
body.aa-home-refresh main .pw-current-build-card .pw-current-build-action {
  min-width:0;
  border-left:1px solid var(--pw-line);
  padding-left:clamp(16px,3vw,40px);
}
body.aa-home-refresh main .pw-current-build-card .pw-current-build-price {
  display:flex;
  gap:8px;
  align-items:baseline;
  margin:0 0 12px;
  color:var(--pw-navy) !important;
}
body.aa-home-refresh main .pw-current-build-card .pw-current-build-price strong {
  color:var(--pw-navy) !important;
  font-size:2rem;
  letter-spacing:-.04em;
}
body.aa-home-refresh main .pw-current-build-card .pw-current-build-price span {
  color:#506471 !important;
  letter-spacing:0;
  font:650 .8rem/1.4 Manrope,Arial,sans-serif !important;
}
body.aa-home-refresh main .pw-current-build-card .pw-current-build-action .button { display:flex;justify-content:center; }
body.aa-home-refresh main .pw-current-build-card .pw-current-build-action > p:last-child {
  color:#506471 !important;
  font-size:.82rem;
  line-height:1.5;
  margin:12px 0 0;
}
/* Every eyebrow on a LIGHT section uses the same precise deep teal. */
body.aa-home-refresh main .th23-section:not(.th23-updates) .th23-kicker,
body.aa-home-refresh main .th23-proof .th23-kicker {
  color:var(--pw-teal) !important;
}
@media(max-width:880px) {
  body.aa-home-refresh main .th23-hero-grid { grid-template-columns:1fr; }
  body.aa-home-refresh main .th23-hero .pw-hero-offer { max-width:680px; }
}
@media(max-width:600px) {
  body.aa-home-refresh main .th23-catalog .pw-current-build-card { grid-template-columns:1fr;gap:16px; }
  body.aa-home-refresh main .pw-current-build-card .pw-current-build-action {border-left:0;border-top:1px solid var(--pw-line);padding:16px 0 0;}
  body.aa-home-refresh main .pw-video-proof .th237-proof-video {padding:14px;}
  body.aa-home-refresh main .th23-hero .pw-hero-offer {padding:22px;}
}
