:root {
  color-scheme: light dark;
  --navy: #152033;
  --cyan: #0b7f96;
  --cyan-bright: #42c4d8;
  --canvas: #fafaf8;
  --surface: #ffffff;
  --text: #152033;
  --muted: #5f6b7a;
  --line: #dce1e7;
  --focus: #0b7f96;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--cyan); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.12em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 3px; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
}

.nav,
.page,
.hero {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

.nav {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 8.1rem; height: auto; }
.links { display: flex; align-items: center; gap: 1.25rem; }
.links a { color: var(--text); font-weight: 650; text-decoration: none; }

.hero { padding-block: clamp(5rem, 12vw, 9rem); }
.eyebrow { color: var(--cyan); font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
h1, h2 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { max-width: 18ch; margin: 0.7rem 0 1.4rem; font-size: clamp(2.6rem, 7vw, 5.4rem); }
.lede { max-width: 42rem; color: var(--muted); font-size: clamp(1.1rem, 2.4vw, 1.35rem); }
.tagline { margin-top: 2.5rem; font-weight: 750; color: var(--navy); }

.page { max-width: 48rem; padding-block: 3.5rem 6rem; }
.page h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); }
.page h2 { margin-top: 2.6rem; font-size: 1.45rem; }
.meta, .note { color: var(--muted); }
.note { padding: 1rem 1.1rem; border-left: 3px solid var(--cyan); background: color-mix(in srgb, var(--cyan) 7%, var(--surface)); }
ul { padding-left: 1.35rem; }
li + li { margin-top: 0.45rem; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 36rem) {
  .nav { align-items: flex-start; padding-block: 1rem; }
  .links { flex-direction: column; align-items: flex-end; gap: 0.4rem; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0d1420;
    --surface: #152033;
    --text: #f6f8fb;
    --muted: #aeb8c5;
    --line: #2c394b;
    --focus: #42c4d8;
  }
  a { color: var(--cyan-bright); }
  .eyebrow { color: var(--cyan-bright); }
  .tagline { color: #ffffff; }
}

