:root {
  --text: #222222;
  --muted: #555555;
  --link: #1a4d8f;
  --border: #d7d7d7;
  --max-width: 920px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.page,
.password-shell {
  width: min(calc(100% - clamp(1.5rem, 4vw, 4rem)), var(--max-width));
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(3rem, 6vw, 5rem);
}

.banner {
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  background: #f3f3f3;
  overflow: hidden;
}

.banner img {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  object-fit: cover;
  object-position: center top;
}

.banner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  color: var(--muted);
  font-size: 0.95rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.35rem);
  font-weight: 600;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.08rem, 0.5vw + 1rem, 1.3rem);
  font-weight: 600;
}

p {
  margin: 0 0 0.9rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

.intro {
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--border);
}

.meta,
.site-footer {
  color: var(--muted);
}

.section {
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

@media (min-width: 1200px) {
  .page,
  .password-shell {
    width: min(calc(100% - 4.5rem), var(--max-width));
  }
}

@media (max-width: 900px) {
  .page,
  .password-shell {
    width: min(calc(100% - 1.75rem), var(--max-width));
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }

  .banner {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .page,
  .password-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
    padding-top: 1.25rem;
    padding-bottom: 3rem;
  }

  .banner {
    margin-bottom: 1.25rem;
  }

  h2 {
    margin-top: 1.6rem;
    font-size: 1.1rem;
  }

  body {
    font-size: 15px;
  }

  li {
    margin-bottom: 0.5rem;
  }
}
