:root {
    --bg: #F6F4EF;
    --card: #FFFFFF;
    --text: #171512;
    --muted: rgba(23, 21, 18, 0.66);
    --border: rgba(23, 21, 18, 0.14);
    --accent: #EE3B24;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #171512;
        --card: #211F1B;
        --text: #F6F4EF;
        --muted: rgba(246, 244, 239, 0.68);
        --border: rgba(246, 244, 239, 0.16);
        --accent: #FF5540;
    }
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.65 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.wrap { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }

header.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
header.brand img { width: 56px; height: 56px; border-radius: 14px; }
header.brand .name { font-weight: 700; font-size: 20px; line-height: 1.2; }
header.brand .by { color: var(--muted); font-size: 14px; }
header.brand a { color: inherit; text-decoration: none; }

h1 { font-size: 34px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 21px; line-height: 1.3; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.updated { color: var(--muted); margin-bottom: 28px; }

.summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 0 0 8px;
}
.summary ul { margin: 0; }

.hero { text-align: center; padding-top: 40px; }
.hero img { width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.hero h1 { margin-top: 24px; }
.hero p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }

.links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer a { color: inherit; }
