/* Local controls share the site's yellow, dark surface and system font. */
.a11y-toggle {
  position: fixed;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) 12px;
  z-index: 46;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #171710;
  border-radius: 50%;
  background: #f5c518;
  color: #111;
}
.a11y-toggle svg { width: 26px; height: 26px; }
body.a11y-panel-open { overflow: hidden; }
dialog.a11y-panel {
  position: fixed;
  inset: auto auto max(16px, env(safe-area-inset-bottom)) 12px;
  width: min(23rem, calc(100% - 24px));
  max-width: none;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  margin: 0;
  padding: 1rem;
  overflow-y: auto;
  background: #151614;
  color: #fff;
  border: 1px solid #947724;
  border-radius: 15px;
  box-shadow: 0 12px 36px #0008;
  line-height: 1.5;
  text-align: start;
}
dialog.a11y-panel:not([open]) { display: none; }
dialog.a11y-panel::backdrop { background: rgb(3 4 3 / 65%); }
.a11y-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.a11y-head h2 { margin: 0; font-size: 1.45rem; line-height: 1.4; }
.a11y-close {
  min-width: 44px; min-height: 44px;
  border: 1px solid #888a80; border-radius: 50%;
  background: transparent; color: #fff; font-size: 1.5rem; line-height: 1;
}
.a11y-sub { font-size: .9rem; color: #d7d7ce; margin: .65rem 0 1rem; }
.a11y-font-controls, .a11y-grid { display: grid; gap: 8px; margin-bottom: 10px; }
.a11y-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a11y-font-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a11y-grid button, .a11y-font-controls button, .a11y-reset {
  min-height: 44px; padding: .5rem; border: 1px solid #97998e; border-radius: 8px;
  color: #fff; background: #20211e; font: inherit; line-height: 1.4;
}
.a11y-option[aria-pressed=true] { background: #f5c518; color: #10100b; border-color: #f5c518; }
.a11y-option small { display: block; font-size: .8rem; }
.a11y-font-controls button[aria-disabled=true] { color: #babbb1; }
.a11y-reset { width: 100%; margin: .25rem 0; }
.a11y-statement { display: inline-flex; align-items: center; min-height: 44px; color: #ffda42; text-decoration: underline; }
.mobileCta { display: none; }
@media (max-width: 740px) {
  .has-mobile-cta .mobileCta {
    display: block; position: fixed; inset: auto 0 0;
    z-index: 45; padding: 6px 12px max(6px, env(safe-area-inset-bottom));
    background: #0a0b0a; border-top: 1px solid #ada15e;
  }
  .mobileCta a { display: flex; width: 100%; min-height: 44px; }
  .has-mobile-cta .a11y-toggle { bottom: calc(70px + env(safe-area-inset-bottom)); }
  .header-inner .menu-toggle { min-width: 44px; min-height: 44px; }
  .footer { padding-block-end: calc(58px + env(safe-area-inset-bottom)); }
}
.privacy-settings-trigger { font: inherit; color: inherit; background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.privacy-notice {
  display: flex; align-items: center; gap: 1rem; width: min(75rem, calc(100% - 40px)); margin: 20px auto;
  padding: 1rem; background: #141512; color: #f4f4ee; border: 1px solid #697060; border-radius: 10px;
  text-align: start; line-height: 1.6; overflow-wrap: anywhere;
}
.privacy-notice-copy { flex: 1; min-width: 0; }
.privacy-notice-copy h2 { margin: 0 0 .25rem; font-size: 1.125rem; }
.privacy-notice-copy p { margin: 0; color: #e0e1d7; font-size: 1rem; }
.privacy-notice-copy a { color: #ffda42; text-decoration: underline; text-underline-offset: .15em; }
.privacy-notice-button {
  flex: none; min-height: 44px; padding: .5rem 1rem; border: 1px solid #f5c518; border-radius: 8px;
  background: #f5c518; color: #111; font: inherit; font-weight: 700;
}
@media (max-width: 680px) {
  .privacy-notice { flex-direction: column; align-items: stretch; }
  .privacy-notice-button { align-self: flex-start; }
}
html.a11y-large { font-size: 112.5%; --a11y-scale: 1.125; }
html.a11y-xlarge { font-size: 125%; --a11y-scale: 1.25; }
:is(html.a11y-large, html.a11y-xlarge) .hero h1 {
  font-size: clamp(3.625rem, calc(7vw * var(--a11y-scale)), 6.625rem);
}
@media (max-width: 740px) {
  :is(html.a11y-large, html.a11y-xlarge) .hero h1 { font-size: min(calc(12cqi * var(--a11y-scale)), 4.375rem); }
}
@media (max-width: 570px) {
  :is(html.a11y-large, html.a11y-xlarge) .hero h1 { font-size: clamp(1.85rem, calc(13.65cqi * var(--a11y-scale)), 4.375rem); }
}
html.a11y-readable body, html.a11y-readable :is(header, main, footer, dialog, #privacyNotice, .mobileCta) * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: normal !important;
}
html.a11y-links a[href] { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: .2em; }
html.a11y-gray :is(.header, .privacy-notice, dialog) { filter: grayscale(1); }
html.a11y-contrast :is(body, header, section, footer, nav, dialog, aside, #privacyNotice),
html.a11y-contrast :is(header, main, footer, dialog, .privacy-notice, .mobileCta) :is(div, p, h1, h2, h3, h4, li, span, blockquote, b, strong, em, small, label, fieldset, details, summary, figure, figcaption, dl, dt, dd) {
  background: #000 !important; color: #fff !important; text-shadow: none !important;
}
html.a11y-contrast :is(a[href], button, input, select, textarea, summary) { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.a11y-contrast :is(a[href], summary) { text-decoration: underline !important; }
html.a11y-contrast :is(a[href], button, input, select, textarea, summary):focus-visible { outline: 3px solid #ffdf49 !important; }
html.a11y-contrast :is(button[aria-pressed=true], .phone-choice.active, button[aria-current=true], .a11y-toggle),
html.a11y-contrast :is(button[aria-pressed=true], .phone-choice.active, button[aria-current=true]) * {
  background: #fff !important; color: #000 !important;
}
html.a11y-contrast :is(input, textarea)::placeholder { color: #ddd; opacity: 1; }
html.a11y-contrast .phone-choice[aria-pressed=true] .phone-radio { outline: 2px solid #000; }
html.a11y-contrast .btn-gold { outline: 1px solid #fff; }
html.a11y-contrast :is(.hero, .story, .seal)::before, html.a11y-contrast .hero::after { background: none !important; }
html.a11y-no-motion { scroll-behavior: auto !important; }
html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
