.terms-container {
    width: min(850px, calc(100% - 40px));
    margin: 80px auto;
    text-align: center;
}

.terms-header {
    margin-bottom: 50px;
}

.terms-header h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.last-updated {
    color: #888;
    font-size: 14px;
}

.terms-content {
    width: 100%;
    margin: 0 auto;
}

.terms-section {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.terms-section:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.terms-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 5px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.terms-toggle span:first-child {
    flex: 1;
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.terms-icon {
    flex-shrink: 0;
    font-size: 27px;
    font-weight: 300;
    transition: transform 0.25s ease;
}

.terms-toggle:hover .terms-icon {
    transform: scale(1.12);
}

.terms-answer {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition:
        grid-template-rows 0.35s ease,
        visibility 0.35s;
}

.terms-answer-inner {
    overflow: hidden;
    width: min(700px, 100%);
    margin: 0 auto;
}

.terms-section.open .terms-answer {
    grid-template-rows: 1fr;
    visibility: visible;
}

.terms-answer p {
    margin: 0 0 16px;
    color: #d5d5d5;
    line-height: 1.8;
    text-align: center;
}

.terms-answer p:last-child {
    margin-bottom: 28px;
}

.business-details {
    margin: 20px auto 28px;
    text-align: center;
}

.business-details strong {
    color: #fff;
}

@media (max-width: 600px) {
    .terms-container {
        width: calc(100% - 30px);
        margin: 50px auto;
    }

    .terms-toggle {
        padding: 20px 2px;
    }

    .terms-toggle span:first-child {
        font-size: 17px;
    }

    .terms-answer p {
        font-size: 15px;
        line-height: 1.7;
    }
}