:root {
  color-scheme: dark;
  --background: #0a1120;
  --panel: #111e31;
  --line: #2d4962;
  --text: #f1f6ff;
  --muted: #b5c7dc;
  --accent: #87dcf7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 0, #163a57, transparent 38rem), var(--background);
  color: var(--text);
  font: 16px/1.65 system-ui, sans-serif;
}

a { color: var(--accent); text-underline-offset: .22em; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1080px, calc(100% - 36px)); margin-inline: auto; }
.site-header { background: #0b1424e8; border-bottom: 1px solid var(--line); }
.navigation, .navigation nav, footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.navigation { justify-content: space-between; min-height: 70px; padding-block: .7rem; }
.navigation a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-weight: 800; }
main { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
h1, h2 { line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: .45rem 0 1rem; font-size: clamp(2.4rem, 6vw, 4.7rem); }
.label { color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.intro { max-width: 42rem; color: var(--muted); font-size: 1.2rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2.5rem 0 0;
  list-style: none;
}
.cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
}
.cards a:hover { border-color: var(--accent); }
.cards h2 { margin: .75rem 0 0; font-size: 1.5rem; }
.cards p { color: var(--muted); }
.read { margin-top: auto; color: var(--accent); font-weight: 650; }
.article { max-width: 730px; }
.article article { font-size: 1.08rem; }
.article article header { padding-block: 1.2rem .8rem; border-bottom: 1px solid var(--line); }
.article h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.article h2 { margin: 2rem 0 .75rem; font-size: clamp(1.4rem, 4vw, 1.9rem); }
.article article > p { color: #d6e2ef; }
.callout { margin-top: 2rem; padding: 1.2rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.callout a { font-weight: 750; }
.next .label { display: block; margin-bottom: .25rem; }
footer { justify-content: space-between; border-top: 1px solid var(--line); padding-block: 1.2rem 2rem; font-size: .9rem; }
