/* ============================================================================
   faq.css — standalone /faq page
   Loaded after index.css - reuses .kicker/.cta-button/.link-underline/
   .footer-cta-section/main{max-width} from there, plus tokens from base.css.
   This file covers what's unique to this page: the hero and the accordion.
   ========================================================================== */

.faq-hero {
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid var(--color-line);
}

.faq-hero h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--color-ink);
}

.faq-hero h1 .tint {
  font-weight: 400;
  color: var(--color-text-tint);
}

.faq-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-body);
  max-width: 620px;
}

/* ---------- Question groups ------------------------------------------- */

.faq-group {
  padding: 36px 20px;
  border-bottom: 1px solid var(--color-line);
}

.faq-group-head h2 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--color-ink);
}

.faq-list {
  margin-top: 20px;
  border-top: 1px solid var(--color-line-soft);
}

.faq-item {
  border-bottom: 1px solid var(--color-line-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .q {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
}

.faq-item .faq-toggle {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-item .faq-toggle::before,
.faq-item .faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-red);
  transform: translate(-50%, -50%);
}

.faq-item .faq-toggle::before {
  width: 14px;
  height: 2px;
}

.faq-item .faq-toggle::after {
  width: 2px;
  height: 14px;
  transition: transform .15s;
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

.faq-a {
  padding: 0 0 18px;
  max-width: 680px;
}

.faq-a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-body);
}

.faq-a a {
  font-weight: 600;
}

@media screen and (min-width: 1024px) {
  .faq-hero,
  .faq-group {
    padding-left: 60px;
    padding-right: 60px;
  }

  .faq-hero {
    padding-top: 76px;
    padding-bottom: 54px;
  }

  .faq-hero h1 {
    font-size: 52px;
  }

  .faq-hero p {
    font-size: 18px;
  }

  .faq-group {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .faq-group-head h2 {
    font-size: 32px;
  }

  .faq-list {
    margin-top: 0;
  }

  .faq-item .q {
    font-size: 16px;
  }

  .faq-a p {
    font-size: 15px;
  }
}
