/* VOLTA FAQ chat · stage 1 — the shared behaviour styles: the reset, the no-JS rules (the accordion is the page) and the accordion. The skin sets the tokens and the look. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: progress; }
svg { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; }

:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 0; }

/* ---------- no-JS: the accordion is the page; with JS the chat is, and the list is a view */
.nojs [data-js-only], .nojs .js-only { display: none !important; }
.nojs .range-ctl { display: none; }

/* ---------- chat log */
.ans > * + * { margin-top: 10px; }

/* answers */
.ans-bike svg { width: 100%; height: auto; aspect-ratio: 640 / 380; }
.ans-table-wrap { overflow-x: auto; }
.ans-table { width: 100%; border-collapse: collapse; }
.ans-table th, .ans-table td { text-align: left; vertical-align: top; }
.ans-list { padding-left: 1.3em; }
.ans-list li + li { margin-top: 4px; }
.ans-btn { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
.ans-btn .i { width: 18px; height: 18px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.range-ticks { display: flex; justify-content: space-between; }
.range-line b { display: inline-block; font-variant-numeric: tabular-nums; }

/* range input: track filled up to the thumb with --p */
.range-input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.range-input::-webkit-slider-runnable-track { height: var(--track-h, 6px); border-radius: 99px; background: var(--track-fill) 0 0 / var(--p, 50%) 100% no-repeat, var(--track-off); }
.range-input::-moz-range-track { height: var(--track-h, 6px); border-radius: 99px; background: var(--track-off); }
.range-input::-moz-range-progress { height: var(--track-h, 6px); border-radius: 99px; background: var(--track-fill); }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb, 22px); height: var(--thumb, 22px); margin-top: calc((var(--track-h, 6px) - var(--thumb, 22px)) / 2); border-radius: 50%; background: var(--thumb-bg); border: var(--thumb-border); box-shadow: var(--thumb-shadow, none); }
.range-input::-moz-range-thumb { width: var(--thumb, 22px); height: var(--thumb, 22px); border-radius: 50%; background: var(--thumb-bg); border: var(--thumb-border); box-shadow: var(--thumb-shadow, none); }
.range-input:focus-visible { outline: none; }
.range-input:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ring); outline-offset: 2px; }
.range-input:focus-visible::-moz-range-thumb { outline: 3px solid var(--ring); outline-offset: 2px; }

/* accordion */
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.faq-ico { transition: transform .22s ease; }
.faq-item[open] .faq-ico { transform: rotate(180deg); }

@media (pointer: coarse) { .range-input { height: 44px !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
