:root {
  color-scheme: light;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f6f3ed;
  color: #25231f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.access-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.access-card {
  width: min(100%, 420px);
  padding: 36px;
  border: 1px solid #ded8cc;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 18px 50px rgb(76 65 47 / 12%);
}

.eyebrow {
  margin: 0 0 10px;
  color: #896f42;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.2;
}

.description {
  margin: 14px 0 28px;
  color: #6c665d;
  line-height: 1.7;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 14px;
  font-weight: 650;
}

input,
button {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font: inherit;
}

input {
  border: 1px solid #cfc7ba;
  padding: 0 14px;
  background: #fff;
  color: inherit;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid rgb(151 119 65 / 28%);
  outline-offset: 2px;
}

button {
  border: 0;
  margin-top: 4px;
  background: #735b32;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: #5f4927;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.message {
  min-height: 24px;
  margin: 16px 0 0;
  color: #ad352d;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .access-shell {
    padding: 16px;
  }

  .access-card {
    padding: 28px 22px;
  }
}
