/* A cool accent for actions and hierarchy; paper, lamplight and prices stay warm. */
:root {
  --accent-primary: #365e5a;
  --accent-hover: #284944;
  --accent-soft: #e6eeea;
  --accent-on-primary: #fffdf9;
}

body .button-dark,
body .header-contact,
body .header-contact[aria-current="page"] {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--accent-on-primary);
}
body .button-dark:not(:disabled):not([aria-disabled="true"]):hover,
body .header-contact:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-on-primary);
}
body .text-link,
.tomori-theme .mini-sample-link {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}
body .text-link:hover,
.tomori-theme .mini-sample-link:hover { color: var(--accent-hover); }
body .desktop-nav a:hover,
body .mobile-menu a:hover,
body .footer-links a:hover,
body .desktop-nav [aria-current="page"],
body .mobile-menu [aria-current="page"] { color: var(--accent-primary); }

body .section-index,
.tomori-theme .included-number,
.tomori-theme .flow-step,
.tomori-theme .hero-inquiry-label,
.tomori-theme .price-topline,
.tomori-theme .plan-panel-label { color: var(--accent-primary); }
body .section-index > span { color: var(--muted); }
.tomori-theme .included-item h3,
.tomori-theme .flow-list h3,
.tomori-theme .plan-service h3,
.tomori-theme .about-story h2,
.tomori-theme .contact-layout h2,
.tomori-theme .about-facts dt { color: var(--accent-primary); }

/* Selected summaries only: the remaining light frames keep their ivory fill. */
.tomori-theme .price-facts,
.tomori-theme .plan-updates,
.tomori-theme .plan-contract-summary { background: var(--accent-soft); }
.tomori-theme .price-facts,
.tomori-theme .plan-contract-summary { color: var(--accent-primary); }
.tomori-theme .plan-contract-check {
  background: var(--accent-primary);
  color: var(--accent-on-primary);
}

/* Keep all existing focus geometry and error cues. */
body :is(a, button, summary, input, select, textarea):focus-visible,
body .form-control :is(input, select, textarea):focus,
body .contact-complete:focus,
.tomori-theme .mini-sample-rotator:focus-visible { outline-color: var(--accent-primary); }
body .form-control :is(input, select, textarea):focus,
.hero-form-grid .form-control :is(input, select, textarea):focus { border-color: var(--accent-primary); }
.tomori-theme .hero-form-consent input,
.tomori-theme .contact-consent input { accent-color: var(--accent-primary); }
body .form-control :is(input, select, textarea)[aria-invalid="true"],
.hero-form-grid .form-control :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #9c3e2b;
  background: #fff9f4;
}
