:root {
  --bg: #ffffff;
  --highlight: #cddfe4;
  --paper: #ffffff;
  --ink: #0a0a0a;
  --shadow: rgba(13, 16, 18, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Baskerville", "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  text-decoration: none;
  transform: translateY(-200%);
  z-index: 10;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8vh 8vw 6vh;
}

.hero img {
  width: min(520px, 80vw);
  height: auto;
  max-height: 60vh;
  display: block;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@media (max-width: 600px) {
  body {
    min-height: auto;
  }

  .hero {
    flex: 0;
    padding: 6vh 6vw 3vh;
  }

  .hero img {
    max-height: 42vh;
  }
}

.site-footer {
  background: var(--paper);
  color: #000000;
  font-family: "Nunito Sans", "Nunito", sans-serif;
  text-align: center;
  padding: 16px 24px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  margin-left: 10px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-email {
  margin: 0 0 10px;
  padding: 0 24px;
  text-align: center;
  font-size: 0.95rem;
  color: #6e6e6e;
  font-family: "Nunito Sans", "Nunito", sans-serif;
  font-style: normal;
}

.policy {
  flex: 1;
  width: min(760px, 90vw);
  margin: 48px auto 56px;
  padding: 0 8px;
  line-height: 1.6;
}

.policy-back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #1a1a1a;
  text-decoration: none;
  border: 1px solid rgba(10, 10, 10, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "Nunito Sans", "Nunito", sans-serif;
}

.policy-back:hover {
  background: rgba(10, 10, 10, 0.04);
}

.policy h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.policy h2 {
  margin: 22px 0 8px;
  font-size: 1.1rem;
}

.policy p {
  margin: 0 0 12px;
}

.policy ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.policy li {
  margin: 0 0 6px;
}

.policy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
