/*!
 * Stirhits — shared layout for long-form document pages (privacy, terms, FAQ).
 *
 * The New Age theme is a landing page and ships no document layout, so these are ours.
 * Load after styles.css and dark-theme.css; the --sh-* vars come from dark-theme.css.
 */

.doc-hero {
    padding-top: 9.5rem;
    padding-bottom: 3rem;
    text-align: center;
}

.doc-meta {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sh-text-muted);
}

.doc-body {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

.doc-section {
    background-color: var(--sh-surface);
    border: 1px solid var(--sh-border);
    border-radius: 0.75rem;
    padding: 2rem 2.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

/* Accent rule, echoing the masthead's brand gradient. */
.doc-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3.75rem;
    height: 2px;
    background: linear-gradient(90deg, var(--sh-primary), var(--sh-secondary));
}

.doc-section h2 {
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.doc-section p,
.doc-section li {
    color: var(--sh-text-muted);
    line-height: 1.8;
}

.doc-section p:last-child,
.doc-section ul:last-child {
    margin-bottom: 0;
}

.doc-section ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.doc-section ul li::marker {
    color: var(--sh-primary);
}

.doc-section a {
    color: var(--sh-primary);
    text-decoration: none;
}

.doc-section a:hover {
    color: var(--sh-secondary);
}

.back-link {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sh-text-muted);
    text-decoration: none;
    margin-bottom: 2.5rem;
}

.back-link:hover {
    color: var(--sh-primary);
}

.doc-footnote {
    color: var(--sh-text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 2.5rem;
}

.doc-footnote a {
    color: var(--sh-primary);
    text-decoration: none;
}

.doc-footnote a:hover {
    color: var(--sh-secondary);
}

/* FAQ accordion — sits here because it is document-page furniture, while the
   colour tokens for Bootstrap's accordion vars live in dark-theme.css. */
.accordion-item {
    border-radius: 0.75rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    color: var(--sh-text-muted);
    line-height: 1.8;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}
