/* oduvis.com - one stylesheet, system fonts, light and dark. */
:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --text: #1b2230;
    --muted: #5a6474;
    --line: #dde2e8;
    --accent: #0b6e99;
    --max: 60rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #11161c;
        --surface: #1a2129;
        --text: #e6eaef;
        --muted: #9aa5b3;
        --line: #2e3844;
        --accent: #4fb3e0;
    }
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
.spacer { flex: 1; }

.hero { padding: 4.5rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 40rem; margin: 0; }

h2 { font-size: 1.35rem; margin: 2.5rem 0 1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.card p { margin: 0 0 0.8rem; color: var(--muted); }

footer { margin-top: 4rem; border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0.2rem 0; }

.details { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
@media (max-width: 480px) { .details { grid-template-columns: 1fr; } .details dd { margin-bottom: 0.5rem; } }
