:root {
  color-scheme: dark;
  --bg: #0b0b0c;
  --panel: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f3f3f1;
  --muted: #aaa9a4;
  --accent: #d7ff55;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(255,255,255,.13), transparent 28rem),
    radial-gradient(circle at 90% 60%, rgba(255,255,255,.07), transparent 34rem),
    var(--bg);
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; background: var(--accent); color: #101010; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header, footer, main { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 720; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: #111; background: var(--accent); font-size: 1.35rem; }
nav { display: flex; gap: .35rem; }
nav a { padding: .6rem .8rem; color: var(--muted); text-decoration: none; border: 1px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); border-color: var(--line); background: var(--panel); }
main { padding-block: clamp(3.5rem, 9vw, 7.5rem); }
main:focus { outline: none; }
.hero { max-width: 820px; margin-bottom: 3.5rem; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font-size: .76rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.6rem, 8vw, 6.7rem); line-height: .95; letter-spacing: -.065em; }
.lede { max-width: 680px; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card, .article-section { padding: clamp(1.35rem, 4vw, 2.25rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(12px); }
.card h2, .article-section h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.card p, .article-section p, .article-section li { color: var(--muted); line-height: 1.7; }
.card a, .article-section a { color: var(--accent); text-underline-offset: .2em; }
.button { display: inline-block; margin-top: .7rem; padding: .85rem 1rem; color: #111 !important; background: var(--accent); font-weight: 750; text-decoration: none; }
.article { max-width: 840px; }
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.meta { margin-top: 1rem; color: var(--muted); }
.article-section { border: 1px solid var(--line); border-bottom: 0; }
.article-section:last-child { border-bottom: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2.5rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }
@media (max-width: 680px) {
  .site-header { align-items: flex-start; padding-block: 1rem; gap: 1rem; }
  .brand span:last-child { max-width: 9rem; }
  nav a { padding: .55rem; }
  .grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  main { animation: enter .35s ease-out; }
  @keyframes enter { from { opacity: 0; transform: translateY(8px); } }
}
