:root {
  color-scheme: light dark;
  --night: #2b2f6b;
  --background: #fbf7f1;
  --text: #1e2033;
  --muted: #5f6275;
  --link: #5a5fb0;
  --border: #5f6275;
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 48rem;
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
header {
  margin-top: 0.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(115deg, #2b2f6b, #5a5fb0 62%, #f29e4c);
  font-weight: 650;
}
header a { display: inline-flex; align-items: center; gap: 1rem; color: #fbf7f1; }
header a span { background: #2b2f6b; padding: 0.25rem 0.5rem; border-radius: 12px; }
header a:focus-visible { outline-color: #fbf7f1; }
.brand-icon { flex: none; }
h1, h2, h3 { color: var(--night); }
main { padding: 1.5rem 0 2rem; }
h1 { font-size: clamp(2.1rem, 7vw, 3.25rem); line-height: 1.15; letter-spacing: -0.035em; }
h2 { margin-top: 2rem; font-size: 1.5rem; line-height: 1.3; }
h3 { margin-top: 1.5rem; font-size: 1.15rem; line-height: 1.4; }
p { margin: 1rem 0; }
.intro { font-size: 1.3rem; line-height: 1.5; }
.eyebrow, footer { color: var(--muted); }
a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.15em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; border-radius: 2px; }
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.contact { font-weight: 650; }
.skip { position: absolute; left: 1rem; top: -10rem; padding: 0.75rem; background: var(--background); }
.skip:focus { top: 1rem; }
@media (prefers-color-scheme: dark) {
  :root {
    --night: #c9ccf5;
    --background: #14162b;
    --text: #f2f1f7;
    --muted: #a7a9bd;
    --link: #8e93e6;
    --border: #a7a9bd;
  }
}
