/* =========================================================
   SUPERAPE — TERMS
   Brutalist / editorial
   Mobile first
   ========================================================= */

.wrapper {
    width: min(100% - 24px, 1100px);
    margin: 0 auto;
    padding: 18px 0 48px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    margin: 8px 0 26px;
    padding: 0 0 22px;

    border-bottom: 2px solid #e53935;
}

.hero h1 {
    max-width: 850px;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 36px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.05em;

    text-transform: uppercase;
}

.hero p {
    max-width: 720px;

    margin: 0;

    color: #92929c;

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   TERMS SECTIONS
   ========================================================= */

.terms-sections {
    display: grid;
    grid-template-columns: 1fr;

    gap: 0;

    border-top: 1px solid #303038;

    counter-reset: terms-section;
}

.terms-card {
    position: relative;

    counter-increment: terms-section;

    margin: 0;
    padding: 18px 4px 20px 50px;

    background: transparent;

    border: 0;
    border-bottom: 1px solid #303038;
    border-radius: 0;

    box-shadow: none;
}

.terms-card::before {
    content: counter(terms-section, decimal-leading-zero);

    position: absolute;
    top: 20px;
    left: 4px;

    color: #e53935;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.terms-card h2,
.privacy-card h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.025em;

    text-transform: uppercase;
}

.terms-card p,
.privacy-card p {
    max-width: 820px;

    margin: 0;

    color: #92929c;

    font-size: 12px;
    line-height: 1.6;
}

.terms-card a {
    color: #ffffff;

    text-decoration: none;

    border-bottom: 1px solid #e53935;
}

.terms-card a:hover {
    color: #e53935;
}


/* =========================================================
   LISTS
   ========================================================= */

.terms-card ul {
    display: grid;

    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;

    border-top: 1px solid #27272e;
}

.terms-card li {
    position: relative;

    padding: 9px 0 9px 18px;

    color: #8f8f99;

    border-bottom: 1px solid #27272e;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 10px;
    line-height: 1.45;
}

.terms-card li::before {
    content: '+';

    position: absolute;
    left: 0;

    color: #e53935;

    font-weight: 900;
}


/* =========================================================
   COMPANY DATA
   ========================================================= */

.terms-card.featured {
    margin: 16px 0;

    padding: 18px 16px 20px 50px;

    background: #101014;

    border: 1px solid #e53935;
}

.terms-card.featured::before {
    left: 14px;
}

.terms-card.featured p {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 10px;
    line-height: 1.65;
}

.terms-card.featured strong {
    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   TIKTOK / EXTRA LEGAL BLOCK
   ========================================================= */

.privacy-card {
    margin: 18px 0 0;
    padding: 18px 4px;

    background: transparent;

    border: 0;
    border-top: 2px solid #ffffff;
    border-bottom: 1px solid #303038;
    border-radius: 0;

    box-shadow: none;
}

.privacy-card p + p {
    margin-top: 10px;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 800px) {

    .wrapper {
        padding-top: 28px;
    }

    .hero {
        margin-top: 12px;
        padding-bottom: 28px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        font-size: 14px;
    }

    .terms-card {
        display: grid;
        grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);

        gap: 36px;

        padding: 22px 22px 22px 66px;
    }

    .terms-card::before {
        top: 24px;
        left: 20px;
    }

    .terms-card h2 {
        margin: 0;

        font-size: 18px;
    }

    .terms-card p {
        font-size: 13px;
    }

    .terms-card ul {
        grid-column: 2;
    }

    .terms-card.featured {
        margin: 18px 0;

        padding: 22px 22px 22px 66px;
    }

    .terms-card.featured::before {
        left: 20px;
    }

    .privacy-card {
        display: grid;
        grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);

        gap: 36px;

        padding: 22px 4px;
    }

    .privacy-card h2 {
        margin: 0;

        font-size: 18px;
    }

    .privacy-card p {
        font-size: 13px;
    }

    .privacy-card p + p {
        grid-column: 2;

        margin-top: 0;
    }
}
