/* Site chrome shared with the SPA — header/footer styling lifted from apps/web/src/styles/global.css.
 * This is duplicated for now to unblock Phase 0; in Phase 4 we factor a shared package. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

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

.layout--public {
  background: #f9e7c5;
  color: #2e1f10;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #2e1f10;
  color: rgba(249, 231, 197, 0.7);
  border-bottom: none;
}

.header-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #f9e7c5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-beta {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: #b94a2e;
  color: #fffaf0;
  border: 1px solid rgba(255, 250, 240, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transform: translateY(-3px);
}

.main {
  flex: 1;
  width: 100%;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  color: rgba(249, 231, 197, 0.6);
  background: #2e1f10;
  border-top: none;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: rgba(249, 231, 197, 0.75);
  text-decoration: none;
}

.footer-links a:hover {
  color: #f9e7c5;
}

.footer-language-toggle {
  font-size: 0.8rem;
}

.footer-language-toggle a {
  color: rgba(249, 231, 197, 0.6);
  text-decoration: none;
}

.footer-language-toggle a:hover {
  color: #f9e7c5;
}

.footer-language-toggle a[aria-current='page'],
.footer-language-toggle [aria-current='page'] {
  color: #f9e7c5;
  font-weight: 600;
}

@media (max-width: 480px) {
  .header {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
  }
}
