:root {
  color-scheme: light;
  background: #f7f4ef;
  color: #1c1917;
}

body {
  margin: 0;
  background: #f7f4ef;
  color: #1c1917;
  font-family: "Segoe UI", "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0.5rem;
  padding: 0.5rem 0.75rem;
  overflow: visible;
  clip-path: none;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  background: #1e3a5f;
  color: #ffffff;
}

a {
  color: #1e3a5f;
}

a:visited {
  color: #1e3a5f;
}

a.book,
a.book:visited,
button.book {
  background: #1e3a5f;
  color: #ffffff;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #1c1917;
  outline-offset: 2px;
}

.site-header,
.site-footer {
  padding: 0.5rem 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  border-bottom: 1px solid #1c1917;
}

.site-footer {
  border-top: 1px solid #1c1917;
  margin-top: 2rem;
}

.site-name {
  margin: 0;
  font-weight: 700;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a,
a.book,
button.book,
input,
select {
  min-height: 44px;
  min-width: 44px;
  box-sizing: border-box;
}

nav a,
a.book,
button.book {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
}

button.book {
  font: inherit;
  border: 2px solid #1e3a5f;
  cursor: pointer;
}

main {
  max-width: 60rem;
  margin: 0 auto;
  padding: 1rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.3;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

article {
  border: 1px solid #1c1917;
  padding: 1rem;
  margin: 0;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

form p {
  margin: 0 0 0.75rem;
}

label {
  display: block;
}

input,
select {
  width: 100%;
  max-width: 22rem;
  background: #f7f4ef;
  color: #1c1917;
  border: 1px solid #1c1917;
  font: inherit;
  padding: 0.4rem;
}

[role="alert"]:not(:empty) {
  border: 1px solid #1c1917;
  padding: 0.5rem;
}

iframe {
  width: 100%;
  max-width: 40rem;
  height: auto;
  aspect-ratio: 600 / 320;
  border: 1px solid #1c1917;
}

@media (min-width: 720px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}
