:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f6fa;
  color: #172033;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(92, 103, 219, .09), transparent 34rem),
    #f4f6fa;
}

button,
input { font: inherit; }

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

.access-card {
  width: min(100%, 430px);
  padding: 38px;
  border: 1px solid #d9dfeb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(23, 32, 51, .12);
}

.access-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eef0ff;
  color: #5149d8;
}

.access-mark svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.access-eyebrow {
  margin: 26px 0 8px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.access-intro {
  margin: 12px 0 26px;
  color: #5f6b7c;
  font-size: 15px;
  line-height: 1.6;
}

.access-error {
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #f1b8b8;
  border-radius: 10px;
  background: #fff1f1;
  color: #9f2424;
  font-size: 14px;
}

.access-error:empty { display: none; }

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

label {
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #b8c1d1;
  border-radius: 10px;
  background: #fff;
  color: #172033;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid #5149d8;
  outline-offset: 2px;
}

button {
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: #5149d8;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

button:hover { background: #4038bd; }

.access-note {
  margin: 20px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 480px) {
  .access-shell { padding: 14px; }
  .access-card { padding: 28px 22px; border-radius: 16px; }
}
