/* Aegle landing + privacy pages.
   Minimal, system-font-only, no external resources, light/dark adaptive. */

:root {
    --bg: #fafaf7;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #5b6571;
    --accent: #2a8079;
    --accent-soft: #d9eae8;
    --border: #e5e1d8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #1a1d20;
        --surface: #22262a;
        --text: #e6e8ea;
        --muted: #9aa3ad;
        --accent: #4dbfb7;
        --accent-soft: #2a3a39;
        --border: #2f3439;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 120ms ease;
}
a:hover, a:focus { border-bottom-color: var(--accent); }

header { border-bottom: 1px solid var(--border); }
.header-inner, main, .footer-inner {
    max-width: 720px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    gap: 1rem;
}
.brand {
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
}
.brand:hover, .brand:focus { border-bottom-color: transparent; }
nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }

main { padding-top: 3rem; padding-bottom: 4rem; }

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; letter-spacing: -0.005em; }
.tagline { font-size: 1.1rem; color: var(--muted); margin: 0 0 2rem; }
.lead { font-size: 1.1rem; }

ul, ol { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

.callout {
    background: var(--accent-soft);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.meta { color: var(--muted); font-size: 0.95rem; margin: 0 0 2rem; }
.meta strong { color: var(--text); }

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}
.feature h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--accent); }
.feature p { margin: 0; font-size: 0.95rem; color: var(--muted); }

footer {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}
.footer-inner {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92em;
    background: var(--accent-soft);
    padding: 0.1em 0.35em;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: var(--surface);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    z-index: 10;
}
