/* NoiseGauge website: same palette as the app (Theme.kt). System fonts only, so the site makes
   no third-party requests. */

:root {
    --bg: #f5f6f8;
    --surface: #ffffff;
    --text: #14171c;
    --muted: #5b6573;
    --line: #dde1e7;
    --accent: #1f6fe0;
    --quiet: #1fae73;
    --moderate: #e0a21f;
    --loud: #e04a35;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1013;
        --surface: #171a1f;
        --text: #f1f3f5;
        --muted: #9aa3af;
        --line: #2a2f37;
        --accent: #5b9dff;
        --quiet: #3ddc97;
        --moderate: #f5b642;
        --loud: #f06a5a;
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a[aria-current="page"], .nav a:hover { color: var(--text); }

.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 20px; margin: 0 0 28px; }
.hero img.shot { width: 100%; max-width: 320px; border-radius: 24px; border: 1px solid var(--line); justify-self: center; }
.badge img { height: 64px; }
.coming { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 24px 0 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.doc { padding: 48px 24px 64px; }
.doc h1 { font-size: 40px; margin: 0 0 4px; }
.doc h2 { margin-top: 40px; font-size: 24px; }
.updated { color: var(--muted); margin-top: 0; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 6px 24px; margin: 28px 0; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
code { font-size: .9em; }
.caps { text-transform: uppercase; font-size: 15px; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px; }
.site-footer a { color: var(--muted); }

@media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; padding-top: 40px; }
    .hero h1 { font-size: 40px; }
}
