/**
 * Contrast lock — Appily-Ninetyfour
 * Late-loaded readability overrides. Preserves palette; darkens weak text,
 * raises placeholders, and splits gold accent (fill) from accent text.
 */

:root {
  --color-text-muted: #3F454C;
  --color-accent-text: #6B5228;
  --color-accent-on-dark: #E8D4A8;
}

/* Gold used as text on cream → readable brown */
.a94-stars,
.a94-comb-kicker,
.a94-comb-crumb a,
.a94-topo-kicker,
.a94-split-kicker,
.a94-stub-kicker,
.page-company .kicker,
.page-catalog .kicker {
  color: var(--color-accent-text, #6B5228) !important;
}

/* Gold used as text on teal/dark heroes → light gold */
.a94-topo-viz .a94-topo-brand,
.a94-radial-core-mark,
.a94-stub-admit strong,
.page-account .a94-split-kicker,
.page-order-status .a94-topo-brand {
  color: var(--color-accent-on-dark, #E8D4A8) !important;
}

/* Placeholders sitewide floor */
input::placeholder,
textarea::placeholder {
  color: #5A625C !important;
  opacity: 1 !important;
}

/* Dark docks / sheets — keep placeholder light */
.sf-dock-search input::placeholder,
.a94-top-search input::placeholder,
.a94-top-sheet input::placeholder {
  color: #B8C0BC !important;
}

/* Muted secondary copy floor on cream pages */
.muted,
.helper,
.form-hint,
.notice,
.eyebrow,
.kicker:not([class*="a94-"]),
.hero-lede,
.lead {
  color: var(--color-text-muted, #3F454C);
}

/* Disabled buttons: still readable, not ghosted away */
button:disabled,
.btn:disabled,
[aria-disabled="true"],
.st-btn.is-disabled,
.ks-btn.is-disabled {
  opacity: 0.72 !important;
}

/* Focus: visible ring on interactive text controls */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-focus, #B54A2E);
  outline-offset: 2px;
}

/* Cipher dock search placeholder */
.a94-top-search input::placeholder {
  color: #6A655C !important;
}
.a94-top-sheet .a94-top-search input::placeholder {
  color: #5A625C !important;
}

/* Footer legal already uses --bx-mute solid; ensure links stay bright */
.a94-bearing a:not(.a94-bearing-mail):not(.a94-bearing-mark) {
  color: #FFF6E8;
}
.a94-bearing a:not(.a94-bearing-mail):not(.a94-bearing-mark):hover,
.a94-bearing a:not(.a94-bearing-mail):not(.a94-bearing-mark):focus-visible {
  color: #FFB07A;
}

/* Foil-press platen: cream title on dark copper (beats qa-unify h1 ink) */
.page-foilpress .fp-platen,
.page-foilpress .fp-platen-face,
.page-foilpress .fp-platen h1,
.page-foilpress .fp-shop,
.page-foilpress .fp-lede,
.page-foilpress .fp-sum,
.page-foilpress .fp-sum span {
  color: #f6ecd8 !important;
}
.page-foilpress .fp-platen h1 {
  color: #fff6e8 !important;
}
.page-foilpress.is-pending .fp-platen h1 {
  color: #e8d48a !important;
}
.page-foilpress .fp-sum strong {
  color: #e8d48a !important;
}
.page-foilpress .fp-id span {
  color: #fff6e8 !important;
  background: rgba(201, 162, 39, 0.18) !important;
}
