/* =============================================
   FAQ SECTION STYLES
   ============================================= */

.faq-section {
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--tyler);
  padding: 48px 16px 40px;
  margin-top: 48px;
  border-top: 1px solid var(--blade);
}

.faq-section-inner {
  max-width: 672px;
  margin: 0 auto;
}

.faq-h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--leah);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.faq-subtitle {
  font-size: 0.9375rem;
  color: var(--thor-gray);
  margin-bottom: 36px;
  line-height: 1.5;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background-color: var(--lawrence);
  border: 1px solid var(--blade);
  border-radius: 0.9375rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--andy);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  outline: none;
}

.faq-question h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--leah);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.faq-question-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--blade);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.3s ease;
  color: var(--thor-gray);
}

.faq-item.active .faq-question-icon {
  background-color: var(--green-default);
  color: var(--txt-green-default);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 18px;
}

.faq-answer h3 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--thor-gray);
  margin: 0;
  line-height: 1.65;
}

.faq-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.faq-footer-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--thor-gray);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.faq-footer-links a:hover {
  color: var(--leah);
}

.faq-footer-links a svg {
  width: 14px;
  height: 14px;
}

/* =============================================
   FAQ PAGE & ABOUT PAGE SHARED LAYOUT
   ============================================= */

.page-wrap {
  min-height: 100vh;
  background-color: var(--tyler);
  display: flex;
  flex-direction: column;
}

.page-header {
  background-color: var(--tyler);
  border-bottom: 1px solid var(--blade);
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.page-header-inner {
  max-width: 672px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--leah);
}

.page-header-logo img {
  width: 28px;
  height: 28px;
}

.page-header-logo svg {
  color: var(--leah);
}

.page-header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-header-nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--thor-gray);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.page-header-nav a:hover {
  color: var(--leah);
}

.page-content {
  flex: 1;
  padding: 48px 16px 64px;
  max-width: 100%;
  overflow-x: hidden;
}

.page-content-inner {
  max-width: 672px;
  margin: 0 auto;
}

.page-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--leah);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.page-hero-description {
  font-size: 1rem;
  color: var(--thor-gray);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
}

.page-section {
  margin-bottom: 36px;
}

.page-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--leah);
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-section-text {
  font-size: 0.9375rem;
  color: var(--thor-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-section-text:last-child {
  margin-bottom: 0;
}

.page-card {
  background-color: var(--lawrence);
  border: 1px solid var(--blade);
  border-radius: 0.9375rem;
  padding: 22px 24px;
  margin-bottom: 12px;
}

.page-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--leah);
  margin-bottom: 6px;
  line-height: 1.4;
}

.page-card-text {
  font-size: 0.875rem;
  color: var(--thor-gray);
  line-height: 1.65;
  margin: 0;
}

.page-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.page-divider {
  height: 1px;
  background-color: var(--blade);
  margin: 36px 0;
  border: none;
}

.page-cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--blade);
}

.page-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--green-default);
  color: var(--txt-green-default);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.page-btn-primary:hover {
  opacity: 0.88;
}

.page-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--blade);
  color: var(--leah);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 0.9375rem;
  text-decoration: none;
  border: 1px solid var(--andy);
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.page-btn-secondary:hover {
  opacity: 0.88;
  border-color: var(--leah);
}

.page-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--thor-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-link:hover {
  color: var(--leah);
}

/* =============================================
   FAQ PAGE — ACCORDION ON SUB-PAGE
   ============================================= */

.sub-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-faq-item {
  background-color: var(--lawrence);
  border: 1px solid var(--blade);
  border-radius: 0.9375rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.sub-faq-item.active {
  border-color: var(--andy);
}

.sub-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  outline: none;
}

.sub-faq-question h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--leah);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.sub-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--blade);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.3s ease;
  color: var(--thor-gray);
}

.sub-faq-item.active .sub-faq-icon {
  background-color: var(--green-default);
  color: var(--txt-green-default);
  transform: rotate(45deg);
}

.sub-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 22px;
}

.sub-faq-item.active .sub-faq-answer {
  max-height: 800px;
  padding-bottom: 18px;
}

.sub-faq-answer p {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--thor-gray);
  margin: 0;
  line-height: 1.65;
}

/* =============================================
   ABOUT PAGE — FEATURE STATS ROW
   ============================================= */

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.about-stat-card {
  background-color: var(--lawrence);
  border: 1px solid var(--blade);
  border-radius: 0.9375rem;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-value {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--leah);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--thor-gray);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =============================================
   PAGE FOOTER
   ============================================= */

.page-footer {
  border-top: 1px solid var(--blade);
  padding: 20px 16px;
  background-color: var(--tyler);
}

.page-footer-inner {
  max-width: 672px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.page-footer-copy {
  font-size: 0.8125rem;
  color: var(--thor-gray);
  line-height: 1.4;
}

.page-footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-footer-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--thor-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-footer-links a:hover {
  color: var(--leah);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 600px) {
  .faq-h1 {
    font-size: 1.375rem;
  }

  .faq-section {
    padding: 36px 14px 32px;
    margin-top: 32px;
  }

  .faq-question {
    padding: 16px 16px;
  }

  .faq-answer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 16px;
  }

  .page-hero-title {
    font-size: 1.5rem;
  }

  .page-card-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .page-cta-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-btn-primary,
  .page-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .page-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sub-faq-question {
    padding: 16px 16px;
  }

  .sub-faq-answer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sub-faq-item.active .sub-faq-answer {
    padding-bottom: 16px;
  }
}

@media (max-width: 400px) {
  .about-stats-row {
    grid-template-columns: 1fr;
  }
}