/* The legal pages: the landing page's look, set for long reading */

:root {
    --bg: #08090d;
    --bg2: #0e1015;
    --text: #e8ecf4;
    --dim: #9aa3ad;
    --faint: #7d8590;
    --green: #2dce71;
    --border: rgba(255, 255, 255, 0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px;
    background: var(--green); color: #05130b;
    border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

header { border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 15.5px; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.back { color: var(--dim); font-size: 14.5px; }

main { padding: 56px 0 72px; }

h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.summary {
    padding: 18px 20px; margin-bottom: 40px;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
    color: var(--dim);
}
.summary strong { color: var(--text); }

h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin: 44px 0 12px; }
h3 { font-size: 16.5px; font-weight: 700; margin: 26px 0 8px; }
p, ul, ol, table { margin-bottom: 14px; color: var(--dim); }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--text); font-weight: 600; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #5fe095; }

.table-wrap { overflow-x: auto; margin-bottom: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 600; }

code { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text); }

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--faint); font-size: 13px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
footer a { color: var(--dim); }

/* Printed or saved as PDF: black on white, no navigation */
@media print {
    body { background: #fff; color: #111; font-size: 11pt; }
    header, .skip-link, footer nav { display: none; }
    main { padding: 0; }
    .table-wrap { overflow: visible; }
    h1, h2, h3, strong, th { color: #000; }
    p, ul, ol, table, .updated, .summary, footer { color: #222; }
    .summary { background: #f3f4f6; border-color: #d1d5db; }
    a, footer a, .summary strong, code { color: #000; }
    th, td { border-bottom-color: #d1d5db; }
    footer { border-top-color: #d1d5db; }
}
