html {
  color-scheme: dark;
  --theme-page-bg: #1F1B18;
  --theme-bg-alt: #2C2622;
  --theme-surface: #2C2622;
  --theme-surface-raised: #362F2A;
  --theme-surface-warm: #2C2622;
  --theme-text: #FAF7F2;
  --theme-muted: rgba(216,208,199,0.78);
  --theme-muted-strong: #D8D0C7;
  --theme-border: rgba(216,208,199,0.14);
  --theme-border-strong: rgba(216,208,199,0.24);
  --theme-accent: #C4714A;
  --theme-shadow: 0 28px 80px rgba(0,0,0,0.28);
}

html[data-theme="light"] {
  color-scheme: light;
  --theme-page-bg: #FAF7F2;
  --theme-bg-alt: #F1EBE4;
  --theme-surface: #FFFFFF;
  --theme-surface-raised: #FFFDF9;
  --theme-surface-warm: #EFE6DC;
  --theme-text: #2C2622;
  --theme-muted: #62564F;
  --theme-muted-strong: #4E443E;
  --theme-border: rgba(44,38,34,0.16);
  --theme-border-strong: rgba(44,38,34,0.26);
  --theme-accent: #C4714A;
  --theme-shadow: 0 28px 80px rgba(44,38,34,0.12);
  --cream: #FAF7F2;
  --warm-white: #FFFFFF;
  --clay-light: rgba(196,113,74,0.18);
  --charcoal: #2C2622;
  --charcoal-mid: #62564F;
  --charcoal-light: #766B64;
  --border: rgba(44,38,34,0.16);
  --stone: #D8D0C7;
  --muted: #62564F;
  --white: #FFFFFF;
  --ink: #2C2622;
  --paper: #FAF7F2;
  --line: rgba(44,38,34,0.16);
  --blueprint: #F1EBE4;
  --shadow: 0 28px 80px rgba(44,38,34,0.12);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --theme-page-bg: #1F1B18;
  --theme-bg-alt: #2C2622;
  --theme-surface: #2C2622;
  --theme-surface-raised: #362F2A;
  --theme-surface-warm: #2C2622;
  --theme-text: #FAF7F2;
  --theme-muted: rgba(216,208,199,0.78);
  --theme-muted-strong: #D8D0C7;
  --theme-border: rgba(216,208,199,0.14);
  --theme-border-strong: rgba(216,208,199,0.24);
  --theme-accent: #C4714A;
  --theme-shadow: 0 28px 80px rgba(0,0,0,0.28);
  --cream: #1F1B18;
  --warm-white: #2C2622;
  --clay-light: rgba(196,113,74,0.22);
  --charcoal: #FAF7F2;
  --charcoal-mid: rgba(216,208,199,0.7);
  --charcoal-light: rgba(216,208,199,0.55);
  --border: rgba(216,208,199,0.12);
  --stone: #D8D0C7;
  --muted: rgba(216,208,199,0.7);
  --white: #FAF7F2;
  --ink: #FAF7F2;
  --paper: #1F1B18;
  --line: rgba(216,208,199,0.12);
  --blueprint: #2C2622;
  --shadow: 0 28px 80px rgba(0,0,0,0.28);
}

body,
nav,
.site-nav,
.site-header,
section,
main,
footer,
.theme-transition-surface,
.step-card,
.case-card,
.post-card,
.blog-audit-inner,
.browser-frame,
.artifact-browser,
.firm-mini-site,
.audit-card,
.sample-audit-card,
.theme-toggle {
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

@keyframes hws-reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hws-drift {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes hws-soft-pulse {
  0%, 100% {
    box-shadow: var(--theme-shadow);
  }
  50% {
    box-shadow: 0 34px 96px rgba(0,0,0,0.32);
  }
}

html.motion-ready .hws-reveal,
html.motion-ready .fade-up {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(8px);
  transition:
    opacity 700ms cubic-bezier(.2,.7,.2,1),
    transform 700ms cubic-bezier(.2,.7,.2,1),
    filter 700ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--hws-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.motion-ready .hws-reveal.is-visible,
html.motion-ready .fade-up.visible,
html.motion-ready .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

html.motion-ready .hws-reveal-stagger > * {
  --hws-reveal-delay: calc(var(--hws-item-index, 0) * 70ms);
}

html.motion-ready .artifact-browser,
html.motion-ready .firm-mini-site,
html.motion-ready .audit-device,
html.motion-ready .sample-audit-card,
html.motion-ready .audit-ledger,
html.motion-ready .demo-sheet,
html.motion-ready .finance-board {
  animation: hws-drift 8s ease-in-out infinite;
  will-change: translate;
}

html.motion-ready .sample-audit-card,
html.motion-ready .audit-ledger,
html.motion-ready .demo-sheet,
html.motion-ready .finance-board {
  animation-duration: 9.5s;
}

html.motion-ready .case-card,
html.motion-ready .post-card,
html.motion-ready .service-card,
html.motion-ready .fit-item,
html.motion-ready .trust-item,
html.motion-ready .faq-card,
html.motion-ready details,
html.motion-ready .diagnosis-list article,
html.motion-ready .proof-grid article,
html.motion-ready .service-ledger article,
html.motion-ready .process-ledger li,
html.motion-ready .pricing-panel,
html.motion-ready .resource-card {
  transition:
    transform 220ms ease,
    translate 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

html.motion-ready .post-card:hover,
html.motion-ready .fit-item:hover,
html.motion-ready .trust-item:hover,
html.motion-ready .faq-card:hover,
html.motion-ready details:hover,
html.motion-ready .diagnosis-list article:hover,
html.motion-ready .proof-grid article:hover,
html.motion-ready .service-ledger article:hover,
html.motion-ready .process-ledger li:hover,
html.motion-ready .pricing-panel:hover,
html.motion-ready .resource-card:hover {
  translate: 0 -4px;
  border-color: rgba(196,113,74,0.42) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}

html.motion-ready .btn-primary,
html.motion-ready .btn,
html.motion-ready .button,
html.motion-ready .firm-button,
html.motion-ready .nav-cta,
html.motion-ready .mobile-nav-cta,
html.motion-ready .card-link,
html.motion-ready .post-cta a,
html.motion-ready .blog-audit-inner a {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

html.motion-ready .btn-primary:hover,
html.motion-ready .btn:hover,
html.motion-ready .button:hover,
html.motion-ready .firm-button:hover,
html.motion-ready .nav-cta:hover,
html.motion-ready .mobile-nav-cta:hover,
html.motion-ready .card-link:hover,
html.motion-ready .post-cta a:hover,
html.motion-ready .blog-audit-inner a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(143,77,50,0.28);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--theme-border, rgba(44,38,34,0.16));
  border-radius: 999px;
  background: var(--theme-surface-raised, #FFFDF9);
  color: var(--theme-text, #2C2622);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--theme-accent, #C4714A);
  color: var(--theme-accent, #C4714A);
}

.theme-toggle:focus-visible {
  outline: 2px solid #C4714A;
  outline-offset: 3px;
}

.theme-toggle svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.theme-toggle .theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(44,38,34,0.92);
  color: #FAF7F2;
  border-color: rgba(216,208,199,0.2);
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .theme-icon-moon {
  display: none;
}

.theme-toggle-floating {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
}

.theme-toggle-mobile {
  display: none;
}

html[data-theme="dark"] body {
  background: #1F1B18 !important;
  color: #FAF7F2 !important;
}

html[data-theme="light"] body {
  background: #FAF7F2 !important;
  color: #2C2622 !important;
}

html[data-theme="light"] nav,
html[data-theme="light"] .site-nav,
html[data-theme="light"] .site-header {
  background: rgba(250,247,242,0.94) !important;
  border-color: rgba(44,38,34,0.16) !important;
  box-shadow: 0 12px 36px rgba(44,38,34,0.045);
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] strong,
html[data-theme="light"] summary,
html[data-theme="light"] .nav-logo,
html[data-theme="light"] .logo,
html[data-theme="light"] .brand,
html[data-theme="light"] .firm-brand,
html[data-theme="light"] .footer-logo {
  color: #2C2622;
}

html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] .hero-sub,
html[data-theme="light"] .section-sub,
html[data-theme="light"] .section-copy,
html[data-theme="light"] .card p,
html[data-theme="light"] .post-card p,
html[data-theme="light"] .muted,
html[data-theme="light"] .post-meta,
html[data-theme="light"] .price-label,
html[data-theme="light"] footer p {
  color: #62564F;
}

html[data-theme="light"] .section-label,
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .small-label,
html[data-theme="light"] .post-tag,
html[data-theme="light"] .featured-route-label,
html[data-theme="light"] .firm-eyebrow {
  color: #A75535 !important;
}

html[data-theme="light"] .hero,
html[data-theme="light"] .featured-route,
html[data-theme="light"] .how-section,
html[data-theme="light"] .fit-section,
html[data-theme="light"] .work-section,
html[data-theme="light"] .blog-hero,
html[data-theme="light"] .blog-start,
html[data-theme="light"] .article-body,
html[data-theme="light"] .section,
html[data-theme="light"] .offer-hero {
  background-color: #FAF7F2;
}

html[data-theme="light"] .featured-route-inner,
html[data-theme="light"] .proof-pill,
html[data-theme="light"] .fit-item,
html[data-theme="light"] .work-intro-card,
html[data-theme="light"] .case-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .pricing-panel,
html[data-theme="light"] .audit-panel,
html[data-theme="light"] .audit-card,
html[data-theme="light"] .sample-audit-card,
html[data-theme="light"] .sample-audit-score,
html[data-theme="light"] .finding-row,
html[data-theme="light"] .booking-detail,
html[data-theme="light"] .timeline-step,
html[data-theme="light"] .trust-item,
html[data-theme="light"] .about-summary,
html[data-theme="light"] .about-fact,
html[data-theme="light"] .founder-standard,
html[data-theme="light"] details,
html[data-theme="light"] .faq-card,
html[data-theme="light"] .post-card,
html[data-theme="light"] .checklist-box,
html[data-theme="light"] .resource-card,
html[data-theme="light"] .diagnosis-list article,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .demo-copy-panel,
html[data-theme="light"] .audit-ledger,
html[data-theme="light"] .ledger-note,
html[data-theme="light"] .service-ledger,
html[data-theme="light"] .step,
html[data-theme="light"] .firm-card,
html[data-theme="light"] .contact-panel {
  background-color: #FFFFFF;
  border-color: rgba(44,38,34,0.16);
  color: #2C2622;
}

html[data-theme="light"] .artifact-browser,
html[data-theme="light"] .case-card-browser,
html[data-theme="light"] .firm-mini-site,
html[data-theme="light"] .audit-device,
html[data-theme="light"] .report-card,
html[data-theme="light"] .browser-frame,
html[data-theme="light"] .mini-after,
html[data-theme="light"] .firm-browser {
  border-color: rgba(44,38,34,0.18) !important;
  box-shadow: 0 28px 80px rgba(44,38,34,0.12);
}

html[data-theme="light"] .artifact-top,
html[data-theme="light"] .case-browser-bar,
html[data-theme="light"] .firm-mini-top,
html[data-theme="light"] .browser-bar {
  background: #F1EBE4 !important;
  border-color: rgba(44,38,34,0.14) !important;
}

html[data-theme="light"] .artifact-layout {
  background:
    linear-gradient(145deg, rgba(44,38,34,0.98), rgba(138,74,46,0.94)),
    #2C2622 !important;
}

html[data-theme="light"] .artifact-left,
html[data-theme="light"] .artifact-left strong,
html[data-theme="light"] .artifact-proof strong,
html[data-theme="light"] .case-card-browser strong,
html[data-theme="light"] .mini-after strong {
  color: #FAF7F2 !important;
}

html[data-theme="light"] .artifact-kicker,
html[data-theme="light"] .artifact-left p,
html[data-theme="light"] .artifact-proof span,
html[data-theme="light"] .case-card-browser span,
html[data-theme="light"] .mini-after span {
  color: rgba(250,247,242,0.76) !important;
}

html[data-theme="dark"] nav,
html[data-theme="dark"] .site-nav,
html[data-theme="dark"] .site-header {
  background: rgba(31,27,24,0.93) !important;
  border-color: rgba(216,208,199,0.12) !important;
}

html[data-theme="dark"] .nav-logo,
html[data-theme="dark"] .logo,
html[data-theme="dark"] .brand,
html[data-theme="dark"] .firm-brand,
html[data-theme="dark"] .footer-logo,
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] strong,
html[data-theme="dark"] summary {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] .hero-sub,
html[data-theme="dark"] .section-sub,
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .nav-links a,
html[data-theme="dark"] .firm-links,
html[data-theme="dark"] .firm-links a,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .post-meta,
html[data-theme="dark"] .price-label,
html[data-theme="dark"] .footer-column a {
  color: rgba(216,208,199,0.72) !important;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] .nav-links a:hover,
html[data-theme="dark"] .nav-link:hover {
  color: #C4714A !important;
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .featured-route,
html[data-theme="dark"] .how-section,
html[data-theme="dark"] .fit-section,
html[data-theme="dark"] .work-section,
html[data-theme="dark"] .blog-hero,
html[data-theme="dark"] .blog-start,
html[data-theme="dark"] .article-body,
html[data-theme="dark"] .section,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .offer-hero {
  background: #1F1B18 !important;
}

html[data-theme="dark"] .belief-section,
html[data-theme="dark"] .audit-section,
html[data-theme="dark"] .sample-section,
html[data-theme="dark"] .trust-section,
html[data-theme="dark"] .cta-section,
html[data-theme="dark"] footer,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .post-cta,
html[data-theme="dark"] .blog-audit-strip,
html[data-theme="dark"] .dark,
html[data-theme="dark"] .insight-strip {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .featured-route-inner,
html[data-theme="dark"] .proof-pill,
html[data-theme="dark"] .step-card,
html[data-theme="dark"] .fit-item,
html[data-theme="dark"] .work-intro-card,
html[data-theme="dark"] .case-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .pricing-panel,
html[data-theme="dark"] .audit-panel,
html[data-theme="dark"] .audit-card,
html[data-theme="dark"] .sample-audit-card,
html[data-theme="dark"] .sample-audit-score,
html[data-theme="dark"] .finding-row,
html[data-theme="dark"] .booking-detail,
html[data-theme="dark"] .timeline-step,
html[data-theme="dark"] .trust-item,
html[data-theme="dark"] .about-summary,
html[data-theme="dark"] .about-fact,
html[data-theme="dark"] .founder-standard,
html[data-theme="dark"] details,
html[data-theme="dark"] .faq-card,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .checklist-box,
html[data-theme="dark"] .resource-card,
html[data-theme="dark"] .diagnosis-list article,
html[data-theme="dark"] .offer-card,
html[data-theme="dark"] .demo-copy-panel,
html[data-theme="dark"] .audit-ledger,
html[data-theme="dark"] .ledger-note,
html[data-theme="dark"] .service-ledger,
html[data-theme="dark"] .step,
html[data-theme="dark"] .firm-card,
html[data-theme="dark"] .contact-panel {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.12) !important;
  color: #FAF7F2 !important;
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

html[data-theme="dark"] .artifact-browser,
html[data-theme="dark"] .case-card-browser,
html[data-theme="dark"] .firm-mini-site,
html[data-theme="dark"] .audit-device,
html[data-theme="dark"] .report-card,
html[data-theme="dark"] .browser-frame,
html[data-theme="dark"] .mini-after,
html[data-theme="dark"] .firm-browser {
  border-color: rgba(216,208,199,0.14) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}

html[data-theme="dark"] .featured-route-panel {
  background: #1F1B18 !important;
  border: 1px solid rgba(216,208,199,0.12);
}

html[data-theme="light"] .featured-route-inner {
  background:
    linear-gradient(120deg, rgba(255,255,255,0.96), rgba(239,230,220,0.82)),
    #FFFFFF !important;
  border-color: rgba(44,38,34,0.18) !important;
  box-shadow: 0 32px 90px rgba(44,38,34,0.1);
}

html[data-theme="light"] .featured-route-panel {
  background: #2C2622 !important;
  border: 1px solid rgba(44,38,34,0.22);
  box-shadow: 0 28px 70px rgba(44,38,34,0.16);
}

html[data-theme="dark"] .firm-mini-site {
  background: #2C2622 !important;
}

html[data-theme="light"] .firm-mini-site {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .firm-mini-hero {
  background:
    linear-gradient(135deg, rgba(196,113,74,0.16), transparent 46%),
    rgba(31,27,24,0.92) !important;
}

html[data-theme="light"] .firm-mini-hero {
  background:
    linear-gradient(135deg, rgba(196,113,74,0.18), transparent 46%),
    #1F1B18 !important;
}

html[data-theme="dark"] .firm-mini-grid {
  background: #2C2622 !important;
}

html[data-theme="light"] .firm-mini-grid {
  background: #2C2622 !important;
}

html[data-theme="dark"] .firm-mini-point {
  background: rgba(255,253,249,0.06) !important;
  border-color: rgba(216,208,199,0.14) !important;
}

html[data-theme="light"] .firm-mini-point {
  background: rgba(255,253,249,0.08) !important;
  border-color: rgba(250,247,242,0.16) !important;
}

html[data-theme="dark"] .firm-mini-point span,
html[data-theme="dark"] .featured-route-disclaimer {
  color: rgba(216,208,199,0.74) !important;
}

html[data-theme="light"] .firm-mini-point span,
html[data-theme="light"] .featured-route-disclaimer {
  color: rgba(250,247,242,0.76) !important;
}

html[data-theme="dark"] .firm-mini-point b {
  color: #FAF7F2 !important;
}

html[data-theme="light"] .firm-mini-point b {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .artifact-top,
html[data-theme="dark"] .case-browser-bar,
html[data-theme="dark"] .firm-mini-top,
html[data-theme="dark"] .browser-bar {
  background: rgba(250,247,242,0.06) !important;
  border-color: rgba(216,208,199,0.12) !important;
}

html[data-theme="light"] .step-card {
  min-height: 220px;
  padding: 2.15rem !important;
  border: 1px solid rgba(44,38,34,0.16) !important;
  border-radius: 1rem !important;
  background: #FFFFFF !important;
  box-shadow: 0 18px 46px rgba(44,38,34,0.06);
}

html[data-theme="light"] .step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(44,38,34,0.1);
}

html[data-theme="dark"] .step-card {
  min-height: 220px;
  padding: 2.15rem !important;
  border: 1px solid rgba(216,208,199,0.14) !important;
  border-radius: 1rem !important;
  background: #362F2A !important;
  box-shadow: none;
}

html[data-theme="dark"] .step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(0,0,0,0.2);
}

html[data-theme="light"] .step-num,
html[data-theme="dark"] .step-num {
  margin-bottom: 1.75rem;
}

html[data-theme="light"] .step-card h3,
html[data-theme="dark"] .step-card h3 {
  margin-bottom: 1rem;
}

html[data-theme="light"] .step-card p,
html[data-theme="dark"] .step-card p {
  max-width: 32ch;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
  border-color: rgba(216,208,199,0.18) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: rgba(216,208,199,0.54) !important;
}

html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .mobile-nav-cta,
html[data-theme="dark"] .button,
html[data-theme="dark"] .firm-button,
html[data-theme="dark"] .post-cta a,
html[data-theme="dark"] .card-link {
  background: #A85C3B !important;
  color: #FFFDF9 !important;
  border-color: #A85C3B !important;
}

html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .text-link {
  color: #FAF7F2 !important;
  border-color: rgba(216,208,199,0.72) !important;
  text-decoration-color: rgba(216,208,199,0.72) !important;
}

html[data-theme="light"] .btn-primary,
html[data-theme="light"] .nav-cta,
html[data-theme="light"] .mobile-nav-cta,
html[data-theme="light"] .button,
html[data-theme="light"] .firm-button,
html[data-theme="light"] .post-cta a,
html[data-theme="light"] .card-link,
html[data-theme="light"] .blog-audit-inner a {
  background: #A85C3B;
  border-color: #A85C3B;
  color: #FFFDF9;
}

html[data-theme="light"] .btn-ghost,
html[data-theme="light"] .text-link {
  color: #2C2622;
  border-color: rgba(44,38,34,0.26);
  text-decoration-color: rgba(196,113,74,0.48);
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  background: #FFFFFF;
  color: #2C2622;
  border-color: rgba(44,38,34,0.22);
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #766B64;
}

html[data-theme="light"] .blog-audit-strip {
  background: #FAF7F2 !important;
}

html[data-theme="light"] .blog-audit-inner {
  padding: clamp(2rem, 5vw, 4rem) !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  background: #EFE6DC !important;
  border: 1px solid rgba(44,38,34,0.18) !important;
  box-shadow: 0 26px 70px rgba(44,38,34,0.08);
}

html[data-theme="light"] .blog-audit-inner h2 {
  color: #2C2622 !important;
}

html[data-theme="light"] .blog-audit-inner p {
  max-width: 58ch;
  color: #62564F !important;
}

html[data-theme="light"] footer,
html[data-theme="light"] .site-footer {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
}

html[data-theme="light"] footer p,
html[data-theme="light"] footer li,
html[data-theme="light"] footer span,
html[data-theme="light"] footer a,
html[data-theme="light"] .site-footer p,
html[data-theme="light"] .site-footer li,
html[data-theme="light"] .site-footer span,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .blog-footer p,
html[data-theme="light"] .blog-footer a {
  color: rgba(250,247,242,0.78) !important;
}

html[data-theme="light"] footer strong,
html[data-theme="light"] footer h2,
html[data-theme="light"] footer h3,
html[data-theme="light"] .footer-logo {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .blog-audit-inner {
  padding: clamp(2rem, 5vw, 4rem) !important;
  background: #362F2A !important;
  border: 1px solid rgba(216,208,199,0.14) !important;
}

html[data-theme="dark"] .blog-audit-inner p {
  color: rgba(216,208,199,0.82) !important;
}

html[data-theme="light"] .post-cta {
  background: #EFE6DC !important;
  border-color: rgba(196,113,74,0.38) !important;
}

html[data-theme="light"] .post-cta p,
html[data-theme="light"] .author-box,
html[data-theme="light"] .author-box p {
  color: #62564F !important;
}

html[data-theme="light"] .post-cta h2,
html[data-theme="light"] .author-box strong {
  color: #2C2622 !important;
}

html[data-theme="light"] .demo-disclosure,
html[data-theme="dark"] .demo-disclosure {
  background: #17483A !important;
  color: #F7F1E8 !important;
}

html[data-theme="light"] .offer-hero h1,
html[data-theme="light"] .offer-hero .hero-copy,
html[data-theme="light"] .offer-hero .hero-copy-block p,
html[data-theme="light"] .offer-hero .eyebrow {
  color: #FFFDF9 !important;
}

html[data-theme="light"] .offer-hero .button.light {
  background: #FFFDF9 !important;
  border-color: #FFFDF9 !important;
  color: #173f35 !important;
}

html[data-theme="light"] .offer-hero .button.secondary.light {
  background: rgba(255,253,249,0.08) !important;
  border-color: rgba(255,253,249,0.74) !important;
  color: #FFFDF9 !important;
}

html[data-theme="light"] .oak-page {
  background: #f4efe6 !important;
}

html[data-theme="light"] .finance-board,
html[data-theme="light"] .demo-sheet,
html[data-theme="light"] .audit-ledger {
  background: #fffdf6 !important;
  border-color: rgba(24,33,30,0.2) !important;
  box-shadow: 24px 24px 0 rgba(23,63,53,0.1);
}

html[data-theme="light"] .sheet-columns > div:first-child,
html[data-theme="light"] .board-kpis div,
html[data-theme="light"] .proof-grid article,
html[data-theme="light"] .service-ledger article,
html[data-theme="light"] .process-ledger li,
html[data-theme="light"] .firm-trust-bar span {
  background: #fffdf6 !important;
}

html[data-theme="light"] .sheet-columns strong,
html[data-theme="light"] .finance-board strong,
html[data-theme="light"] .firm-hero h1,
html[data-theme="light"] .firm-section-head h2 {
  color: #173f35 !important;
}

html[data-theme="light"] .sheet-stack span,
html[data-theme="light"] .sheet-footer span,
html[data-theme="light"] .board-kpis span,
html[data-theme="light"] .board-table span {
  color: #4f615b !important;
}

html[data-theme="dark"] .oak-page {
  background: #1F1B18 !important;
}

html[data-theme="dark"] .finance-board,
html[data-theme="dark"] .demo-sheet {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.16) !important;
}

html[data-theme="dark"] .board-kpis div,
html[data-theme="dark"] .proof-grid article,
html[data-theme="dark"] .service-ledger article,
html[data-theme="dark"] .process-ledger li,
html[data-theme="dark"] .firm-trust-bar span {
  background: #362F2A !important;
}

html[data-theme="dark"] .firm-cta {
  background: #17483A !important;
}

html[data-theme="dark"] .firm-cta p,
html[data-theme="dark"] .demo-disclosure,
html[data-theme="dark"] .service-ledger p,
html[data-theme="dark"] .proof-grid p,
html[data-theme="dark"] .process-ledger p,
html[data-theme="dark"] .firm-hero p {
  color: rgba(250,247,242,0.82) !important;
}

html[data-theme="dark"] .firm-button.ghost {
  color: #FAF7F2 !important;
  border-color: rgba(216,208,199,0.28) !important;
}

html[data-theme="dark"] img {
  filter: brightness(0.92) contrast(1.04);
}

html[data-theme="dark"] .post-card-media img,
html[data-theme="dark"] .hero-image img {
  opacity: 0.92;
}

html[data-theme="dark"] .crisp-client,
html[data-theme="dark"] iframe[src*="crisp"] {
  color-scheme: light;
}

html[data-theme] body {
  padding-bottom: env(safe-area-inset-bottom);
}

html[data-theme] footer,
html[data-theme] .site-footer,
html[data-theme] .blog-footer,
html[data-theme] .firm-footer {
  padding-right: min(8rem, 12vw);
}

html[data-theme] .crisp-client {
  z-index: 50 !important;
}

/* Emergency visual regression patch: keep intentional dark/tinted surfaces readable. */
html[data-theme] nav,
html[data-theme] .site-nav,
html[data-theme] .nav-actions,
html[data-theme] .nav-links,
html[data-theme] .firm-nav,
html[data-theme] .firm-links {
  align-items: center !important;
}

html[data-theme] .nav-links li {
  display: flex;
  align-items: center;
}

html[data-theme] .nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .mobile-nav-cta {
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .nav-links a.nav-cta,
html[data-theme] .nav-links a.mobile-nav-cta,
html[data-theme] .firm-links a.nav-cta,
html[data-theme] .firm-links a.mobile-nav-cta,
html[data-theme] .nav-links a.button,
html[data-theme] .firm-links a.button,
html[data-theme] .firm-links a.firm-button {
  color: #FFFDF9 !important;
}

html[data-theme] .site-nav,
html[data-theme] nav {
  min-height: 84px;
}

html[data-theme] .nav-logo,
html[data-theme] .logo,
html[data-theme] .brand,
html[data-theme] .firm-brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

html[data-theme] .theme-toggle,
html[data-theme] .nav-cta,
html[data-theme] .button,
html[data-theme] .firm-button,
html[data-theme] .btn-primary,
html[data-theme] .btn-service,
html[data-theme] .card-link {
  color: #FFFDF9 !important;
}

html[data-theme] .theme-toggle {
  color: var(--theme-text, #FAF7F2) !important;
}

html[data-theme="light"] .theme-toggle {
  color: #2C2622 !important;
}

html[data-theme] .theme-toggle:hover {
  color: #C4714A !important;
}

html[data-theme] .nav-cta:hover,
html[data-theme] .mobile-nav-cta:hover,
html[data-theme] .button:hover,
html[data-theme] .firm-button:hover,
html[data-theme] .btn-primary:hover,
html[data-theme] .btn-service:hover,
html[data-theme] .card-link:hover,
html[data-theme] .post-cta a:hover,
html[data-theme] .blog-audit-inner a:hover {
  background: #8F4D32 !important;
  border-color: #8F4D32 !important;
  color: #FFFDF9 !important;
}

html[data-theme] .belief-section,
html[data-theme] .work-section,
html[data-theme] .audit-section,
html[data-theme] .trust-section {
  background: #1F1B18 !important;
  color: #FAF7F2 !important;
}

html[data-theme] .belief-section h2,
html[data-theme] .belief-section p,
html[data-theme] .belief-copy,
html[data-theme] .work-section h2,
html[data-theme] .work-section h3,
html[data-theme] .work-section p,
html[data-theme] .work-section strong,
html[data-theme] .work-section span,
html[data-theme] .audit-section h2,
html[data-theme] .audit-section h3,
html[data-theme] .audit-section p,
html[data-theme] .audit-section strong,
html[data-theme] .audit-section span,
html[data-theme] .trust-section h2,
html[data-theme] .trust-section h3,
html[data-theme] .trust-section p,
html[data-theme] .trust-section strong,
html[data-theme] .trust-section span {
  color: #FAF7F2 !important;
}

html[data-theme] .belief-small,
html[data-theme] .work-section .section-label,
html[data-theme] .audit-section .section-label,
html[data-theme] .trust-section .section-label,
html[data-theme] .featured-badge {
  color: #E8956D !important;
}

html[data-theme] .work-section .section-sub,
html[data-theme] .audit-section .section-sub,
html[data-theme] .trust-section .section-sub,
html[data-theme] .booking-detail span,
html[data-theme] .timeline-step span,
html[data-theme] .case-card-body p,
html[data-theme] .case-card-points span,
html[data-theme] .work-intro-card span {
  color: rgba(250,247,242,0.76) !important;
}

html[data-theme] .audit-panel {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme] .booking-detail,
html[data-theme] .timeline-step {
  background: rgba(255,253,249,0.06) !important;
  border-color: rgba(250,247,242,0.14) !important;
}

html[data-theme="light"] .sample-audit-card,
html[data-theme="light"] .finding-row,
html[data-theme="light"] .sample-audit-score,
html[data-theme="light"] .audit-card {
  background: #FFFDF9 !important;
  border-color: rgba(44,38,34,0.16) !important;
  color: #2C2622 !important;
}

html[data-theme="light"] .sample-audit-card h3,
html[data-theme="light"] .sample-audit-card p,
html[data-theme="light"] .sample-audit-card strong,
html[data-theme="light"] .sample-audit-card span,
html[data-theme="light"] .finding-row p,
html[data-theme="light"] .finding-row strong,
html[data-theme="light"] .audit-card > h3,
html[data-theme="light"] .audit-card .audit-list,
html[data-theme="light"] .audit-card .audit-list li,
html[data-theme="light"] .audit-card > p,
html[data-theme="light"] .audit-card-note span {
  color: #2C2622 !important;
}

html[data-theme="light"] .finding-row > span,
html[data-theme="light"] .sample-audit-url,
html[data-theme="light"] .audit-card-note strong {
  color: #A75535 !important;
}

html[data-theme="light"] .service-card {
  background: #FFFDF9 !important;
  border-color: rgba(44,38,34,0.16) !important;
  color: #2C2622 !important;
}

html[data-theme="light"] .service-card h3,
html[data-theme="light"] .service-card .price,
html[data-theme="light"] .service-card .price-label,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .service-card .service-fit strong,
html[data-theme="light"] .service-card .service-fit span,
html[data-theme="light"] .service-card .service-feature {
  color: #2C2622 !important;
}

html[data-theme="light"] .service-card .service-fit {
  background: #FAF7F2 !important;
  border-color: rgba(44,38,34,0.16) !important;
}

html[data-theme="light"] .service-card.featured {
  background: #2C2622 !important;
  border-color: rgba(44,38,34,0.22) !important;
  color: #FAF7F2 !important;
}

html[data-theme="light"] .service-card.featured h3,
html[data-theme="light"] .service-card.featured .price,
html[data-theme="light"] .service-card.featured .price-label,
html[data-theme="light"] .service-card.featured p,
html[data-theme="light"] .service-card.featured .service-fit strong,
html[data-theme="light"] .service-card.featured .service-fit span,
html[data-theme="light"] .service-card.featured .service-feature {
  color: #FAF7F2 !important;
}

html[data-theme="light"] .service-card.featured .service-fit {
  background: rgba(255,253,249,0.08) !important;
  border-color: rgba(250,247,242,0.16) !important;
}

html[data-theme="dark"] .sample-audit-card,
html[data-theme="dark"] .finding-row,
html[data-theme="dark"] .sample-audit-score,
html[data-theme="dark"] .audit-card,
html[data-theme="dark"] .service-card {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.18) !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .finding-row,
html[data-theme="dark"] .service-card .service-fit {
  background: rgba(255,253,249,0.07) !important;
  border-color: rgba(250,247,242,0.16) !important;
}

html[data-theme="dark"] .sample-audit-card h3,
html[data-theme="dark"] .sample-audit-card p,
html[data-theme="dark"] .sample-audit-card strong,
html[data-theme="dark"] .finding-row p,
html[data-theme="dark"] .finding-row strong,
html[data-theme="dark"] .audit-card > h3,
html[data-theme="dark"] .audit-card .audit-list,
html[data-theme="dark"] .audit-card .audit-list li,
html[data-theme="dark"] .audit-card > p,
html[data-theme="dark"] .audit-card-note span,
html[data-theme="dark"] .service-card h3,
html[data-theme="dark"] .service-card .price,
html[data-theme="dark"] .service-card .price-label,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .service-card .service-fit strong,
html[data-theme="dark"] .service-card .service-fit span,
html[data-theme="dark"] .service-card .service-feature {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .sample-audit-card span,
html[data-theme="dark"] .sample-audit-url {
  color: rgba(216,208,199,0.72) !important;
}

html[data-theme="dark"] .finding-row > span,
html[data-theme="dark"] .audit-card-note strong {
  color: #E8956D !important;
}

html[data-theme="light"] .cta-panel {
  background: #2C2622 !important;
  border-color: rgba(44,38,34,0.22) !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .cta-panel {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.16) !important;
  color: #FAF7F2 !important;
}

html[data-theme] .cta-panel h2,
html[data-theme] .cta-panel p {
  color: #FAF7F2 !important;
}

html[data-theme] .cta-panel p {
  opacity: 0.82;
}

html[data-theme] .cta-panel .button {
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .price-card {
  background: #173F35 !important;
  color: #FFFDF9 !important;
}

html[data-theme] .price-card h2,
html[data-theme] .price-card h3,
html[data-theme] .price-card strong,
html[data-theme] .price-card span {
  color: #FFFDF9 !important;
}

html[data-theme] .price-card p,
html[data-theme] .price-card li,
html[data-theme] .price-card s {
  color: rgba(255,253,246,0.82) !important;
}

html[data-theme] .price-card .price-row span {
  color: #FFFDF9 !important;
}

html[data-theme] .offer-page .cta-band {
  background: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .offer-page .cta-band h2,
html[data-theme] .offer-page .cta-band p,
html[data-theme] .offer-page .cta-band .eyebrow {
  color: #FFFDF9 !important;
}

html[data-theme] .offer-page .cta-band p {
  opacity: 0.88;
}

html[data-theme] .offer-page .cta-band .button.light {
  background: #FFFDF9 !important;
  border-color: #FFFDF9 !important;
  color: #2C2622 !important;
}

html[data-theme] .offer-page .cta-band .button.light:hover {
  background: #FAF7F2 !important;
  border-color: #FAF7F2 !important;
  color: #2C2622 !important;
}

html[data-theme] .service-card.featured .featured-badge {
  background: transparent !important;
  color: #E8956D !important;
  border-bottom: 1px solid #E8956D;
  border-radius: 0;
}

html[data-theme] .btn-service {
  background: #A85C3B !important;
  border-color: #A85C3B !important;
}

html[data-theme] .demo-sheet {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.18) !important;
  color: #FAF7F2 !important;
  box-shadow: 0 28px 80px rgba(0,0,0,0.24) !important;
}

html[data-theme] .demo-sheet small,
html[data-theme] .demo-sheet b,
html[data-theme] .demo-sheet strong {
  color: #FAF7F2 !important;
}

html[data-theme] .demo-sheet .sheet-stack span,
html[data-theme] .demo-sheet .sheet-footer span {
  background: #FFFDF9 !important;
  border-left-color: #7E927D !important;
  color: #2C2622 !important;
}

html[data-theme] .offer-page .demo-copy-panel h2,
html[data-theme] .offer-page .demo-copy-panel p,
html[data-theme] .offer-page .section-head h1,
html[data-theme] .offer-page .section-head h2,
html[data-theme] .offer-page .section-head p,
html[data-theme] .offer-page .offer-layout h2,
html[data-theme] .offer-page .offer-layout p {
  color: inherit;
}

html[data-theme="light"] .offer-page .demo-copy-panel h2,
html[data-theme="light"] .offer-page .section-head h1,
html[data-theme="light"] .offer-page .section-head h2,
html[data-theme="light"] .offer-page .offer-layout h2 {
  color: #14221F !important;
}

html[data-theme="light"] .offer-page .demo-copy-panel p,
html[data-theme="light"] .offer-page .section-head p,
html[data-theme="light"] .offer-page .offer-layout p {
  color: #4F615B !important;
}

html[data-theme="dark"] .offer-page .demo-copy-panel h2,
html[data-theme="dark"] .offer-page .section-head h1,
html[data-theme="dark"] .offer-page .section-head h2,
html[data-theme="dark"] .offer-page .offer-layout h2 {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .offer-page .demo-copy-panel p,
html[data-theme="dark"] .offer-page .section-head p,
html[data-theme="dark"] .offer-page .offer-layout p {
  color: rgba(216,208,199,0.78) !important;
}

html[data-theme] .offer-hero .button.light,
html[data-theme] .offer-hero .button.secondary.light {
  min-width: 188px;
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .offer-hero .button.light:hover,
html[data-theme] .offer-hero .button.secondary.light:hover {
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .oak-page .demo-disclosure {
  background: #1F1B18 !important;
  border-bottom: 1px solid rgba(216,208,199,0.12);
  color: #D8D0C7 !important;
}

html[data-theme] .oak-page .firm-header {
  background: #1F1B18 !important;
  border-bottom: 1px solid rgba(216,208,199,0.14) !important;
}

html[data-theme] .oak-page .firm-nav,
html[data-theme] .oak-page .firm-links,
html[data-theme] .oak-page .firm-links a,
html[data-theme] .oak-page .firm-brand {
  color: #FAF7F2 !important;
}

html[data-theme] .oak-page .firm-mark {
  border-color: rgba(216,208,199,0.24) !important;
  color: #FAF7F2 !important;
}

html[data-theme] .oak-page .finance-board,
html[data-theme] .oak-page .board-kpis div {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
}

html[data-theme] .oak-page .finance-board span,
html[data-theme] .oak-page .board-kpis span,
html[data-theme] .oak-page .board-table span {
  color: rgba(216,208,199,0.7) !important;
}

html[data-theme] .oak-page .finance-board strong,
html[data-theme] .oak-page .finance-board b,
html[data-theme] .oak-page .board-kpis strong {
  color: #FAF7F2 !important;
}

html[data-theme] .demo-sheet .sheet-columns > div:first-child {
  background: transparent !important;
  color: #FAF7F2 !important;
}

html[data-theme] .trust-section .trust-item {
  background: rgba(255,253,249,0.06) !important;
  border-color: rgba(250,247,242,0.16) !important;
  color: #FAF7F2 !important;
}

html[data-theme] .trust-section .trust-item h3 {
  color: #FAF7F2 !important;
}

html[data-theme] .trust-section .trust-item p {
  color: rgba(250,247,242,0.72) !important;
}

html[data-theme] .work-section .work-intro-card {
  background: rgba(255,253,249,0.06) !important;
  border-color: rgba(250,247,242,0.16) !important;
  color: #FAF7F2 !important;
}

html[data-theme] .work-section .work-intro-card strong {
  color: #FAF7F2 !important;
}

html[data-theme] .work-section .work-intro-card span {
  color: rgba(250,247,242,0.74) !important;
}

html[data-theme] .firm-mini-hero,
html[data-theme] .firm-mini-hero small,
html[data-theme] .firm-mini-hero strong {
  color: #FAF7F2 !important;
}

html[data-theme] .firm-mini-hero small {
  color: rgba(250,247,242,0.68) !important;
}

html[data-theme="light"] .oak-page .demo-disclosure,
html[data-theme="light"] .oak-page .firm-header,
html[data-theme="light"] .oak-page .firm-nav {
  background: #F4EFE6 !important;
  color: #14221F !important;
}

html[data-theme="light"] .oak-page .demo-disclosure,
html[data-theme="light"] .oak-page .firm-header {
  border-bottom: 1px solid rgba(20,34,31,0.14) !important;
}

html[data-theme="light"] .oak-page .demo-disclosure,
html[data-theme="light"] .oak-page .firm-nav,
html[data-theme="light"] .oak-page .firm-links,
html[data-theme="light"] .oak-page .firm-links a,
html[data-theme="light"] .oak-page .firm-brand {
  color: #14221F !important;
}

html[data-theme="light"] .oak-page .firm-mark {
  border-color: #173F35 !important;
  color: #173F35 !important;
}

html[data-theme="light"] .oak-page .firm-button {
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme="light"] .oak-page .finance-board,
html[data-theme="light"] .oak-page .board-kpis div {
  background: #FFFDF6 !important;
  color: #14221F !important;
}

html[data-theme="light"] .oak-page .finance-board span,
html[data-theme="light"] .oak-page .board-kpis span,
html[data-theme="light"] .oak-page .board-table span {
  color: #4F615B !important;
}

html[data-theme="light"] .oak-page .finance-board strong,
html[data-theme="light"] .oak-page .finance-board b,
html[data-theme="light"] .oak-page .board-kpis strong {
  color: #173F35 !important;
}

html[data-theme="dark"] .oak-page .demo-disclosure,
html[data-theme="dark"] .oak-page .firm-header,
html[data-theme="dark"] .oak-page .firm-nav {
  background: #1F1B18 !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .oak-page .demo-disclosure,
html[data-theme="dark"] .oak-page .firm-header {
  border-bottom: 1px solid rgba(216,208,199,0.14) !important;
}

html[data-theme="dark"] .oak-page .firm-links,
html[data-theme="dark"] .oak-page .firm-links a,
html[data-theme="dark"] .oak-page .firm-brand {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .oak-page .firm-mark {
  border-color: rgba(216,208,199,0.24) !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .oak-page .finance-board,
html[data-theme="dark"] .oak-page .board-kpis div {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
}

html[data-theme="light"] .oak-page .firm-hero h1,
html[data-theme="light"] .oak-page .firm-hero p,
html[data-theme="light"] .oak-page .firm-section-head h2,
html[data-theme="light"] .oak-page .proof-quote blockquote {
  color: #14221F !important;
}

html[data-theme="light"] .oak-page .firm-hero p,
html[data-theme="light"] .oak-page .service-ledger p,
html[data-theme="light"] .oak-page .proof-grid p,
html[data-theme="light"] .oak-page .process-ledger p {
  color: #4F615B !important;
}

html[data-theme="dark"] .oak-page {
  --oak-ink: #FAF7F2;
  --oak-muted: rgba(216,208,199,0.76);
  --oak-paper: #1F1B18;
  --oak-cream: #2C2622;
  --oak-green: #244F43;
  --oak-green-2: #2F6556;
  --oak-line: rgba(216,208,199,0.14);
  background: #1F1B18 !important;
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .oak-page main,
html[data-theme="dark"] .oak-page .firm-hero,
html[data-theme="dark"] .oak-page .firm-section {
  background: #1F1B18 !important;
}

html[data-theme="dark"] .oak-page .firm-hero h1,
html[data-theme="dark"] .oak-page .firm-section-head h2,
html[data-theme="dark"] .oak-page .proof-quote blockquote,
html[data-theme="dark"] .oak-page .service-ledger h3,
html[data-theme="dark"] .oak-page .proof-grid strong {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .oak-page .firm-hero p,
html[data-theme="dark"] .oak-page .service-ledger p,
html[data-theme="dark"] .oak-page .proof-grid p,
html[data-theme="dark"] .oak-page .process-ledger p {
  color: rgba(216,208,199,0.78) !important;
}

html[data-theme="dark"] .oak-page .firm-eyebrow,
html[data-theme="dark"] .oak-page .service-ledger span,
html[data-theme="dark"] .oak-page .process-ledger span {
  color: #D0A456 !important;
}

html[data-theme="dark"] .oak-page .finance-board {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.16) !important;
  box-shadow: 24px 24px 0 rgba(0,0,0,0.22) !important;
}

html[data-theme="dark"] .oak-page .board-kpis div,
html[data-theme="dark"] .oak-page .firm-trust-bar span,
html[data-theme="dark"] .oak-page .service-ledger article,
html[data-theme="dark"] .oak-page .proof-grid article,
html[data-theme="dark"] .oak-page .process-ledger li {
  background: #2C2622 !important;
  border-color: rgba(216,208,199,0.14) !important;
}

html[data-theme="dark"] .oak-page .finance-board strong,
html[data-theme="dark"] .oak-page .finance-board b,
html[data-theme="dark"] .oak-page .board-kpis strong,
html[data-theme="dark"] .oak-page .firm-trust-bar span {
  color: #FAF7F2 !important;
}

html[data-theme="dark"] .oak-page .firm-cta {
  background: #244F43 !important;
  color: #FAF7F2 !important;
}

/* Site sweep: lock special campaign/demo surfaces after broad theme rules. */
html[data-theme] .offer-page .offer-hero {
  background:
    linear-gradient(115deg, rgba(17, 63, 58, 0.96), rgba(17, 63, 58, 0.78) 43%, rgba(185, 100, 68, 0.1)),
    url("/assets/templates/accountants-hero.jpg") center / cover !important;
  color: #FFFDF9 !important;
}

html[data-theme] .offer-page .offer-hero::after {
  background: linear-gradient(0deg, var(--theme-bg, #FAF7F2), rgba(244, 239, 230, 0)) !important;
}

html[data-theme] .offer-page .offer-hero h1,
html[data-theme] .offer-page .offer-hero .eyebrow,
html[data-theme] .offer-page .offer-hero .hero-copy,
html[data-theme] .offer-page .offer-hero .hero-copy-block p {
  color: #FFFDF9 !important;
}

html[data-theme] .offer-page .audit-ledger {
  border-color: rgba(255,253,246,0.32) !important;
  color: #FAF7F2 !important;
}

html[data-theme="light"] .offer-page .audit-ledger {
  background: rgba(255,250,241,0.96) !important;
  color: #14221F !important;
}

html[data-theme="dark"] .offer-page .audit-ledger {
  background: #2C2622 !important;
  color: #FAF7F2 !important;
}

html[data-theme="light"] .offer-page .ledger-grid {
  background: rgba(20,34,31,0.16) !important;
  border-color: rgba(20,34,31,0.16) !important;
}

html[data-theme="light"] .offer-page .ledger-grid div {
  background: #FFFDF6 !important;
}

html[data-theme="light"] .offer-page .ledger-grid span,
html[data-theme="light"] .offer-page .ledger-note span {
  color: #4F615B !important;
}

html[data-theme="light"] .offer-page .ledger-grid b {
  color: #173F35 !important;
}

html[data-theme="dark"] .offer-page .ledger-grid {
  background: rgba(216,208,199,0.16) !important;
  border-color: rgba(216,208,199,0.16) !important;
}

html[data-theme="dark"] .offer-page .ledger-grid div {
  background: #362F2A !important;
}

html[data-theme="dark"] .offer-page .ledger-grid span,
html[data-theme="dark"] .offer-page .ledger-note span {
  color: rgba(216,208,199,0.76) !important;
}

html[data-theme="dark"] .offer-page .ledger-grid b {
  color: #FAF7F2 !important;
}

html[data-theme] .offer-page .diagnosis-list article {
  color: var(--theme-text, #2C2622) !important;
}

html[data-theme] .offer-page .diagnosis-list strong {
  color: var(--theme-text, #2C2622) !important;
}

html[data-theme] .offer-page .diagnosis-list p {
  color: var(--theme-muted, #62564F) !important;
}

html[data-theme] .offer-page .diagnosis-list a,
html[data-theme] .legal-page a,
html[data-theme] .blog-page a:not(.nav-cta):not(.button),
html[data-theme] .blog-index a:not(.nav-cta):not(.button),
html[data-theme] main a:not(.nav-cta):not(.mobile-nav-cta):not(.button):not(.firm-button):not(.btn):not(.btn-primary):not(.btn-secondary):not(.card-link):not(.post-card) {
  color: #A85C3B !important;
}

html[data-theme="dark"] .offer-page .diagnosis-list a,
html[data-theme="dark"] .legal-page a,
html[data-theme="dark"] .blog-page a:not(.nav-cta):not(.button),
html[data-theme="dark"] .blog-index a:not(.nav-cta):not(.button),
html[data-theme="dark"] main a:not(.nav-cta):not(.mobile-nav-cta):not(.button):not(.firm-button):not(.btn):not(.btn-primary):not(.btn-secondary):not(.card-link):not(.post-card) {
  color: #E8956D !important;
}

html[data-theme] .btn,
html[data-theme] a.btn,
html[data-theme] .floating-note {
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .btn:hover,
html[data-theme] a.btn:hover {
  background: #8F4D32 !important;
  border-color: #8F4D32 !important;
  color: #FFFDF9 !important;
}

html[data-theme] .floating-note strong,
html[data-theme] .floating-note span {
  color: #FFFDF9 !important;
}

html[data-theme] .oak-page .firm-nav .firm-button,
html[data-theme] .oak-page .firm-actions .firm-button:not(.ghost) {
  background: #A85C3B !important;
  border-color: #A85C3B !important;
  color: #FFFDF9 !important;
}

html[data-theme] .oak-page .firm-nav .firm-button:hover,
html[data-theme] .oak-page .firm-actions .firm-button:not(.ghost):hover {
  background: #8F4D32 !important;
  border-color: #8F4D32 !important;
  color: #FFFDF9 !important;
}

html[data-theme] .oak-page .firm-button.ghost {
  background: transparent !important;
}

html[data-theme="light"] .oak-page .firm-button.ghost {
  color: #173F35 !important;
  border-color: rgba(23,63,53,0.28) !important;
}

html[data-theme="dark"] .oak-page .firm-button.ghost {
  color: #FAF7F2 !important;
  border-color: rgba(216,208,199,0.28) !important;
}

html[data-theme="light"] .oak-page .board-kpis {
  background: rgba(24,33,30,0.14) !important;
  border-color: rgba(24,33,30,0.14) !important;
}

html[data-theme="dark"] .oak-page .board-kpis {
  background: rgba(216,208,199,0.16) !important;
  border-color: rgba(216,208,199,0.16) !important;
}

html[data-theme="dark"] .oak-page .board-kpis div {
  background: #362F2A !important;
}

html[data-theme="dark"] .oak-page .board-kpis span {
  color: rgba(216,208,199,0.76) !important;
}

html[data-theme="dark"] .oak-page .board-kpis strong {
  color: #FAF7F2 !important;
}

html[data-theme] .oak-page .firm-cta {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(3rem, 7vw, 5.25rem) max(4rem, calc((100vw - 1180px) / 2)) !important;
  border-left: 0 !important;
  border-right: 0 !important;
}

html[data-theme] .oak-page .firm-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 2rem max(4rem, calc((100vw - 1180px) / 2)) calc(4rem + env(safe-area-inset-bottom)) !important;
  background: #2C2622 !important;
  color: #FAF7F2 !important;
  border-top: 1px solid rgba(216,208,199,0.12);
}

@media (prefers-reduced-motion: reduce) {
  body,
  nav,
  .site-nav,
  .site-header,
  section,
  main,
  footer,
  .theme-transition-surface,
  .step-card,
  .case-card,
  .post-card,
  .blog-audit-inner,
  .browser-frame,
  .artifact-browser,
  .firm-mini-site,
  .audit-card,
  .audit-device,
  .sample-audit-card,
  .audit-ledger,
  .demo-sheet,
  .finance-board,
  .theme-toggle {
    transition: none !important;
    animation: none !important;
  }

  html.motion-ready .hws-reveal,
  html.motion-ready .fade-up {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 900px) {
  .theme-toggle {
    width: 2.65rem;
    height: 2.65rem;
  }

  .theme-toggle-mobile {
    display: inline-flex;
  }

  .theme-toggle-item {
    display: none;
  }

  html[data-theme] .mobile-nav-cta {
    display: inline-flex !important;
  }

  nav > .theme-toggle:not(.theme-toggle-mobile),
  .site-nav > .theme-toggle:not(.theme-toggle-mobile) {
    display: inline-flex;
  }

  html[data-theme] footer,
  html[data-theme] .site-footer,
  html[data-theme] .blog-footer,
  html[data-theme] .firm-footer {
    padding-right: 4.25rem;
    padding-bottom: 5.75rem;
  }

  html[data-theme="light"] .blog-audit-inner,
  html[data-theme="dark"] .blog-audit-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  html[data-theme] .mobile-nav-cta {
    display: none !important;
  }
}
