/* Latuvo legal pages — minimal readable styling. Dark text on warm white,
   matches the App Store / web reading conventions rather than the app's
   dark theme (these pages are most often read in a browser tab where
   light mode is the default). */

:root {
    --ink: #1a1a1c;
    --ink-soft: #4a4a4f;
    --rule: #e6e3dd;
    --bg: #faf8f5;
    --accent: #2f7a3b;
    --code-bg: #f1efe9;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 96px;
}

header.site {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 0;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 16px;
}

header.site a {
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.4px;
    font-size: 14px;
    text-transform: uppercase;
}

h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin: 8px 0 24px;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 12px;
    letter-spacing: -0.2px;
}

h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 28px 0 8px;
}

p {
    margin: 0 0 14px;
    color: var(--ink-soft);
}

p strong, li strong, td strong {
    color: var(--ink);
}

ul, ol {
    margin: 0 0 18px;
    padding-left: 24px;
    color: var(--ink-soft);
}

li {
    margin-bottom: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: 14px;
}

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

th {
    font-weight: 700;
    color: var(--ink);
    background: var(--code-bg);
}

td {
    color: var(--ink-soft);
}

code {
    background: var(--code-bg);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
}

hr {
    border: 0;
    height: 1px;
    background: var(--rule);
    margin: 32px 0;
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

footer {
    max-width: 720px;
    margin: 24px auto 0;
    padding: 24px;
    color: var(--ink-soft);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid var(--rule);
}

.lede {
    font-size: 18px;
    color: var(--ink);
    margin: 0 0 32px;
}

.links-row {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.links-row li { margin: 0; }
