@import url("secure-unified.css");
:root {
  --portal-paper: #faf9f6;
  --portal-paper-deep: #f1efe9;
  --portal-ink: #1a1c1a;
  --portal-muted: #686963;
  --portal-gold: #a68b5c;
  --portal-wine: #4a0e0e;
}

.portal-page {
  min-height: 100%;
  margin: 0;
  color: var(--portal-ink);
  background: var(--portal-paper);
  font-family: Inter, Arial, sans-serif;
}

.portal-page .site-global-nav {
  border-bottom: 1px solid rgba(166, 139, 92, 0.2) !important;
  background: rgba(250, 249, 246, 0.88) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
}

.portal-premium,
.portal-premium * {
  box-sizing: border-box;
}

.portal-premium {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(7rem, 11vw, 9rem) clamp(1.25rem, 5vw, 5rem) 2rem;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.98) 0, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 78% 28%, rgba(166, 139, 92, 0.14) 0, rgba(166, 139, 92, 0) 29%),
    linear-gradient(135deg, #faf9f6 0%, #f4f2ec 48%, #ece9e2 100%);
}

.portal-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(95, 85, 69, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 85, 69, 0.045) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 64%);
  mask-image: linear-gradient(90deg, #000, transparent 64%);
}

.portal-premium__light {
  position: absolute;
  top: -25%;
  left: -12%;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.52);
  filter: blur(2px);
}

.portal-premium__halo {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(166, 139, 92, 0.17);
  border-radius: 50%;
}

.portal-premium__halo--one {
  top: 5%;
  right: -15rem;
  width: 48rem;
  height: 48rem;
}

.portal-premium__halo--two {
  top: 17%;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  border-color: rgba(166, 139, 92, 0.12);
}

.portal-premium__shell {
  position: relative;
  z-index: 1;
  width: min(100%, 76rem);
  min-height: calc(100dvh - 12rem);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(22rem, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  margin: 0 auto;
}

.portal-premium__message {
  max-width: 42rem;
}

.portal-premium__eyebrow {
  margin: 0 0 0.8rem;
  color: #876a37;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.portal-premium__message h1 {
  max-width: 44rem;
  margin: 0 0 1.6rem;
  color: var(--portal-ink);
  font: 500 clamp(3.25rem, 7vw, 6.8rem)/0.91 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.045em;
}

.portal-premium__message h1 em {
  color: #8d6e39;
  font-weight: 500;
}

.portal-premium__lead {
  max-width: 38rem;
  margin: 0;
  color: var(--portal-muted);
  font: 400 clamp(1rem, 1.6vw, 1.22rem)/1.7 Inter, sans-serif;
}

.portal-premium__assurances {
  display: grid;
  gap: 0;
  margin-top: clamp(2.3rem, 5vw, 4rem);
  border-top: 1px solid rgba(166, 139, 92, 0.22);
}

.portal-premium__assurances > div {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(166, 139, 92, 0.16);
}

.portal-premium__assurances .material-symbols-outlined {
  color: #95733a;
  font-size: 1.4rem;
  font-variation-settings: "wght" 300;
}

.portal-premium__assurances strong,
.portal-premium__assurances small {
  display: block;
}

.portal-premium__assurances strong {
  margin-bottom: 0.15rem;
  color: #2f302b;
  font: 600 0.78rem/1.35 Inter, sans-serif;
}

.portal-premium__assurances small {
  color: #7c7c76;
  font: 400 0.7rem/1.45 Inter, sans-serif;
}

.portal-premium__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  color: #85857e;
  font-size: 0.67rem;
  line-height: 1.45;
}

.portal-premium__note .material-symbols-outlined {
  color: #9a7a45;
  font-size: 1rem;
}

.portal-login {
  position: relative;
}

.portal-login::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid rgba(166, 139, 92, 0.24);
  border-radius: 1.6rem;
}

.portal-login__card {
  position: relative;
  z-index: 1;
  width: min(100%, 29rem);
  margin-left: auto;
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 1.6rem;
  background: rgba(253, 252, 249, 0.84);
  -webkit-backdrop-filter: blur(24px) saturate(0.88);
  backdrop-filter: blur(24px) saturate(0.88);
  box-shadow: 0 32px 80px rgba(45, 39, 31, 0.13);
}

.portal-login__seal {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.7rem;
  border: 1px solid rgba(166, 139, 92, 0.45);
  border-radius: 50%;
  color: #896a37;
  background: rgba(249, 246, 239, 0.8);
}

.portal-login__seal .material-symbols-outlined {
  font-size: 1.35rem;
  font-variation-settings: "wght" 300;
}

.portal-login__card h2 {
  margin: 0 0 0.4rem;
  color: var(--portal-ink);
  font: 500 clamp(2.5rem, 5vw, 3.65rem)/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.03em;
}

.portal-login__intro {
  margin: 0 0 2rem;
  color: #777872;
  font-size: 0.8rem;
  line-height: 1.55;
}

.portal-login__form {
  display: grid;
  gap: 1.25rem;
}

.portal-login__field {
  display: grid;
  gap: 0.45rem;
}

.portal-login__field > span:first-child {
  color: #454640;
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-login__control {
  min-height: 3.45rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1rem;
  border: 1px solid rgba(65, 63, 58, 0.18);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.portal-login__control:focus-within {
  border-color: rgba(150, 116, 62, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(166, 139, 92, 0.09);
}

.portal-login__control > .material-symbols-outlined {
  flex: 0 0 auto;
  color: #8e8e87;
  font-size: 1.12rem;
  font-variation-settings: "wght" 300;
}

.portal-login__control input {
  width: 100%;
  min-width: 0;
  height: 3.25rem;
  padding: 0;
  border: 0;
  outline: 0;
  color: #272822;
  background: transparent;
  box-shadow: none;
  font: 400 0.82rem/1.4 Inter, sans-serif;
}

.portal-login__control input::placeholder {
  color: #a1a19a;
  opacity: 1;
}

.portal-login__control button {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #777872;
  background: transparent;
  cursor: pointer;
}

.portal-login__control button:hover,
.portal-login__control button:focus-visible {
  color: #73592d;
  background: rgba(166, 139, 92, 0.1);
  outline: 0;
}

.portal-login__control button .material-symbols-outlined {
  font-size: 1.1rem;
}

.portal-login__submit {
  min-height: 3.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0 1.25rem 0 1.45rem;
  border: 1px solid #1c1d19;
  border-radius: 0.55rem;
  color: #fff;
  background: #1c1d19;
  box-shadow: 0 12px 28px rgba(28, 29, 25, 0.14);
  font: 600 0.76rem/1.2 Inter, sans-serif;
  letter-spacing: 0.045em;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.portal-login__submit:hover,
.portal-login__submit:focus-visible {
  border-color: var(--portal-wine);
  background: var(--portal-wine);
  box-shadow: 0 15px 34px rgba(74, 14, 14, 0.18);
  transform: translateY(-1px);
  outline: 0;
}

.portal-login__submit .material-symbols-outlined {
  font-size: 1.05rem;
  transition: transform 200ms ease;
}

.portal-login__submit:hover .material-symbols-outlined {
  transform: translateX(0.22rem);
}

.portal-login__status {
  min-height: 1.2rem;
  margin: -0.45rem 0 0;
  color: #806432;
  font-size: 0.68rem;
  line-height: 1.45;
}

.password-strength{display:grid;grid-template-columns:1fr auto;gap:.35rem .75rem;margin-top:-.45rem}.password-strength__track{grid-column:1/-1;height:4px;overflow:hidden;border-radius:99px;background:#e5e0d6}.password-strength__track i{display:block;width:0;height:100%;border-radius:inherit;background:#a33d37;transition:width .25s ease,background .25s ease}.password-strength strong{color:#50534d;font-size:.68rem}.password-strength small{grid-column:1/-1;color:#7d7f79;font-size:.65rem;line-height:1.45}.password-strength[data-score="2"] .password-strength__track i{background:#a67b34}.password-strength[data-score="3"] .password-strength__track i{background:#6d8253}.password-strength[data-score="4"] .password-strength__track i{background:#3f714f}.portal-login__resend{padding:.35rem 0;border:0;color:#795e31;background:transparent;font-size:.68rem;text-align:left;text-decoration:underline;text-underline-offset:.2rem;cursor:pointer}.portal-login__resend:hover,.portal-login__resend:focus-visible{color:var(--portal-wine);outline:0}

.portal-login__help {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(166, 139, 92, 0.18);
  color: #85857e;
  font-size: 0.67rem;
  line-height: 1.4;
}

.portal-login__help a {
  color: #795e31;
  font-weight: 600;
  text-decoration: none;
}

.portal-login__help a:hover {
  color: var(--portal-wine);
}

.portal-premium__footer {
  position: relative;
  z-index: 1;
  width: min(100%, 76rem);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(166, 139, 92, 0.16);
  color: #8b8b84;
  font-size: 0.62rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

@media (max-width: 920px) {
  .portal-premium {
    padding-top: 7.5rem;
  }

  .portal-premium__shell {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .portal-premium__message {
    max-width: 46rem;
  }

  .portal-premium__message h1 {
    max-width: 42rem;
  }

  .portal-login__card {
    margin: 0 auto;
  }

  .portal-login {
    width: min(100%, 31rem);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .portal-premium {
    padding: 6.4rem 1rem 1.25rem;
  }

  .portal-premium::before {
    background-size: 4rem 4rem;
  }

  .portal-premium__message h1 {
    font-size: clamp(3.2rem, 16vw, 4.5rem);
  }

  .portal-premium__assurances small {
    font-size: 0.66rem;
  }

  .portal-login::before {
    inset: 0.8rem -0.35rem -0.8rem 0.8rem;
  }

  .portal-login__card {
    padding: 1.7rem 1.25rem 1.5rem;
    border-radius: 1.25rem;
  }

  .portal-login__help,
  .portal-premium__footer {
    flex-direction: column;
  }

  .portal-premium__footer {
    margin-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-login__control,
  .portal-login__submit,
  .portal-login__submit .material-symbols-outlined {
    transition-duration: 0.01ms !important;
  }
}
