.login-page {
  color: #102052;
  background: #f3faff;
}

.pms-login-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 31% 48%, rgba(177, 227, 255, .45), transparent 31%),
    linear-gradient(112deg, #fcfeff, #eef8ff 67%, #f7fbff);
}

.pms-login-orbit {
  position: absolute;
  border: 1px solid rgba(124, 185, 242, .23);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit-drift 18s ease-in-out infinite alternate;
}
.pms-login-orbit.orbit-a { width: 690px; height: 690px; top: 17%; left: 17%; }
.pms-login-orbit.orbit-b { width: 810px; height: 810px; right: 10%; bottom: -590px; animation-delay: -8s; }

.pms-login-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  grid-template-rows: 1fr auto;
  column-gap: clamp(55px, 6vw, 115px);
  max-width: 1730px;
  min-height: 100vh;
  padding: clamp(42px, 6vh, 70px) clamp(30px, 4vw, 75px) 24px;
  margin: auto;
}

.pms-login-story { display: flex; flex-direction: column; min-width: 0; }
.pms-login-brand { align-self: flex-start; gap: 14px; }
.pms-login-brand img { width: 58px; height: 58px; }
.pms-login-brand strong {
  color: #11245a;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.pms-login-brand small { color: #687b9f; font-size: 12px; letter-spacing: 0; }

.pms-story-copy { max-width: 940px; margin-top: clamp(62px, 9vh, 110px); }
.pms-story-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid #a5cfff;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  color: #1f4080;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
}
.pms-story-copy h1 {
  margin: 21px 0 13px;
  color: #102052;
  font-size: clamp(36px, 2.7vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.055em;
  animation: headline-appear .8s cubic-bezier(.2,.8,.2,1) both;
}
.pms-story-copy h1 span {
  display: block;
  color: #1874df;
  background: linear-gradient(100deg, #2563eb, #0898cf, #2563eb);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: headline-color 7s ease-in-out infinite alternate;
}
.pms-story-copy p {
  max-width: 820px;
  margin: 0;
  color: #617490;
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 500;
  line-height: 1.58;
}

.pms-analysis-visual {
  position: relative;
  width: min(100%, 725px);
  min-height: 279px;
  margin: auto 0 30px;
  padding: 24px 43px 14px 23px;
}
.analysis-halo {
  position: absolute;
  inset: 3px 9% 2px 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(104, 184, 241, .18), transparent 67%);
  filter: blur(15px);
  animation: halo-breathe 7s ease-in-out infinite;
}
.analysis-panel {
  position: relative;
  max-width: 630px;
  border: 1px solid #c8e1fa;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 44px rgba(55, 129, 195, .12);
  backdrop-filter: blur(8px);
  padding: 16px 20px 12px;
  animation: panel-float 8s ease-in-out infinite;
}
.analysis-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 9px;
  border-bottom: 1px solid #e9f0f8;
}
.analysis-panel-header strong { display: block; color: #172c5b; font-family: Lexend, sans-serif; font-size: 15px; font-weight: 600; }
.analysis-eyebrow { display: block; color: #5486be; font-size: 9px; font-weight: 700; letter-spacing: .14em; margin-bottom: 3px; }
.analysis-spark { color: #438eef; font-size: 21px; animation: spark-glow 4s ease-in-out infinite; }
.analysis-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-bottom: 1px solid #eef3f9;
}
.analysis-item:last-child { border-bottom: 0; }
.analysis-item-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eaf2ff;
  color: #2b69df;
  font-size: 19px;
  font-weight: 700;
}
.analysis-budget .analysis-item-icon { background: #ecfaf8; color: #0d9a8a; }
.analysis-team .analysis-item-icon { background: #f2eeff; color: #7655d5; }
.analysis-item-copy { flex: 1; min-width: 0; }
.analysis-item-copy strong { display: block; color: #18305b; font-size: 11px; font-weight: 700; }
.analysis-item-copy small { display: block; color: #8b9bb1; font-size: 9px; margin-top: 2px; }
.analysis-trend { width: 115px; height: 38px; overflow: visible; }
.analysis-trend path {
  fill: none;
  stroke: #4b83e7;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: trace-project 5s ease-in-out infinite;
}
.analysis-budget-mark,
.analysis-capacity-mark { width: 115px; height: 35px; display: flex; align-items: end; gap: 5px; }
.analysis-budget-mark i,
.analysis-capacity-mark i { display: block; flex: 1; border-radius: 4px 4px 0 0; background: #b6ece6; animation: bar-breathe 4s ease-in-out infinite; }
.analysis-budget-mark i:nth-child(1) { height: 36%; }
.analysis-budget-mark i:nth-child(2) { height: 70%; animation-delay: -.6s; }
.analysis-budget-mark i:nth-child(3) { height: 55%; animation-delay: -1.2s; }
.analysis-budget-mark i:nth-child(4) { height: 84%; animation-delay: -1.8s; }
.analysis-capacity-mark { align-items: center; }
.analysis-capacity-mark i { height: 7px; border-radius: 8px; background: #c4b5fd; animation-delay: -.4s; }
.analysis-capacity-mark i:nth-child(2) { flex: 1.6; background: #a5b4fc; animation-delay: -1s; }
.analysis-capacity-mark i:nth-child(3) { flex: .7; background: #ddd6fe; animation-delay: -1.5s; }
.analysis-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid #cfe2fb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 20px rgba(63, 133, 200, .12);
  color: #486487;
  font-size: 10px;
  font-weight: 600;
  animation: tag-float 6s ease-in-out infinite;
}
.analysis-float span { font-size: 10px; color: #2873e2; }
.analysis-float.float-progress { top: 8px; right: 7px; }
.analysis-float.float-finance { bottom: 3px; right: 4px; animation-delay: -3s; }
.analysis-float.float-finance span { color: #14a99c; }

.pms-login-card {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 550px;
  border: 1px solid #dce8fa;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 21px 48px rgba(129, 179, 223, .2);
  padding: 40px 34px;
}
.pms-card-brand { display: flex; align-items: center; gap: 9px; color: #1b376e; font-family: Lexend, sans-serif; font-size: 12px; font-weight: 600; }
.pms-card-brand img { display: block; width: 40px; height: 40px; }
.pms-login-card h2 { margin: 13px 0 2px; color: #102052; font-size: 29px; letter-spacing: -.045em; }
.pms-login-subtitle { margin: 0 0 15px; color: #71829e; font-size: 13px; }
.pms-login-form label:not(.pms-remember) { display: block; margin: 10px 0 5px; color: #21335f; font-size: 11px; font-weight: 700; }
.pms-field { display: flex; align-items: center; height: 42px; overflow: hidden; border: 1px solid #cbdaf2; border-radius: 8px; background: #fff; }
.pms-field:focus-within,
.pms-captcha-input:focus { border-color: #4087f3; box-shadow: 0 0 0 3px #dbeafe; }
.pms-field .field-icon { flex: none; width: 39px; color: #8194b2; text-align: center; font-size: 17px; }
.pms-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #203253; font-size: 12px; }
.pms-field input::placeholder,
.pms-captcha-input::placeholder { color: #8b9ab2; }
.pms-label-row { display: flex; align-items: end; justify-content: space-between; }
.pms-label-row label { margin-bottom: 5px; }
.pms-forgot { color: #2563eb; font-size: 11px; font-weight: 500; margin-bottom: 5px; }
.pms-show-password { width: 40px; border: 0; background: none; color: #6f82a4; font-size: 17px; }
.pms-captcha-box { display: flex; align-items: center; gap: 8px; height: 55px; padding: 5px 7px; border: 1px solid #cbdaf2; border-radius: 8px; }
.pms-login-form .pms-verification-label { margin-top: 12px; }
.pms-captcha-box img { display: block; flex: 1 1 48%; min-width: 0; height: 43px; object-fit: fill; border-radius: 5px; }
.pms-refresh-captcha { flex: none; width: 38px; height: 42px; border: 0; border-radius: 8px; background: #f0f4fa; color: #4a5c73; font-size: 24px; line-height: 1; }
.pms-refresh-captcha:hover { background: #e2ecfb; color: #2563eb; }
.pms-captcha-box .pms-captcha-input { flex: 1 1 38%; min-width: 0; width: 0; height: 42px; margin: 0; padding: 0 10px; border: 1px solid #cbdaf2; border-radius: 8px; outline: 0; text-transform: uppercase; font-size: 11px; letter-spacing: .02em; }
.pms-remember { display: flex; align-items: center; gap: 8px; margin: 11px 0 12px; color: #2c3854; font-size: 11px; }
.pms-remember input { width: 16px; height: 16px; margin: 0; accent-color: #2563eb; }
.pms-signin-button { width: 100%; height: 45px; border: 0; border-radius: 8px; background: linear-gradient(90deg, #1d55e7, #0da5ce); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 8px 17px #2563eb22; }
.pms-signin-button:hover { filter: brightness(.96); }
.pms-signin-button span { margin-right: 4px; font-size: 16px; vertical-align: -1px; }
.pms-secure-note { margin: 10px 0 0; color: #8290a8; text-align: center; font-size: 9px; }
.pms-preview-link { display: block; margin-top: 8px; color: #2563eb; text-align: center; font-size: 10px; }
.pms-form-error { padding: 8px 10px; border: 1px solid #fecdd3; border-radius: 7px; background: #fff1f2; color: #b91c1c; font-size: 11px; }
.pms-form-error ul { margin: 0; padding-left: 17px; }

.pms-login-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  color: #7e90aa;
  font-size: 10px;
}
.pms-footer-links { display: flex; align-items: center; gap: 22px; }
.pms-footer-links a { color: #315fae; }
.pms-footer-links a:hover { text-decoration: underline; }

.privacy-page { background: linear-gradient(115deg, #fbfdff, #edf8ff); }
.pms-privacy-shell { max-width: 1050px; min-height: 100vh; margin: auto; padding: 48px 24px; }
.pms-privacy-brand { margin-bottom: 50px; }
.pms-privacy-card { max-width: 760px; padding: 36px; border: 1px solid #dce8fa; border-radius: 18px; background: #fff; box-shadow: 0 18px 45px #9ec4e629; }
.pms-privacy-card h1 { margin: 18px 0; color: #102052; font-size: 34px; }
.pms-privacy-card p { color: #617490; font-size: 14px; line-height: 1.75; }
.pms-privacy-card p a, .pms-privacy-back { color: #2563eb; font-weight: 600; }
.pms-privacy-back { display: inline-block; margin-top: 9px; }

@keyframes orbit-drift { to { transform: translate(23px, -15px); } }
@keyframes halo-breathe { 50% { opacity: .6; transform: scale(1.08); } }
@keyframes panel-float { 50% { transform: translateY(-5px); } }
@keyframes spark-glow { 50% { opacity: .55; transform: rotate(18deg); } }
@keyframes trace-project { 0%, 9% { stroke-dashoffset: 150; } 44%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 150; } }
@keyframes bar-breathe { 50% { transform: scaleY(.7); opacity: .7; } }
@keyframes tag-float { 50% { transform: translateY(-6px); } }
@keyframes headline-appear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes headline-color {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (max-width: 1250px) {
  .pms-login-content { grid-template-columns: minmax(0, 1fr) 420px; gap: 36px; padding-inline: 38px; }
  .pms-login-brand strong { font-size: 21px; }
  .pms-login-brand small { font-size: 11px; }
  .pms-story-copy { margin-top: 60px; }
  .pms-story-copy h1 { font-size: 39px; }
  .pms-story-copy p { font-size: 15px; }
  .pms-analysis-visual { padding-right: 22px; }
}
@media (max-height: 800px) and (min-width: 901px) {
  .pms-login-content { padding-top: 28px; padding-bottom: 16px; }
  .pms-story-copy { margin-top: 38px; }
  .pms-analysis-visual { min-height: 236px; margin-bottom: 8px; }
  .pms-login-card { min-height: 0; }
}
@media (max-width: 900px) {
  .pms-login-content { display: flex; flex-direction: column; min-height: 100vh; padding: 28px 24px 20px; }
  .pms-login-story { display: contents; }
  .pms-login-brand { order: 0; }
  .pms-story-copy { order: 1; }
  .pms-login-card { order: 2; }
  .pms-analysis-visual { order: 3; }
  .pms-login-footer { order: 4; }
  .pms-login-brand strong { font-size: 22px; }
  .pms-story-copy { margin-top: 35px; }
  .pms-story-copy h1 { font-size: clamp(35px, 6vw, 51px); }
  .pms-story-copy p { max-width: 650px; }
  .pms-analysis-visual { max-width: 630px; margin: 22px auto 8px; }
  .pms-login-card { width: min(100%, 470px); min-height: 0; margin: 8px auto 0; }
  .pms-login-footer { width: 100%; margin-top: auto; padding-top: 25px; }
}
@media (max-width: 580px) {
  .pms-login-content { padding: 20px 16px; }
  .pms-login-brand img { width: 43px; height: 43px; }
  .pms-login-brand strong { font-size: 16px; white-space: normal; }
  .pms-login-brand small { font-size: 9px; }
  .pms-story-copy { margin-top: 30px; }
  .pms-story-kicker { min-height: 29px; padding: 0 10px; font-size: 9px; }
  .pms-story-copy h1 { font-size: 31px; }
  .pms-story-copy p { font-size: 13px; }
  .pms-analysis-visual { min-height: 252px; padding: 18px 0; }
  .analysis-panel { padding: 12px; }
  .analysis-item { min-height: 55px; }
  .analysis-trend, .analysis-budget-mark, .analysis-capacity-mark { width: 75px; }
  .analysis-float { display: none; }
  .pms-login-card { padding: 20px 19px; }
  .pms-login-footer { flex-direction: column; align-items: flex-start; gap: 7px; }
  .pms-footer-links { flex-wrap: wrap; gap: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pms-login-orbit,
  .pms-story-copy h1,
  .pms-story-copy h1 span,
  .analysis-halo,
  .analysis-panel,
  .analysis-spark,
  .analysis-trend path,
  .analysis-budget-mark i,
  .analysis-capacity-mark i,
  .analysis-float { animation: none !important; }
  .analysis-trend path { stroke-dashoffset: 0; }
}

/* The supplied SILEO artwork includes the product name, so it stands alone. */
.pms-login-brand img { display: block; width: min(200px, 100%); height: auto; filter: none; }
.pms-card-brand img { display: block; width: min(205px, 100%); height: auto; }
.pms-privacy-brand img { display: block; width: min(320px, 100%); height: auto; filter: none; }
@media (max-width: 580px) {
  .pms-login-brand img { width: min(280px, 100%); height: auto; }
  .pms-card-brand img { width: min(205px, 100%); }
}
