/* Sign in, sign up and the password pages: the homepage's drawing paper,
   with the form on a sheet under a dimension line, a strip of hatched waste
   along its foot. Fonts and the .hp-dim line come from home.css. */

.auth {
  min-height: calc(100vh - 41px);
  padding: clamp(2rem, 7vh, 5rem) 1.25rem 3rem;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(43, 38, 32, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 38, 32, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(43, 38, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 38, 32, 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}

.auth .sign-in { margin: 0 auto; }
.auth .hp-dim { --hp-dim: var(--accent); --hp-mono: "IBM Plex Mono", var(--mono); margin-bottom: 0.75rem; }

.auth__sheet { border: 1.5px solid #6f6455; background: var(--surface); }
.auth__body { padding: 1.75rem 1.75rem 1.5rem; }
.auth h1 + p { margin-top: -0.25rem; }
.auth__waste { height: 18px; border-top: 1.5px solid #6f6455; background: repeating-linear-gradient(-45deg, transparent 0 7px, #cfc5b6 7px 8px), #f7f3ec; }

.auth h1 { margin: 0 0 1.25rem; font-family: "Archivo", var(--font); font-stretch: 75%; font-weight: 850; font-size: 2.6rem; line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }
.auth .form__actions { margin-top: 1.25rem; }
.auth .sign-in__footer { margin-top: 1.25rem; text-align: center; }
.auth .sign-in__footer a { font-weight: 600; color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 0.2em; }

@media (max-width: 480px) {
  .auth__body { padding: 1.25rem; }
  .auth h1 { font-size: 2.1rem; }
}
