/*
    Archive777 Content Pages
    Used only by:
      - terms.html
      - privacy.html
      - faq.html
      - about.html
*/

.legal-page {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.legal-page-header {
    margin-bottom: 34px;
}

.legal-content {
    width: min(100%, 920px);
    margin: 0 auto 56px;
    padding: 44px 52px 54px;

    background: rgba(5, 8, 12, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.42);

    color: #e8e8e8;

    font-size: 1.05rem;
    line-height: 1.72;
}

.legal-content > h1 {
    margin: 0 0 10px;

    font-size: clamp(1.55rem, 2.5vw, 1.95rem);
    line-height: 1.2;
    letter-spacing: -0.01em;

    color: #ffffff;
}

.legal-updated {
    margin: 0 0 38px;

    color: #a6a6a6;

    font-size: 0.94rem;
}

.legal-content section {
    margin-top: 34px;
    padding-top: 0;
}

.legal-content section:first-of-type {
    margin-top: 30px;
}

.legal-content h2 {
    margin: 0 0 16px;

    font-size: clamp(1.15rem, 2vw, 1.38rem);
    line-height: 1.32;

    color: #ffffff;
}

.legal-content h3 {
    margin: 28px 0 12px;

    font-size: 1.15rem;
    line-height: 1.35;

    color: #ffffff;
}

.legal-content p {
    margin: 0 0 18px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul,
.legal-content ol {
    margin: 14px 0 22px;
    padding-left: 28px;
}

.legal-content li {
    margin: 9px 0;
    padding-left: 4px;
}

.legal-content strong {
    color: #ffffff;
}

.legal-content a {
    color: #6fb6ff;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-content a:hover,
.legal-content a:focus {
    color: #a4d2ff;
}

.legal-content .mission-hero {
    margin-top: 30px;
    padding: 32px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.035);
}

.legal-content .mission-hero h2 {
    margin-top: 4px;

    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.legal-content .mission-kicker {
    margin: 0 0 8px;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #9fcaff;
}

/*
    FAQ questions benefit from slightly stronger visual separation.
*/
.legal-content section h2:first-child {
    scroll-margin-top: 24px;
}

.legal-page footer {
    width: min(100%, 920px);
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {

    .legal-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .legal-page-header {
        margin-bottom: 28px;
    }

    .legal-content {
        padding: 30px 22px 38px;

        border-radius: 14px;

        font-size: 1rem;
        line-height: 1.68;
    }

    .legal-content section {
    margin-top: 34px;
    padding-top: 0;
}

    .legal-content .mission-hero {
        padding: 24px 20px;
    }
}

@media (max-width: 430px) {

    .legal-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .legal-content {
        padding: 26px 17px 34px;

        border-radius: 12px;
    }

    .legal-content ul,
    .legal-content ol {
        padding-left: 22px;
    }
}

/* Archive777 content-page normalization v1.0.2 */

/* Remove the inherited blue divider beneath section headings. */
.legal-content h2 {
    padding-bottom: 0;
    border-bottom: 0;
}

/*
   Make the About mission hero use the same outer box treatment
   as ordinary legal/content sections.
*/
.legal-content .mission-hero {
    position: static;
    overflow: visible;

    margin-top: 34px;
    padding: 0 18px 16px !important;

    background: rgba(9,18,27,.58) !important;
    border: 1px solid rgba(126,171,210,.18) !important;
    border-left: 1px solid rgba(126,171,210,.18) !important;
    border-radius: 6px;
}

/* Keep the mission typography, but remove the blue-left-bar motif. */
.legal-content .mission-statement {
    border: 1px solid rgba(126,171,210,.14);
    border-left: 1px solid rgba(126,171,210,.14);
    border-radius: 5px;
}

.legal-content .mission-principles div {
    border-left: 1px solid rgba(126,171,210,.16);
}

/* Make the transition into the About sections quieter and left aligned. */
.legal-content .practice-intro {
    margin: 30px 0 8px;
    color: #a6a6a6;
    font-size: 0.82rem;
    letter-spacing: 0.10em;
    text-align: left;
}

@media (max-width: 760px) {
    .legal-content .mission-hero {
        margin-top: 34px;
        padding: 0 13px 15px !important;
    }
}
/* About page: plain mission principles */
.legal-content .mission-principles div {
    margin: 8px 0;
    padding: 0;

    background: none;
    border: 0;
    border-radius: 0;

    box-shadow: none;
}