/* Minimal, accessible, responsive CSS */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --card: #f6f7f9;
  --accent: #2563eb;
  --border: #e5e7eb;
  --shadow: 0 10px 20px rgba(0,0,0,.06), 0 6px 6px rgba(0,0,0,.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f;
    --text: #eaeaea;
    --muted: #a3a3a3;
    --card: #14161a;
    --border: #26282d;
    --accent: #60a5fa;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  background: var(--card);
  border-radius: .5rem;
}

.site-header { position: sticky; top: 0; backdrop-filter: saturate(180%) blur(8px); background: color-mix(in oklab, var(--bg), transparent 15%); border-bottom: 1px solid var(--border); z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; }
.brand { font-weight: 700; letter-spacing: .3px; }

.nav-links { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.nav-links a { padding: .35rem .5rem; border-radius: .5rem; }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu-toggle { display: none; }

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; border: 1px solid var(--border); background: var(--card); padding: .4rem .6rem; border-radius: .5rem; }
  .nav-links { position: absolute; right: 4%; top: 56px; flex-direction: column; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow); padding: .5rem; display: none; }
  .nav-links.open { display: flex; }
}

.hero { padding: 5rem 0 2rem; }
.hero h1 { font-size: clamp(1.8rem, 3vw + 1rem, 3rem); margin: 0 0 .5rem; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 1rem; }
.cta { display: flex; gap: .75rem; margin-top: 1rem; }
.button { display: inline-block; background: var(--accent); color: white; padding: .6rem .9rem; border-radius: .6rem; font-weight: 600; border: 1px solid transparent; }
.button:hover { filter: brightness(.98); text-decoration: none; }
.button.outline { background: transparent; color: var(--accent); border-color: var(--accent); }

h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: .9rem; padding: 1rem; box-shadow: var(--shadow); }
.inline { text-decoration: underline; text-underline-offset: 2px; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.tags li { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .7rem; font-size: .95rem; }

.muted { color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; padding: 1.5rem 0; font-size: .95rem; }

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