:root { --bg:#f5f6f8; --panel:#fff; --text:#1b1f24; --muted:#5c6672; --line:#d9dee4; --accent:#1f5fa6; --accent-2:#164a82; --soft:#e6effa; }
@media (prefers-color-scheme: dark) { :root { --bg:#14171b; --panel:#1d2127; --text:#e6e9ed; --muted:#9aa4af; --line:#343a42; --accent:#6ea8e8; --accent-2:#4d8fd6; --soft:#223247; } }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.2rem; }
.hero { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; padding: 3rem 0 2.5rem; }
.kicker { margin: 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.hero h1 { margin: .2rem 0 .4rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lead { margin: 0; max-width: 60ch; opacity: .95; }
.cat { margin: 2rem 0 .6rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: .3rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .12s, border-color .12s; }
.tile:hover, .tile:focus-visible { transform: translateY(-2px); border-color: var(--accent); }
.tile.primary { border-color: var(--accent); background: var(--soft); }
.tile.placeholder { border-style: dashed; opacity: .75; cursor: default; }
.tile.placeholder:hover { transform: none; border-color: var(--line); }
.tile .icon { font-size: 1.6rem; line-height: 1; }
.tile h3 { margin: .2rem 0 0; font-size: 1.1rem; }
.tile p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.tile .meta { font-size: .8rem; color: var(--accent); margin-top: .4rem; }
code { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: .9em; }
.foot { margin: 3rem auto 2rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; }
