:root {
  color-scheme: light;
  background: #f5ecdc;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 180, 60, 0.17), transparent 32rem),
    linear-gradient(180deg, #fbf6ed 0%, #f4eadb 100%);
  color: #28231e;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: #28231e;
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  display: flex;
  width: min(1160px, calc(100% - 2rem));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.15rem 0 0;
}

.site-title {
  color: #28231e;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.site-header nav a {
  border-radius: 999px;
  color: #5d5247;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  background: #fffdf8;
  color: #a84313;
  box-shadow: 0 4px 15px rgba(84, 58, 27, 0.08);
}

.site-main {
  width: calc(100% - 2rem);
  margin: 0 auto;
}

.site-footer {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
  color: #6e655b;
  font-size: 0.86rem;
  text-align: center;
}

.site-noscript {
  width: min(700px, calc(100% - 2rem));
  margin: 2rem auto;
  border: 1px solid #dfd2bf;
  border-radius: 12px;
  background: #fffdf8;
  padding: 1rem;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
  }

  .site-header nav a {
    flex: 1;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .site-footer {
    display: none;
  }

  .site-main {
    width: 100%;
  }
}
