@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f5f6f7;
  --muted: #9ca1a8;
  --line: #303338;
  --pink: #ff4fb3;
  --lime: #c8f51b;
  --error: #ff67b9;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  background: #0a0b0c;
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 80% 45%, rgb(255 79 179 / 9%), transparent 28%);
  content: "";
}

.access-shell {
  position: relative;
  width: min(1180px, calc(100% - 64px));
  min-height: 100vh;
  margin: auto;
  display: grid;
  grid-template: auto 1fr auto / minmax(420px, .92fr) minmax(430px, 1fr);
  gap: 24px clamp(56px, 7vw, 110px);
  align-items: center;
  padding: 54px 0 34px;
}

.brand {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}
.brand img {
  width: 46px;
  height: 46px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
}

.access-copy { max-width: 520px; align-self: center; }
h1 {
  margin: 0 0 22px;
  font-size: clamp(50px, 5.1vw, 72px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
h1 em { color: var(--pink); font-style: normal; }
.hint {
  min-height: 48px;
  margin: 0 0 26px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c7c0c6;
  font-size: 15px;
  line-height: 1.55;
}
.hint > span:first-child { color: var(--lime); }

form { display: grid; gap: 9px; }
label { margin-top: 7px; color: #eee9ed; font-size: 13px; font-weight: 760; }
input {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid #4b424b;
  border-radius: 9px;
  outline: none;
  background: #121117;
  color: var(--ink);
  font: 650 16px/1 Manrope, system-ui, sans-serif;
  transition: border-color .16s ease, box-shadow .16s ease;
}
input::placeholder { color: #746d75; }
input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgb(255 79 179 / 14%); }
button {
  height: 60px;
  margin-top: 16px;
  padding: 0 20px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--pink);
  color: #190613;
  cursor: pointer;
  font: 800 16px/1 Manrope, system-ui, sans-serif;
  transition: background .16s ease, transform .16s ease;
}
button svg { width: 22px; fill: none; stroke: currentcolor; stroke-linecap: round; stroke-width: 2; }
button:hover { background: #ff6fc0; transform: translateY(-1px); }
button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.access-error { margin: 3px 0 0; color: var(--error); font-size: 13px; line-height: 1.45; }
.tiny-truth {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.tiny-truth span { margin-right: 9px; color: var(--lime); }
.tiny-truth strong { color: var(--lime); }

.mascot-stage {
  position: relative;
  align-self: center;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 48% 52% 43% 57% / 39% 36% 64% 61%;
  background: #f168be;
  box-shadow: 0 34px 90px rgb(0 0 0 / 40%);
}
.mascot-stage::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(80 0 49 / 18%) 1px, transparent 1px);
  background-size: 9px 9px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  content: "";
  pointer-events: none;
}
.mascot-stage img { position: absolute; left: 4%; bottom: -3%; width: 70%; height: auto; }
.mascot-stage p {
  position: absolute;
  z-index: 1;
  top: 12%;
  right: 6%;
  width: 42%;
  margin: 0;
  padding: 22px 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #111015;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  transform: rotate(3deg);
}
.mascot-stage p::after {
  position: absolute;
  left: 8px;
  bottom: -15px;
  width: 24px;
  height: 24px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  background: #111015;
  content: "";
  transform: skew(-28deg) rotate(-17deg);
}
.mascot-stage strong { color: var(--lime); }
footer { grid-column: 1 / -1; color: #625b62; font-size: 10px; text-align: center; }

@media (max-width: 850px) {
  .access-shell {
    width: min(100% - 30px, 520px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 26px 0 28px;
  }
  .brand { order: 1; margin-bottom: 22px; font-size: 29px; }
  .brand img { width: 40px; height: 40px; }
  .access-copy { position: relative; z-index: 1; order: 3; }
  h1 { max-width: 440px; font-size: clamp(43px, 12vw, 62px); }
  .mascot-stage {
    order: 2;
    width: 100%;
    min-height: 190px;
    margin: 0 0 26px;
    border-radius: 92px 92px 24px 24px;
  }
  .mascot-stage img { left: 8%; bottom: -25%; width: 36%; }
  .mascot-stage p { top: 17%; right: 6%; width: 49%; padding: 15px 10px; font-size: 13px; }
  footer { order: 4; margin-top: 26px; line-height: 1.5; }
}

@media (max-width: 390px) {
  .brand { margin-bottom: 34px; }
  h1 { font-size: 42px; }
  .hint { margin-bottom: 22px; }
  .tiny-truth { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  input, button { transition: none; }
}
