.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-text);
}

.brand__tag {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.main-nav__link {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav__link:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.main-nav__link.is-active {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.theme-toggle:hover,
.burger:hover {
  border-color: var(--color-accent);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.theme-toggle__icon--moon { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--moon { display: block; }

.burger {
  display: none;
}

.burger svg {
  width: 18px;
  height: 14px;
  fill: currentColor;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 18, 0.5);
  z-index: 35;
}

main {
  min-height: 60vh;
}

.section {
  padding: 56px 0;
}

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

.hero {
  padding: 64px 24px 24px;
  text-align: center;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 1em;
}

.hero__lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 1em;
}

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

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    background: var(--color-surface);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 36;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  body.nav-open .nav-overlay {
    display: block;
  }

  .burger {
    display: flex;
  }
}
