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

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(85, 112, 255, 0.16), transparent 34rem),
    linear-gradient(160deg, #f8fafc 0%, #e8edf5 100%);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem 1rem;
}

.access-card {
  width: min(100%, 27rem);
  padding: 2.5rem;
  border: 1px solid rgba(38, 52, 77, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1.5rem 4rem rgba(36, 49, 74, 0.14);
}

.brand-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 0.85rem;
  background: #3348d3;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: #5b6680;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.intro,
.notice {
  color: #667085;
  line-height: 1.55;
}

.intro {
  margin: 0.85rem 0 1.75rem;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  color: #344054;
  font-size: 0.875rem;
  font-weight: 650;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  min-height: 2.9rem;
  margin-bottom: 0.45rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cbd2df;
  border-radius: 0.65rem;
  background: #fff;
  color: #172033;
  font: inherit;
  outline: none;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #5266e8;
  box-shadow: 0 0 0 0.2rem rgba(82, 102, 232, 0.14);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.15rem 0 0.65rem;
  font-size: 0.84rem;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

a {
  color: #3348d3;
  font-weight: 650;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  min-height: 3rem;
  border: 0;
  border-radius: 0.7rem;
  background: #3348d3;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

button:hover {
  background: #293cb9;
}

.notice {
  margin: 1.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid #e4e7ec;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 30rem) {
  .access-card {
    padding: 2rem 1.35rem;
  }

  .form-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
