@font-face {
  font-family: DM Sans;
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Space Grotesk;
  src: url("/assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 50% 38%, #44245e33, transparent 58%), #160f22;
  color: #f2edf8;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: wait;
}
button:focus-visible {
  outline: 2px solid #d7b9ff;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.access-shell {
  width: 100%;
  max-width: 460px;
  margin: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
  gap: 18px;
}
.access-coordinate {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #927ca8;
  padding-left: 6px;
}
.access-card {
  border: 1px solid #64447d66;
  background: linear-gradient(145deg, #2b1d39b3, #21162de6);
  border-radius: 23px;
  padding: 30px 32px 27px;
  box-shadow:
    0 30px 100px -20px #07020f80,
    inset 0 1px 0 #dfb8ff0a;
}
.access-art {
  height: 148px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  isolation: isolate;
}
.access-core {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 20%,
    #e7d7ff,
    #b99adc 42%,
    #6a448d 86%
  );
  box-shadow:
    inset 1px 4px 8px #fff5,
    0 12px 50px #bd7ef026;
}
.access-core svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: #43265f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.access-orbit {
  width: 190px;
  height: 85px;
  border: 1px solid #9371b253;
  border-radius: 50%;
  position: absolute;
  z-index: -1;
}
.orbit-a {
  transform: rotate(-26deg);
}
.orbit-b {
  width: 150px;
  height: 122px;
  transform: rotate(28deg);
  border-color: #9371b22e;
}
.access-satellite {
  position: absolute;
  left: calc(50% + 70px);
  top: 32px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #f3e8ff, #aa81d4 65%, #6c448f);
}
.eyebrow {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: #c1a6d8;
  display: flex;
  gap: 8px;
  align-items: center;
}
.eyebrow > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bc99e7;
  box-shadow: 0 0 12px #bc99e755;
}
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 47px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2.4px;
  margin: 19px 0 18px;
}
h1 > span {
  color: #cfb2f3;
}
.access-copy {
  font-size: 12px;
  line-height: 1.9;
  color: #b7a5c7;
  margin: 0 0 28px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #d4c1e5;
  margin-bottom: 9px;
}
.password-wrap {
  position: relative;
}
input {
  width: 100%;
  background: #160d2199;
  border: 1px solid #67477e;
  color: #f4ebff;
  border-radius: 9px;
  padding: 14px 49px 14px 14px;
  font-size: 16px;
  min-height: 49px;
  transition: border-color 0.2s;
}
input::placeholder {
  color: #947ba6;
  font-size: 12px;
}
input:focus {
  outline: 2px solid #c7a7f566;
  outline-offset: 2px;
  border-color: #c7a7f5;
}
input[aria-invalid="true"] {
  border-color: #d797b2;
}
#toggle-password {
  position: absolute;
  right: 3px;
  top: 3px;
  bottom: 3px;
  width: 42px;
  border: 0;
  background: transparent;
  color: #b394c9;
  display: grid;
  place-items: center;
  border-radius: 7px;
}
#toggle-password:hover {
  color: #e1caff;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enter-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #c7a7f5;
  color: #251238;
  padding: 15px 17px;
  margin-top: 16px;
  min-height: 50px;
  font-size: 12px;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s;
}
.enter-button:hover:not(:disabled) {
  background: #dac0ff;
  transform: translateY(-1px);
}
.enter-button:disabled {
  background: #77618e;
  color: #d8c1ed;
}
.enter-button svg {
  width: 19px;
  height: 19px;
}
.access-error {
  padding: 11px 13px;
  background: #d377a213;
  color: #efb6d0;
  border: 1px solid #d38aa53d;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
  margin: 12px 0 0;
}
.access-footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #a48cb8;
  margin-top: 20px;
}
.access-footnote > span {
  font-size: 14px;
  color: #b897d1;
}
.access-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 0 6px;
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #8c759f;
}
.access-bottom > span:last-child {
  font-size: 15px;
}
::selection {
  background: #c7a7f5;
  color: #251238;
}
@media (max-width: 400px) {
  .access-shell {
    padding: 28px 20px;
    gap: 15px;
  }
  .access-card {
    padding: 24px 24px 23px;
    border-radius: 20px;
  }
  .access-art {
    height: 122px;
    margin-bottom: 23px;
  }
  .access-core {
    width: 77px;
    height: 77px;
  }
  .access-orbit {
    width: 170px;
    height: 73px;
  }
  .orbit-b {
    width: 135px;
    height: 105px;
  }
  .access-satellite {
    left: calc(50% + 63px);
    top: 22px;
  }
  h1 {
    font-size: 42px;
  }
  .access-copy {
    font-size: 11px;
    margin-bottom: 25px;
  }
  .access-footnote {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
