/* Static legal pages for public/legal. No external assets, no JavaScript. */

:root {
    --page: #f6f3ee;
    --paper: #fffdf8;
    --ink: #171513;
    --muted: #6f6760;
    --line: #ded6cc;
    --accent: #161412;
    --soft: #eee7dd;
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(0, 0, 0, 0.04), transparent 32rem),
        var(--page);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

a:hover { text-decoration-thickness: 2px; }

.site-shell {
    width: min(100%, 1060px);
    margin: 0 auto;
    padding: 32px 18px 56px;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    text-decoration: none;
}

.top-link:hover { color: var(--ink); }

.hero,
.document-card,
.legal-document {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(35, 28, 20, 0.08);
}

.hero {
    padding: clamp(26px, 5vw, 54px);
    margin-bottom: 22px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.hero-description {
    max-width: 780px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.document-card {
    display: block;
    min-height: 156px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.document-card:hover {
    transform: translateY(-2px);
    border-color: #c9bfb2;
    box-shadow: 0 24px 60px rgba(35, 28, 20, 0.12);
}

.document-card h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    line-height: 1.22;
    font-weight: 500;
}

.document-card p {
    margin: 0;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
}

.legal-document {
    padding: clamp(24px, 5vw, 58px);
}

.legal-document > h1:first-child {
    margin-bottom: 18px;
}

.legal-document h2 {
    margin: 42px 0 12px;
    padding-top: 8px;
    font-size: clamp(1.38rem, 2vw, 1.75rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.legal-document h3 {
    margin: 28px 0 10px;
    font-size: 1.14rem;
    line-height: 1.35;
}

.legal-document p,
.legal-document li {
    font-size: 1.02rem;
}

.legal-document p {
    margin: 0 0 15px;
}

.legal-document ul,
.legal-document ol {
    margin: 0 0 18px 1.2rem;
    padding: 0;
}

.legal-document li {
    margin: 5px 0;
    padding-left: 0.15rem;
}

.legal-document strong {
    font-weight: 700;
}

.legal-document hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 34px 0;
}

.legal-document blockquote {
    margin: 22px 0;
    padding: 16px 18px;
    background: var(--soft);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
}

.table-wrap {
    overflow-x: auto;
    margin: 22px 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--soft);
    font-weight: 700;
}

tr:last-child td { border-bottom: 0; }

.footer {
    margin-top: 28px;
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 760px) {
    .site-shell { padding-top: 18px; }
    .document-grid { grid-template-columns: 1fr; }
    .document-card { min-height: auto; }
    .legal-document { border-radius: 18px; }
    table { min-width: 620px; }
}

@media print {
    body { background: white; }
    .site-shell { width: 100%; padding: 0; }
    .top-link, .footer { display: none; }
    .legal-document { border: 0; box-shadow: none; padding: 0; }
    a { color: inherit; text-decoration: none; }
}
