/* Willsomic LLC site: one stylesheet for every page. Light and dark follow the visitor's setting. */
:root {
    --bg: #fbfaf7;
    --text: #1f2328;
    --muted: #5d6470;
    --line: #e3e0d8;
    --card: #ffffff;
    --accent: #2f6f4f;
    --accent-text: #ffffff;
    --max: 46rem;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #16181c;
        --text: #e8e6e1;
        --muted: #a3a8b0;
        --line: #2c3036;
        --card: #1e2126;
        --accent: #6fbf93;
        --accent-text: #10241a;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

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

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding-top: 14px; padding-bottom: 14px; }
header.site .brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; margin-right: auto; }
header.site nav { display: flex; gap: 18px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

main { padding: 32px 0 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 1.35rem; margin: 40px 0 8px; }
h3 { font-size: 1.1rem; margin: 24px 0 4px; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 0; }
.updated { color: var(--muted); font-size: 0.95rem; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 6px 0; }
.tag { display: inline-block; font-size: 0.8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; }

.button { display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600; padding: 8px 18px; border-radius: 8px; }
.notice { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 12px 16px; }

footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--muted); }
