/* ============================================================
   LEGAL PAGES — privacy, terms, refunds, shipping, allergens.
   Compact hero in the /about voice, then a 65ch reading column.
============================================================ */
.legal-hero {
    position: relative;
    background: var(--cream);
    padding: 120px var(--pad-x) 48px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.legal-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(80px);
    background: var(--pink-soft);
    top: -140px;
    left: -120px;
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}
.legal-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
}
.legal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 18px;
}
.legal-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 4px var(--pink-soft);
}
.legal-hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0;
    color: var(--ink);
}
.legal-hero__tagline {
    margin: 14px auto 0;
    max-width: 48ch;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-soft);
}

.legal-body {
    background: var(--cream);
    padding: 40px var(--pad-x) 100px;
}
.legal {
    max-width: 65ch;
    margin: 0 auto;
}
.legal__updated {
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin: 0 0 32px;
}
.legal h2 {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 44px 0 14px;
    color: var(--ink);
    /* Clear the sticky nav when a footer link deep-links to a section. */
    scroll-margin-top: calc(var(--nav-height) + 24px);
}
.legal h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 26px 0 10px;
    color: var(--ink);
}
.legal p,
.legal li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
}
.legal p {
    margin: 0 0 18px;
}
.legal ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 18px;
}
.legal li + li {
    margin-top: 6px;
}
.legal strong {
    font-weight: 600;
}
.legal a {
    color: var(--pink-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.legal a:hover {
    color: var(--pink);
}
.legal__note {
    padding: 16px 20px;
    border-left: 3px solid var(--pink);
    background: var(--cream-2);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 0 0 22px;
}
.legal__note p:last-child {
    margin-bottom: 0;
}
.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 15px;
}
.legal th,
.legal td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px 10px 0;
    border-bottom: 1px solid var(--line);
    line-height: 1.5;
}
.legal th {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.legal code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--cream-2);
    padding: 1px 6px;
    border-radius: 4px;
}

@media (min-width: 900px) {
    .legal-hero { padding: 160px var(--pad-x) 64px; }
    .legal-body { padding: 56px var(--pad-x) 140px; }
    .legal p,
    .legal li { font-size: 18px; }
}
