@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --content-bg: #101318;
  --content-text: #f4f3f1;
  --content-muted: #aaa7a1;
  --content-gold: #f2bf5a;
  --content-gold-20: rgba(242, 191, 90, 0.2);
  --content-gold-10: rgba(242, 191, 90, 0.1);
  --content-card: rgba(25, 29, 36, 0.6);
  --content-card-solid: #191d24;
  --content-ink: #101318;
}

html:has(.content-page),
body:has(.content-page) {
  background-color: var(--content-bg) !important;
}

body:has(.content-page) .page-content {
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  animation: none;
}

body:has(.content-page) .site-footer {
  position: static !important;
}

body:has(.about-page) .footer-nav a[href*="/about"] {
  color: #f59e0b;
  font-weight: 700;
}

body:has(.faq-page) .footer-nav a[href*="/faq"] {
  color: #f59e0b;
  font-weight: 700;
}

.content-page {
  position: relative;
  background-color: var(--content-bg);
  color: var(--content-text);
  overflow: hidden;
}

.content-page-bg {
  position: absolute;
  top: -65px;
  left: 0;
  right: 0;
  height: 269px;
  background-image: url("../images/faq-hero.png");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  pointer-events: none;
}

.content-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 96px 24px 96px;
}

.faq-page .content-inner {
  max-width: 816px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-kicker {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--content-gold);
}

.content-hero {
  text-align: center;
  margin-bottom: 96px;
}

.faq-page .content-hero {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-hero h1 {
  margin: 0 0 24px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 60px;
  color: var(--content-text);
}

.faq-page .content-hero h1 {
  margin: 0;
}

.content-lead {
  margin: 0 auto 24px;
  max-width: 672px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--content-muted);
}

.faq-page .content-lead {
  margin: 0 auto;
  max-width: 576px;
  line-height: 29.25px;
}

.content-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 32px;
  border-radius: 9999px;
  background: var(--content-gold);
  color: var(--content-ink);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.content-btn:hover,
.content-btn:focus {
  background: #e5b04d;
  color: var(--content-ink);
  text-decoration: none;
}

.content-section {
  margin-bottom: 96px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2,
.about-cta h2,
.faq-help h3 {
  margin: 0 0 24px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
  color: var(--content-text);
}

.about-copy {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.about-copy h2 {
  margin-bottom: 24px;
  line-height: 40px;
}

.about-copy p {
  margin: 0 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--content-muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-steps,
.about-cards,
.about-principles {
  display: grid;
  gap: 24px;
}

.about-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.about-cards,
.about-principles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}

.about-card,
.about-step {
  background: var(--content-card);
  border: 1px solid var(--content-gold-20);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
}

.about-cards .about-card:last-child,
.about-principles .about-card:last-child {
  grid-column: 1 / -1;
  max-width: 540px;
  width: 100%;
  justify-self: center;
}

.about-step-number {
  display: block;
  margin-bottom: 7px;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  color: var(--content-gold);
}

.about-step h3,
.about-card h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--content-text);
}

.about-cards .about-card h3 {
  color: var(--content-gold);
}

.about-step p,
.about-card p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 23px;
  color: var(--content-muted);
}

.about-explore-intro {
  margin: 0 0 32px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--content-muted);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 17px;
  border: 1px solid var(--content-gold-20);
  border-radius: 9999px;
  background: rgba(25, 29, 36, 0.4);
  color: var(--content-text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.about-not {
  max-width: 768px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--content-gold-20);
  border-radius: 16px;
  background: transparent;
}

.about-not p {
  margin: 0 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--content-muted);
}

.about-not p:last-child {
  margin-bottom: 0;
}

.about-grow,
.about-cta {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-grow p,
.about-cta p {
  margin: 0 auto;
  max-width: 721px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--content-muted);
}

.about-cta h2 {
  max-width: 509px;
  margin: 0 auto 24px;
  font-size: 40px;
  line-height: 48px;
}

.about-cta p {
  margin-bottom: 24px;
  max-width: 666px;
}

.faq-search-wrap {
  position: relative;
}

.faq-search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
}

.faq-search-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.faq-search {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--content-gold-20);
  border-radius: 14px;
  background: var(--content-card);
  color: var(--content-text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  backdrop-filter: blur(4px);
}

.faq-search::placeholder {
  color: var(--content-muted);
}

.faq-search:focus {
  outline: none;
  border-color: var(--content-gold);
}

.faq-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.faq-chip {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid var(--content-gold-20);
  background: rgba(25, 29, 36, 0.4);
  color: var(--content-muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.faq-chip.is-active,
.faq-chip:hover {
  background: var(--content-gold);
  border-color: var(--content-gold);
  color: var(--content-ink);
}

.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-section[hidden],
.faq-item[hidden],
.faq-empty[hidden] {
  display: none !important;
}

.faq-section h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: left;
  color: var(--content-text);
}

.faq-list {
  background: var(--content-card);
  border: 1px solid var(--content-gold-20);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--content-gold-10);
}

.faq-item-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 12px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--content-text);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.faq-chevron img {
  width: 100%;
  height: 100%;
  display: block;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-item-answer {
  display: none;
  padding: 0 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 22.75px;
  color: var(--content-muted);
}

.faq-item.is-open .faq-item-answer {
  display: block;
}

.faq-empty {
  margin: 0;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: var(--content-muted);
}

.faq-help {
  border: 1px solid var(--content-gold-20);
  border-radius: 16px;
  background: linear-gradient(
      165deg,
      rgba(25, 29, 36, 0.6) 0%,
      rgba(39, 44, 53, 0.3) 100%
    ),
    #191d24;
  backdrop-filter: blur(4px);
}

.faq-help-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}

.faq-help h3 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

.faq-help p {
  margin: 0;
  max-width: 576px;
  padding-bottom: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: var(--content-muted);
}

@media (max-width: 1024px) {
  .about-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .content-inner {
    padding: 80px 20px 64px;
  }

  .content-hero {
    margin-bottom: 64px;
  }

  .content-hero h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .content-section {
    margin-bottom: 64px;
  }

  .content-section h2,
  .about-cta h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .about-steps,
  .about-cards,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-cards .about-card:last-child,
  .about-principles .about-card:last-child {
    max-width: none;
  }

  .faq-item-trigger {
    font-size: 16px;
    line-height: 24px;
  }
}
