/* BUYAMTO FAQ page. Uses the site colour tokens, so it follows light and dark mode. */
.by-faq-hero { max-width: 760px; margin: 0 auto; padding: 48px 16px 8px; text-align: center; }
.by-faq-hero__eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--by-teal, #0E7C86); background: color-mix(in srgb, var(--by-teal, #0E7C86) 12%, transparent); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.by-faq-hero h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; color: var(--by-ink, #1A1815); }
.by-faq-hero p { color: var(--by-ink-soft, #4B463F); font-size: 17px; margin: 0 auto; max-width: 52ch; }

.by-faq { max-width: 760px; margin: 0 auto; padding: 22px 16px 64px; }
.by-faq__tools { position: sticky; top: calc(var(--by-header-h, 0px) + 8px); z-index: 5; background: var(--by-bg, #FAFAF8); padding: 10px 0 12px; }
.by-faq__search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--by-surface, #fff); border: 1.5px solid var(--by-line, #E7E2D9); color: var(--by-grey, #8B857B); box-shadow: var(--by-shadow); }
.by-faq__search:focus-within { border-color: var(--by-teal, #0E7C86); }
.by-faq__search input { flex: 1; height: 100%; margin: 0; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; color: var(--by-ink, #1A1815); -webkit-text-fill-color: var(--by-ink, #1A1815); }
.by-faq__search input:focus { outline: none; }
.by-faq__chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 2px; scrollbar-width: none; }
.by-faq__chips::-webkit-scrollbar { display: none; }
.by-faq__chips a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--by-warm, #F1EDE6); color: var(--by-ink, #1A1815); font-size: 14px; font-weight: 600; text-decoration: none; }
.by-faq__chips a:hover { background: color-mix(in srgb, var(--by-teal, #0E7C86) 16%, var(--by-warm, #F1EDE6)); }

.by-faq__group { margin-top: 26px; scroll-margin-top: 150px; }
.by-faq__topic { font-size: 13px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--by-grey, #8B857B); margin: 0 0 10px 6px !important; }
.by-faq__item { background: var(--by-surface, #fff); border-radius: var(--by-r-sm, 14px); margin-bottom: 8px; box-shadow: var(--by-shadow); }
.by-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; color: var(--by-ink, #1A1815); }
.by-faq__item summary::-webkit-details-marker { display: none; }
.by-faq__item summary:focus-visible { outline: 3px solid #F2A672; outline-offset: 2px; border-radius: var(--by-r-sm, 14px); }
.by-faq__item summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--by-warm, #F1EDE6); position: relative; transition: background .2s ease; }
.by-faq__item summary i::before, .by-faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--by-ink, #1A1815); transition: transform .2s ease; }
.by-faq__item summary i::after { transform: rotate(90deg); }
.by-faq__item[open] summary i { background: var(--by-teal, #0E7C86); }
.by-faq__item[open] summary i::before, .by-faq__item[open] summary i::after { background: #fff; }
.by-faq__item[open] summary i::after { transform: rotate(0deg); }
.by-faq__a { padding: 0 18px 16px; color: var(--by-ink-soft, #4B463F); line-height: 1.6; }
.by-faq__a p { margin: 0 0 10px; }
.by-faq__a p:last-child { margin-bottom: 0; }
.by-faq__a a, .by-faq__more a, .by-faq__none a { color: var(--by-teal, #0E7C86); font-weight: 600; }
.by-faq__none { text-align: center; color: var(--by-ink-soft, #4B463F); margin: 26px 0; }
.by-faq__more { margin-top: 32px; padding: 20px 22px; border-radius: var(--by-r, 24px); background: var(--by-warm, #F1EDE6); color: var(--by-ink, #1A1815); }
.by-faq__more p { margin: 0; line-height: 1.6; }
.by-faq mark { background: color-mix(in srgb, var(--by-orange, #C94F0A) 25%, transparent); color: inherit; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { .by-faq__item summary i, .by-faq__item summary i::before, .by-faq__item summary i::after { transition: none; } }
.by-faq__search input { font-weight: 500; }
.by-faq__search input::placeholder { color: var(--by-grey, #8B857B); -webkit-text-fill-color: var(--by-grey, #8B857B); font-weight: 400; opacity: 1; }
