:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #222222;
  background: #ffffff;
}

body {
  min-width: 20rem;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: #fff;
  border-bottom: 1px solid #dce2e8;
}

.site-header form { margin: 0; flex-shrink: 0; }
.site-header .app-navigation { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 1rem; }
.site-header .app-navigation a { color: #222222; text-underline-offset: .2rem; }
#header { position: sticky; top: 0; z-index: 20; }
#header .site-header { position: static; width: 100%; box-sizing: border-box; }
#header .site-header .app-navigation a,
#header .site-header .brand { color: #222222; }
.brand { color: inherit; font-weight: 700; text-decoration: none; }
.page-content { width: min(48rem, calc(100% - 2rem)); margin: 4rem auto; }
.auth-card, .welcome-card { padding: 2rem; background: #fff; border: 1px solid #dce2e8; border-radius: 20px; box-shadow: rgba(0,0,0,.02) 0 0 0 1px, rgba(0,0,0,.04) 0 2px 6px, rgba(0,0,0,.1) 0 4px 8px; }
.auth-card { max-width: 28rem; margin: 0 auto; }
.eyebrow { color: #6a6a6a; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-error { color: #9c2525; }
button { padding: .65rem 1rem; color: #fff; background: #ff385c; border: 0; border-radius: 8px; cursor: pointer; }
.text-button { white-space: nowrap; padding: 0; color: #222222; background: transparent; text-decoration: underline; }

@media (max-width: 48rem) {
  .site-header { flex-wrap: wrap; gap: 1rem; }
  .site-header .app-navigation { order: 3; width: 100%; margin: 0; }
  .page-content { margin-top: 2rem; }
}

.site-footer a { color: #222222; text-underline-offset: .2rem; }
