@font-face {
  font-family: 'Big Shoulders Display';
  src: url('fonts/big-shoulders-display-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Public Sans';
  src: url('fonts/public-sans-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f4f5f0;
  --ink: #191c21;
  --orange: #e85d04;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body);
}

.auth-page {
  background: var(--ink);
  color: var(--paper);
  min-height: 100vh;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(18rem, .9fr) minmax(22rem, 1.1fr);
  margin: 0 auto;
  max-width: 72rem;
  min-height: 100vh;
}

.auth-copy {
  align-content: center;
  display: grid;
  min-width: 0;
  padding: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.auth-copy h1 {
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  line-height: .9;
  margin: .6rem 0 1.5rem;
  text-transform: uppercase;
}

.auth-copy h1 span {
  color: var(--orange);
}

.auth-copy > p:not(.eyebrow) {
  color: #c9ccd0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 31rem;
}

.auth-copy .auth-access {
  border-left: 3px solid var(--orange);
  margin-top: 1.5rem;
  padding-left: 1rem;
}

.auth-panel {
  align-items: center;
  background: #eef0ea;
  color: var(--ink);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  min-width: 0;
  padding: 2rem;
}

#sign-in {
  display: flex;
  justify-content: center;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.auth-loading,
.auth-error {
  font-family: var(--mono);
  font-size: .75rem;
}

.auth-error {
  color: #ff8e74;
  margin-top: 1rem;
}

.denied-user {
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-copy {
    min-height: 45vh;
    padding: 2rem 1.25rem;
  }

  .auth-copy h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .auth-panel {
    min-height: 55vh;
    padding: 2rem 1rem 3rem;
  }
}
