:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102a3b;
  background: #f7fafc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
}

header {
  padding: 0.7rem max(1rem, calc((100% - 780px) / 2));
  border-bottom: 1px solid #d6e2e9;
  background: #fff;
}

header img {
  display: block;
  width: 138px;
  height: 58px;
  object-fit: contain;
}

main {
  width: min(780px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

a {
  color: #005382;
  text-underline-offset: 0.2em;
}

h1,
h2 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  margin: 1.5rem 0 0.8rem;
  font-size: clamp(2rem, 7vw, 3.5rem);
}

h2 {
  margin-top: 2rem;
}

.lead {
  color: #536b7a;
  font-size: 1.08rem;
}

section,
aside {
  padding: 1.2rem 1.35rem;
  margin-top: 1rem;
  border: 1px solid #d6e2e9;
  background: #fff;
  border-radius: 16px;
}

section h2 {
  margin-top: 0;
}

pre {
  max-width: 100%;
  padding: 0.9rem;
  overflow-x: auto;
  color: #fff;
  background: #08273d;
  border-radius: 10px;
}

aside {
  border-color: #c8dfb9;
  background: #edf6e8;
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid #87bde0;
  outline-offset: 3px;
}
