.site-shell-container {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  background: rgba(12, 14, 18, 0.82);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.site-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: #eef8ff;
  background: rgba(26, 123, 181, 0.14);
  border-color: rgba(26, 123, 181, 0.28);
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.site-inline-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-inline-link:hover {
  color: var(--text);
}

.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--green, #5bc93a);
  border: 1px solid rgba(91, 201, 58, 0.22);
  color: #0a1206;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.site-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: #6ad64a;
  border-color: rgba(106, 214, 74, 0.36);
  box-shadow: 0 6px 16px rgba(38, 97, 17, 0.16);
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-inner {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.site-footer-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 23, 25, 0.82);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-footer-links a:hover {
  color: var(--text);
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(26, 29, 33, 0.96);
}

.site-footer-copy {
  max-width: 720px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(20, 23, 25, 0.82);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.site-menu-toggle:hover {
  background: rgba(26, 29, 33, 0.96);
  border-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 980px) {
  .site-header-inner {
    flex-wrap: wrap;
  }

  .site-menu-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .site-brand {
    order: 1;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
  }

  .site-header-actions {
    order: 4;
    width: 100%;
    display: none;
    padding-bottom: 8px;
  }

  .site-header-actions.open {
    display: flex;
  }

  .site-cta {
    width: 100%;
    justify-content: center;
  }
}
