:root {
  color: #15202b;
  background: #f3f5f7;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

button,
input {
  font: inherit;
}

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

.access-panel {
  width: min(100%, 420px);
  padding: 36px;
  border: 1px solid #d9dee4;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(29 39 49 / 8%);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name,
.product-name,
.eyebrow,
.access-copy p,
.access-error {
  margin: 0;
}

.brand-name {
  color: #263849;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.product-name {
  margin-top: 3px;
  color: #697785;
  font-size: 13px;
  line-height: 1.2;
}

.access-copy {
  margin-top: 34px;
}

.eyebrow {
  color: #bd5d24;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1 {
  margin: 9px 0 10px;
  color: #162330;
  font-size: 25px;
  font-weight: 720;
  line-height: 1.25;
}

.access-copy p:last-child {
  color: #687684;
  font-size: 14px;
  line-height: 1.55;
}

.access-form {
  display: grid;
  margin-top: 28px;
}

.access-form label {
  margin-bottom: 8px;
  color: #334454;
  font-size: 13px;
  font-weight: 650;
}

.access-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #aeb8c2;
  border-radius: 6px;
  outline: none;
  color: #172430;
  background: #ffffff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.access-form input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 15%);
}

.access-form input[aria-invalid="true"] {
  border-color: #b42318;
}

.access-error {
  min-height: 20px;
  padding-top: 7px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}

.access-form button {
  width: 100%;
  min-height: 44px;
  margin-top: 9px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #172d43;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 120ms ease, opacity 120ms ease;
}

.access-form button:hover:not(:disabled) {
  background: #203f5d;
}

.access-form button:focus-visible {
  outline: 3px solid rgb(37 99 235 / 25%);
  outline-offset: 2px;
}

.access-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 480px) {
  .access-shell {
    align-items: start;
    padding: 20px 14px;
  }

  .access-panel {
    margin-top: 7vh;
    padding: 28px 24px;
  }

  h1 {
    font-size: 22px;
  }
}
