@font-face { font-family: DM; src: url('/auth/mono.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Archivo; src: url('/auth/display.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: dark; --night: #191724; --paper: #faf4ed; --ink: #453e53; --muted: #766b7d; --love: #b4637a; --foam: #9ccfd8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: var(--night); color: #e0def4; font: 12px DM, monospace; display: flex; flex-direction: column; isolation: isolate; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#e0def405 1px, transparent 1px), linear-gradient(90deg, #e0def405 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, black, transparent 85%); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--love); outline-offset: 5px; }
button:disabled { cursor: wait; }
.ambient { position: fixed; border-radius: 50%; filter: blur(95px); opacity: .10; z-index: -2; pointer-events: none; animation: drift 16s ease-in-out infinite alternate; }
.ambient-one { width: 460px; height: 460px; background: #907aa9; left: 6%; top: 10%; }
.ambient-two { width: 360px; height: 360px; background: #b4637a; right: 3%; bottom: 3%; animation-delay: -8s; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 32px 4%; }
.wordmark { color: #e0def4; text-decoration: none; font: 750 25px Archivo, sans-serif; letter-spacing: -.07em; white-space: nowrap; }
.wordmark > span { font-weight: 300; color: #6e6a86; margin: 0 14px; }
.wordmark small { font: 9px DM, monospace; letter-spacing: .14em; color: #a19ab4; vertical-align: middle; }
.motion { color: #aaa3bc; background: transparent; border: 1px solid #e0def424; padding: 10px 13px; border-radius: 3px; font-size: 10px; }
.motion span { padding-left: 10px; color: var(--foam); }
main { width: min(920px, calc(100% - 48px)); margin: auto; padding: 48px 0 64px; }
.above, .below { display: flex; align-items: center; gap: 10px; color: #a19ab4; font-size: 9px; letter-spacing: .12em; }
.above { margin-bottom: 16px; animation: rise .8s both; }
.above-line { height: 1px; flex: 1; background: #e0def417; margin: 0 12px; }
.beacon { width: 5px; height: 5px; background: var(--foam); border-radius: 50%; box-shadow: 0 0 12px #9ccfd84d; animation: beacon 3s ease-in-out infinite; }
.access-card { display: grid; grid-template-columns: 32% 68%; position: relative; overflow: hidden; border: 1px solid #e0def429; border-radius: 5px; box-shadow: 0 32px 95px #0005; animation: card-in .9s cubic-bezier(.16, 1, .3, 1) both; }
.seal-panel { background: linear-gradient(150deg, #292536, #201d2b); padding: 27px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.seal-top { display: flex; justify-content: space-between; color: #a39bb7; font-size: 9px; letter-spacing: .12em; }
.seal-top > span:last-child { color: #b4637a; font-size: 8px; }
.orbital { position: relative; width: 100%; aspect-ratio: 1; margin: 28px auto; }
.orbit { position: absolute; inset: 0; border: 1px solid #c4a7e733; border-radius: 50%; }
.orbit-one { inset: 5%; border-style: dashed; animation: rotate 80s linear infinite; }
.orbit-two { inset: 18%; border-color: #c4a7e72b; animation: rotate 30s linear infinite reverse; }
.orbit-two::after { content: ''; position: absolute; width: 5px; height: 5px; background: #c4a7e7; border-radius: 50%; left: 13%; top: 13%; box-shadow: 0 0 12px #c4a7e788; }
.orbit-three { inset: 30%; border-color: #c4a7e716; }
.cross { position: absolute; background: #c4a7e718; }
.cross-x { width: 100%; height: 1px; top: 50%; }
.cross-y { height: 100%; width: 1px; left: 50%; }
.scan { position: absolute; inset: 5%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 70%, #c4a7e71a 100%); animation: rotate 12s linear infinite; }
.coordinate { position: absolute; font-size: 7px; letter-spacing: .15em; color: #9e94b3; background: #252131; padding: 3px 7px; left: 50%; transform: translateX(-50%); }
.coordinate-top { top: 2%; }.coordinate-bottom { bottom: 2%; }
.lock-symbol { position: absolute; left: 50%; top: 50%; width: 34px; height: 42px; transform: translate(-50%, -50%); }
.shackle { width: 22px; height: 23px; border: 1.5px solid #c4a7e7; border-radius: 15px 15px 0 0; margin: 0 auto; transition: transform .5s; }
.lock-body { width: 34px; height: 26px; position: relative; top: -6px; border: 1px solid #c4a7e7; border-radius: 4px; background: #292436; }
.lock-body i { position: absolute; width: 3px; height: 8px; background: #c4a7e7; left: 14px; top: 8px; border-radius: 3px; }
.seal-rule { display: block; height: 1px; width: 26px; background: #b4637a; }
.seal-bottom p { font: 450 26px/1.15 Archivo, sans-serif; color: #e0def4; letter-spacing: -.035em; margin: 18px 0 25px; }
.seal-index { color: #aaa0be; letter-spacing: .17em; font-size: 8px; }
.form-panel { color-scheme: light; padding: 43px 48px 30px; background-color: var(--paper); background-image: radial-gradient(ellipse at 100% 0, #b4637a0c, transparent 60%); color: var(--ink); }
.eyebrow { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .12em; color: var(--love); }
.eyebrow > span { font-size: 16px; line-height: 10px; }
h1 { margin: 27px 0 16px; font: 550 clamp(30px, 3.6vw, 44px)/1.1 Archivo, sans-serif; letter-spacing: -.055em; }
h1 em { font-style: normal; font-weight: 400; color: var(--love); }
.intro { font-size: 11px; line-height: 1.85; color: var(--muted); margin: 0 0 32px; }
label { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .12em; margin-bottom: 11px; }
label span { color: #9c8796; }
.password-field { display: flex; align-items: center; border: 1px solid #c6bdc3; background: #fffaf5; border-radius: 3px; transition: border-color .25s, box-shadow .25s; }
.password-field:focus-within { border-color: var(--love); box-shadow: 0 0 0 3px #b4637a12; }
.prompt { color: var(--love); margin-left: 15px; font-size: 12px; }
input { width: 100%; min-width: 0; padding: 17px 12px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
input::placeholder { color: #9a8d9b; font-size: 11px; }
#reveal { color: #79687a; background: transparent; border: 0; padding: 18px 13px 18px 5px; font-size: 8px; letter-spacing: .08em; }
.status { min-height: 40px; padding: 10px 0; font-size: 10px; color: var(--muted); line-height: 1.5; }
.unlock { width: 100%; padding: 17px 19px; background: #403748; border: 1px solid #403748; border-radius: 3px; display: flex; justify-content: space-between; align-items: center; color: var(--paper); transition: background .2s, transform .2s, box-shadow .2s; }
.unlock:hover { background: #58465c; box-shadow: 0 5px 15px #453e5320; transform: translateY(-1px); }
.button-arrow { font-size: 18px; line-height: 14px; transition: transform .2s; }
.unlock:hover .button-arrow { transform: translate(2px, -2px); }
.form-foot { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #453e531c; padding-top: 19px; margin-top: 30px; color: #857589; font-size: 7px; letter-spacing: .08em; }
.form-foot i { display: inline-block; width: 4px; height: 4px; background: #679a87; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.below { margin-top: 18px; justify-content: space-between; font-size: 8px; animation: rise .8s .3s both; }
.below i { color: var(--love); font-style: normal; padding-left: 7px; font-size: 12px; }
.page-foot { display: flex; justify-content: space-between; gap: 20px; color: #8e86a3; font-size: 8px; letter-spacing: .1em; padding: 24px 4%; }
.progress { position: absolute; bottom: 0; left: 0; height: 2px; background: var(--foam); width: 100%; transform: scaleX(0); transform-origin: left; }
.enter { animation: rise .7s both; }.enter:nth-child(1) { animation-delay: .1s; }.enter:nth-child(2) { animation-delay: .16s; }.enter:nth-child(3) { animation-delay: .22s; }.enter:nth-child(4) { animation-delay: .28s; }.enter:nth-child(6) { animation-delay: .34s; }
body[data-state="checking"] .progress { animation: verifying 1.2s ease-in-out infinite; }
body[data-state="checking"] .scan { animation-duration: 2s; }
body[data-state="error"] .password-field { border-color: #b0485d; animation: shake .35s; }
body[data-state="error"] .status { color: #a43d51; }
body[data-state="success"] .shackle { transform: translateY(-6px) rotate(-15deg); transform-origin: right bottom; }
body[data-state="success"] .progress { transform: scaleX(1); transition: transform .4s; }
body[data-state="success"] .status { color: #286958; }
body[data-state="success"] .access-card { animation: depart .7s .25s both; }
.no-script { color: #a43d51; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes drift { to { transform: translate(70px, -30px) scale(1.15); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes beacon { 50% { opacity: .4; } }
@keyframes verifying { 0% { transform: translateX(-100%) scaleX(.3); } 100% { transform: translateX(100%) scaleX(.3); } }
@keyframes shake { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes depart { to { opacity: 0; transform: translateY(-12px) scale(1.01); } }
html[data-motion="paused"] *, html[data-hidden="true"] * { animation-play-state: paused !important; }
html[data-motion="paused"] .enter, html[data-motion="paused"] .access-card, html[data-motion="paused"] .above, html[data-motion="paused"] .below { animation: none !important; }
html[data-motion="paused"] * { transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .masthead { padding: 24px; }.wordmark small { display: none; }.wordmark > span { display: none; }
  main { padding: 24px 0 40px; }.access-card { grid-template-columns: 26% 74%; }
  .seal-panel { padding: 22px 14px; }.seal-top { font-size: 7px; }.seal-bottom p { font-size: 21px; }
  .form-panel { padding: 34px 28px 25px; }.form-foot { flex-wrap: wrap; gap: 10px; }
  .coordinate { font-size: 6px; }.page-foot span:last-child { display: none; }
}
@media (max-width: 520px) {
  .access-card { display: block; }.seal-panel { display: none; }
  main { width: calc(100% - 36px); }.form-panel { padding: 30px 24px 24px; }
  h1 { font-size: 37px; }.above { font-size: 8px; }.above-line { margin: 0 4px; }
  .below { font-size: 7px; letter-spacing: .04em; }.intro { font-size: 10px; }
  .masthead { padding: 23px 20px; }.page-foot { padding: 18px 20px; font-size: 7px; }
  .desktop-break { display: none; } input { font-size: 16px; }
}
