/* =========================================================
   STATIC PAGES
   About / Contact / Privacy / Terms / DMCA / Disclaimer
   Copyright / How to Play / Request a Game
   ========================================================= */

.static-page {
    padding-top: 34px;
    padding-bottom: 56px;
}

.policy-box {
    max-width: 920px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.policy-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--line-dark);
}

.policy-header h1 {
    margin: 0 0 10px;
    color: var(--text);
    font-family: var(--head);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.policy-header p {
    max-width: 720px;
    margin: 0;
    color: var(--text2);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   CONTENT
   ========================================================= */

.policy-content {
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.78;
}

.policy-content > *:first-child {
    margin-top: 0;
}

.policy-content > *:last-child {
    margin-bottom: 0;
}

.policy-content p {
    margin: 0 0 18px;
}

.policy-content strong {
    font-weight: 700;
    color: var(--text);
}


/* =========================================================
   HEADINGS
   ========================================================= */

.policy-content h2 {
    margin: 34px 0 12px;
    color: var(--text);
    font-family: var(--head);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.policy-content h3 {
    margin: 26px 0 10px;
    color: var(--text);
    font-family: var(--head);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}


/* =========================================================
   LINKS
   ========================================================= */

.policy-content a {
    color: var(--red);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color 0.15s ease,
        text-decoration-color 0.15s ease;
}

.policy-content a:hover {
    color: var(--text);
    text-decoration-color: var(--red);
}


/* =========================================================
   LISTS
   ========================================================= */

.policy-content ul,
.policy-content ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.policy-content li {
    margin: 8px 0;
    padding-left: 2px;
}

.policy-content li::marker {
    color: var(--red);
    font-weight: 700;
}


/* =========================================================
   CONTACT OPTIONS
   ========================================================= */

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 28px 0 34px;
}

.contact-options section {
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.contact-options h2 {
    margin: 0 0 9px;
    font-size: 20px;
}

.contact-options p {
    margin-bottom: 14px;
    color: var(--text2);
}

.contact-options a {
    display: inline-block;
    font-weight: 700;
    overflow-wrap: anywhere;
}


/* =========================================================
   STATIC ACTION BOX
   ========================================================= */

.static-action {
    margin: 32px 0;
    padding: 24px;
    border: 1px solid var(--line-dark);
    background: var(--surface);
}

.static-action h2 {
    margin-top: 0;
}

.static-action p {
    color: var(--text2);
}

.static-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    margin-top: 3px;
    padding: 10px 17px;

    border: 1px solid var(--line-dark);

    background: var(--text);
    color: var(--surface) !important;

    font-family: var(--body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none !important;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.static-button:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-1px);
}

.static-button:active {
    transform: translateY(0);
}

.static-email {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}


/* =========================================================
   NOTE BOX
   ========================================================= */

.static-note {
    margin: 30px 0 0;
    padding: 18px 20px;

    border-left: 4px solid var(--red);
    background: var(--surface2);

    color: var(--text2);
}

.static-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

.static-note span {
    display: block;
}


/* =========================================================
   FAQ / TROUBLESHOOTING
   ========================================================= */

.static-faq {
    margin: 22px 0 32px;
}

.static-faq > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.static-faq > div:first-child {
    border-top: 1px solid var(--line);
}

.static-faq dt {
    margin: 0 0 6px;
    color: var(--text);
    font-family: var(--head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.static-faq dd {
    margin: 0;
    color: var(--text2);
    line-height: 1.7;
}


/* =========================================================
   OPTIONAL: BLOCKQUOTE / WARNING
   ========================================================= */

.policy-content blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 18px;

    border-left: 3px solid var(--line-dark);

    color: var(--text2);
    font-style: italic;
}


/* =========================================================
   SMALL DETAILS
   ========================================================= */

.policy-content code {
    padding: 2px 5px;
    border: 1px solid var(--line);
    background: var(--surface2);
    color: var(--text);

    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    font-size: 0.92em;
}

.policy-content hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid var(--line);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 760px) {

    .static-page {
        padding-top: 24px;
        padding-bottom: 42px;
    }

    .policy-header {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }

    .policy-header h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .policy-header p {
        font-size: 15px;
        line-height: 1.65;
    }

    .policy-content {
        font-size: 15px;
        line-height: 1.72;
    }

    .policy-content h2 {
        margin-top: 30px;
        font-size: 21px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .static-page {
        padding-top: 18px;
        padding-bottom: 34px;
    }

    .policy-header {
        margin-bottom: 21px;
        padding-bottom: 18px;
    }

    .policy-header h1 {
        margin-bottom: 8px;
        font-size: 29px;
        line-height: 1.12;
    }

    .policy-header p {
        font-size: 14px;
    }

    .policy-content {
        font-size: 15px;
    }

    .policy-content p {
        margin-bottom: 16px;
    }

    .policy-content h2 {
        margin-top: 28px;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .policy-content ul,
    .policy-content ol {
        padding-left: 21px;
    }

    .contact-options {
        gap: 14px;
        margin: 22px 0 28px;
    }

    .contact-options section {
        padding: 18px;
    }

    .static-action {
        margin: 26px 0;
        padding: 19px;
    }

    .static-button {
        width: 100%;
        min-height: 46px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .static-note {
        padding: 16px;
    }

    .static-faq > div {
        padding: 15px 0;
    }

    .static-faq dt {
        font-size: 16px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.static-button:focus-visible,
.policy-content a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}