:root {
  color-scheme: light;
  font-family: "Avenir Next", Inter, system-ui, sans-serif;
  color: #102844;
  background: #102844;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  display: grid;
  align-items: center;
  padding: clamp(20px, 5.5vw, 88px);
}

body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: -12px;
  background: #102844 url("/branding/complexus-access-background.jpg") right center / cover no-repeat;
  filter: blur(5px);
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(12 30 52 / 23%), rgb(12 30 52 / 6%) 68%, rgb(12 30 52 / 12%));
}

main {
  width: min(100%, 445px);
  margin-inline: clamp(0px, 5vw, 72px) 0;
  padding: clamp(23px, 4vw, 44px);
  background: #fff;
  border: 1px solid #e2e7ed;
  border-radius: 20px;
  box-shadow: 0 22px 70px rgb(9 28 49 / 25%);
}

.access-logo {
  display: block;
  width: 112px;
  height: 80px;
  object-fit: contain;
  margin: -8px 0 5px -9px;
}

.access-brand {
  margin: 0 0 6px;
  font-size: .83rem;
  color: #76561f;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  letter-spacing: -.035em;
  line-height: 1.13;
}

p { margin: 0 0 16px; color: #43536a; line-height: 1.5; }
p[role="status"] { padding: 10px 12px; background: #f5efe2; border-left: 3px solid #a78339; color: #5f471d; }
form:not([hidden]) { display: grid; gap: 13px; margin: 16px 0 0; }
label { display: grid; gap: 6px; font-weight: 650; font-size: .94rem; }

input, button {
  min-height: 44px;
  font: inherit;
  padding: 9px 12px;
  border: 1px solid #9daabc;
  border-radius: 8px;
}

input { width: 100%; background: #fcfdff; color: #102844; }
button { background: #102844; border-color: #102844; color: #fff; font-weight: 750; cursor: pointer; }
button:hover { background: #1d4269; }
a, summary { color: #76561f; font-weight: 700; }
summary { cursor: pointer; min-height: 32px; }
details { border-top: 1px solid #e1e6ed; padding-top: 14px; margin-top: 22px; }
details button { background: white; color: #102844; }
details button:hover { background: #eff4fb; }
:focus-visible { outline: 3px solid #98702b; outline-offset: 3px; }

@media (max-width: 680px) {
  body { justify-items: center; }
  body::after { background: rgb(12 30 52 / 22%); }
  main { margin-inline: 0; }
}
