:root { color-scheme: dark; font: 100% system-ui, sans-serif; background: #0c0d10; color: #f5f3ef; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 42rem; padding: max(24px, env(safe-area-inset-top)) 18px 40px; margin: 0 auto; }
header { display: flex; align-items: center; gap: 14px; margin: 8px 0 24px; }
header img { flex: none; border-radius: 15px; width: 58px; height: 58px; }
h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); }
h2 { font-size: 1.25rem; }
p { line-height: 1.6; }
a { color: #e8d5ac; }
a:focus-visible, button:focus-visible { outline: 2px solid #f7e5c1; outline-offset: 4px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 24px; border-bottom: 1px solid #303139; }
nav a { color: #d8d7da; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; border-bottom: 2px solid transparent; }
nav a[aria-current] { color: #eddbb0; border-bottom-color: #eddbb0; font-weight: bold; }
article, .intro { padding: 18px; border: 1px solid #303139; border-radius: 16px; margin: 0 0 14px; background: #15171c; overflow-wrap: anywhere; }
article h3 { margin: 0 0 5px; font-size: 1.05rem; }
article p { margin: 6px 0 0; white-space: pre-line; }
.meta, small { color: #bab9c2; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; background: #ead8ad; color: #1b1812; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; font-size: .9rem; }
footer button { min-height: 44px; border: 0; background: transparent; color: #d8d7da; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
