.container { width: min(1120px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand { font-weight: 800; font-size: 1.4rem; color: var(--primary); }

.site-nav { display: flex; gap: 1.2rem; margin-left: auto; }

.site-nav a { font-weight: 500; color: var(--muted); padding: 0.3rem 0; border-bottom: 2px solid transparent; }

.site-nav a:hover, .site-nav a.active { color: var(--text); border-color: var(--primary); }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

.theme-btn { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; }

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.16), rgba(var(--accent-rgb), 0.16));
  text-align: center;
}

.hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }

.hero p { max-width: 640px; margin: 0 auto 1.5rem; color: var(--muted); font-size: 1.1rem; }

.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.stats { list-style: none; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; padding: 0; margin: 2.5rem 0 0; }

.stats li { text-align: center; }

.stats strong { display: block; font-size: 2rem; color: var(--primary); }

.stats span { color: var(--muted); font-size: 0.9rem; }

.section { padding: 4.5rem 0; }

.section.alt { background: var(--bg-alt); }

.section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); }

.section-sub { color: var(--muted); margin-bottom: 1.8rem; }

.grid { display: grid; gap: 1.2rem; }

.systems-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.organs-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.map-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.map-wrap { display: flex; justify-content: center; }

.site-footer { padding: 2rem 0; text-align: center; color: var(--muted); border-top: 1px solid var(--border); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }

.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 4%;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0; }
  .map-layout { grid-template-columns: 1fr; }
}