/* The catch-all page's neutral frame; an app's page adds its own styles. */
:root {
    --ink: #161C26;
    --muted: #5B6573;
    --line: #E1E5EB;
    --bg: #F6F7F9;
    --card: #FFFFFF;
    --accent: #2742C4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

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

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { border-bottom: 1px solid var(--line); background: var(--card); }

header.site .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.app-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
}

main { padding: 40px 0 64px; }

footer.site {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    padding: 24px 0 40px;
}

footer.site address { font-style: normal; }

footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

footer.site nav:empty { display: none; }

.not-found { text-align: center; }

.not-found h1 { font-size: 30px; margin: 0 0 8px; }

.not-found p { color: var(--muted); margin: 0 0 24px; }

.not-found a {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 12px;
    background: var(--accent);
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
}
