.faq-page {
  --ink: #111;
  --lime: #d4f54a;
  --lime-deep: #b9de25;
  --lime-soft: #f0fbc9;
  --line: #e2e2da;
  --muted: #6e6e69;
  padding-bottom: 70px;
}
.faq-hero { padding: 64px 0 34px; }
.faq-hero h1 { margin: 26px 0 0; }
.faq-lede { max-width: 520px; margin: 22px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 640px;
  height: 58px;
  margin-top: 30px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
  cursor: text;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.faq-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--lime-soft), 0 10px 30px rgba(17, 17, 17, 0.06); }
.faq-search svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.faq-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 500 16.5px Inter, system-ui, sans-serif; color: var(--ink); }
.faq-search input::placeholder { color: #9a9a92; }
.faq-search input::-webkit-search-cancel-button { cursor: pointer; }
.faq-search kbd { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 7px; font: 600 12px Inter, system-ui, sans-serif; color: var(--muted); }
.faq-search:focus-within kbd { opacity: 0; }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  font: 600 13.5px Inter, system-ui, sans-serif;
  color: #3b3b38;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    scale 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.chip span { min-width: 20px; padding: 2px 6px; border-radius: 99px; background: #f0f0ea; font-size: 11.5px; color: var(--muted); text-align: center; transition: background-color 0.25s ease, color 0.25s ease; }
.chip:hover { border-color: var(--ink); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip.on span { background: var(--lime); color: var(--ink); }
.chip.none { opacity: 0.45; }
.faq-body { margin-top: 26px; }
.faq-group { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.faq-group[hidden] { display: none; }
.faq-group-head { position: sticky; top: 104px; align-self: start; display: flex; align-items: center; gap: 14px; }
.faq-group-head h2 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -0.03em; }
.faq-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); font: 800 16px/1 Inter, system-ui, sans-serif; color: var(--ink); }
.qa-list { display: grid; gap: 10px; }
.qa {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  scroll-margin-top: 100px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.3s ease;
}
.qa:hover { border-color: #c9c9c0; }
.qa[open] { border-color: var(--ink); box-shadow: 0 16px 40px rgba(17, 17, 17, 0.07); }
.qa.flash { animation: qa-flash 1.6s ease; }
@keyframes qa-flash {
  0%, 40% { box-shadow: 0 0 0 5px var(--lime); }
}
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 20px 20px 24px; font-size: 16.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.qa summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 18px; }
.qa mark { padding: 0 2px; border-radius: 4px; background: var(--lime); color: inherit; }
.pm { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #f0f0ea; transition: background-color 0.3s ease, rotate 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.pm::before,
.pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); }
.pm::after { rotate: 90deg; }
.qa summary:hover .pm { background: var(--lime-soft); }
.qa[open] .pm { background: var(--lime); rotate: 135deg; }
.a { position: relative; padding: 0 64px 22px 24px; }
.a p { margin: 0; font-size: 15.5px; line-height: 1.75; color: #3d3d39; }
.a a:not(.qa-link) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.a a:not(.qa-link):hover { text-decoration-color: var(--ink); }
.a b { font-weight: 650; color: var(--ink); }
.a code { padding: 1px 6px; border-radius: 5px; background: #f0f0ea; font: 0.86em ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.keys { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.keys i { font-style: normal; font-size: 12px; color: #9a9a92; }
.keys kbd { padding: 1px 7px; border: 1px solid #d8d8d0; border-bottom-width: 2px; border-radius: 6px; background: #fafaf7; font: 600 12.5px Inter, system-ui, sans-serif; color: var(--ink); }
.qa-link { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 700; color: var(--muted); text-decoration: none; opacity: 0; transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.qa:hover .qa-link,
.qa-link:focus-visible { opacity: 1; }
.qa-link:hover { background: #f0f0ea; color: var(--ink); }
.faq-empty { display: grid; justify-items: center; gap: 10px; padding: 56px 24px; border: 1px dashed #cfcfc6; border-radius: 22px; text-align: center; }
.faq-empty[hidden] { display: none; }
.faq-empty b { font-size: 19px; letter-spacing: -0.02em; }
.faq-empty p { margin: 0 0 8px; color: var(--muted); }
.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--lime);
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  transition:
    translate 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}
.faq-btn:hover { translate: 0 -2px; box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14); }
.faq-btn span { transition: translate 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-btn:hover span { translate: 2px -2px; }
.faq-btn.ghost { border-color: rgba(255, 255, 255, 0.35); background: none; color: #fff; }
.faq-btn.ghost:hover { border-color: #fff; box-shadow: none; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 30px; padding: 48px; border-radius: 26px; background: var(--ink); color: #fff; }
.faq-cta .eyebrow { color: var(--lime); }
.faq-cta h2 { margin: 14px 0 10px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.04em; }
.faq-cta p { margin: 0; font-size: 16px; line-height: 1.6; color: #b9b9b1; }
.faq-cta-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1100px) {
  .faq-group { grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 760px) {
  .faq-page { padding-bottom: 40px; }
  .faq-hero { padding: 36px 0 22px; }
  .faq-lede { font-size: 16px; }
  .faq-search { height: 54px; margin-top: 24px; border-radius: 16px; }
  .faq-search kbd { display: none; }
  .faq-chips { flex-wrap: nowrap; margin: 0 -4.2%; padding: 6px 4.2% 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .faq-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .faq-body { margin-top: 14px; }
  .faq-group { display: block; padding: 30px 0; }
  .faq-group-head { position: static; margin-bottom: 16px; }
  .faq-group-head h2 { font-size: 21px; }
  .faq-ico { width: 38px; height: 38px; }
  .qa { border-radius: 16px; }
  .qa summary { padding: 16px 14px 16px 18px; font-size: 16px; }
  .a { padding: 0 18px 20px; }
  .a p { font-size: 15.5px; }
  .qa-link { display: none; }
  .faq-cta { flex-direction: column; align-items: stretch; gap: 26px; padding: 32px 22px; border-radius: 22px; }
  .faq-cta-links { flex-direction: column; }
  .faq-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .chip,
  .pm,
  .qa,
  .faq-btn,
  .faq-btn span { transition: none; }
  .qa.flash { animation: none; }
}
.faq-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a mark { padding: 0 2px; border-radius: 4px; background: var(--lime); color: inherit; }
