/* Accessibility menu + the adjustments it applies. Shared by the site and /lp. */

/* ---------- trigger buttons ---------- */
.a11y-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background .2s, color .2s; }
.a11y-btn:hover { background: #c6f432; border-color: #c6f432; color: #14121b; }
.a11y-fab { position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 80; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #6b3cff; color: #fff; cursor: pointer; box-shadow: 0 6px 18px rgb(20 18 27 / .28); }
.a11y-fab svg { width: 28px; height: 28px; }
.a11y-fab:hover { background: #14121b; }
@media (max-width: 760px) { .a11y-fab { bottom: 84px; width: 48px; height: 48px; } } /* clears the LP's mobile contact dock */

/* ---------- panel ---------- */
.a11y-panel { position: fixed; inset: auto; bottom: 16px; inset-inline-start: 16px; margin: 0; width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px; border: 0; border-radius: 20px; background: #14121b; color: #fff; font: 15px/1.4 Heebo, system-ui, sans-serif; box-shadow: 0 24px 60px rgb(20 18 27 / .45); zoom: 1 !important; }
.a11y-panel[hidden] { display: none; }
.a11y-panel::backdrop { background: rgb(20 18 27 / .25); }
.a11y-panel h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.a11y-panel h2 svg { color: #c6f432; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.a11y-x { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.a11y-x:hover { background: #2b2838; }
.a11y-size { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 14px; padding: 0; border: 0; }
.a11y-size legend { margin-bottom: 8px; padding: 0; color: #c9c6d6; font-size: 13px; font-weight: 600; }
.a11y-size button { display: grid; justify-items: center; gap: 2px; min-height: 64px; padding: 8px 4px; border: 1px solid #3a3650; border-radius: 12px; background: #1e1b29; color: #fff; font: 600 13px/1.2 inherit; cursor: pointer; }
.a11y-size button span { font-weight: 800; line-height: 1.1; }
.a11y-size button[aria-pressed=true] { background: #c6f432; border-color: #c6f432; color: #14121b; }
.a11y-toggles { display: grid; gap: 6px; }
.a11y-toggles button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid #3a3650; border-radius: 12px; background: #1e1b29; color: #fff; font: 600 15px/1.2 inherit; text-align: start; cursor: pointer; }
.a11y-toggles i { flex: none; position: relative; width: 38px; height: 22px; border-radius: 99px; background: #4a4659; transition: background .2s; }
.a11y-toggles i::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.a11y-toggles [aria-checked=true] { border-color: #c6f432; }
.a11y-toggles [aria-checked=true] i { background: #c6f432; }
.a11y-toggles [aria-checked=true] i::after { inset-inline-start: 19px; background: #14121b; }
.a11y-size button:hover, .a11y-toggles button:hover { border-color: #8f8aa3; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #2b2838; }
.a11y-reset { min-height: 40px; padding: 0 16px; border: 1px solid #8f8aa3; border-radius: 99px; background: transparent; color: #fff; font: 600 14px/1 inherit; cursor: pointer; }
.a11y-reset:hover { background: #fff; color: #14121b; }
.a11y-foot a { color: #c6f432; font-weight: 600; text-underline-offset: 3px; }
.a11y-panel :focus-visible, .a11y-fab:focus-visible, .a11y-btn:focus-visible { outline: 3px solid #c6f432; outline-offset: 2px; }

/* ---------- adjustments ---------- */
/* Text size: scale the content column (the site rail and this panel keep their size) */
html[data-a11y-size="1"] body > :is(.shell, #root) { zoom: 1.15; }
html[data-a11y-size="2"] body > :is(.shell, #root) { zoom: 1.3; }

/* High contrast: darker secondary text and borders on light surfaces, brighter on dark */
html.a11y-contrast:has(body > .shell) { --mute: #34313f; --ink-2: #14121b; --line: #6f6b82; }
html.a11y-contrast:has(#root) { --mute: #e4e2ec; --body-dark: #fff; --body-light: #24212e; }
html.a11y-contrast .rail .group .mono, html.a11y-contrast .rail-foot, html.a11y-contrast .group a small { color: #e4e2ec; }
html.a11y-contrast :is(input, textarea, select) { border-color: #14121b !important; }

/* Highlight links */
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }
html.a11y-links a:not(.a11y-panel a) { outline: 2px dashed currentColor; outline-offset: 2px; }

/* Text spacing (WCAG 1.4.12 values) */
html.a11y-spacing :is(p, li, dd, blockquote, label, h1, h2, h3, a, span) { letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing :is(p, li, dd, blockquote) { line-height: 1.6 !important; margin-bottom: 1em; }
html.a11y-spacing .a11y-panel * { letter-spacing: normal !important; word-spacing: normal !important; }

/* Stop animations: every animation and transition ends, scenes show their final frame (same as prefers-reduced-motion) */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .stage :is(.app, .src, .a-gone, .a-out, .click, .pg, .probe, .spin, .scanline, .playhead, .wf-timer) { display: none !important; }
html.a11y-still .stage .a-draw { stroke-dashoffset: 0; }
html.a11y-still .stage .a-ring { box-shadow: 0 0 0 .6cqw #c6f432; }
html.a11y-still .stage .hl { background: #c6f432; }
html.a11y-still[dir=rtl] .stage .kb-card { translate: calc(-200% - 7.6cqw) 0; background: #c6f432; }
html.a11y-still[dir=ltr] .stage .kb-card { translate: calc(200% + 7.6cqw) 0; background: #c6f432; }
html.a11y-still .demo .cursor, html.a11y-still .demo .ripple { display: none; }

/* Skip link (site pages) */
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: #14121b; color: #fff; font-weight: 700; text-decoration: none; translate: 0 -200%; }
.skip:focus { translate: 0 0; outline: 3px solid #c6f432; outline-offset: 2px; }

@media (forced-colors: active) { .a11y-toggles i, .a11y-toggles i::after { border: 1px solid CanvasText; } }
