/* Public homepage bridge refresh.
   This keeps the approved logged-out structure and copy intact while bringing
   its visual language closer to the signed-in Nyon3 surfaces. The future full
   v3 marketing homepage remains parked in brand-public.css. */

#screen-account {
  isolation: isolate;
  background: var(--nyon-cream);
  color: var(--nyon-ink);
  font-family: var(--nyon-font-ui);
}

#screen-account::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url('../assets/brand/nyon-v3/patterns/puzzle-constellation.svg') center 24px / 390px 307px repeat;
  opacity: .24;
  pointer-events: none;
}

#screen-account .acct-page {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
}

#screen-account .acct-marketing.acct-hero {
  position: relative;
  border: 1.5px solid rgb(48 43 59 / 14%);
  border-radius: 30px;
  background: linear-gradient(142deg, rgb(255 255 255 / 88%), rgb(232 240 235 / 92%) 56%, rgb(251 230 237 / 92%));
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 78%),
    0 6px 0 rgb(48 43 59 / 7%),
    0 18px 38px rgb(48 43 59 / 8%);
}

#screen-account .acct-marketing.acct-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 50%, rgb(255 255 255 / 24%));
  pointer-events: none;
}

#screen-account .acct-hero-text,
#screen-account .acct-cover-deck {
  position: relative;
  z-index: 1;
}

#screen-account .acct-brand-lockup {
  align-items: flex-end;
  gap: 10px;
}

#screen-account .acct-brand-lockup img {
  width: 112px;
  height: auto;
  display: block;
}

#screen-account .acct-brand-lockup strong,
#screen-account .acct-brand-lockup span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#screen-account .acct-brand-lockup small {
  margin: 0 0 2px;
  color: var(--nyon-muted);
  font-size: 10px;
  font-weight: 800;
}

#screen-account .acct-eyebrow,
#screen-account .acct-section-kicker {
  color: var(--nyon-success);
  font-weight: 900;
  letter-spacing: 1.6px;
}

#screen-account .acct-hero-text > h1,
#screen-account .acct-onboarding h2,
#screen-account .acct-auth-heading h2 {
  color: var(--nyon-ink);
}

#screen-account .acct-hero-copy,
#screen-account .acct-onboarding-copy,
#screen-account .acct-auth-heading > p:last-child,
#screen-account .acct-access-note,
#screen-account .acct-utility-label {
  color: var(--nyon-muted);
}

#screen-account .acct-demo-cta,
#screen-account .acct-access-cta {
  border: 1.5px solid var(--nyon-ink);
  border-radius: 14px;
  background: var(--nyon-ink);
  color: var(--nyon-cream);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 12%),
    0 4px 0 rgb(48 43 59 / 22%),
    0 10px 18px rgb(48 43 59 / 8%);
}

#screen-account .acct-demo-cta span {
  border: 0;
  background: var(--nyon-cream);
  color: var(--nyon-ink);
}

#screen-account .acct-demo-cta:active,
#screen-account .acct-access-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgb(48 43 59 / 22%);
}

#screen-account .acct-cover-card {
  border: 2px solid var(--nyon-ink);
  border-radius: var(--nyon-radius-card);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 34%),
    0 7px 0 rgb(48 43 59 / 13%),
    0 16px 24px rgb(48 43 59 / 12%);
}

#screen-account .acct-usp-list {
  gap: 10px;
  margin-top: 20px;
}

#screen-account .acct-usp-list li {
  min-height: 62px;
  border: 1.5px solid rgb(48 43 59 / 13%);
  border-radius: 18px;
  background: rgb(255 255 255 / 88%);
  color: var(--nyon-ink);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 4px 0 rgb(48 43 59 / 9%),
    var(--nyon-shadow-card);
}

#screen-account .acct-usp-list small {
  color: var(--nyon-muted);
}

#screen-account .acct-entry-grid {
  gap: 20px;
  margin-top: 26px;
}

#screen-account .acct-onboarding,
#screen-account .acct-auth-card {
  border: 1.5px solid rgb(48 43 59 / 15%);
  border-radius: var(--nyon-radius-modal);
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 78%),
    0 5px 0 rgb(48 43 59 / 8%),
    var(--nyon-shadow-card);
}

#screen-account .acct-onboarding {
  background: linear-gradient(145deg, #fff5d2, var(--nyon-butter));
}

#screen-account .acct-auth-card {
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(9px);
}

#screen-account .acct-steps li {
  border: 1.5px solid rgb(48 43 59 / 12%);
  border-radius: 15px;
  background: rgb(255 255 255 / 76%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
}

#screen-account .acct-steps span {
  background: var(--nyon-pink);
  color: #fff;
  box-shadow: 0 3px 0 rgb(161 47 73 / 24%);
}

#screen-account .acct-tabs {
  border: 1.5px solid rgb(48 43 59 / 11%);
  border-radius: 15px;
  background: color-mix(in srgb, var(--nyon-sage) 38%, var(--nyon-cream));
}

#screen-account .acct-tab {
  border-radius: 11px;
  color: var(--nyon-muted);
}

#screen-account .acct-tab.on {
  background: var(--nyon-ink);
  color: var(--nyon-cream);
  box-shadow: 0 3px 0 rgb(48 43 59 / 18%);
}

#screen-account .acct-input {
  border: 1.5px solid rgb(98 91 105 / 42%);
  border-radius: 13px;
  background: #fff;
  color: var(--nyon-ink);
  box-shadow: inset 0 2px 3px rgb(48 43 59 / 4%);
}

#screen-account .acct-input:focus {
  border-color: var(--nyon-pink);
  outline: 3px solid rgb(239 127 168 / 18%);
}

#screen-account .acct-auth-card .btn-primary {
  min-height: 50px;
  border: 1.5px solid var(--nyon-ink);
  border-radius: 14px;
  background: var(--nyon-pink);
  color: var(--nyon-ink);
  box-shadow: 0 4px 0 #cf648b;
}

#screen-account .acct-auth-card .btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #cf648b;
}

#screen-account .acct-utility {
  border-top-color: rgb(98 91 105 / 22%);
}

#screen-account .acct-forgot,
#screen-account .acct-support {
  border-color: rgb(48 43 59 / 14%);
  border-radius: 12px;
  background: #fff;
  color: var(--nyon-ink);
  box-shadow: 0 3px 0 rgb(48 43 59 / 9%);
}

#screen-account .acct-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgb(98 91 105 / 20%);
}

#screen-account .acct-social-link {
  border: 1.5px solid rgb(48 43 59 / 18%);
  background: rgb(255 255 255 / 90%);
  color: var(--nyon-ink);
  box-shadow: 0 3px 0 rgb(48 43 59 / 10%);
}

@media (max-width: 420px) {
  #screen-account .acct-marketing.acct-hero {
    padding-inline: 17px;
    border-radius: 24px;
  }

  #screen-account .acct-brand-lockup img {
    width: 104px;
  }

  #screen-account .acct-brand-lockup small {
    font-size: 9px;
  }

  #screen-account .acct-usp-list li {
    min-height: 60px;
    border-radius: 16px;
  }

  #screen-account .acct-entry-grid {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #screen-account *,
  #screen-account *::before,
  #screen-account *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
