/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  height: var(--header-height);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

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

.site-header__logo {
  width: 36px;
  height: 36px;
}

.site-header__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.01em;
}

.site-header__tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-500);
  background: var(--accent-50);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.25rem;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--neutral-600);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--neutral-900);
  background: var(--neutral-100);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--brand-500);
  background: var(--brand-50);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--neutral-700);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Page Content */
.page-content {
  min-height: calc(100vh - var(--header-height) - 200px);
}

/* Section spacing */
.section {
  padding: 4rem 0;
}

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

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__header p {
  color: var(--neutral-500);
  font-size: 1.125rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Site Footer */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 3rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.site-footer__brand img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.site-footer__brand span {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.site-footer__desc {
  color: var(--neutral-400);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 280px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--neutral-400);
  font-size: 0.875rem;
  transition: color 0.15s;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: none;
}

.site-footer__bottom {
  border-top: 1px solid var(--neutral-700);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--neutral-500);
}
