@font-face{font-family:GateInter;src:url('/fonts/dm-sans-latin.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
:root{color-scheme:dark;--gate-bg:#080c13;--gate-ivory:#f4f1e9;--gate-gold:#d4bd8c;--gate-muted:#a7acb7}
*{box-sizing:border-box}
html{min-width:320px;background:var(--gate-bg)}
body{margin:0;font-family:GateInter,Arial,sans-serif;color:var(--gate-ivory);background:radial-gradient(ellipse at 50% 0%,#1a2537 0%,#0b111d 38%,var(--gate-bg) 75%)}
button,input{font:inherit}
.gate{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;padding:64px 24px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.gate-light{position:absolute;z-index:-1;width:min(950px,160vw);height:600px;top:-380px;border-radius:50%;background:#c9b486;filter:blur(110px);opacity:.1;pointer-events:none}
.gate:before,.gate:after{content:'';position:absolute;z-index:-1;pointer-events:none;height:1px;width:70vw;max-width:1000px;left:50%;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#bda67530,transparent)}
.gate:before{top:10%}.gate:after{bottom:10%}
.gate-panel{position:relative;width:100%;max-width:520px;padding:42px 44px 32px;text-align:center;background:linear-gradient(145deg,#1b2534bb,#0c121ee8 60%);border:1px solid #cbb47f36;border-radius:8px;box-shadow:0 28px 90px #0006,inset 0 1px #ffffff07;backdrop-filter:blur(20px);animation:gate-enter .65s ease-out both}
.gate-panel:before{content:'';position:absolute;height:1px;top:-1px;left:18%;right:18%;background:linear-gradient(90deg,transparent,#d4bd8cb0,transparent)}
.gate-brand{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:34px}
.gate-brand img{display:block;width:62px;height:62px;filter:drop-shadow(0 0 20px #d4bd8c18)}
.gate-brand>span{font-size:20px;letter-spacing:.25em;padding-left:.25em;font-weight:500}
.gate-eyebrow{display:flex;justify-content:center;align-items:center;gap:9px;font-size:9px;letter-spacing:.2em;color:var(--gate-gold);margin:0 0 15px;font-weight:600}
.gate-eyebrow>span{width:5px;height:5px;border-radius:50%;background:var(--gate-gold);box-shadow:0 0 9px #d4bd8c55}
h1{margin:0 0 19px;font-size:26px;line-height:1.3;font-weight:500;letter-spacing:.035em}
.gate-description,.gate-prompt{font-size:14px;line-height:1.8;color:var(--gate-muted);margin:0}
.gate-prompt{margin-top:8px;margin-bottom:30px}
form{text-align:left}
label{display:block;color:#e4e3df;font-size:12px;letter-spacing:.025em;margin-bottom:10px}
.gate-input-wrap{position:relative}
input{display:block;width:100%;min-height:54px;border:1px solid #aab4c030;border-radius:4px;padding:14px 56px 14px 16px;outline:none;background:#050a13a6;color:var(--gate-ivory);font-size:16px;transition:border-color .2s,box-shadow .2s}
input::placeholder{color:#818996;font-size:13px}
input:focus{border-color:#d4bd8ca0;box-shadow:0 0 0 3px #d4bd8c12}
button{cursor:pointer}
.gate-toggle{position:absolute;right:5px;top:5px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:3px;background:transparent;color:#b2b8c1}
.gate-toggle:hover{color:var(--gate-gold);background:#ffffff05}
.gate-toggle svg{width:20px;height:20px}.eye-slash{display:none}.gate-toggle[aria-pressed=true] .eye-slash{display:block}
button:focus-visible{outline:2px solid var(--gate-gold);outline-offset:4px}
.gate-status{margin:9px 0 12px;min-height:32px;line-height:1.45;font-size:12px;color:var(--gate-muted)}
form[data-state=invalid] .gate-status{color:#f2b3a6}input[aria-invalid=true]{border-color:#dba28e80}
form[data-state=invalid] .gate-input-wrap{animation:gate-shake .28s ease-in-out}
.gate-submit{width:100%;min-height:54px;border:1px solid #e1cfaa;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:18px;padding:15px 18px;background:linear-gradient(115deg,#decca5,#c4a977);color:#14171c;font-size:11px;font-weight:700;letter-spacing:.12em;box-shadow:0 4px 22px #d4bd8c0d;transition:filter .2s,box-shadow .2s}
.gate-submit:hover{filter:brightness(1.08);box-shadow:0 5px 28px #d4bd8c22}.gate-submit:disabled{cursor:wait}
.button-indicator{font-size:18px;line-height:1}
form[data-state=submitting] .button-indicator{width:14px;height:14px;font-size:0;border:1.5px solid #14171c40;border-top-color:#14171c;border-radius:50%;animation:gate-spin .9s linear infinite}
form[data-state=success] .gate-status{color:var(--gate-gold)}
.gate-divider{height:1px;background:linear-gradient(90deg,transparent,#d4bd8c24,transparent);margin:29px 0 21px}
.gate-help{margin:0;color:var(--gate-muted);font-size:11px;line-height:1.7}
.gate-signature{margin:26px 0 0;font-size:8px;letter-spacing:.23em;color:#8f97a6}.gate-signature span{padding:0 8px;color:var(--gate-gold)}
@keyframes gate-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes gate-shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
@keyframes gate-spin{to{transform:rotate(360deg)}}
@media(max-width:540px){.gate{padding:28px 18px 22px}.gate-panel{padding:32px 24px 27px}.gate-brand{margin-bottom:27px}.gate-brand img{width:54px;height:54px}.gate-brand>span{font-size:18px}h1{font-size:23px}.gate-description,.gate-prompt{font-size:13px}.gate-prompt{margin-bottom:25px}.gate-signature{margin-top:22px}}
@media(max-height:720px){.gate{justify-content:flex-start;padding-top:24px}.gate-brand{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
