/*
 * Own In Cabo — Phase 2 luxury presentation layer.
 * Additive, contrast- and consistency-focused refinements for the 68
 * completed Phase 2 subdivision routes only. Mirrors the fixes already
 * proven on oic-phase1-luxury.css, scoped to the community/subdivision
 * template components these pages actually use (no homepage-only
 * selectors, no oic-home dependency). Loads after oic-premium-proof.css
 * and oic-community.css; does not replace their rules.
 */

:root {
  /* Same undefined-variable bug as Phase 1: var(--oic-rust) is referenced
     by .oic-accordion__button:focus-visible (used on every one of these
     68 restored-baseline pages) but was never defined in :root, so the
     browser silently dropped that outline declaration. */
  --oic-rust: #a8462a;
  /* AA-safe replacement for the footer's washed-out rgba(255,255,255,.45)
     fine print (measured 4.48:1 on #091721 — fails the 4.5:1 minimum).
     Same fix as Phase 1, reapplied here since these pages share the same
     .oic-proof-footer / .oic-community-page footer markup. */
  --oic-mute-on-dark: #98a2a9;
  /* AA-safe kicker color for light surfaces (measured 2.28:1 for the
     unscoped var(--oic-sand) default — fails badly). */
  --oic-kicker-on-light: #765526;
}

/* ---- Kicker labels: same accessible default as Phase 1. The restored
   "August 2023 page baseline" kicker inside .oic-baseline-restore already
   has its own !important ink override in oic-community.css, so this only
   changes the *other* kickers on these pages (hero, intro, factors, etc.)
   that previously had no explicit color at all. ---- */
.oic-kicker {
  color: var(--oic-kicker-on-light);
}
.oic-hero .oic-kicker,
.oic-community-hero .oic-kicker,
.oic-communities .oic-kicker,
.oic-editorial .oic-kicker,
.oic-community-factors .oic-kicker,
.oic-community-related .oic-kicker,
.oic-community-disclosure .oic-kicker,
.oic-community-feature .oic-kicker,
.oic-chileno-quote .oic-kicker,
.oic-proof-header .oic-kicker,
.oic-proof-footer .oic-kicker {
  color: var(--oic-sand);
}

/* ---- Footer fine print / legal disclosure: same fix as Phase 1, applied
   to these 68 pages (previously unfixed here; only the homepage had a
   scoped patch). ---- */
.oic-proof-footer__fine,
.oic-proof-footer__legal p,
.oic-proof-footer__legal a,
.oic-community-page .oic-proof-footer__legal p,
.oic-community-page .oic-proof-footer__legal a {
  color: var(--oic-mute-on-dark) !important;
}

/* ---- Focus-visible: same context-aware outline color as Phase 1.
   var(--oic-sand) on the generic link rule measured 2.28:1 against
   paper/ivory (fails the 3:1 non-text minimum), so light surfaces get a
   dark-ink ring and only the sections that are provably dark get the
   light sand-toned ring back. .oic-accordion__button keeps its own rust
   ring (now valid via --oic-rust above) and is intentionally not
   touched here. ---- */
.oic-lux a:focus-visible,
.oic-lux input:focus-visible,
.oic-lux textarea:focus-visible {
  outline: 3px solid var(--oic-ink);
  outline-offset: 4px;
}
.oic-hero a:focus-visible,
.oic-community-hero a:focus-visible,
.oic-communities a:focus-visible,
.oic-editorial a:focus-visible,
.oic-community-factors a:focus-visible,
.oic-community-related a:focus-visible,
.oic-community-disclosure a:focus-visible,
.oic-community-feature a:focus-visible,
.oic-chileno-quote a:focus-visible,
.oic-proof-header a:focus-visible,
.oic-proof-footer a:focus-visible {
  outline: 3px solid var(--oic-sand-light);
  outline-offset: 4px;
}
