/* Base site styles: scoped to .base-prefixed classes so they don't clash with the MP stylesheets */
.base {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #222;
  line-height: 1.6;
}

.base-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.base-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.base-text {
  margin-bottom: 2rem;
}

.base-link {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  background: #3273dc;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.base-link:hover {
  background: #2366d1;
  color: #fff;
}

/* Site-wide layout: the footer sits at the bottom of the window on short pages, and after the content on long ones */
.base-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.base-main {
  flex: 1;
}

.base-header {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid #eee;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.base-header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

.base-header-link:hover {
  color: #3273dc;
}

.base-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
}
