/* Green and warm paper palette shared by the redesign. */
body.theme-m3 {--paper:#f6f4ec;--surface:#fffef9;--soft:#e4eae1;--ink:#183a30;--muted:#50645a;--accent:#315e4e;--accent-contrast:#fff;--line:#c8d3c7;--deep:#183a30;--deep-text:#f6f4ec;}
.theme-m3 .demo-banner {background:#315e4e;color:#f6f4ec}
.theme-m3 .site-header {background:rgba(246,244,236,.97);border-color:#c8d3c7}
.theme-m3 .brand b {font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:600;font-size:15px;letter-spacing:.05em}
.theme-m3 .brand small {display:none}
.theme-m3 .header-contact,.theme-m3 .button.primary {background:#315e4e;color:#fff}
.theme-m3 .button.primary:hover {background:#183a30}
.theme-m3 .eyebrow {color:#315e4e;letter-spacing:.1em}
.theme-m3 .page-hero,.theme-m3 .pricing-hero,.theme-m3 .contact-hero {background:#e4eae1;color:#183a30}
.theme-m3 .section-heading h2,.theme-m3 .page-hero h1,.theme-m3 .pricing-hero h1,.theme-m3 .contact-hero h1 {font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-weight:600;letter-spacing:.02em}
.theme-m3 .cta-band,.theme-m3 .site-footer {background:#183a30;color:#f6f4ec}
.theme-m3 .cta-band .eyebrow {color:#d6c394}
.theme-m3 .site-footer .footer-bottom {border-color:#6d8c79}
.theme-m3 .tone-section,.theme-m3 .work-section {background:#e4eae1}
.theme-m3 .home-hero:before {display:none}
.theme-m3 :focus-visible {outline-color:#927b4e}
.theme-m3 .header-inner {min-height:76px}
@media(max-width:600px){.theme-m3 .brand b{font-size:12px}.theme-m3 .header-inner{min-height:62px}}

/* Unified palette for the 3D site's information pages. */
.theme-m3 .home-hero,.theme-m3 .issues-section,.theme-m3 .approach-section,.theme-m3 .home-faq {background:#f6f4ec}
.theme-m3 .flow-preview,.theme-m3 .photo-section {background:#fffef9}
.theme-m3 .trust-preview,.theme-m3 .case-section {background:#e4eae1}
.theme-m3 .fees-preview {background:#315e4e}
.theme-m3 .fees-preview .eyebrow,.theme-m3 .fees-preview-visual>span:nth-of-type(odd) {color:#e5d4ae}
.theme-m3 .fees-preview .button.primary {background:#f6f4ec;color:#183a30}
.theme-m3 .fees-preview .button.primary:hover {background:#e4eae1}
.theme-m3 .fees-preview-visual,.theme-m3 .fees-preview-visual i {border-color:#a5b9a9}
.theme-m3 .trust-portrait,.theme-m3 .profile-placeholder {background:#e4eae1;border-color:#c8d3c7}
.theme-m3 .issue-grid>a,.theme-m3 .work-card,.theme-m3 .scenario-grid article,.theme-m3 .estimator-v4 {background:#fffef9;border-color:#c8d3c7}
.theme-m3 .comparison-grid article {border-top-color:#c3aa78}
.theme-m3 .est-money {border-left-color:#c3aa78}
.theme-m3 .est-boundary-note {background:#e4eae1;color:#315e4e}
.theme-m3 .home-hero-photo img {box-shadow:16px 16px 0 #d5e0d3}
.theme-m3 .mobile-menu a {color:#183a30}
@media(max-width:650px) {
  .theme-m3 .brand b {font-size:13px;line-height:1.4}
  .theme-m3 .mobile-menu {grid-template-columns:1fr 1fr;gap:0 18px;padding:10px 21px 18px;overscroll-behavior:contain}
  .theme-m3 .mobile-menu a {font-size:14px;line-height:1.5;min-height:48px;padding:12px 0}
  .theme-m3 .mobile-menu a span {width:28px}
  .theme-m3 .est-service-name,.theme-m3 .est-option span {font-size:13px;line-height:1.45}
  .theme-m3 .work-card p,.theme-m3 .page-hero .lead {font-size:14px;line-height:1.8}
  .theme-m3 .section {padding-block:64px}
}
