:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #151515;
  --muted: #6a6a6a;
  --border: #d8d8d8;
  --focus: #2457d6;
  --error: #b3261e;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 7vw, 80px);
}

.holding-page {
  display: grid;
  justify-items: center;
  gap: clamp(22px, 5vw, 42px);
  width: min(100%, 520px);
  text-align: center;
}

.flair-logo,
.capcom-wordmark {
  display: block;
  height: auto;
  object-fit: contain;
}

.flair-logo {
  width: min(74vw, 260px);
}

.capcom-wordmark {
  width: min(62vw, 210px);
}

.status-message {
  margin: 0;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.15;
}

.access-form {
  display: grid;
  gap: 10px;
  width: min(100%, 280px);
  text-align: left;
}

.access-label {
  color: var(--muted);
  font-size: 0.8rem;
}

.access-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.access-input,
.access-button {
  min-height: 42px;
  border-radius: 6px;
  font: inherit;
}

.access-input {
  width: 100%;
  border: 1px solid var(--border);
  padding: 0 12px;
}

.access-button {
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
  cursor: pointer;
  padding: 0 14px;
}

.access-input:focus,
.access-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 25%, transparent);
  outline-offset: 2px;
}

.access-button:hover {
  background: #303030;
}

.access-error {
  margin: 0;
  color: var(--error);
  font-size: 0.85rem;
}

.wip-page {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  min-height: calc(100vh - clamp(48px, 14vw, 160px));
}

.wip-flair-wordmark {
  display: block;
  width: min(38vw, 140px);
  height: auto;
}
