/* faq.fruitbat.app (on top of style.css) */
.brand em { font-style: normal; color: var(--lime); font-weight: 600; }
.faq-hero { padding: 2.5rem 0 2rem; }
.faq-hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.faq-hero .lede { margin-bottom: 1.6rem; }
.searchbox {
  display: flex; align-items: center; gap: .6rem; max-width: 640px; margin: 0 auto;
  background: #1f181a; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1.1rem;
  box-shadow: 0 10px 40px #0006; transition: border-color .2s, box-shadow .2s;
}
.searchbox:focus-within { border-color: #c3e12699; box-shadow: 0 0 0 4px #c3e1261f, 0 10px 40px #0006; }
.searchbox svg { color: var(--dim); flex: none; }
.searchbox input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 1.05rem; padding: .6rem 0; }
.searchbox input::placeholder { color: var(--dim); }
.searchbox input::-webkit-search-cancel-button { filter: invert(.6); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.4rem auto 0; max-width: 860px; }
.chip {
  font: 600 .85rem system-ui, sans-serif; color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.chip:hover { color: var(--text); border-color: #c3e12655; }
.chip.on { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }

.faq { max-width: 820px; margin: 0 auto; padding: 1rem 0 2rem; }
.cat { margin-bottom: 2.2rem; scroll-margin-top: 1rem; }
.cat h2 { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin: 0 0 .8rem; }
.cat h2 .ico { width: 34px; height: 34px; font-size: 1rem; }

.q {
  background: linear-gradient(180deg, #2a2124, #221b1d); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: .6rem; transition: border-color .2s; scroll-margin-top: 30vh;
}
.q[open] { border-color: #c3e12655; }
.q summary {
  list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; position: relative;
  font-weight: 600; font-size: 1.02rem; border-radius: 14px;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg);
  transition: transform .2s;
}
.q[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.q summary:hover { color: #fff; }
.q summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.anchor { margin-left: .5rem; color: var(--dim); opacity: 0; font-weight: 400; text-decoration: none; }
.q summary:hover .anchor, .anchor:focus { opacity: 1; }
.a { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.a p { margin: 0 0 .6rem; }
.a p:last-child { margin-bottom: 0; }
.a ul { margin: .2rem 0 0; padding-left: 1.2rem; }
.a li { margin: .25rem 0; }
.a b { color: var(--text); font-weight: 600; }
code, kbd {
  font: .88em ui-monospace, Menlo, Consolas, monospace; background: #c3e12614; color: var(--text);
  border: 1px solid #c3e12633; border-radius: 6px; padding: .05em .4em;
}
kbd { border-bottom-width: 2px; }
.empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.still { text-align: center; max-width: 620px; margin: 0 auto; padding: 1rem 0 4rem; }
.still h2 { margin: 0 0 .4rem; }
.still p { color: var(--muted); margin: 0; }
