.accessibility-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border: 2px solid #123d2e;
  border-radius: 8px;
  background: white;
  color: #123d2e;
  font: 600 16px/1.5 Arial, sans-serif;
  transform: translateY(-200%);
}
.accessibility-skip:focus { transform: none; outline: 3px solid #005fcc; outline-offset: 3px; }
.accessibility-dialog-open { overflow: hidden; }
.accessibility-feature-label,
.accessibility-feature-state {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Layered important rules override the fixed Figma layouts only in reading view. */
@layer accessibility {
  html[data-a11y-enabled="true"] {
    --a11y-bg: #fff;
    --a11y-fg: #111;
    --a11y-link: #0047ab;
    --a11y-border: #555;
    font-size: 16px;
  }
  html[data-a11y-enabled="true"][data-a11y-theme="dark"] {
    --a11y-bg: #080808;
    --a11y-fg: #fff;
    --a11y-link: #9ed5ff;
    --a11y-border: #ccc;
  }
  html[data-a11y-enabled="true"][data-a11y-theme="sepia"] {
    --a11y-bg: #fff3d6;
    --a11y-fg: #352615;
    --a11y-link: #003f7d;
    --a11y-border: #67513a;
  }
  html[data-a11y-enabled="true"] body {
    background: var(--a11y-bg) !important;
    color: var(--a11y-fg) !important;
    font: 400 calc(1rem * var(--a11y-scale)) / 1.65 Arial, sans-serif !important;
    overflow-wrap: anywhere !important;
  }
  html[data-a11y-enabled="true"] body :where(div, section, article, header, footer, main, aside, nav, form, details, summary, figure, ul, ol, li, p, h1, h2, h3, h4, h5, h6, span, a, button, label, input, textarea, select, strong, small, em, output, dialog) {
    background: var(--a11y-bg) !important;
    background-image: none !important;
    color: var(--a11y-fg) !important;
    border-color: var(--a11y-border) !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-family: Arial, sans-serif !important;
    line-height: 1.65 !important;
    letter-spacing: normal !important;
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: start !important;
    opacity: 1 !important;
  }
  html[data-a11y-enabled="true"] :where(.design, .blog-site, .mio-webinar) :where(div, section, article, header, footer, main, aside, nav, form, figure, ul, ol, li, p, h1, h2, h3, h4, h5, h6, details, summary) {
    position: relative !important;
    inset: auto !important;
    translate: none !important;
    transform: none !important;
    rotate: none !important;
    float: none !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    contain: none !important;
    container-type: normal !important;
    aspect-ratio: auto !important;
  }
  html[data-a11y-enabled="true"] :where(.design, .blog-site, .mio-webinar) {
    width: 100% !important;
    overflow: visible !important;
    container-type: normal !important;
  }
  html[data-a11y-enabled="true"] :where(.design, .blog-site, .mio-webinar) :where(section, article, main, footer, .design-module, .legal-page-content) {
    padding: 24px 16px !important;
  }
  html[data-a11y-enabled="true"] :where(.design, .blog-site, .mio-webinar) :where(p, ul, ol, nav, form, figure, .included-tabs) { margin-block: 12px !important; }
  html[data-a11y-enabled="true"] :where(p, li, label, input, select, textarea, button, a, summary, output) {
    font-size: calc(1rem * var(--a11y-scale)) !important;
  }
  html[data-a11y-enabled="true"] :where(span, small, strong, em) { font-size: inherit !important; }
  html[data-a11y-enabled="true"] h1 { font-size: calc(2rem * var(--a11y-scale)) !important; line-height: 1.3 !important; margin-block: 16px !important; }
  html[data-a11y-enabled="true"] h2 { font-size: calc(1.65rem * var(--a11y-scale)) !important; line-height: 1.3 !important; margin-block: 16px !important; }
  html[data-a11y-enabled="true"] :where(h3, h4, h5, h6) { font-size: calc(1.3rem * var(--a11y-scale)) !important; line-height: 1.3 !important; margin-block: 12px !important; }
  html[data-a11y-enabled="true"] p { max-width: 72ch !important; }
  html[data-a11y-enabled="true"] :where(a, button, input, select, textarea, summary) {
    position: relative !important;
    inset: auto !important;
    translate: none !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 8px !important;
    overflow-wrap: anywhere !important;
  }
  html[data-a11y-enabled="true"] :where(button, input, select, textarea, summary) { border: 1px solid var(--a11y-border) !important; }
  html[data-a11y-enabled="true"] :where(input:not([type=checkbox], [type=radio]), textarea, select) { width: 100% !important; }
  html[data-a11y-enabled="true"] :where(input[type=checkbox], input[type=radio]) { width: 24px !important; height: 24px !important; min-height: 24px !important; padding: 0 !important; }
  html[data-a11y-enabled="true"] a { color: var(--a11y-link) !important; }
  html[data-a11y-enabled="true"][data-a11y-links="true"] a { text-decoration: underline !important; text-underline-offset: .2em !important; }
  html[data-a11y-enabled="true"] :focus-visible { outline: 3px solid var(--a11y-link) !important; outline-offset: 4px !important; }
  html[data-a11y-enabled="true"] .accessibility-skip {
    position: fixed !important;
    inset: 12px auto auto 12px !important;
    max-width: calc(100% - 24px) !important;
    transform: translateY(-300%) !important;
  }
  html[data-a11y-enabled="true"] .accessibility-skip:focus { transform: none !important; }
  html[data-a11y-enabled="true"] :where(.accessibility-feature-label, .accessibility-feature-state) {
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    clip-path: none !important;
  }
  html[data-a11y-enabled="true"] :where(img, video, picture) { position: relative !important; inset: auto !important; translate: none !important; transform: none !important; rotate: none !important; max-width: 100% !important; width: auto !important; height: auto !important; object-fit: contain !important; }
  html[data-a11y-enabled="true"] :where(ul, ol) { padding-inline-start: 1.5em !important; }
  html[data-a11y-enabled="true"] :where(.included-tabs, .audience-options, .site-nav) { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; }
  html[data-a11y-enabled="true"] :where(.included-stage, .included-slide, .included-panel, .included-visual) { position: relative !important; width: 100% !important; }
  html[data-a11y-enabled="true"] :where([hidden], [inert], [aria-hidden=true], .site-hero-art, .trial-preview-glow, .mobile-carousel-dots, .mobile-carousel-progress, .design-mobile-header, .site-menu, .design-mobile-menu, .audience-mobile-label, .audience-mobile-copy, img[alt=""]) { display: none !important; }
  html[data-a11y-enabled="true"] details:not([open]) > :not(summary) { display: none !important; }
  html[data-a11y-enabled="true"] div:empty { display: none !important; }
  html[data-a11y-enabled="true"] :where(.site-header, .site-nav) { position: relative !important; display: flex !important; flex-wrap: wrap !important; gap: 12px !important; width: auto !important; height: auto !important; padding: 16px !important; }
  html[data-a11y-motion="true"] *,
  html[data-a11y-motion="true"] *::before,
  html[data-a11y-motion="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
