:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #142537;
  background: #081827;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.portal {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1.15fr);
  min-height: 100vh;
}
.portal-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 5vw, 4.75rem);
  background: #f7f9fb;
  position: relative;
}
.portal-brand {
  display: inline-flex;
  align-self: flex-start;
}
.portal-brand img { display: block; width: 195px; max-width: 100%; height: auto; }
.portal-main {
  width: min(100%, 28rem);
  margin: clamp(3.25rem, 9vh, 6.5rem) auto;
}
.portal-context, .portal-step {
  color: #305465;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
h1 {
  margin: .55rem 0 .9rem;
  color: #0a1d2e;
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  letter-spacing: -.045em;
  line-height: 1.02;
}
p { line-height: 1.55; }
.portal-main p { color: #405566; margin: 0 0 1.25rem; }
.portal-step { display: block; margin-bottom: .7rem; letter-spacing: .035em; }
form { display: grid; gap: 1rem; margin-top: 1.35rem; }
label { display: grid; gap: .45rem; font-weight: 650; }
input:not([type=hidden]) {
  width: 100%;
  max-width: 100%;
  min-height: 3rem;
  padding: .7rem .8rem;
  border: 1px solid #8496a4;
  border-radius: .45rem;
  background: #fff;
  font: inherit;
  color: #142537;
}
input[inputmode=numeric] { font-variant-numeric: tabular-nums; letter-spacing: .2em; }
button {
  min-height: 3rem;
  padding: .8rem 1rem;
  border: 1px solid #0b514f;
  border-radius: .45rem;
  background: #0b514f;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #063f3e; }
a { color: #075758; text-underline-offset: .18em; }
a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid #147979;
  outline-offset: 3px;
}
.portal-main form + p { margin: 1.15rem 0 0; }
.portal-note {
  margin-top: 1.6rem;
  border-top: 1px solid #d2dce3;
  padding-top: .85rem;
  color: #385060;
  font-size: .88rem;
}
.portal-footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; }
.portal-footer a { font-size: .875rem; }
.portal-art {
  min-width: 0;
  background: #081827 url("/sign-in/assets/guardian.jpg") 77% center / cover no-repeat;
  box-shadow: inset 0 -160px 130px -65px #06101d;
}
@media (max-width: 850px) {
  .portal { grid-template-columns: minmax(0, 1fr); }
  .portal-panel { min-height: 100vh; }
  .portal-art { display: none; }
}
@media (forced-colors: active) {
  button, input:not([type=hidden]) { border: 1px solid ButtonText; }
}
