.legal-page {
    max-width: 820px;
    margin-inline: auto;
    overflow-wrap: anywhere;
}

.legal-page address {
    font-style: normal;
}

.legal-page .card + .card {
    margin-top: 20px;
}

.legal-license summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px;
    border-radius: 8px;
    color: var(--brand);
    cursor: pointer;
    list-style: none;
}

.legal-license summary::-webkit-details-marker {
    display: none;
}

.legal-license summary:hover {
    background: var(--brand-tint);
}

.legal-license summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.legal-license-icon {
    flex-shrink: 0;
}

.legal-license[open] .legal-license-icon {
    transform: rotate(90deg);
}

.legal-license-text {
    padding: 4px 16px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    font-size: 0.875rem;
    line-height: 1.7;
}
