/*
 * Ozark glacier-blue palette and motion correction.
 * Loaded last on every customer route so old immutable CSS cannot leak violet.
 */

:root {
  --purple: #087ca7;
  --purple-dark: #075e80;
  --purple-light: #90ddf3;
  --purple-glow: rgba(8, 124, 167, .24);
  --shadow-purple: 0 18px 50px rgba(8, 124, 167, .18);
  --oz-violet: #087ca7;
  --oz-violet-dark: #075e80;
  --oz-violet-light: #90ddf3;
  --oz-violet-rgb: 8, 124, 167;
  --bg-soft: #f3fbfe;
  --ink: #0a1b22;
  --ink-soft: #425761;
  --ink-faint: #748791;
  --line: #dceaf0;
}

body {
  color: var(--ink);
}

.oz-liquid-lens {
  --oz-lens-tint: 8, 124, 167 !important;
}

.review-item .review-product::before {
  background: #087ca7 !important;
}

/* Product identity remains intentional rather than falling back to violet. */
body.product-page:has(.hero.nba) {
  --purple: #f12682;
  --purple-dark: #ad1459;
  --purple-light: #ff9ac6;
  --purple-glow: rgba(241, 38, 130, .22);
}

body.product-page:has(.hero.cod) {
  --purple: #009a5b;
  --purple-dark: #007546;
  --purple-light: #83dfb7;
  --purple-glow: rgba(0, 154, 91, .2);
}

body.product-page:has(.hero.fn) {
  --purple: #c93493;
  --purple-dark: #8c2169;
  --purple-light: #f29acb;
  --purple-glow: rgba(201, 52, 147, .2);
}

body.product-page:has(.hero.plus) {
  --purple: #087ca7;
  --purple-dark: #075e80;
  --purple-light: #90ddf3;
  --purple-glow: rgba(8, 124, 167, .22);
}

/* Aim workflow icons follow Aim pink; shared/GPC surfaces use Glacier blue. */
body.product-page:has(.hero.fn) .pnp-step-icon svg {
  stroke: #c93493 !important;
}

.hero.plus .hero-tag,
.gp-chip.gp-all,
.oz-discovery-trigger:hover,
.oz-discovery-trigger:focus-visible,
.oz-discovery-panel,
.oz-discovery-close:hover,
.oz-discovery-close:focus-visible,
.oz-discovery-search,
.oz-discovery-quick button:hover,
.oz-discovery-quick button:focus-visible,
.oz-explorer-workspace-link:hover,
.oz-explorer-workspace-link:focus-visible,
.oz-discovery-result.is-active {
  border-color: rgba(8, 124, 167, .38) !important;
}

.oz-discovery-panel {
  border-top-color: #087ca7 !important;
  color: #0a1b22 !important;
  box-shadow: 0 28px 90px rgba(7, 94, 128, .18) !important;
}

.oz-discovery-trigger:hover,
.oz-discovery-trigger:focus-visible,
.oz-discovery-close:hover,
.oz-discovery-close:focus-visible,
.oz-discovery-search,
.oz-discovery-quick button:hover,
.oz-discovery-quick button:focus-visible,
.oz-discovery-brand small,
.oz-explorer-heading span,
.oz-explorer-workspace-heading span,
.oz-explorer-product-eyebrow,
.oz-search-product-copy > span {
  color: #087ca7 !important;
}

.oz-discovery-trigger:hover,
.oz-discovery-trigger:focus-visible,
.oz-discovery-close:hover,
.oz-discovery-close:focus-visible,
.oz-discovery-quick button:hover,
.oz-discovery-quick button:focus-visible,
.oz-explorer-workspace-link:hover,
.oz-explorer-workspace-link:focus-visible,
.oz-discovery-result.is-active {
  background: #effaff !important;
}

.oz-discovery-search {
  box-shadow: 0 0 0 3px rgba(8, 124, 167, .1) !important;
}

.oz-discovery-brand img {
  filter: hue-rotate(305deg) saturate(1.45) brightness(1.03) drop-shadow(0 5px 10px rgba(8, 124, 167, .16)) !important;
}

.oz-explorer-game,
.oz-explorer-product,
.oz-search-product {
  --explorer-tone: #087ca7;
  --explorer-soft: #effaff;
}

.oz-explorer-game.is-gpc,
.oz-explorer-product.is-gpc,
.oz-search-product.is-gpc,
.oz-explorer-workspace-link.is-glacier {
  --explorer-tone: #087ca7;
  --explorer-soft: #effaff;
}

.oz-explorer-workspace-link.is-glacier > span:first-child {
  color: #087ca7 !important;
  background: #e8f8fd !important;
}

.oz-discovery-result {
  --discovery-accent: #087ca7;
}

/* Decorative idle work is static; feedback motion stays transform/opacity based. */
.acc::before,
.review-bar::after,
.dt-meter-fill,
.rj-emblem,
.oz-journey-marker {
  animation: none !important;
}

.dt-meter-fill {
  width: 62% !important;
}

.gd-shoot.is-charging {
  animation: none !important;
  filter: none !important;
  transform: scale(.985);
  box-shadow: 0 0 0 4px rgba(8, 124, 167, .12), 0 10px 26px rgba(10, 27, 34, .16);
}

.gp-chip,
.dt-card,
.review-item,
.home-products .pc,
.product-filter,
.purchase-assurance li {
  will-change: auto !important;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .mod-showcase,
  .mod-showcase__action,
  .gpc-manifest,
  .gpc-library-stats,
  .gpc-library-grid .ucard,
  .gpc-compare .compare-col,
  .gpc-benefits,
  .gpc-final-cta {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .mod-showcase-dialog {
    -webkit-backdrop-filter: blur(12px) saturate(130%) !important;
    backdrop-filter: blur(12px) saturate(130%) !important;
  }
}

@media (update: slow) {
  .pnp-badge-dot,
  .gd-shoot.is-charging {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .pnp-badge-dot,
  .gd-shoot.is-charging {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
