/* FAQ presentation and motion follow skystamp.app; copy belongs to Journey Pilot. */
.faq-section {
  --faq-ink: #061b31;
  --faq-gold: #d8a53b;
  padding: clamp(84px, 10vw, 140px) 0;
  background: #041427;
  color: #fffdf7;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
.faq-inner {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}
.faq-inner .section-heading {
  margin: 0;
  margin-block-end: clamp(40px, 5vw, 52px);
  color: #fff8ea;
  font-family:
    "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(3rem, 5vw, 5.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-align: center;
}
html[lang="ja"] .faq-inner .section-heading {
  line-height: 1.25;
}
.faq-section [data-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}
.faq-section [data-reveal][data-reveal-ready]:not([data-visible="true"]) {
  opacity: 0;
  transform: translateY(22px);
}
.faq-section [data-reveal][data-visible="true"] {
  opacity: 1;
  transform: none;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-disclosure {
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(8, 26, 47, 0.68);
  transition:
    border-color 220ms ease,
    background-color 220ms ease;
}
.faq-disclosure > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  padding: 20px 24px;
  color: #fffdf7;
  cursor: pointer;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: start;
}
.faq-disclosure > button::before,
.faq-disclosure > button::after {
  content: none !important;
}
.faq-disclosure > button:focus-visible {
  outline: 3px solid var(--faq-gold);
  outline-offset: -3px;
}
.faq-disclosure[data-open] {
  border-color: rgba(207, 164, 62, 0.6);
  background: rgba(8, 31, 57, 0.9);
}
.faq-disclosure > button > svg.faq-disclosure-chevron {
  display: block;
  flex: 0 0 20px;
  inline-size: 20px;
  block-size: 20px;
  max-inline-size: 20px;
  max-block-size: 20px;
  color: var(--faq-gold);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition:
    transform 260ms cubic-bezier(0.2, 0.75, 0.2, 1),
    color 220ms ease;
}
.faq-disclosure[data-open] .faq-disclosure-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 100ms;
}
/* Keep every answer readable when scripts are unavailable. */
.faq-disclosure:not([data-faq-ready]) .faq-answer {
  height: auto;
  overflow: visible;
  opacity: 1;
}
.faq-answer-inner {
  min-height: 0;
}
.faq-answer-inner > p {
  overflow: hidden;
  max-width: 760px;
  margin: 0;
  padding: 0 24px 20px;
  color: #b5c4d2;
}
html[data-theme="light"] .faq-section {
  background: #eaf3f7;
  color: var(--faq-ink);
}
html[data-theme="light"] .faq-inner .section-heading {
  color: var(--faq-ink);
}
html[data-theme="light"] .faq-list p {
  color: #3d586f;
}
html[data-theme="light"] .faq-list,
html[data-theme="light"] .faq-disclosure {
  border-color: rgba(5, 27, 49, 0.15);
}
html[data-theme="light"] .faq-disclosure {
  background: rgba(255, 255, 255, 0.78);
}
html[data-theme="light"] .faq-disclosure[data-open] {
  background: #fffaf0;
  border-color: rgba(139, 98, 13, 0.5);
}
html[data-theme="light"] .faq-disclosure > button {
  color: var(--faq-ink);
}
html[data-theme="light"] .faq-disclosure > button > .faq-disclosure-chevron {
  color: #8b620d;
}
@media (max-width: 620px) {
  .faq-section {
    padding-block: 72px;
  }
  .faq-inner {
    width: calc(100% - 32px);
  }
  .faq-inner .section-heading {
    font-size: clamp(2.55rem, 12vw, 4.1rem);
    text-align: left;
  }
  html[lang="ja"] .faq-inner .section-heading {
    font-size: clamp(2.35rem, 10.5vw, 3.7rem);
  }
  .faq-disclosure {
    border-radius: 12px;
  }
  .faq-disclosure > button > svg.faq-disclosure-chevron {
    flex-basis: 16px;
    inline-size: 16px;
    block-size: 16px;
    max-inline-size: 16px;
    max-block-size: 16px;
  }
  .faq-answer-inner > p {
    padding: 0 16px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-disclosure,
  .faq-disclosure-chevron,
  .faq-answer {
    transition: none !important;
  }
  .faq-section [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}
