/**
 * Theme layout — header, footer, main content shell
 * Use with theme.css for a full base. Customize .logo and nav per project.
 */
.site-header {
  background: var(--theme-surface);
  border-bottom: 1px solid var(--theme-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--theme-max-width);
  margin: 0 auto;
  padding: 1rem var(--theme-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--theme-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--theme-accent);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
}

.site-header nav a {
  color: var(--theme-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--theme-accent);
  text-decoration: none;
}

main {
  flex: 1;
}

.section-inner,
.page-inner {
  max-width: var(--theme-max-width);
  margin: 0 auto;
  padding: 2rem var(--theme-gutter);
}

.hero {
  padding: 4rem var(--theme-gutter);
  text-align: center;
  background: linear-gradient(180deg, var(--theme-surface) 0%, var(--theme-bg) 100%);
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.hero-tagline {
  color: var(--theme-text-muted);
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
}

.site-footer {
  background: var(--theme-surface);
  border-top: 1px solid var(--theme-border);
  margin-top: auto;
  padding: 2rem var(--theme-gutter);
  text-align: center;
}

.footer-inner {
  max-width: var(--theme-max-width);
  margin: 0 auto;
}

.footer-inner p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--theme-text-muted);
}

.footer-inner a {
  color: var(--theme-accent);
}

.footer-meta {
  margin-top: 0.5rem !important;
}
