/* Company Grade: the visit-counting bar (website standard POLICY-15, POLICY-08; from its consent.css template).
   A bar along the bottom of the screen, never a popup: no overlay, no dimming, no focus trap, and the page keeps
   working underneath. consent.js pads the page bottom by the bar's height (--consent-pad) so the bar never hides the
   footer's Privacy choices control. Colours and type are the site's own (site.css tokens); the two buttons are
   identical in size and weight, and neither is pre-selected. */
:root { --consent-pad: 0px; }
body { padding-bottom: var(--consent-pad); }

.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--card); color: var(--ink);
  border-top: 2px solid var(--olive);
  box-shadow: var(--shadow);
  font-size: 16px; line-height: 1.45;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; max-width: 62ch; }
.consent a { color: var(--brick); }
.consent a:hover { color: var(--olive); }
.consent__actions { display: flex; gap: 12px; }

/* Equal weight for yes and no (app LEGAL-04): the site's outlined button, the same for both. */
.consent button {
  min-width: 120px; min-height: 44px; padding: 10px 18px; cursor: pointer;
  font: 600 16px/1 "Barlow Condensed", "Barlow", sans-serif; text-transform: uppercase; letter-spacing: .12em;
  border-radius: 3px; background: transparent; color: var(--ink); border: 2px solid var(--ink);
}
.consent button:hover { background: var(--ink); color: var(--paper); }
.consent button:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; }

@media (max-width: 560px) {
  .consent { justify-content: flex-start; font-size: 15px; }
  .consent__actions { width: 100%; }
  .consent button { flex: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) { animation: consent-in .2s ease-out; }
  @keyframes consent-in { from { transform: translateY(100%); } to { transform: none; } }
}
