:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #211a31;
  background: #19152a;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  background:
    radial-gradient(ellipse at 20% 8%, #493477, transparent 55%),
    radial-gradient(ellipse at 88% 95%, #382553, transparent 52%),
    #19152a;
}

.access-card {
  width: min(100%, 28rem);
  padding: clamp(1.5rem, 6vw, 2.5rem);
  background: #fffcff;
  border: 1px solid #eee6f5;
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 4rem #100a2499;
}

.access-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #47355e;
  font-size: .875rem;
  font-weight: 650;
}

.access-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .7rem;
  background: #6340ca;
}

.access-mark::before, .access-mark span {
  content: "";
  position: absolute;
  width: .9rem;
  height: .72rem;
  border: 1.5px solid #fff;
  border-radius: .2rem;
  transform: rotate(-12deg) translate(-.09rem, -.12rem);
}
.access-mark span { transform: rotate(-12deg) translate(.08rem, .11rem); background: #6340ca; }

h1 {
  margin: 1.8rem 0 .55rem;
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.access-intro { margin: 0 0 1.6rem; color: #5d536c; line-height: 1.5; }
form label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 650; }

.access-field {
  display: flex;
  align-items: stretch;
  border: 1px solid #867890;
  border-radius: .7rem;
  background: white;
}
.access-field:focus-within { border-color: #6340ca; outline: 2px solid #6340ca; outline-offset: 2px; }
.access-field:has(input[aria-invalid="true"]) { border-color: #a3264d; }
.access-field input { flex: 1; min-width: 0; min-height: 3rem; padding: .65rem .8rem; border: 0; border-radius: .7rem; background: transparent; color: inherit; font: inherit; }
.access-field input:focus { outline: none; }

button { font: inherit; cursor: pointer; }
.access-reveal { min-width: 3.6rem; padding: .55rem; border: 0; border-radius: .55rem; background: transparent; color: #5332a3; font-size: .875rem; font-weight: 650; }
.access-reveal:hover { background: #f2ebfc; }
.access-reveal:focus-visible, .access-submit:focus-visible { outline: 2px solid #6340ca; outline-offset: 3px; }
.access-error { margin: .65rem 0 0; color: #a3264d; font-size: .875rem; line-height: 1.4; }

.access-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3rem;
  margin-top: 1rem;
  padding: .6rem .9rem;
  border: 0;
  border-radius: .7rem;
  background: #6340ca;
  color: #fff;
  font-weight: 650;
}
.access-submit:hover { background: #5130b0; }
.access-submit span { font-size: 1.25rem; line-height: 1; }

.access-footer { margin: 1.45rem 0 0; padding-top: .9rem; border-top: 1px solid #e9e0ef; color: #5d536c; font-size: .8125rem; }
