:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: #172c3c;
  background: #fafcff;
}

* { box-sizing: border-box; }

body { margin: 0; }

::selection { color: #172c3c; background: #d3e7fc; }

.page {
  width: min(100% - 7rem, 1200px);
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.masthead {
  padding-block: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -.02em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #486177;
  font-size: .875rem;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3976ad;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 5rem 7rem;
  padding-inline: clamp(0rem, 6vw, 6rem);
}

h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(3.25rem, 6.5vw, 6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.05em;
}

h1 em {
  color: #316fa4;
  font-weight: 400;
}

.introduction {
  max-width: 34rem;
  margin-top: 2.25rem;
}

p { margin: 0; }

.lead {
  font-size: clamp(1.125rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  letter-spacing: -.01em;
}

.detail {
  margin-top: 1rem;
  max-width: 32rem;
  color: #5a6c7b;
  font-size: 1rem;
  line-height: 1.75;
}

footer {
  padding-block: 1.6rem 2rem;
  border-top: 1px solid #dde5ed;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: #5a6c7b;
  font-size: .875rem;
  line-height: 1.5;
}

.not-found a { color: #316fa4; text-underline-offset: .25em; }
.not-found a:focus-visible { outline: 2px solid #316fa4; outline-offset: 5px; }

@media (max-width: 640px) {
  .page { width: calc(100% - 3rem); }
  .masthead { padding-block: 1.5rem; gap: .75rem; }
  .wordmark { font-size: .875rem; gap: .4rem; }
  .wordmark img { width: 30px; height: 30px; }
  .status { font-size: .8125rem; gap: .4rem; }
  main { padding: 4.5rem 0 6rem; }
  h1 { font-size: clamp(2.75rem, 9.8vw, 3.75rem); line-height: 1.12; }
  .introduction { margin-top: 1.75rem; }
  footer { font-size: .8125rem; padding-block: 1.25rem 1.5rem; }
}

@media (max-width: 360px) {
  .masthead { flex-wrap: wrap; }
}
