/* Optional display preferences. These controls do not certify accessibility. */
html { font-size: calc(100% * var(--a11y-text-scale, 1)); }
:where(button, input, select, textarea) { font-size: inherit; }

.a11y-launcher {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    padding: 10px; border: 1px solid #e2e8f0; border-radius: 10px;
    background: #fff; color: #003bb3; cursor: pointer;
}
.a11y-launcher svg { display: block; width: 24px; height: 24px; flex: 0 0 24px; }
.a11y-launcher-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.a11y-launcher:hover { background: #eaf1ff; }
.a11y-launcher:focus-visible { outline: 3px solid #003bb3; outline-offset: 3px; }
/* Compact controls fit beside the logo, WhatsApp and menu even at 320px. */
@media (max-width: 860px) { header.site .bar { gap: 8px; } }
.legal-nav .nav-row, .navbar .nav-container { flex-wrap: wrap; gap: 8px; }
.a11y-dialog {
    box-sizing: border-box; width: min(520px, calc(100vw - 24px));
    max-width: calc(100vw - 24px); max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px); margin: auto; padding: 20px;
    border: 2px solid #334155; border-radius: 16px; background: #fff; color: #0b1220;
    box-shadow: 0 16px 70px #0006; overflow-y: auto; overscroll-behavior: contain;
    font: 1rem/1.55 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    text-align: start; overflow-wrap: anywhere;
}
.a11y-dialog:not([open]) { display: none; }
.a11y-dialog::backdrop { background: #0009; }
.a11y-dialog *, .a11y-dialog *::before, .a11y-dialog *::after { box-sizing: border-box; }
.a11y-dialog [hidden] { display: none !important; }
.a11y-dialog-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.a11y-dialog #a11y-title { flex: 1; min-width: 0; margin: 0; padding: 6px 0; border: 0; font-size: 1.3em; line-height: 1.35; color: #0b1220; }
.a11y-dialog button, .a11y-dialog input { font: inherit; }
.a11y-dialog button { min-width: 48px; min-height: 48px; padding: 10px 14px; cursor: pointer; border: 2px solid #64748b; border-radius: 8px; background: #fff; color: #0b1220; }
.a11y-dialog .a11y-close { flex: 0 0 auto; max-width: 50%; padding: 6px; font-size: 1em; line-height: 1.35; }
.a11y-dialog :focus-visible { outline: 3px solid #003bb3; outline-offset: 3px; }
.a11y-controls { display: grid; gap: 12px; }
.a11y-scale { min-width: 0; margin: 0; padding: 12px; border: 1px solid #64748b; border-radius: 10px; }
.a11y-scale legend { padding-inline: 6px; font-weight: 700; }
.a11y-scale-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a11y-dialog label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px; margin: 0; color: #0b1220; font-size: 1em; font-weight: 600; line-height: 1.5; cursor: pointer; }
.a11y-scale-options label { border: 1px solid #64748b; border-radius: 8px; }
.a11y-scale-options label:has(input:checked) { background: #eaf1ff; border: 2px solid #003bb3; padding: 9px; }
.a11y-dialog input[type='checkbox'], .a11y-dialog input[type='radio'] { appearance: auto; width: 24px; height: 24px; min-width: 24px; flex: 0 0 24px; margin: 0; padding: 0; accent-color: #003bb3; }
.a11y-toggle { border-bottom: 1px solid #cbd5e1; }
.a11y-dialog p { color: #334155; margin: 12px 0; font-size: 1em; }
.a11y-dialog .a11y-storage-note { padding: 12px; border: 1px solid #64748b; border-radius: 8px; }
.a11y-dialog-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; padding: 16px 0 0; border-top: 1px solid #cbd5e1; background: #fff; color: #0b1220; }
.a11y-dialog-footer a { display: inline-flex; align-items: center; min-height: 48px; color: #003bb3; text-decoration: underline; text-underline-offset: .18em; }
.a11y-dialog-footer .a11y-reset { width: 100%; }

/* Keep settings readable on narrow screens. */
@media (max-width: 600px) {
    .a11y-dialog { padding: 16px; }
}

/* Text enlargement also frees fixed-height layouts and reduces crowded columns. */
html[data-a11y-scale]:not([data-a11y-scale='100']) { scroll-padding: 20px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) body { padding-bottom: 0; }
html[data-a11y-scale]:not([data-a11y-scale='100']) :is(header.site, .legal-nav, .navbar) { position: relative; }
html[data-a11y-scale]:not([data-a11y-scale='100']) [id] { scroll-margin-top: 20px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) :is(main, section, article, .wrap, .legal-wrap, .container, .card, .panel, .direction-card, .onboarding-panel, .form-wrap > *, .equipment-form-wrap > *) { min-width: 0; overflow-wrap: anywhere; }
html[data-a11y-scale]:not([data-a11y-scale='100']) :is(.hero-grid, .form-wrap, .equipment-form-wrap, .equipment-quote-fields, .cards, .steps, .who, .chain, .chain4, .chain5, .video-showcase, .video-dialog-grid, .direction-grid, .feature-grid, .summary-grid, .general-fields, .fit, .ai-grid, .price-grid, .split, .model-grid, .scale-options, .equipment-family-links, .onboarding-grid, .onboarding-columns, footer.site .fgrid) { grid-template-columns: minmax(0, 1fr) !important; }
html[data-a11y-scale]:not([data-a11y-scale='100']) :is(.btn, .btn-primary, .btn-secondary, .eyebrow, .tel) { white-space: normal; overflow-wrap: anywhere; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .btn { max-width: 100%; }
html[data-a11y-scale]:not([data-a11y-scale='100']) :is(.hero-cta, .hero-buttons, .overview-actions, .contact-options, .doc-links, .nav-right, .footer-content, .privacy-actions) { flex-wrap: wrap; }
html[data-a11y-scale]:not([data-a11y-scale='100']) :is(.flow-step, .video-proof-card, .demo-next .wrap) { flex-wrap: wrap; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .flow-ico { min-height: 46px; height: auto; min-width: 46px; width: auto; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .chain-node::after { display: none; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .summary-capabilities > div { grid-template-columns: minmax(0, 1fr); }
html[data-a11y-scale]:not([data-a11y-scale='100']) .privacy-panel { display: block; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .privacy-actions { margin-top: 12px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .privacy-actions button { flex: 1 1 120px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .registration-main { padding-top: 0; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .onboarding-row input { height: auto; min-height: 48px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .item-row { grid-template-columns: minmax(0, 1fr); }
html[data-a11y-scale]:not([data-a11y-scale='100']) .customer-row { grid-template-columns: minmax(0, 1fr) 48px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .row-remove { width: 48px; height: 48px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .a11y-scale-options { grid-template-columns: minmax(0, 1fr); }

/* The existing native-details mobile navigation also works with enlarged text. */
html[data-a11y-scale]:not([data-a11y-scale='100']) header.site .bar { position: relative; height: auto; min-height: 66px; padding-block: 10px; flex-wrap: wrap; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .bar :is(nav.gnav, .tel, .btn-ghost) { display: none; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .header-whatsapp { display: grid; place-items: center; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav { display: block; flex: 0 0 auto; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav > summary { display: grid; place-items: center; width: 48px; height: 48px; list-style: none; cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) header.site .mnav-panel { display: block; position: absolute; inset-inline: 0; top: 100%; max-height: 65vh; max-height: 65dvh; overflow-y: auto; overscroll-behavior: contain; padding: 8px 18px 20px; z-index: 70; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav-group { border-bottom: 1px solid var(--line); }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav-group > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 12px 0; font-size: calc(17px * var(--a11y-text-scale, 1)); list-style: none; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav .mnav-group > summary::after { content: '＋'; float: none; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav .mnav-group[open] > summary::after { content: '－'; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav-panel a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: calc(16px * var(--a11y-text-scale, 1)); }
html[data-a11y-scale]:not([data-a11y-scale='100']) .mnav-links a { padding-inline-start: 14px; font-size: calc(15px * var(--a11y-text-scale, 1)); }
html[data-a11y-scale]:not([data-a11y-scale='100']) .nav-container { flex-wrap: wrap; gap: 12px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .nav-links { display: none; position: static; width: 100%; order: 4; padding: 12px; flex-direction: column; gap: 10px; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .nav-links.active { display: flex; }
html[data-a11y-scale]:not([data-a11y-scale='100']) .hamburger { display: flex; min-width: 48px; min-height: 48px; justify-content: center; align-items: center; }

/* Deliberate colors, rather than an inversion filter, preserve product photographs. */
html[data-a11y-contrast='true'] { color-scheme: dark; }
html[data-a11y-contrast='true'] body,
html[data-a11y-contrast='true'] body :not(img):not(picture):not(video):not(canvas):not(svg):not(svg *) {
    background-color: #000 !important; background-image: none !important;
    color: #fff !important; border-color: #fff !important;
    box-shadow: none !important; text-shadow: none !important;
    -webkit-text-fill-color: currentColor !important;
}
html[data-a11y-contrast='true'] body :is(a, a *, summary, summary *, button, button *) { color: #ffeb3b !important; }
html[data-a11y-contrast='true'] body *::before,
html[data-a11y-contrast='true'] body *::after { color: #fff !important; background-color: transparent !important; background-image: none !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html[data-a11y-contrast='true'] :is(button, input, select, textarea) { border: 2px solid #fff !important; }
html[data-a11y-contrast='true'] :is(input, textarea)::placeholder { color: #ddd !important; opacity: 1; }
html[data-a11y-contrast='true'] :is(input[type='checkbox'], input[type='radio']) { accent-color: #ffeb3b; }
html[data-a11y-contrast='true'] :is(input, select, textarea) { color-scheme: dark; }
html[data-a11y-contrast='true'] :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #ffeb3b !important; outline-offset: 3px; }
html[data-a11y-contrast='true'] .a11y-scale-options label:has(input:checked) { outline: 3px solid #ffeb3b; outline-offset: 1px; }
html[data-a11y-contrast='true'] .hamburger .bar { background: #fff !important; }
html[data-a11y-contrast='true'] :is(.skip-link, .a11y-launcher) { border: 2px solid #ffeb3b !important; }
html[data-a11y-contrast='true'] :is(.hero-background-animation, .glow-orb) { display: none; }
html[data-a11y-links='true'] a,
html[data-a11y-links='true'] a :not(svg):not(svg *) { text-decoration-line: underline !important; text-decoration-thickness: .12em !important; text-underline-offset: .18em !important; }

html[data-a11y-motion='true'], html[data-a11y-motion='true'] *,
html[data-a11y-motion='true'] *::before, html[data-a11y-motion='true'] *::after {
    scroll-behavior: auto !important; animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
}
@media (prefers-reduced-motion: reduce) {
    html, *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
