/* Inner pages that share the homepage header, footer and colors. */

.page-main {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 72px;
}
.page-hero { max-width: 720px; margin-bottom: 36px; }
.page-hero h1 {
  margin-top: 14px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.page-hero .meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.875rem;
}
.doc-layout { display: grid; gap: 28px; }
.doc-toc {
  padding: 18px 18px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.doc-toc p {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}
.doc-toc a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cfc7de;
  font-size: 0.875rem;
}
.doc-toc a:last-child { border-bottom: 0; }
.doc-toc a:hover { color: #fff; }
.doc { font-size: 1rem; line-height: 1.7; }
.doc h2 {
  font-size: 1.25rem;
  margin: 36px 0 10px;
  scroll-margin-top: 130px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 1.0625rem;
  margin: 22px 0 8px;
  scroll-margin-top: 130px;
}
.doc p, .doc li, .doc .note, .defs dd {
  color: #d6cfe4;
  font-size: 1rem;
  line-height: 1.7;
}
.doc p + p, .doc ul + p, .doc p + ul, .doc ul + ul { margin-top: 14px; }
.doc ul, .doc ol { display: grid; gap: 12px; }
.doc ol { padding-left: 1.25rem; }
.doc ol li { padding-left: 0; }
.doc ol li::before { content: none; }
.doc li { padding-left: 16px; position: relative; }
.doc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.doc strong { color: #fff; font-weight: 650; }
.doc a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.doc a:hover { color: #fff; }
.quote {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
}
.note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(139, 77, 255, 0.35);
  background: rgba(139, 77, 255, 0.1);
  color: #efeaf8;
}
.defs { display: grid; gap: 14px; margin-top: 8px; }
.defs div {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.defs dt {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--violet-soft);
  font-size: 13px;
}
.defs dd { margin-top: 6px; }
@media (min-width: 980px) {
  .doc-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
  .doc-toc { position: sticky; top: 118px; }
}

.doc-toc a.is-active { color: #fff; font-weight: 650; }
.faq-group {
  margin: 0 0 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  scroll-margin-top: 12px;
}
.faq-group:last-child { margin-bottom: 0; }
.faq-group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(0, 221, 133, 0.14), transparent 72%);
}
#advertisers .faq-group-head {
  background: linear-gradient(90deg, rgba(139, 77, 255, 0.22), transparent 72%);
}
#offerwall .faq-group-head {
  background: linear-gradient(90deg, rgba(182, 146, 255, 0.16), transparent 72%);
}
.faq-index {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mint);
}
#advertisers .faq-index { color: var(--violet-soft); }
.faq .faq-group h2 {
  margin: 0;
  font-size: 1.25rem;
  scroll-margin-top: 130px;
}
.faq-group-head div p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.faq-group details { margin: 0 22px; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.faq-group details:last-child { border-bottom: 0; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(45deg);
  flex: none;
  margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq details p { margin: 0 0 16px; }
