@font-face {
  font-family: Nunito;
  src: url("/assets/nunito-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("/assets/nunito-bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fffefa;
  --ink: #302044;
  --muted: #756085;
  --purple: #7542ed;
  --purple-dark: #5926c3;
  --line: #e5d6ed;
  --ceramic: #f6f0e4;
  --ceramic-edge: #cdbfa9;
  font-family: Nunito, ui-rounded, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
a {
  color: var(--purple-dark);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  transform: translateY(-180%);
  background: var(--paper);
  border: 1px solid var(--purple);
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
main {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}
.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}
.site-header nav a {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  min-height: min(700px, calc(100dvh - 190px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 90px);
  padding-block: 36px 64px;
}
h1,
h2,
p {
  margin: 0;
}
.hero h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.availability {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-art {
  width: 100%;
  max-width: 470px;
  margin: 0;
  justify-self: end;
  padding: 15px;
  border: 2px solid var(--ceramic-edge);
  background: var(--ceramic);
  box-shadow: 0 12px 30px #65503b12;
  transform: rotate(3deg);
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid #ded2c0;
  background: var(--paper);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}
.site-footer p {
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.site-footer a {
  color: var(--ink);
}

.document {
  max-width: 720px;
  padding-block: 56px 88px;
}
.document h1 {
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.document .updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.document section {
  margin-top: 34px;
}
.document h2 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 800;
}
.document p,
.document li {
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.document section p + p,
.document ol + p {
  margin-top: 16px;
}
.document ol {
  padding-left: 24px;
}
.document .contact {
  font-size: clamp(20px, 4.5vw, 28px);
  font-weight: 800;
}

@media (max-width: 700px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 40px, 560px);
  }
  .site-header {
    min-height: 76px;
  }
  .brand {
    gap: 8px;
    font-size: 18px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 32px 60px;
  }
  .hero h1 {
    font-size: clamp(40px, 10vw, 56px);
  }
  .availability {
    margin-top: 18px;
    font-size: 17px;
  }
  .hero-art {
    max-width: min(100% - 20px, 390px);
    justify-self: center;
    padding: 10px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .document {
    padding-block: 32px 64px;
  }
}
