:root {
  --shell-paper: #fffef9;
  --shell-ink: #263238;
  --shell-muted: #6a6f75;
  --shell-line: #e8dfcf;
  --shell-accent: #12bed1;
  --shell-accent-dark: #087987;
  --shell-warm: #ffdc6e;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(232, 223, 207, 0.9);
  background: rgba(255, 254, 249, 0.9);
  box-shadow: 0 6px 20px rgba(59, 45, 25, 0.05);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  width: min(1240px, calc(100% - 36px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: var(--shell-ink);
  white-space: nowrap;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #42535a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav-link:hover {
  background: #f1fbfc;
  text-decoration: none;
}

.site-nav-link[aria-current="page"] {
  border-color: #bdebf0;
  background: #dff8fb;
  color: #056b76;
}

.site-nav-status {
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff3bd;
  color: #765800;
  font-size: 10px;
  font-weight: 900;
}

.site-footer-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer-copy {
  max-width: 720px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-footer-meta {
  width: 100%;
  margin-top: 4px;
  color: #7a746b;
}

@media (max-width: 700px) {
  .site-header-inner {
    width: min(100% - 24px, 1240px);
    min-height: 62px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .site-brand-logo {
    height: 32px;
  }

  .site-nav {
    width: 100%;
    gap: 4px;
    padding-bottom: 2px;
  }

  .site-nav-link {
    min-height: 40px;
    padding: 8px 7px;
  }
}
