.cw-react-native-faq {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-react-native-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cw-react-native-faq__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 120px;
}

.cw-react-native-faq__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-react-native-faq__title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.cw-react-native-faq__title-em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
}

.cw-react-native-faq__search {
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(20, 18, 16, 0.15);
  background: #fff;
  padding: 0 20px;
  font-size: 15px;
  outline: none;
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  display: block;
}

.cw-react-native-faq__count {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #2e2a24;
}

.cw-react-native-faq__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cw-react-native-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-react-native-faq__item {
  border-radius: 18px;
  background: #fff;
  color: #141210;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-react-native-faq__item.is-open {
  background: #141210;
  color: #f3efe7;
}

.cw-react-native-faq__q {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #141210;
}

.cw-react-native-faq__item.is-open .cw-react-native-faq__q {
  color: #f3efe7;
}

.cw-react-native-faq__q:focus-visible {
  outline: 2px solid #141210;
  outline-offset: -2px;
  border-radius: 18px;
}

.cw-react-native-faq__item.is-open .cw-react-native-faq__q:focus-visible {
  outline-color: #d4f53c;
}

.cw-react-native-faq__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3efe7;
  color: #141210;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.cw-react-native-faq__item.is-open .cw-react-native-faq__icon {
  background: #d4f53c;
  transform: rotate(45deg);
}

.cw-react-native-faq__a {
  padding: 0 22px 22px;
}

.cw-react-native-faq__a p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #cfc9be;
}

.cw-react-native-faq__empty {
  margin: 0;
  padding: 22px;
  color: #2e2a24;
}

.cw-react-native-faq__empty[hidden] {
  display: none !important;
}

.cw-react-native-faq__search:focus-visible {
  outline: 2px solid #141210;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .cw-react-native-faq__aside {
    position: static;
  }
}
