:root {
  --bg: #05070a;
  --panel: #090d12;
  --panel-2: #0c1118;
  --line: #1a242e;
  --line-bright: #2b3a47;
  --text: #e8edf2;
  --muted: #7f8b97;
  --dim: #4e5a65;
  --gold: #d5b46a;
  --gold-soft: #9e8350;
  --cyan: #66d9e8;
  --red: #e26d6d;
  --green: #6fd39b;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% 0%, rgba(213, 180, 106, .09), transparent 62%),
    radial-gradient(780px 560px at 90% 15%, rgba(102, 217, 232, .055), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 25%);
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 78%);
  z-index: 0;
}

.gate {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
  min-height: 100vh;
}

.gate-brand {
  padding: clamp(28px, 4.2vw, 66px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(213,180,106,.035), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.012), transparent 30%);
}

.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(213,180,106,.34);
  background: linear-gradient(145deg, rgba(213,180,106,.13), rgba(213,180,106,.02));
  box-shadow: 0 0 34px rgba(213,180,106,.08);
}
.brand-mark svg { width: 29px; height: 29px; }
.brand-lockup strong {
  display: block;
  font-family: var(--mono);
  letter-spacing: .34em;
  font-size: 17px;
  font-weight: 600;
}
.brand-lockup small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .28em;
  margin-top: 4px;
}

.gate-copy { margin-top: clamp(48px, 8vh, 96px); max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
}
.eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(213,180,106,.09), 0 0 16px rgba(213,180,106,.5);
}
.gate-copy h1 {
  margin: 20px 0 0;
  max-width: 560px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 400;
}
.lede {
  margin: 22px 0 0;
  max-width: 500px;
  color: #aeb8c2;
  font-size: 12.5px;
  line-height: 1.8;
}

.notice-card {
  margin-top: clamp(34px, 6vh, 72px);
  max-width: 590px;
  border: 1px solid rgba(213,180,106,.25);
  background:
    linear-gradient(135deg, rgba(213,180,106,.065), transparent 55%),
    rgba(9,13,18,.72);
  padding: 20px 22px 18px;
  position: relative;
}
.notice-card::before {
  content: "";
  position: absolute;
  left: -1px; top: 18px; bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.notice-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.notice-kicker {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .16em;
}
.notice-lock { color: var(--gold-soft); }
.notice-lock svg { width: 16px; height: 16px; display: block; }
.notice-card p {
  margin: 13px 0 0;
  color: #aeb7c0;
  font-size: 11.5px;
  line-height: 1.72;
}
.notice-card p strong { color: #eef2f5; font-weight: 600; }
.notice-rule { height: 1px; background: var(--line); margin: 16px 0 11px; }
.notice-foot {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .13em;
}

.gate-footer {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
}

.gate-form-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4.2vw, 64px);
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 22%),
    rgba(8,12,17,.58);
}
.gate-form { width: 100%; max-width: 430px; margin: 0 auto; }
.form-head { margin-bottom: 32px; }
.form-index {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .17em;
}
.form-head h2 {
  margin: 13px 0 0;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 500;
}
.form-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}
.field { display: block; margin-top: 17px; }
.field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
}
.field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5,8,11,.66);
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.field input::placeholder { color: #3d4853; }
.field input:focus {
  border-color: rgba(213,180,106,.68);
  background: rgba(8,12,16,.9);
  box-shadow: 0 0 0 3px rgba(213,180,106,.06);
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 45px; }
.reveal {
  position: absolute;
  right: 1px; top: 1px; bottom: 1px;
  width: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.reveal:hover { color: var(--gold); }
.reveal svg { width: 17px; height: 17px; }
.reveal[aria-pressed="true"] { color: var(--gold); }

.form-error {
  margin-top: 15px;
  border: 1px solid rgba(226,109,109,.35);
  border-left: 2px solid var(--red);
  background: rgba(226,109,109,.055);
  color: #e9a4a4;
  padding: 10px 12px;
  font-size: 10.5px;
  line-height: 1.55;
}
.submit {
  margin-top: 22px;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(213,180,106,.55);
  background: linear-gradient(180deg, rgba(213,180,106,.18), rgba(213,180,106,.08));
  color: #f1dfb1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 18px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background .16s, border-color .16s, transform .16s;
}
.submit svg { width: 18px; height: 18px; }
.submit:hover { background: linear-gradient(180deg, rgba(213,180,106,.25), rgba(213,180,106,.12)); border-color: var(--gold); }
.submit:active { transform: translateY(1px); }
.submit:disabled { opacity: .55; cursor: wait; }

.form-meta {
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .1em;
}
.form-meta span { display: inline-flex; align-items: center; gap: 6px; }
.form-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(111,211,155,.6); }

.support-line {
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.support-line > span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .15em;
}
.support-line p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}
.gate-strip {
  max-width: 430px;
  width: 100%;
  margin: 62px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #35404a;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .12em;
}

@media (max-width: 980px) {
  .gate { grid-template-columns: 1fr; }
  .gate-brand { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 38px; }
  .gate-copy { margin-top: 48px; }
  .gate-copy h1 { font-size: clamp(30px, 7vw, 42px); }
  .notice-card { margin-top: 38px; }
  .gate-footer { margin-top: 38px; }
  .gate-form-wrap { padding-top: 46px; padding-bottom: 54px; }
  .gate-strip { margin-top: 44px; }
}
@media (max-width: 520px) {
  .gate-brand { padding: 24px 20px 30px; }
  .gate-form-wrap { padding: 38px 20px 44px; }
  .gate-copy h1 { font-size: 29px; }
  .notice-card { padding: 17px 16px 15px; }
  .form-meta { flex-direction: column; gap: 7px; }
  .gate-footer { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
