/* Mobile App — 14 FAQ */

.cw-mobile-app-faq {
  width: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  background: #f3efe7;
  color: #141210;
  --cw-ma-edge: clamp(12px, 1.5vw, 24px);
  --cw-ma-pad-x: clamp(12px, 1.25vw, 18px);
}

.cw-mobile-app-faq__inner {
  box-sizing: border-box;
  width: min(1000px, calc(100vw - 2 * var(--cw-ma-edge)));
  max-width: calc(100vw - 2 * var(--cw-ma-edge));
  margin-inline: auto;
  padding: clamp(36px, 4.5vw, 56px) var(--cw-ma-pad-x);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-mobile-app-faq__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.cw-mobile-app-faq__head-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-mobile-app-faq__kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #b5361a;
}

.cw-mobile-app-faq__title {
  margin: 0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.cw-mobile-app-faq__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cw-mobile-app-faq__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(20, 18, 16, 0.12);
  min-width: min(100%, 300px);
  box-sizing: border-box;
}

.cw-mobile-app-faq__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 15px 'Inter', sans-serif;
  color: #141210;
  min-width: 0;
}

.cw-mobile-app-faq__count {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6b6158;
}

.cw-mobile-app-faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(20, 18, 16, 0.14);
}

.cw-mobile-app-faq__item {
  border-bottom: 1px solid rgba(20, 18, 16, 0.14);
}

.cw-mobile-app-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: 600 16px 'Inter', sans-serif;
  color: #141210;
}

.cw-mobile-app-faq__q:focus-visible {
  outline: 2px solid #e0431c;
  outline-offset: 4px;
  border-radius: 4px;
}

.cw-mobile-app-faq__item.is-open .cw-mobile-app-faq__q {
  color: #c8391a;
}

.cw-mobile-app-faq__icon {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.06);
  color: #141210;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0deg);
  transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}

.cw-mobile-app-faq__item.is-open .cw-mobile-app-faq__icon {
  transform: rotate(180deg);
  background: #e0431c;
  color: #fff;
}

.cw-mobile-app-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.cw-mobile-app-faq__item.is-open .cw-mobile-app-faq__a {
  grid-template-rows: 1fr;
}

.cw-mobile-app-faq__a > div {
  overflow: hidden;
}

.cw-mobile-app-faq__a p {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: #3a332d;
}

.cw-mobile-app-faq__empty {
  padding: 28px 0;
  font-size: 15px;
  color: #6b6158;
}

.cw-mobile-app-faq__empty a {
  color: #c8391a;
  text-decoration: none;
}

.cw-mobile-app-faq__empty a:hover {
  text-decoration: underline;
}
