:root {
  --ink: #18242d;
  --muted: #68727b;
  --orange: #e96316;
  --orange-dark: #b84300;
  --navy: #153e49;
  --line: #ded8cf;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }

.access-page { background: #f5f1eb; min-height: 100vh; padding: clamp(16px, 4vw, 58px); }
.access-shell { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); margin: 0 auto; max-width: 1180px; min-height: min(720px, calc(100vh - 72px)); }
.access-welcome { background: linear-gradient(145deg, #153e49 0%, #16323b 100%); border-radius: 18px 0 0 18px; color: white; overflow: hidden; padding: clamp(35px, 6vw, 78px); position: relative; }
.access-welcome::before { border: 1px solid rgba(255,255,255,.17); border-radius: 50%; content: ''; height: 330px; position: absolute; right: -135px; top: -120px; width: 330px; }
.access-welcome::after { background: var(--orange); border-radius: 50%; bottom: -155px; content: ''; height: 310px; position: absolute; right: -105px; width: 310px; }
.access-brand { display: inline-block; margin-bottom: clamp(52px, 12vh, 118px); position: relative; z-index: 1; }
.access-brand img { display: block; height: auto; width: 150px; }
.eyebrow { color: #ffc399; font-size: .69rem; font-weight: 800; letter-spacing: .13em; margin: 0 0 10px; position: relative; text-transform: uppercase; z-index: 1; }
.access-welcome h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.7rem, 5vw, 4.75rem); font-weight: 500; letter-spacing: -.055em; line-height: .96; margin: 0; max-width: 650px; position: relative; z-index: 1; }
.access-lead { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.6; margin: 27px 0 34px; max-width: 520px; position: relative; z-index: 1; }
.access-benefits { display: grid; gap: 14px; list-style: none; margin: 0; max-width: 510px; padding: 0; position: relative; z-index: 1; }
.access-benefits li { align-items: baseline; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9); display: grid; font-size: .87rem; gap: 14px; grid-template-columns: 28px 1fr; line-height: 1.35; padding-top: 13px; }
.access-benefits span { color: #ffc399; font-size: .66rem; font-weight: 800; letter-spacing: .09em; }

.access-card { background: white; border-radius: 0 18px 18px 0; box-shadow: 0 14px 42px rgba(34, 37, 39, .12); margin: 0; padding: clamp(34px, 5.5vw, 70px); }
.access-card-heading h2 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 3.5vw, 3.4rem); font-weight: 500; letter-spacing: -.05em; line-height: .98; margin: 0; }
.access-card-heading .eyebrow { color: var(--orange-dark); }
.access-card-heading > p:last-child { color: var(--muted); font-size: .9rem; line-height: 1.55; margin: 17px 0 30px; }
.access-form { display: grid; gap: 16px; }
.access-form label { color: #38454d; display: flex; flex-direction: column; font-size: .77rem; font-weight: 700; gap: 7px; }
.access-form input { border: 1px solid #d8d2ca; border-radius: 7px; color: var(--ink); padding: 11px 12px; width: 100%; }
.access-form input:focus { border-color: var(--orange); outline: 2px solid rgba(233, 99, 22, .16); }
.bo-button { align-items: center; background: white; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); cursor: pointer; display: inline-flex; font-size: .89rem; font-weight: 700; justify-content: center; min-height: 46px; padding: 0 17px; }
.bo-button-primary { background: var(--orange); border-color: var(--orange); box-shadow: 0 10px 20px rgba(0, 0, 0, .13); color: white; }
.bo-button-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.bo-button[disabled] { cursor: wait; opacity: .65; }
.password-field { display: grid; position: relative; }
.password-field input { padding-right: 75px; }
.password-field button { background: transparent; border: 0; color: #285b78; cursor: pointer; font-size: .72rem; font-weight: 800; padding: 8px 10px; position: absolute; right: 1px; top: 50%; transform: translateY(-50%); }
.text-button { background: transparent; border: 0; color: #285b78; cursor: pointer; font-size: .78rem; font-weight: 700; margin-top: 17px; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.signup-choice { align-items: baseline; border-top: 1px solid #e6e0d8; color: #68727b; display: flex; flex-wrap: wrap; font-size: .78rem; gap: 4px 8px; margin-top: 20px; padding-top: 19px; }
.signup-choice .text-button { margin-top: 0; }
.access-form .text-button { justify-self: start; margin-top: 1px; }
.form-message { color: var(--muted); font-size: .79rem; line-height: 1.4; margin: 0; min-height: 1.2em; }
.form-message[data-type="error"] { color: #a83629; }
.form-message[data-type="success"] { color: #0d7356; }
.access-help { background: #f6f2ed; border-radius: 8px; color: #56636b; font-size: .77rem; line-height: 1.5; margin: 28px 0 19px; padding: 15px 16px; }
.access-help strong { color: var(--navy); display: block; font-size: .78rem; }
.access-help p { margin: 5px 0 0; }
.quiet-link { color: #285b78; font-size: .78rem; font-weight: 700; text-decoration: none; }
.quiet-link span { font-size: 1rem; margin-left: 4px; }

@media (max-width: 1000px) {
  .access-shell { grid-template-columns: 1fr; max-width: 640px; }
  .access-welcome { border-radius: 16px 16px 0 0; min-height: 400px; }
  .access-card { border-radius: 0 0 16px 16px; }
  .access-brand { margin-bottom: 54px; }
}

@media (max-width: 680px) {
  .access-page { padding: 0; }
  .access-shell { min-height: 100vh; }
  .access-welcome { border-radius: 0; min-height: 350px; padding: 34px 25px; }
  .access-welcome h1 { font-size: 2.7rem; }
  .access-lead { font-size: .91rem; margin: 20px 0 27px; }
  .access-benefits { gap: 10px; }
  .access-card { border-radius: 0; padding: 34px 25px 42px; }
}
