/* FAQ page — matches ancode-duplicated bolt.host /faq */

:root {
  --navy: #120644;
  --blue: #007fff;
  --slate: #244c6d;
  --gray-50: #f9fafb;
  --bolt-header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Nunito, Inter, system-ui, sans-serif;
  color: var(--navy);
  background: var(--gray-50);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.faq-page {
  min-height: 100vh;
  padding: calc(var(--bolt-header-height) + 48px) clamp(16px, 4vw, 24px) clamp(48px, 6vw, 72px);
}

.faq-page__inner {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-page__hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-page__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
}

.faq-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.faq-page__subtitle {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
}

.faq-page__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-page__item {
  overflow: hidden;
  background: #fff;
  border: none;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

.faq-page__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.faq-page__question:hover {
  background: rgba(249, 250, 251, 0.9);
}

.faq-page__question-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
}

.faq-page__chevron {
  flex-shrink: 0;
  color: var(--slate);
  transition: transform 0.2s ease, color 0.2s ease;
}

.faq-page__item.is-open .faq-page__chevron {
  color: var(--blue);
  transform: rotate(180deg);
}

.faq-page__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.faq-page__item.is-open .faq-page__answer {
  display: block;
}

.faq-page__answer p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--slate);
  white-space: pre-line;
}

.faq-page__back {
  margin-top: 2.5rem;
  text-align: center;
}

.faq-page__back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px #cbff80;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-page__back-link:hover {
  transform: scale(1.02);
}
