.terms-reskin-page {
    background: #0d0d0f;
    color: #f5f5f5;
}

.terms-page,
.terms-page *,
.terms-page *::before,
.terms-page *::after {
    box-sizing: border-box;
}

.terms-page {
    min-height: 100vh;
    background: #0d0d0f;
    color: #f5f5f5;
    font-family: "Inter", Arial, sans-serif;
}

.terms-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 40px;
    padding-left: 40px;
}

.terms-hero {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: #131416;
}

.terms-hero__inner {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.terms-hero__eyebrow {
    margin: 0 0 14px;
    color: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.terms-hero h1 {
    margin: 0;
    color: #f5f5f5;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.05;
}

.terms-hero__subtitle {
    max-width: 672px;
    margin: 16px auto 0;
    color: #a7a7aa;
    font-size: 16px;
    line-height: 1.5;
}

.terms-content {
    padding-top: 64px;
    padding-bottom: 96px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.terms-card {
    display: flex;
    min-width: 0;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 16px;
    background: #18191c;
    transition: border-color .25s ease, transform .25s ease;
}

.terms-card:hover {
    border-color: rgba(255, 255, 255, .27);
    transform: translateY(-2px);
}

.terms-card--wide {
    grid-column: 1 / -1;
}

.terms-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    color: #f5f5f5;
}

.terms-card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.terms-card__body {
    min-width: 0;
    flex: 1;
}

.terms-card h2,
.terms-card h3 {
    color: #f5f5f5;
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 600;
}

.terms-card h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.terms-card h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.25;
}

.terms-card p {
    margin: 10px 0 0;
    color: #aaaab0;
    font-size: 14px;
    line-height: 1.75;
}

.terms-card__kicker {
    margin: 0 0 5px !important;
    color: #828288 !important;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.terms-card__subsection {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.terms-card__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.terms-country-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 24px 0 0;
    padding: 1px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, .09);
    list-style: none;
}

.terms-country-grid li {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    background: #111214;
    color: #c9c9cd;
    font-size: 13px;
    line-height: 1.4;
}

.terms-country-grid li span {
    min-width: 0;
}

.terms-country-grid li strong {
    flex: 0 0 auto;
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.terms-fees-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.terms-fees-grid > div {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    background: #111214;
}

.terms-fees-grid p {
    margin-top: 8px;
}

@media (max-width: 899px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .terms-card--wide {
        grid-column: auto;
    }

    .terms-country-grid,
    .terms-fees-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .terms-shell {
        padding-right: 24px;
        padding-left: 24px;
    }

    .terms-hero__inner {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .terms-hero h1 {
        font-size: 38px;
        line-height: 1.06;
    }

    .terms-content {
        padding-top: 48px;
        padding-bottom: 64px;
    }

    .terms-card {
        display: block;
        padding: 24px;
    }

    .terms-card__icon {
        margin-bottom: 18px;
    }

    .terms-card__columns,
    .terms-country-grid,
    .terms-fees-grid {
        grid-template-columns: 1fr;
    }

    .terms-card__columns {
        gap: 20px;
    }
}
