.legal-page .page-shell {
    max-width: 980px;
}

.legal-page .hero-card {
    padding: clamp(28px, 5vw, 52px);
}

.legal-page .hero-card h1 {
    max-width: 16ch;
    margin-bottom: 16px;
    font-size: clamp(2.4rem, 7vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.legal-page .hero-card > p:not(.eyebrow) {
    max-width: 760px;
}

.legal-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.legal-page .button-link.secondary-button {
    background: var(--button-secondary-background);
    color: var(--button-secondary-text);
    border: 1px solid var(--button-secondary-border);
}

.legal-page .product-section h2 {
    margin-top: 0;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.legal-page .product-section h3 {
    margin-top: 1.6rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.legal-page .legal-summary {
    border-left: 4px solid #3f7f4a;
    padding-left: clamp(24px, 4vw, 36px);
}

.legal-page .legal-list {
    display: grid;
    gap: 0.6rem;
}

.legal-page .legal-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

.legal-page .legal-table th,
.legal-page .legal-table td {
    padding: 0.8rem;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid var(--surface-border-color);
}

.legal-page .legal-table th {
    width: 26%;
    color: var(--heading-color);
}

html[dir="rtl"] .legal-page .legal-summary {
    border-right: 4px solid #3f7f4a;
    border-left: 1px solid var(--surface-border-color);
    padding-right: clamp(24px, 4vw, 36px);
    padding-left: 28px;
}

html[dir="rtl"] .legal-page .legal-table th,
html[dir="rtl"] .legal-page .legal-table td {
    text-align: right;
}

html[dir="rtl"] .legal-page .hero-card h1 {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
}

@media (max-width: 700px) {
    .legal-page .content {
        padding: 24px 14px 40px;
    }

    .legal-page .hero-card h1 {
        font-size: clamp(2.25rem, 13vw, 3.6rem);
    }

    .legal-page .hero-actions .button-link {
        width: 100%;
        text-align: center;
    }

    .legal-page .legal-table,
    .legal-page .legal-table tbody,
    .legal-page .legal-table tr,
    .legal-page .legal-table th,
    .legal-page .legal-table td {
        display: block;
    }

    .legal-page .legal-table th {
        width: auto;
        padding-bottom: 0.2rem;
    }

    .legal-page .legal-table td {
        padding-top: 0;
    }
}
