body {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", serif;
  color: #1c2430;
  background: #f6f4ef;
  line-height: 1.5;
}

header.site, main, footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

header.site {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: #16324f;
  color: white;
  max-width: none;
}

header.site a, header.site button {
  color: white;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

main {
  background: white;
  min-height: 70vh;
}

h1, h2, h3 { line-height: 1.2; }
a { color: #0b57d0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; padding: 0.45rem; }
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre { white-space: pre-wrap; background: #f3f1ea; padding: 0.8rem; }
.alert { background: #fde8e8; padding: 0.6rem 0.8rem; }
.notice { background: #e7f6e7; padding: 0.6rem 0.8rem; }
.warning { background: #fff6d8; padding: 0.6rem 0.8rem; }
form.inline { display: inline; }
label { display: block; margin-top: 0.6rem; }
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: min(100%, 40rem);
  padding: 0.4rem;
  font: inherit;
}
button, .button {
  background: #16324f;
  color: white;
  border: 0;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
footer { color: #4d5968; font-size: 0.95rem; }
