:root {
    --paper: #f4f0e6;
    --white: #fffdf8;
    --ink: #181816;
    --muted: #6d6a62;
    --line: #d7d0c2;
    --orange: #ee5b36;
    --orange-dark: #c94325;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1.1rem;
    font-weight: 760;
    letter-spacing: -.035em;
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 27px;
    height: 27px;
    border-radius: 50% 50% 50% 4px;
    background: var(--orange);
    transform: rotate(-45deg);
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--paper);
}

.back-link {
    font-size: .82rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.legal-hero { padding: 86px 0 54px; }

.eyebrow {
    margin: 0 0 16px;
    color: var(--orange-dark);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.3rem, 9vw, 5.7rem);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.06em;
}

.updated { margin: 24px 0 0; color: var(--muted); font-size: .83rem; }

.legal-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 70px;
    padding: 54px 0 100px;
    border-top: 1px solid var(--ink);
}

.contents {
    position: sticky;
    top: 24px;
    align-self: start;
}

.contents strong {
    display: block;
    margin-bottom: 12px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contents a {
    display: block;
    margin: 7px 0;
    color: var(--muted);
    font-size: .78rem;
    text-decoration: none;
}

.contents a:hover { color: var(--ink); }

.legal-copy section { scroll-margin-top: 24px; }

.legal-copy h2 {
    margin: 0 0 14px;
    padding-top: 42px;
    font-size: 1.25rem;
    letter-spacing: -.03em;
}

.legal-copy section:first-child h2 { padding-top: 0; }
.legal-copy p, .legal-copy li { color: #555149; }
.legal-copy p { margin: 0 0 16px; }
.legal-copy ul { margin: 0 0 18px; padding-left: 21px; }
.legal-copy li { margin-bottom: 7px; }
.legal-copy a { text-underline-offset: 3px; }

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 48px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .76rem;
}

.footer-links { display: flex; gap: 18px; }
.footer-links a { text-underline-offset: 3px; }

@media (max-width: 720px) {
    .shell { width: min(100% - 24px, 900px); }
    .site-header { min-height: 68px; }
    .legal-hero { padding: 58px 0 40px; }
    .legal-grid { grid-template-columns: 1fr; gap: 28px; padding: 38px 0 76px; }
    .contents { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
    .contents a { display: inline; margin: 0 12px 0 0; line-height: 2; }
    .site-footer { align-items: flex-start; flex-direction: column; }
}
