/* Simple content pages (legal notice, 404) reusing the landing layout language */

.page-main {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 64px clamp(20px, 4vw, 48px) 96px;
  flex: 1;
}
.page-main h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 24px;
}
.page-main h2 { font-size: 18px; font-weight: 500; line-height: 1.3; margin: 28px 0 8px; }
.page-main p { color: var(--muted); margin: 0 0 12px; line-height: 1.7; }
.page-main a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(36, 82, 224, 0.3);
  transition: border-color 160ms ease;
}
.page-main a:hover { border-bottom-color: var(--accent); }

/* Centered variant used by the 404 page */
.page-main--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  min-height: 55vh;
}
.page-main--centered .btn { margin-top: 16px; }
.error-code {
  font-family: var(--font-mono);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 500;
  line-height: 1;
  color: var(--line-strong);
  margin: 0 0 8px;
}

/* Light legal bar footer shared by the content pages */
.page-footer {
  border-top: 0.5px solid var(--line);
  padding: 24px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
}
.page-footer a { color: var(--muted-2); border-bottom: 0.5px solid var(--line-strong); }
.page-footer a:hover { color: var(--fg); border-bottom-color: var(--accent); }
