body.a11y-mode {
    background: #000 !important;
    color: #fff !important;
    font-size: 1.125rem;
    line-height: 1.7;
    letter-spacing: 0.015em;
}

body.a11y-mode a {
    color: #00ffff !important;
    text-decoration: underline !important;
}

body.a11y-mode input,
body.a11y-mode textarea,
body.a11y-mode button,
body.a11y-mode select {
    font-size: 1.05rem;
    background-color: #111 !important;
    color: #fff !important;
    border: 2px solid #00ffff !important;
}

body.a11y-mode img {
    filter: grayscale(100%) contrast(1.3);
}

body.a11y-mode .container {
    background-color: #111 !important;
    color: #fff !important;
}

body.a11y-mode .cta-buttons a {
    background: #00aaaa !important;
    color: black !important;
    border: 2px solid #00ffff !important;
}


.a11y-panel {
    position: fixed;
    top: 4rem;
    right: 1rem;
    background: #222;
    color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-size: 0.95rem;
    width: 200px;
}

.a11y-panel input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 0.4rem;
}

/* Collapsible state */
.a11y-panel.collapsed {
    width: auto;
    padding: 0.5rem;
    background: #111;
}

.a11y-panel.collapsed #a11y-panel-body {
    display: none;
}

#a11y-close-btn {
    background: transparent;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    float: right;
    margin: -0.2rem -0.3rem 0 0;
    padding: 0;
    line-height: 1;
    width: 40px;
    height: 40px;
}


body.a11y-font,
body.a11y-font p,
body.a11y-font a,
body.a11y-font label,
body.a11y-font input,
body.a11y-font textarea,
body.a11y-font button,
body.a11y-font h1,
body.a11y-font h2,
body.a11y-font h3,
body.a11y-font .hero,
body.a11y-font .cta-buttons,
body.a11y-font .container {
  font-size: 1.55rem !important;
}

body.a11y-font h1 {
  font-size: 2.5rem !important;
}

body.a11y-font h2 {
    font-size: 2rem !important;
  }

body.a11y-font .cta-buttons a {
  font-size: 1.5rem !important;
}

body.a11y-font input {
  font-size: 1.5rem !important;
}

body.a11y-gray img,
body.a11y-gray video,
body.a11y-gray picture,
body.a11y-gray figure {
    filter: grayscale(100%) contrast(1.1);
}


/* TOS-content */
body.a11y-mode .tos-content {
    color: #fff;
}