/* Legal Page Styles from User snippet */

:root {
    --card-bg: #ffffff;
    --card-border: #d7e1e8;
    --text-main: #2f3b44;
    --text-muted: #6f7d88;
}

body {
    background: linear-gradient(var(--brand-mid), var(--brand-light));
    color: var(--ink);
}

.legal-wrap {
    margin-top: 1.2rem;
    margin-bottom: 2.5rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 3.2vw, 2.6rem);
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
}

.meta {
    font-size: clamp(.88rem, 2vw, .95rem);
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.label {
    font-weight: 700;
    display: inline-block;
    margin-right: .25rem;
    color: var(--text-main);
}

.notice {
    display: block;
    padding: .85rem 1rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand-blue) 18%, #fff);
    border: 1px solid color-mix(in srgb, var(--brand-blue) 22%, #d7e1e8);
    color: var(--text-main);
    font-weight: 650;
    max-width: 70ch;
    margin: 0 auto;
    text-align: center;
}

.notice small {
    display: block;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: .25rem;
}

hr {
    border: 0;
    border-top: 1px solid #e1e7ec;
    margin: clamp(1.6rem, 4vw, 2.2rem) 0;
}

.card a {
    color: color-mix(in srgb, var(--brand-blue) 80%, #000);
    font-weight: 600;
}

.card a:hover {
    text-decoration: underline;
}

/* Typography specifics for legal page */
h1,
h2,
h3,
h4 {
    font-family: 'Bungee', system-ui;
    font-weight: 400;
    color: var(--brand-dark);
    letter-spacing: .03em;
    line-height: 1.2;
    margin: 0 0 .45em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    margin-top: clamp(1.2rem, 3vw, 1.8rem);
}

h4 {
    font-size: clamp(.95rem, 2vw, 1.05rem);
    margin-top: 1.05rem;
    letter-spacing: .02em;
    opacity: .95;
}

p {
    margin: 0 0 1rem;
    color: var(--text-main);
    hyphens: auto;
    overflow-wrap: anywhere;
}

ul {
    padding-left: 1.1rem;
    margin: 0 0 1rem;
    display: grid;
    gap: .35rem;
}

li {
    color: var(--text-main);
}