:root {
  color-scheme: light;
  color: #222c2d;
  background: #f6fbfe;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

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

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

.skip-link {
  position: absolute;
  z-index: 1;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem;
  background: #fff;
}

.skip-link:not(:focus) {
  clip-path: inset(50%);
}

.park-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 9rem;
  isolation: isolate;
  background: #82d1f2;
}

.header-art,
.brand {
  grid-area: 1 / 1;
}

.header-art,
.footer-art {
  display: block;
  width: 100%;
  height: auto;
}

.header-art {
  height: clamp(9rem, 17.38vw, 20rem);
  object-fit: cover;
}

.brand {
  display: block;
  width: clamp(15rem, 36vw, 30rem);
  max-width: 85%;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
  overflow-wrap: anywhere;
}

.reading,
.join-card {
  margin: 0 auto;
  max-width: 46rem;
  padding: clamp(1.15rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid #d8dedb;
  border-radius: 1.25rem;
}

h1,
h2 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
}

h2 {
  margin-top: 1.9rem;
  font-size: 1.25rem;
}

p,
dl {
  margin: 0 0 0.9rem;
}

.reading > :last-child {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 0 0.75rem;
}

.draft {
  padding: 0.85rem 1rem;
  background: #ecf1e8;
  border-inline-start: 3px solid #4f704a;
  border-radius: 0.35rem;
}

.join-card {
  max-width: 34rem;
  text-align: center;
}

.join-mascot {
  display: block;
  width: 7rem;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  margin: 0.25rem;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  background: #365d70;
  color: #fff;
  font-weight: 700;
}

.join-install {
  background: #e5edf0;
  color: #254857;
}

.join-note {
  margin: 1rem 0 0;
}

.park-footer {
  display: grid;
  justify-items: center;
  overflow-wrap: anywhere;
}

.footer-art {
  grid-row: 2;
}

.footer-panel {
  grid-row: 1;
  width: min(100% - 2rem, 28rem);
  margin: 0 1rem 0.75rem;
  padding: 0.6rem 0.75rem 0.2rem;
  border: 1px solid #d8dedb;
  border-radius: 1rem;
  background: rgb(255 255 255 / 92%);
  text-align: center;
}

.footer-panel p {
  margin: 0;
  font-weight: 800;
}

.footer-panel nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-panel a {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding-inline: 0.55rem;
}

.footer-panel [aria-current="page"] {
  font-weight: 750;
  text-decoration-thickness: 0.15em;
}

@media (min-width: 48rem) {
  .reading {
    font-size: 1.125rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 58rem) {
  .footer-art,
  .footer-panel {
    grid-area: 1 / 1;
    align-self: end;
  }

  .footer-panel {
    width: min(38%, 28rem);
    margin-bottom: clamp(1.25rem, 4vw, 4.5rem);
  }
}
