/* Client access. This module owns only the sign-in and recovery composition. */
.client-auth-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0 74px;
  background: radial-gradient(ellipse at 86% 38%, #eaf3ff 0, #f8fbff 36%, #fff 73%);
  border-bottom: 1px solid #e6edf6;
}
.client-auth-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: 66px;
}
.client-auth-pattern {
  position: absolute;
  z-index: -1;
  top: -150px;
  left: -170px;
  width: 920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  transform: rotate(-15deg);
  color: #0d65d9;
  opacity: .022;
  pointer-events: none;
  user-select: none;
  font: 600 280px/.95 Outfit, Inter, sans-serif;
  letter-spacing: -.09em;
}
.client-auth-story { min-width: 0; padding: 6px 0; }
.client-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  color: #176be0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .13em;
}
.client-auth-eyebrow i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; }
.client-auth-story h1 { font-size: clamp(47px, 4.45vw, 64px); line-height: 1.055; letter-spacing: -.045em; margin: 0 0 27px; }
.client-auth-story h1 em { display: inline-block; color: #176be0; }
.client-auth-intro { max-width: 480px; color: #526880; font-size: 16px; line-height: 1.8; margin-bottom: 29px; }
.client-auth-programme { display: flex; flex-wrap: wrap; gap: 12px 23px; padding: 23px 0; border-top: 1px solid #dce7f3; border-bottom: 1px solid #dce7f3; max-width: 512px; }
.client-auth-programme > span { display: flex; align-items: center; gap: 7px; color: #3f5f7b; font-size: 10px; font-weight: 500; }
.client-auth-programme .icon { width: 17px; height: 17px; color: #176be0; }
.client-auth-explore { display: inline-flex; align-items: center; gap: 13px; color: #176be0; font-size: 12px; font-weight: 600; line-height: 1.5; min-height: 46px; margin-top: 17px; }
.client-auth-explore .icon { width: 18px; height: 18px; }
.client-auth-explore:hover { color: #094ea9; }
.client-auth-context { margin: 10px 0 0; color: #8092a4; font-size: 10px; line-height: 1.65; letter-spacing: .025em; }
.client-auth-card { width: 100%; max-width: 458px; justify-self: end; min-width: 0; padding: 33px 35px 25px; background: #fff; border: 1px solid #dce6f2; border-radius: 22px; box-shadow: 0 22px 60px #214f7e0d, 0 0 0 6px #ffffff80; }
.client-auth-card-heading { margin-bottom: 24px; }
.client-auth-symbol { display: grid; place-items: center; width: 44px; height: 44px; background: #edf4ff; color: #176be0; border: 1px solid #e0ebfc; border-radius: 13px; margin-bottom: 20px; }
.client-auth-symbol .icon { width: 22px; height: 22px; }
.client-auth-kicker { display: block; color: #6080a0; font-size: 9px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; margin-bottom: 8px; }
.client-auth-card h2, .client-auth-dialog h2 { font-size: 33px; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 10px; color: #142e48; }
.client-auth-card-heading > p { color: #708398; font-size: 12px; line-height: 1.7; margin: 0; }
.client-auth-field { margin-bottom: 18px; }
.client-auth-form label { display: block; color: #38536d; font-size: 11px; font-weight: 600; line-height: 1.6; margin-bottom: 7px; }
.client-auth-form input { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #d4dfeb; border-radius: 9px; padding: 12px 13px; background: #fcfdff; color: #16314c; font-size: 14px; line-height: 1.5; outline-offset: 3px; }
.client-auth-form input::placeholder { color: #8799ab; opacity: 1; }
.client-auth-form input:hover { border-color: #aebfd4; }
.client-auth-form input:focus { border-color: #3684e6; background: #fff; }
.client-auth-form input[aria-invalid='true'] { border-color: #be5a47; background: #fffaf8; }
.client-auth-password-wrap { position: relative; }
.client-auth-password-wrap input { padding-right: 66px; }
.client-auth-password-toggle { position: absolute; top: 4px; right: 5px; min-width: 54px; height: calc(100% - 8px); padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; color: #52718e; font-size: 10px; font-weight: 600; }
.client-auth-password-toggle:hover { background: #edf4ff; color: #176be0; }
.client-auth-primary { display: flex; align-items: center; justify-content: center; gap: 17px; width: 100%; min-height: 48px; padding: 13px 18px; border: 1px solid #176be0; border-radius: 999px; background: #176be0; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; }
.client-auth-primary .icon { width: 17px; height: 17px; }
.client-auth-primary:hover { color: #fff; background: #0d5dc9; border-color: #0d5dc9; box-shadow: 0 4px 14px #176be01c; }
.client-auth-primary:disabled { opacity: .5; box-shadow: none; }
.client-auth-form > .client-auth-primary { margin-top: 24px; }
.client-auth-support { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px 20px; border-top: 1px solid #e5edf5; padding-top: 15px; margin-top: 25px; }
.client-auth-text-button { appearance: none; border: 0; background: transparent; padding: 7px 0; min-height: 34px; color: #52718e; font-size: 11px; font-weight: 500; line-height: 1.5; }
.client-auth-text-button:hover { color: #176be0; }
.client-auth-support > a { display: inline-flex; align-items: center; gap: 7px; color: #176be0; font-size: 11px; font-weight: 600; min-height: 34px; }
.client-auth-support > a .icon { width: 14px; height: 14px; }
.client-auth-feedback { margin: 17px 0 0; padding: 13px 14px; border: 1px solid #ead7c9; border-radius: 9px; background: #fff9f4; color: #805239; font-size: 11px; line-height: 1.75; }
.client-auth-feedback a { color: #70442c; text-decoration: underline; text-underline-offset: 3px; }
.client-auth-feedback:focus, .client-auth-recovery-result:focus { outline: 2px solid #90afd2; outline-offset: 4px; }
.client-auth-noscript { margin: 14px 0 0; color: #708398; font-size: 11px; line-height: 1.6; }
.client-auth-noscript a { text-decoration: underline; }
body.client-auth-dialog-open { overflow: hidden; }
.client-auth-dialog { width: min(456px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; position: fixed; padding: 35px; border: 1px solid #dbe7f3; border-radius: 22px; color: #173551; background: #fff; box-shadow: 0 30px 120px #071e3e42; }
.client-auth-dialog:not([open]) { display: none; }
.client-auth-dialog::backdrop { background: #102a4c8c; backdrop-filter: blur(6px); }
.client-auth-dialog-close { position: absolute; top: 15px; right: 15px; display: grid; place-items: center; width: 36px; height: 36px; padding: 7px; border: 1px solid #e1e9f2; border-radius: 50%; color: #607994; background: #f8faff; }
.client-auth-dialog-close .icon { width: 18px; height: 18px; }
.client-auth-dialog-close:hover { color: #176be0; background: #edf4ff; }
.client-auth-dialog > p { font-size: 13px; line-height: 1.75; color: #6b8196; margin: 0 0 25px; }
.client-auth-field-error { color: #aa4635; font-size: 11px; line-height: 1.5; margin: 7px 0 0; }
.client-auth-back { display: block; width: 100%; min-height: 42px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: #647c94; font-size: 11px; font-weight: 500; line-height: 1.5; margin-top: 9px; }
.client-auth-back:hover { background: #f4f8fd; color: #176be0; }
.client-auth-recovery-result .client-auth-feedback { margin: 0 0 22px; }

@media (max-width: 1100px) {
  .client-auth-grid { gap: 45px; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); }
  .client-auth-card { padding: 29px 29px 23px; }
  .client-auth-programme { gap: 12px 18px; }
}
@media (max-width: 800px) {
  .client-auth-section { padding: 44px 0 55px; }
  .client-auth-grid { grid-template-columns: 1fr; gap: 32px; }
  .client-auth-story { max-width: 590px; padding: 0; }
  .client-auth-story h1 { font-size: clamp(43px, 7.2vw, 61px); margin-bottom: 21px; }
  .client-auth-eyebrow { margin-bottom: 20px; font-size: 9px; }
  .client-auth-intro { font-size: 14px; margin-bottom: 22px; max-width: 510px; }
  .client-auth-programme { max-width: 100%; padding: 18px 0; }
  .client-auth-explore { margin-top: 11px; }
  .client-auth-context { margin-top: 5px; }
  .client-auth-card { max-width: none; width: 100%; padding: 29px 30px 23px; }
  .client-auth-card-heading { margin-bottom: 23px; }
  .client-auth-symbol { width: 42px; height: 42px; margin-bottom: 18px; }
  .client-auth-pattern { left: -260px; top: -135px; opacity: .018; }
}
@media (max-width: 480px) {
  .client-auth-section { padding: 34px 0 43px; }
  .client-auth-grid { gap: 26px; }
  .client-auth-story h1 { font-size: clamp(37px, 9.25vw, 44px); line-height: 1.08; letter-spacing: -.04em; }
  .client-auth-eyebrow { font-size: 8px; letter-spacing: .12em; gap: 8px; margin-bottom: 18px; }
  .client-auth-intro { font-size: 13px; line-height: 1.8; }
  .client-auth-programme { gap: 12px 17px; }
  .client-auth-programme > span { font-size: 9px; gap: 6px; }
  .client-auth-programme .icon { width: 15px; height: 15px; }
  .client-auth-explore { font-size: 11px; }
  .client-auth-context { font-size: 9px; }
  .client-auth-card { padding: 25px 23px 20px; border-radius: 18px; }
  .client-auth-card h2 { font-size: 30px; }
  .client-auth-form input { font-size: 16px; }
  .client-auth-support { gap: 7px 14px; margin-top: 22px; padding-top: 12px; }
  .client-auth-support > a, .client-auth-text-button { font-size: 10px; }
  .client-auth-dialog { padding: 30px 24px 24px; border-radius: 18px; }
  .client-auth-dialog h2 { font-size: 30px; }
}

/* No autonomous motion; respect the site's global pause setting for hover effects. */
html.motion-paused .client-auth-section *, html.motion-paused .client-auth-dialog *,
html[data-motion='off'] .client-auth-section *, html[data-motion='off'] .client-auth-dialog * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .client-auth-section *, .client-auth-dialog * { transition: none !important; }
}
