@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/inter-variable-latin.woff2) format('woff2');
}

:root {
  color-scheme: light;
  --canvas: #eef2f3;
  --card: #ffffff;
  --ink: #152333;
  --body: #4f616d;
  --muted: #5b6b76;
  --rule: #dfe6ea;
  --teal: #087f83;
  --teal-dark: #066165;
  --teal-soft: #e3f4f2;
  --teal-border: #bde0dc;
  --navy: #152333;
  --navy-lift: #1b2c3e;
  --navy-rule: #2f4257;
  --on-navy: #c8d4dc;
  --on-navy-muted: #b6c5cf;
  --on-navy-teal: #7fd6d2;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(8, 127, 131, 0.08), transparent 27rem),
    var(--canvas);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); text-decoration: none; font-weight: 700; }
a:hover { color: #045053; }
button, input { font: inherit; }

.skip {
  position: fixed;
  top: 12px;
  left: -9999px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(33, 54, 69, 0.16);
}
.skip:focus { left: 12px; }

.login-shell {
  width: min(968px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  place-content: center;
}

.login-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: 0 22px 65px rgba(33, 54, 69, 0.13);
}

.login-form-panel { padding: 40px 40px 36px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { display: block; border-radius: 8px; }
.brand-word { font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.brand-divider { width: 1px; height: 28px; margin: 0 3px; background: var(--rule); }
.brand-product { color: var(--muted); font-size: 12.5px; font-weight: 600; }

.login-heading { margin: 32px 0 25px; }
.eyebrow {
  margin: 0 0 9px;
  color: var(--teal-dark);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(27px, 4vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 760;
}
.login-heading > p:last-child {
  max-width: 43ch;
  margin: 10px 0 0;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.6;
}

.message {
  margin: 0 0 16px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}
.message-error { border: 1px solid #f0c8c5; background: #fffafa; color: #a63f38; }
.message-success { border: 1px solid var(--teal-border); background: var(--teal-soft); color: var(--teal-dark); }

form { display: grid; gap: 10px; }
form > label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.password-field { position: relative; }
.password-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 66px 11px 12px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  outline: none;
  background: var(--card);
  color: var(--ink);
  font-size: 13.5px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.password-field input::placeholder { color: #8b99a3; letter-spacing: 0; }
.password-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 127, 131, 0.12);
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  background: transparent;
  color: var(--teal-dark);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.password-toggle:hover { background: #f0f8f7; }
.password-toggle:focus-visible, .submit:focus-visible, a:focus-visible {
  outline: 3px solid rgba(8, 127, 131, 0.28);
  outline-offset: 2px;
}
.submit {
  width: 100%;
  min-height: 47px;
  margin-top: 4px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}
.submit:hover { background: #056b6e; }
.submit:active { transform: translateY(1px); }
.submit[aria-disabled='true'] { cursor: wait; opacity: 0.78; }

.session-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}
.login-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
}

.login-context {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 42px 38px 36px;
  background: var(--navy);
  color: #fff;
}
.access-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--navy-rule);
  border-radius: 99px;
  background: var(--navy-lift);
  color: var(--on-navy-teal);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.access-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-navy-teal);
  box-shadow: 0 0 0 4px rgba(127, 214, 210, 0.1);
}
.login-context h2 {
  margin: 4px 0 0;
  max-width: 18ch;
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: -0.03em;
}
.login-context ul {
  display: grid;
  gap: 15px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.login-context li { display: flex; align-items: flex-start; gap: 11px; }
.login-context li span:last-child { color: var(--on-navy); font-size: 13px; line-height: 1.6; }
.check { color: var(--on-navy-teal); font-weight: 800; line-height: 1.55; }
.context-foot {
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--navy-rule);
  color: #92a4b0;
  font-size: 11.5px;
  line-height: 1.65;
}

.page-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px 0;
  color: var(--muted);
  font-size: 11.5px;
}
.page-foot a { color: var(--muted); font-weight: 650; }
.page-foot a:hover { color: var(--teal-dark); }

@media (max-width: 760px) {
  .login-shell { width: min(100% - 28px, 560px); padding: 18px 0; place-content: start center; }
  .login-card { grid-template-columns: 1fr; }
  .login-form-panel { padding: 28px 24px 26px; }
  .login-context { padding: 28px 24px; }
  .login-context h2 { max-width: 24ch; }
  .brand-product, .brand-divider { display: none; }
  .login-heading { margin-top: 27px; }
  .page-foot { flex-direction: column; gap: 7px; }
}

@media (max-width: 390px) {
  .login-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
