/* Base reset */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #3a1c71, #5f2c82);
  color: rgba(255, 255, 255, 0.97);
}

/* Layout */
.page-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}

/* Header */
.site-header-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.site-header img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.97);
  opacity: 1;
}

h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
}

.subtitle {
  margin: 0 0 26px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
  opacity: 1;
}

/* FAQ list */
.faq {
  margin-top: 18px;
}

/* FAQ items */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
}

/* Question button */
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-question:focus {
  outline: none;
}

/* Answer (collapsed by default) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease;
  margin-top: 10px;
}

.faq-item.open .faq-answer {
  opacity: 1;
}

/* Answer text */
.faq-answer p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  opacity: 1;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0 0 10px 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.94);
  opacity: 1;
}

.faq-answer li {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  opacity: 1;
}

/* Links inside FAQ answers */
.faq-answer a {
  color: rgba(255, 255, 255, 0.97);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-answer a:visited {
  color: rgba(255, 255, 255, 0.97);
}

.faq-answer a:hover {
  opacity: 0.95;
}

/* Footer */
.footer-actions {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.94);
  opacity: 1;
}

.footer-contact {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact:hover {
  opacity: 0.9;
}

.footer-home {
  display: block;
  margin-top: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.footer-home:hover {
  opacity: 0.9;
}
