@import url("./common.css");

.swup-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.swup-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(245, 243, 238, 0.95);
}

.swup-header__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.swup-nav {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.swup-nav a {
  font-size: 0.9375rem;
  color: var(--accent);
  text-decoration: none;
}

.swup-nav a:hover {
  text-decoration: underline;
}

#swup {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.5rem 3rem;
}

#swup.transition-fade {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.swup-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

.swup-page-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
}

.swup-lede {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.swup-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: none;
}

.swup-back:hover {
  text-decoration: underline;
}
