:root {
  --jm-navy: #003666;
  --jm-blue: #245d9a;
  --jm-light-blue: #5195e1;
  --jm-dark-gray: #304055;
  --jm-slate: #5c6979;
  --jm-light-gray: #c1c2c4;
  --jm-offwhite: #f4f6f9;
  --jm-white: #ffffff;
  --jm-black: #000000;
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--jm-offwhite);
  color: var(--jm-black);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  background: var(--jm-white);
  border-bottom: 1px solid var(--jm-light-gray);
}

.site-header__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header img {
  width: 172px;
  height: auto;
}

.site-header span {
  color: var(--jm-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.access-shell {
  min-height: calc(100vh - 73px);
  padding: clamp(48px, 9vh, 100px) 20px;
  display: grid;
  place-items: start center;
  background:
    linear-gradient(90deg, var(--jm-navy) 0 6px, transparent 6px) top center / min(760px, calc(100% - 40px)) 100% no-repeat,
    var(--jm-offwhite);
}

.access-card {
  width: min(760px, 100%);
  padding: clamp(32px, 6vw, 58px);
  background: var(--jm-white);
  border: 1px solid var(--jm-light-gray);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--jm-light-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  color: var(--jm-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.03;
}

.access-copy {
  margin: 18px 0 30px;
  color: var(--jm-dark-gray);
  font-size: 16px;
}

form label {
  display: block;
  margin-bottom: 8px;
  color: var(--jm-dark-gray);
  font-size: 12px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

input,
button {
  min-height: 50px;
  border-radius: 0;
  font: inherit;
}

input {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--jm-light-gray);
  border-right: 0;
  color: var(--jm-black);
  background: var(--jm-white);
}

button {
  padding: 12px 24px;
  border: 1px solid var(--jm-navy);
  background: var(--jm-navy);
  color: var(--jm-white);
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(81, 149, 225, 0.55);
  outline-offset: 2px;
}

.form-status {
  min-height: 21px;
  margin: 10px 0 0;
  color: #8a1f11;
  font-size: 13px;
  font-weight: 700;
}

.form-status--success { color: var(--jm-blue); }

.access-note {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--jm-light-gray);
  color: var(--jm-slate);
  font-size: 12px;
}

@media (max-width: 640px) {
  .site-header__inner { min-height: 64px; }
  .site-header span { display: none; }
  .access-shell { min-height: calc(100vh - 65px); padding-top: 28px; }
  .access-card { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; }
  input { border-right: 1px solid var(--jm-light-gray); }
}
