/* Columbus password page. Served from /_gate/login.css. */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_gate/archivo-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/_gate/archivo-800.woff2) format('woff2');
}

:root {
  --paper: #F3F2F2;
  --ink: #201E1D;
  --signal: #EC3013;
  --grey-1: #696767;
  --grey-2: #9E9D9C;
  --rule: rgba(32, 30, 29, 0.4);
}

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

html, body { height: 100%; margin: 0; }

body {
  background: var(--paper) url(/_gate/topo.svg) center / cover no-repeat;
  color: var(--ink);
  font: 400 18px/1.4 'Archivo', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* The map sheet's neatline, with survey ticks every 60px (longer every 300px), as in the deck. */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 36px;
  pointer-events: none;
}
body::before {
  border: 1px solid var(--grey-2);
  box-shadow: 0 0 0 100vmax var(--paper); /* blank margin outside the neatline, like a printed sheet */
}
body::after {
  --t: repeating-linear-gradient(90deg, var(--grey-2) 0 1px, transparent 1px 60px);
  --T: repeating-linear-gradient(90deg, var(--grey-2) 0 1px, transparent 1px 300px);
  --l: repeating-linear-gradient(180deg, var(--grey-2) 0 1px, transparent 1px 60px);
  --L: repeating-linear-gradient(180deg, var(--grey-2) 0 1px, transparent 1px 300px);
  background:
    var(--t) left top / 100% 6px no-repeat, var(--T) left top / 100% 12px no-repeat,
    var(--t) left bottom / 100% 6px no-repeat, var(--T) left bottom / 100% 12px no-repeat,
    var(--l) left top / 6px 100% no-repeat, var(--L) left top / 12px 100% no-repeat,
    var(--l) right top / 6px 100% no-repeat, var(--L) right top / 12px 100% no-repeat;
}

.gate {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  padding: 56px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0;
}

.brand { display: flex; align-items: center; gap: 14px; }
.mark { display: block; width: 36px; height: 36px; }
.wordmark { font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.01em; }

.label {
  margin: 48px 0 20px;
  color: var(--signal);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  appearance: none;
  outline: none;
}
.field::placeholder { color: var(--grey-2); opacity: 1; }
.field:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field[aria-invalid='true'] { border-color: var(--signal); }
.field[aria-invalid='true']:focus { box-shadow: inset 0 0 0 1px var(--signal); }
.field:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: inset 0 0 0 100px var(--paper);
  transition: background-color 9999s;
}

.error { margin: 14px 0 0; color: var(--signal); font-size: 20px; line-height: 1.3; }

.open {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 16px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: 800 18px/1 'Archivo', system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.open:hover { background: #000; }
.open:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 560px) {
  body::before, body::after { inset: 12px; }
  .card { padding: 40px 28px; }
  .label { margin-top: 36px; }
}
