:root {
  color-scheme: dark;
  --bg: #090c0b;
  --panel: #151b18;
  --line: #2b3832;
  --text: #f2f6f0;
  --muted: #9aaaa1;
  --subtle: #6c7b72;
  --cyan: #22d3ee;
  --green: #6ee7a7;
  --amber: #f5c15d;
  --red: #ff6b6b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #0c100f 0%, #080b0a 100%);
  color: var(--text);
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.access-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.access-card {
  width: min(1120px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)), var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  padding: 24px;
}

.access-header,
.brand,
.access-footer {
  display: flex;
  align-items: center;
}

.access-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 56px;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.access-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: rgba(110, 231, 167, .06);
  font-size: 13px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 12px;
  font-size: clamp(36px, 6vw, 76px);
  line-height: .96;
  max-width: 820px;
}

.hero-copy p {
  margin-top: 18px;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0;
}

.value-grid div,
.login-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
}

.value-grid div {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.value-grid strong {
  color: var(--green);
}

.value-grid span,
.login-head p,
.access-footer {
  color: var(--muted);
}

.login-panel {
  display: grid;
  grid-template-columns: 1.1fr .72fr .72fr .62fr auto;
  align-items: end;
  gap: 12px;
  padding: 16px;
}

.login-head {
  align-self: center;
}

.login-head h2 {
  font-size: 22px;
}

.login-head p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 12px;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a0e0c;
  color: var(--text);
  padding: 0 12px;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--cyan);
  color: #06100d;
  font-weight: 760;
  cursor: pointer;
  padding: 0 16px;
  white-space: nowrap;
}

button:disabled {
  opacity: .65;
  cursor: wait;
}

.status {
  grid-column: 2 / -1;
  min-height: 18px;
  color: var(--red);
  font-size: 13px;
}

.access-footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
}

.access-footer a {
  color: var(--cyan);
  text-decoration: none;
}

@media (max-width: 980px) {
  .access-header,
  .access-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .value-grid,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .status {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .access-shell {
    padding: 10px;
  }

  .access-card {
    padding: 16px;
  }

  .access-header {
    margin-bottom: 34px;
  }

  .hero-copy p {
    font-size: 15px;
  }
}
