/* Public NeuroScore entrance. Scoped to keep the shared clinical UI independent. */
.neuro-landing {
  --accent: #2263df;
  --text-main: #1f2a44;
  --text-soft: #49556b;
  --text-muted: #667085;
  --border-dim: #dde5f0;
  background: #f6f8fc;
}
.neuro-landing .auth-header {
  max-width: 1320px;
  padding: 30px 40px 28px;
}
.landing-brand-mark { width: 46px; height: 46px; object-fit: contain; }
.neuro-landing .clinical-brand { gap: 11px; }
.neuro-landing .brand-wordmark { font-size: 25px; letter-spacing: -.9px; }
.neuro-landing .brand-descriptor { font-size: 8px; letter-spacing: 1.65px; margin-top: 7px; }
.landing-nav { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.landing-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: #1b5cad;
  background: #dbeafe;
  border: 1px solid #c7dcfa;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.landing-nav .landing-nav-access {
  gap: 18px;
  color: #fff;
  background: #2263df;
  border-color: #2263df;
  box-shadow: 0 4px 12px rgba(34, 99, 223, .12);
  font-weight: 700;
}
.landing-nav a:focus-visible { outline: 3px solid #8ca9f0; outline-offset: 4px; }
.landing-nav-access span { font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.landing-main { max-width: 1320px; padding: 0 40px; margin: 0 auto; }
.neuro-landing .auth-layout {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dde5f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(31, 42, 68, .035);
}
.neuro-landing .landing-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 34px 42px 30px;
  background: #102e43;
  color: #fff;
}
.landing-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 42% center;
}
.landing-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 31, 48, .44) 0%, rgba(9, 31, 48, .06) 24%, rgba(9, 31, 48, .86) 64%, #0c263b 100%);
}
.landing-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.landing-specialty { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 1.6px; font-weight: 600; }
.landing-specialty::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #9ad8d0; }
.landing-visual-index { color: #d4e4ed; font-size: 10px; letter-spacing: 1.4px; }
.landing-editorial-copy { padding-top: 180px; }
.landing-overline { display: block; font-size: 9px; letter-spacing: 2px; color: #bed5e1; margin-bottom: 18px; }
.neuro-landing .auth-editorial h1 {
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 4.3vw, 59px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.13;
  margin: 0 0 22px;
  max-width: none;
}
.neuro-landing .auth-editorial h1 em { font-weight: 400; font-style: italic; color: #a8ddd6; }
.neuro-landing .auth-intro { color: #d2e0e9; font-size: 15px; line-height: 1.8; max-width: 370px; margin: 0 0 32px; }
.landing-visual-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(215, 234, 244, .25); padding-top: 20px; color: #d2e0e9; font-size: 11px; letter-spacing: .4px; }
.landing-visual-footer span:last-child { font-size: 23px; line-height: 1; color: #a8ddd6; }
.neuro-landing .auth-card {
  align-self: center;
  width: 100%;
  max-width: 506px;
  margin: 0 auto;
  padding: 40px 48px 32px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  scroll-margin-top: 24px;
}
.neuro-landing .auth-card-topline { margin-bottom: 30px; }
.neuro-landing .auth-card-topline .eyebrow { font-size: 9px; letter-spacing: 1.8px; color: #54657e; }
.neuro-landing .lang-toggle { background: #f6f8fc; border: 1px solid #e5eaf2; padding: 2px; border-radius: 6px; }
.neuro-landing .lang-btn { min-height: 32px; min-width: 33px; padding: 5px; font-size: 11px; border-radius: 4px; }
.neuro-landing .lang-btn.active { background: #fff; color: #1f2a44; box-shadow: 0 1px 4px #1f2a4412; font-weight: 700; }
.neuro-landing .auth-card .form-header { margin-bottom: 30px; }
.neuro-landing .auth-card .form-header h2 { font-family: Aller, 'Segoe UI', sans-serif; font-size: 30px; letter-spacing: -1px; line-height: 1.2; margin-bottom: 12px; }
.neuro-landing .auth-card .form-header p { font-size: 14px; line-height: 1.65; }
.neuro-landing .field-group { gap: 22px; }
.neuro-landing .auth-card .field-label { font-size: 13px; color: #37445c; margin-bottom: 9px; }
.neuro-landing .input-wrap input { height: 54px; background: #f8fafc; border-color: #dce3ed; border-radius: 8px; font-size: 15px; }
.neuro-landing .input-wrap input[type=tel] { padding-left: 98px; }
.neuro-landing .input-wrap input:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px #2263df14; }
.neuro-landing .input-wrap input.has-error { border-color: var(--danger); }
.neuro-landing .input-prefix { left: 16px; gap: 8px; font-size: 13px; }
.neuro-landing .input-prefix svg { border-radius: 2px; }
.neuro-landing .input-icon { color: #718098; }
.neuro-landing .password-toggle { border: 0; background: transparent; padding: 0; }
.neuro-landing .password-toggle:hover { background: #edf2f8; color: #1f2a44; }
.neuro-landing .extras-row { font-size: 12px; margin: 20px 0 25px; gap: 10px; }
.neuro-landing .remember-check { color: #5a6578; gap: 7px; }
.neuro-landing .remember-check input { margin: 0; }
.neuro-landing .forgot-link { color: #285dba; }
.neuro-landing .btn-login { min-height: 52px; font-size: 14px; border-radius: 8px; gap: 28px; background: #2263df; border-color: #2263df; box-shadow: 0 4px 12px #2263df16; }
.neuro-landing .btn-login:hover { background: #1b5cad; border-color: #1b5cad; transform: none; }
.neuro-landing .btn-login.loading .login-arrow { display: none; }
.neuro-landing .divider { font-size: 11px; margin: 25px 0 17px; gap: 14px; }
.neuro-landing .register-row a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px; margin: 0; border: 1px solid #dce3ed; border-radius: 8px; text-decoration: none; font-size: 13px; color: #37445c; transition: background .18s ease, border-color .18s ease; }
.neuro-landing .register-row a:hover { background: #f6f8fc; border-color: #9bb3da; }
.landing-access-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 10px; color: #667085; margin: 23px 0 0; line-height: 1.6; }
.landing-access-note svg { flex-shrink: 0; }
.landing-tools { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr; gap: 20px; padding: 42px 0 40px; scroll-margin-top: 24px; }
.landing-tools-heading { align-self: center; }
.landing-tools-heading .eyebrow { font-size: 9px; letter-spacing: 1.5px; color: #54657e; margin-bottom: 12px; }
.landing-tools-heading h2 { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; margin: 0; }
.landing-tool {
  padding: 22px;
  min-height: 190px;
  color: #fff;
  background: linear-gradient(135deg, #2263df, #1b5cad);
  border: 1px solid rgba(27, 92, 173, .2);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(34, 99, 223, .12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.landing-tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 11px;
  margin-bottom: 15px;
  transition: background .25s ease, transform .25s ease;
}
.landing-tool h3 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 9px; letter-spacing: -.15px; }
.landing-tool p { font-size: 12px; color: #eff6ff; margin: 0; line-height: 1.8; max-width: 230px; }
@media (hover: hover) and (pointer: fine) {
  .landing-nav a:hover { background: #c7dcfa; box-shadow: 0 6px 16px rgba(34, 99, 223, .12); transform: translateY(-2px); }
  .landing-nav .landing-nav-access:hover { background: #1b5cad; border-color: #1b5cad; }
  .landing-nav-access:hover span { transform: translate(2px, -2px); }
  .landing-tool:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(34, 99, 223, .22); border-color: rgba(255, 255, 255, .55); }
  .landing-tool:hover .landing-tool-icon { background: rgba(255, 255, 255, .23); transform: scale(1.06); }
}
.neuro-landing .landing-footer { max-width: 1240px; padding: 21px 0 27px; font-size: 11px; margin: 0 auto; }
.landing-footer a { color: #667085; text-decoration: none; font-size: 10px; }
.landing-footer a:hover { text-decoration: underline; }
@media (min-width: 1600px) {
  .neuro-landing .auth-header { padding-top: 42px; padding-bottom: 36px; }
  .neuro-landing .landing-visual { min-height: 670px; }
  .landing-tools { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 1100px) {
  .neuro-landing .auth-header { padding: 25px 28px; }
  .landing-main { padding: 0 28px; }
  .neuro-landing .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .neuro-landing .landing-visual { padding: 30px; }
  .neuro-landing .auth-editorial h1 { font-size: 44px; letter-spacing: -1.7px; }
  .neuro-landing .auth-card { padding: 32px; }
  .neuro-landing .auth-card .form-header h2 { font-size: 27px; }
  .landing-tools { gap: 20px; }
  .landing-tool { padding: 20px; }
  .landing-tools-heading h2 { font-size: 22px; }
  .neuro-landing .landing-footer { margin: 0 28px; }
}
@media (max-width: 820px) {
  .neuro-landing .landing-visual { padding: 28px 24px; }
  .neuro-landing .auth-editorial h1 { font-size: 38px; letter-spacing: -1.4px; }
  .landing-specialty { font-size: 8px; letter-spacing: 1px; gap: 7px; }
  .landing-visual-index { display: none; }
  .neuro-landing .auth-card { padding: 28px 24px; }
  .neuro-landing .auth-card-topline { gap: 8px; }
  .neuro-landing .auth-card-topline .eyebrow { letter-spacing: 1px; font-size: 8px; }
  .neuro-landing .auth-card .form-header h2 { font-size: 25px; }
  .neuro-landing .extras-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .neuro-landing .btn-login { gap: 14px; }
  .landing-tools { grid-template-columns: 1fr 1fr; gap: 28px; }
  .landing-tools-heading { align-self: center; }
  .landing-tool { min-height: 190px; }
}
@media (max-width: 700px) {
  .neuro-landing .auth-header { padding: 20px; gap: 16px; flex-direction: column; align-items: stretch; }
  .neuro-landing .auth-header .clinical-brand { align-self: flex-start; }
  .landing-brand-mark { width: 37px; height: 37px; }
  .neuro-landing .brand-wordmark { font-size: 22px; }
  .neuro-landing .brand-descriptor { font-size: 6px; letter-spacing: 1.25px; }
  .landing-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; }
  .landing-nav a { padding: 9px 12px; }
  .landing-nav .landing-nav-access { gap: 10px; }
  .landing-main { padding: 0 16px; }
  .neuro-landing .auth-layout { grid-template-columns: 1fr; max-width: 540px; margin: auto; border-radius: 14px; }
  .neuro-landing .landing-visual { min-height: 310px; padding: 23px 26px 24px; }
  .landing-photo { object-position: center 35%; }
  .landing-visual::before { background: linear-gradient(180deg, #09203466, #09203433 15%, #0c263be0 65%, #0c263b 100%); }
  .landing-specialty { font-size: 8px; letter-spacing: 1.2px; }
  .landing-editorial-copy { padding-top: 56px; }
  .landing-overline { font-size: 8px; letter-spacing: 1.6px; margin-bottom: 12px; }
  .neuro-landing .auth-editorial h1 { font-size: clamp(31px, 8.8vw, 45px); margin: 0 0 14px; letter-spacing: -1.25px; }
  .neuro-landing .auth-intro { font-size: 12px; line-height: 1.75; max-width: 340px; margin-bottom: 0; }
  .landing-visual-footer { display: none; }
  .neuro-landing .auth-card { max-width: none; padding: 30px 26px 27px; }
  .neuro-landing .auth-card-topline { margin-bottom: 25px; }
  .neuro-landing .auth-card-topline .eyebrow { font-size: 9px; letter-spacing: 1.3px; }
  .neuro-landing .auth-card .form-header { margin-bottom: 25px; }
  .neuro-landing .auth-card .form-header h2 { font-size: 27px; margin-bottom: 10px; }
  .neuro-landing .auth-card .form-header p { font-size: 13px; }
  .neuro-landing .input-wrap input { font-size: 16px; }
  .neuro-landing .extras-row { flex-direction: row; align-items: center; margin: 20px 0 24px; gap: 12px; }
  .landing-access-note { font-size: 10px; }
  .landing-tools { max-width: 540px; margin: auto; grid-template-columns: 1fr; gap: 14px; padding: 33px 0 26px; }
  .landing-tools-heading { margin: 0 10px 10px; }
  .landing-tools-heading h2 { font-size: 25px; }
  .landing-tools-heading h2 br { display: none; }
  .landing-tool { position: relative; padding: 22px 20px 22px 80px; min-height: 120px; }
  .landing-tool-icon { position: absolute; left: 20px; top: 23px; margin-bottom: 0; }
  .landing-tool h3 { font-size: 14px; }
  .landing-tool p { max-width: none; font-size: 12px; }
  .neuro-landing .landing-footer { margin: 0 26px; padding: 20px 0 25px; flex-direction: column; gap: 5px; font-size: 10px; }
}
@media (max-width: 380px) {
  .neuro-landing .clinical-brand { gap: 7px; }
  .neuro-landing .brand-wordmark { font-size: 20px; }
  .neuro-landing .auth-card, .neuro-landing .landing-visual { padding-left: 21px; padding-right: 21px; }
  .neuro-landing .extras-row { font-size: 11px; }
  .landing-access-note { gap: 5px; }
  .neuro-landing .input-wrap input[type=tel] { padding-right: 16px; }
  .neuro-landing .input-wrap > .input-icon[aria-hidden] { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .landing-editorial-copy { animation: landing-arrive .6s ease-out both; }
  @keyframes landing-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
