

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--c-dark);
  color: var(--c-dark-fg);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding: var(--space-4);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.cookie-banner__text {
  flex: 1 1 420px;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-dark-muted);
  max-width: 68ch;
}
.cookie-banner__text a {
  color: var(--c-dark-fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-banner .btn,
.cookie-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-banner .btn--primary,
.cookie-modal .btn--primary {
  background: var(--c-accent);
  color: var(--c-accent-fg);
}
.cookie-banner .btn--secondary,
.cookie-modal .btn--secondary {
  background: transparent;
  color: var(--c-dark-fg);
  border-color: rgba(255, 255, 255, 0.35);
}
.cookie-banner .btn--ghost,
.cookie-modal .btn--ghost {
  background: transparent;
  color: var(--c-dark-muted);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding-inline: 0.4rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 11, 15, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-4);
}
.cookie-modal[hidden] {
  display: none;
}
.cookie-modal__panel {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  background: var(--c-surface);
  color: var(--c-fg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: var(--space-5);
  max-height: 84vh;
  overflow-y: auto;
}
.cookie-modal__panel h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}
.cookie-modal__panel > p {
  color: var(--c-muted);
  font-size: 0.92rem;
  max-width: 60ch;
  margin-bottom: var(--space-4);
}
.cookie-modal__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.cookie-option input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--c-accent);
}
.cookie-option span {
  display: block;
}
.cookie-option strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  margin-bottom: 0.2rem;
}
.cookie-option em {
  display: block;
  font-style: normal;
  color: var(--c-muted);
  font-size: 0.86rem;
}
.cookie-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}
.cookie-modal__actions .btn--ghost {
  color: var(--c-muted);
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .cookie-banner .btn {
    width: 100%;
  }
  .cookie-modal {
    align-items: flex-end;
    padding: 0;
  }
  .cookie-modal__panel {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 90vh;
  }
  .cookie-modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}
.footer__col a { color: #6d6e70 !important; }
.cookie-banner__text a { color: #6d6e70 !important; }
.field > label { color: #6d6e70 !important; }


/* wh-elem-contrast */
/* Auto: element text failed 4.5:1 against its resolved background. */
.brand__name { color: #6d6e70 !important; }
.page-head__eyebrow { color: #2d69e1 !important; }
.story-block__eyebrow { color: #2d69e1 !important; }
.footer__col a { color: #6d6e70 !important; }
.cookie-banner__text a { color: #6d6e70 !important; }
.cookie-banner .btn--ghost { color: #7c818d !important; }
.site-header .brand__name { color: #6d6e70 !important; }
.section-head__eyebrow { color: #2d69e1 !important; }
.section--dark .section-head__eyebrow { color: #447def !important; }
.section--dark .section-head__lede { color: #7c818d !important; }
.section--dark .metric-num { color: #447def !important; }
.field > label { color: #6d6e70 !important; }

/* WH-CONTRAST-VERIFIED:START */
/* Measured in a real browser against the painted background, then re-measured.
   4 selector(s) corrected. */
.footer__col a { color: #7f7f81 !important; } /* was #6d6e70 at 3.61:1, needs 4.5 */
.cookie-banner__text a { color: #7f7f81 !important; } /* was #6d6e70 at 3.61:1, needs 4.5 */
.hero__grid span.hero__eyebrow { color: #2d69e1 !important; } /* was #2f6fed at 4.28:1, needs 4.5 */
.contact__row a { color: #7a808b !important; } /* was #5b6270 at 3:1, needs 4.5 */
/* WH-CONTRAST-VERIFIED:END */
