:root { color-scheme: light; --ink: #252238; --muted: #625d73; --purple: #7357e8; --paper: #ffffff; --bg: #f7f5fd; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.75; }
a { color: #5940c3; text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: #352181; }
a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; border-radius: 2px; }
.skip { position: absolute; top: -100px; left: 16px; padding: 8px 16px; background: white; }
.skip:focus { top: 8px; }
header, main, footer { width: min(100% - 40px, 860px); margin-inline: auto; }
header { padding-block: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 800; text-decoration: none; }
.brand-icon { display: block; flex-shrink: 0; width: 40px; height: 40px; object-fit: contain; border-radius: 12px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
nav a[aria-current="page"] { font-weight: 700; }
main { background: var(--paper); padding: clamp(24px, 5vw, 56px); border: 1px solid #e8e3f5; border-radius: 24px; box-shadow: 0 12px 40px #29203e06; }
h1 { font-size: clamp(30px, 6vw, 44px); letter-spacing: -1px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 21px; line-height: 1.4; margin: 34px 0 10px; scroll-margin-top: 24px; }
p { margin: 12px 0; }
li { margin-block: 7px; }
.meta, footer { color: var(--muted); font-size: 14px; }
.summary { background: var(--bg); border-left: 4px solid var(--purple); padding: 14px 20px; margin-block: 24px; border-radius: 0 12px 12px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-block: 28px; }
.card { display: block; padding: 24px; border: 1px solid #e8e3f5; border-radius: 16px; text-decoration: none; color: var(--ink); }
.card:hover { background: var(--bg); }
.card strong { font-size: 19px; color: #5940c3; }
.card span { display: block; margin-top: 8px; color: var(--muted); }
footer { padding-block: 28px 40px; text-align: center; }
@media (max-width: 420px) { header, main, footer { width: calc(100% - 24px); } nav { gap: 14px; } }
@media print { body, main { background: white; } header, footer, .skip { display: none; } main { width: 100%; border: 0; box-shadow: none; padding: 0; } }
