:root {
  --ink: #0e1222;
  --ink-soft: #1d2437;
  --paper: #f5f6f2;
  --white: #ffffff;
  --purple: #7657ff;
  --green: #58d89b;
  --line: #d9ddd6;
  --muted: #667085;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--ink); }
button, input { font: inherit; }

.access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 0.65fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding: clamp(32px, 6vw, 88px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(14, 18, 34, 0.97), rgba(14, 18, 34, 0.8)),
    url("../assets/kaj-hero-background.jpg") center / cover;
}

.brand {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  left: clamp(28px, 6vw, 88px);
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  color: var(--white);
  font-size: 38px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.brand i {
  width: 9px;
  height: 9px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--purple);
}

.access-copy { max-width: 620px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.access-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}
.access-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0 0;
  color: #d7dce8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}
.access-copy ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.access-copy li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 11px; border-radius: 50%; background: var(--green); }
.security-note { font-size: 15px !important; }

.access-panel {
  width: 100%;
  max-width: 510px;
  justify-self: end;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

form { display: grid; gap: 10px; }
label { margin-top: 8px; font-size: 14px; font-weight: 750; }
input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
input:focus { outline: 3px solid rgba(118,87,255,.22); border-color: var(--purple); }

.password-field { position: relative; }
.password-field input { padding-right: 78px; }
.password-field button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 4px;
  background: var(--purple);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}
.primary-action:disabled { opacity: .62; cursor: wait; }
.field-note, .status { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.status { min-height: 22px; margin-top: 8px; }
.status[data-state="error"] { color: #b42318; }
.status[data-state="success"] { color: #087a50; }
.back-link { display: inline-block; margin-top: 22px; color: var(--ink-soft); font-size: 14px; font-weight: 750; }

@media (max-width: 800px) {
  .access-shell {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 32px;
    padding: 100px 20px 30px;
  }
  .brand { left: 22px; }
  .access-copy h1 { font-size: clamp(38px, 12vw, 56px); }
  .access-copy ul { display: none; }
  .access-panel { justify-self: stretch; max-width: none; }
}
