:root {
  color-scheme: light;
  --color-ink: #122426;
  --color-lagoon: #0f6266;
  --color-sand: #f4e8d5;
  --color-line: #d6cbb9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-ink);
  background: var(--color-sand);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.site-shell {
  width: min(100% - 3rem, 76rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding-block: 2rem;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(3rem, 10vh, 7rem);
}

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--color-lagoon);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 7.5vw, 6.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

h1 span {
  display: block;
}

.lagoon {
  color: var(--color-lagoon);
}

.intro {
  max-width: 39ch;
  margin: 1.75rem 0 0;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.home-link {
  margin-top: 1.75rem;
  color: var(--color-lagoon);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.25em;
}

.home-link:hover {
  color: var(--color-ink);
}

.home-link:focus-visible {
  outline: 3px solid var(--color-lagoon);
  outline-offset: 6px;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: 1.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (min-width: 48rem) {
  .site-shell {
    width: min(100% - 6rem, 76rem);
  }

  .site-header {
    padding-block: 2.5rem;
  }
}
