:root {
  color-scheme: light;
  --ink: #20263a;
  --paper: #f6f2e8;
  --red: #ed523f;
  --yellow: #f5ce45;
  --teal: #298c7e;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: Impact, "Arial Narrow", "Franklin Gothic Condensed", sans-serif;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--ink); }
body { min-width: 320px; min-height: 100vh; min-height: 100dvh; margin: 0; color: var(--paper); font-family: var(--body); }
button, input { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.gate {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  padding: 102px 22px 88px;
  background: var(--ink);
}
.gate::before, .gate::after {
  position: absolute;
  z-index: -1;
  width: min(66vw, 790px);
  aspect-ratio: 1;
  border: 1px solid rgba(245, 206, 69, .18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.gate::before {
  left: -24%;
  bottom: -52%;
  box-shadow: 0 0 0 35px rgba(245, 206, 69, .025), 0 0 0 90px rgba(245, 206, 69, .025), 0 0 0 150px rgba(245, 206, 69, .018);
}
.gate::after {
  top: -42%;
  right: -18%;
  width: min(48vw, 580px);
  border-color: rgba(237, 82, 63, .27);
  transform: rotate(20deg) scaleY(.7);
}
.gate__grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 78%);
  pointer-events: none;
}
.gate__orbit {
  position: absolute;
  z-index: -1;
  width: 33vw;
  max-width: 410px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 206, 69, .24);
  border-radius: 50%;
  pointer-events: none;
}
.gate__orbit--one { left: -16%; top: 15%; transform: rotate(-20deg) scaleY(.56); }
.gate__orbit--two { right: -17%; bottom: 12%; border-color: rgba(237, 82, 63, .3); transform: rotate(26deg) scaleY(.72); }

.masthead {
  position: absolute;
  inset: 0 0 auto;
  height: 80px;
  padding: 0 6.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font: 800 24px/1 var(--display);
  letter-spacing: .08em;
  text-decoration: none;
}
.brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-8deg);
}
.brand__dot { color: var(--yellow); }
.masthead__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9d8d1;
  font: 9px var(--mono);
  letter-spacing: .12em;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245,206,69,.16);
}

.access-card {
  position: relative;
  width: min(100%, 510px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 14px 16px 0 rgba(0,0,0,.2);
  animation: arrive .6s both;
}
.access-card::after {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(32,38,58,.16);
  content: "";
  pointer-events: none;
}
.access-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 35px; }
.lock-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-7deg);
}
.access-card__serial { color: #737681; font: 9px var(--mono); letter-spacing: .12em; }
.eyebrow { margin: 0 0 14px; color: var(--red); font: 10px var(--mono); letter-spacing: .15em; }
h1 {
  margin: 0;
  font: 900 clamp(42px, 8vw, 67px)/.82 var(--display);
  letter-spacing: -.04em;
  transform: skew(-3deg);
}
h1 em { color: var(--red); font-style: normal; }
.intro { max-width: 350px; margin: 20px 0 28px; color: #555968; font-size: 13px; line-height: 1.75; }
label { display: block; margin: 0 0 9px; font: 10px var(--mono); letter-spacing: .06em; }
.pin-field {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid rgba(32,38,58,.28);
  background: rgba(255,255,255,.55);
  transition: border-color .2s, box-shadow .2s;
}
.pin-field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(41,140,126,.13); }
.pin-field.has-error { border-color: var(--red); }
.pin-field > svg { flex: none; color: var(--teal); }
.pin-field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 700 20px var(--mono);
  letter-spacing: .3em;
}
.pin-field input::placeholder { color: #b2b1ac; letter-spacing: .23em; }
.pin-count { color: #888a91; font: 9px var(--mono); white-space: nowrap; }
.feedback { min-height: 0; margin: 0; color: #ad342a; font-size: 12px; line-height: 1.55; }
.feedback:not(:empty) { margin-top: 10px; }
.feedback[data-kind="service"] { color: #80571a; }
.feedback[data-kind="success"] { color: var(--teal); }
.submit-button {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 17px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: 700 10px var(--mono);
  letter-spacing: .07em;
  transition: background .2s, transform .2s;
}
.submit-button:hover:not(:disabled) { background: var(--red); transform: translateY(-2px); }
.submit-button:disabled { cursor: not-allowed; opacity: .55; }
.submit-button > svg { color: var(--yellow); }
.button-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(246,242,232,.35);
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}
.submit-button.is-loading #submit-arrow { display: none; }
.submit-button.is-loading .button-loader { display: block; }
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(32,38,58,.16);
  color: #686b74;
  font-size: 10px;
  line-height: 1.5;
}
.privacy-note svg { flex: none; color: var(--teal); }
.ornament { position: absolute; pointer-events: none; }
.ornament--spark { top: 27%; left: 13%; color: var(--yellow); font-size: 52px; animation: sparkle 2.8s ease-in-out infinite; }
.ornament--ring {
  right: 12%;
  bottom: 22%;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(237,82,63,.65);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(237,82,63,.08), 0 0 0 24px rgba(237,82,63,.04);
}
.gate-footer {
  position: absolute;
  right: 6.2vw;
  bottom: 0;
  left: 6.2vw;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.16);
  color: #a9aab0;
  font: 8px var(--mono);
  letter-spacing: .12em;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes sparkle { 0%,100% { opacity: .65; transform: scale(.88) rotate(-7deg); } 50% { opacity: 1; transform: scale(1.1) rotate(9deg); } }

@media (max-width: 760px) {
  .masthead { height: 68px; padding: 0 22px; }
  .brand { font-size: 21px; }
  .masthead__status { font-size: 8px; }
  .gate { padding: 90px 18px 72px; }
  .access-card { padding: 31px 25px; }
  .access-card__top { margin-bottom: 29px; }
  .ornament--spark { top: 19%; left: 5%; font-size: 34px; }
  .ornament--ring { right: -20px; bottom: 15%; width: 66px; height: 66px; }
  .gate-footer { right: 22px; left: 22px; height: 45px; font-size: 7px; }
}
@media (max-width: 390px) {
  .access-card { padding: 28px 21px; }
  .masthead__status { letter-spacing: .07em; }
  .gate-footer { font-size: 6px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}