:root {
  color-scheme: light;
  --ink: #17233b;
  --muted: #526179;
  --line: #d7dfeb;
  --paper: #ffffff;
  --wash: #f3f6fb;
  --blue: #165dba;
  --teal: #087e8b;
  font-family: "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  line-height: 1.65;
}

a { color: var(--blue); }
a:hover { color: #0c3f86; }

.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  padding: .6rem 1rem;
  background: var(--paper);
}
.skip-link:focus { left: 1rem; z-index: 5; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1.5rem, calc((100vw - 1180px) / 2));
  background: #10284b;
  color: white;
  border-bottom: 4px solid #35b8c5;
}

.brand {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { display: block; color: #c4d6ef; font-size: .78rem; font-weight: 500; }

nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
nav a { color: #e8f1ff; font-size: .9rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2.5rem clamp(1.2rem, 5vw, 4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(23 35 59 / 7%);
}

h1, h2, h3 { line-height: 1.25; color: #10284b; }
h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }
h2 { margin-top: 2.3rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
h3 { margin-top: 1.7rem; }
p, li { max-width: 78ch; }
blockquote {
  margin: 1.5rem 0;
  padding: .8rem 1.2rem;
  background: #eef7fa;
  border-left: 4px solid var(--teal);
}
table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
th, td { padding: .7rem .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #edf3fa; }
code { padding: .08rem .3rem; background: #edf1f7; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; margin: 1.4rem auto 2rem; }
footer { padding: 1rem; text-align: center; color: var(--muted); font-size: .85rem; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 1rem 1.2rem; }
  .content { margin: 1rem; padding: 1.3rem; }
}
