:root { color-scheme: light; --blue: #2323c9; --ink: #17172f; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 Arial, sans-serif; color: var(--ink); background: #f5f5fb; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #eaa600; outline-offset: 4px; }
header { background: var(--blue); color: white; padding: 20px; }
.header-inner { max-width: 1000px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
header a { color: white; }
.brand { display: flex; gap: 14px; align-items: center; font-size: 24px; font-weight: bold; text-decoration: none; }
.brand img { background: white; border-radius: 8px; }
.brand small { display: block; font-size: 14px; font-weight: normal; }
main { max-width: 1000px; padding: 32px 20px 60px; margin: auto; min-height: 65vh; }
h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; }
h2 { font-size: 22px; line-height: 1.3; }
.intro { max-width: 760px; font-size: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 28px; }
.card { background: white; padding: 24px; border: 1px solid #dcdceb; border-radius: 12px; text-decoration: none; overflow-wrap: anywhere; }
.card:hover { border-color: var(--blue); box-shadow: 0 5px 15px #2323c915; }
.card p { color: #55556c; }
.tag { display: inline-block; background: #e8e8ff; color: #2323a5; padding: 3px 10px; border-radius: 6px; font-size: 14px; }
pre { white-space: pre; overflow: auto; background: #17172f; color: #f5f5fb; padding: 24px; border-radius: 12px; font-size: 16px; }
article p { overflow-wrap: anywhere; }
footer { padding: 28px 20px; border-top: 1px solid #dcdceb; text-align: center; font-size: 14px; }
