
@layer pages {
  .auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    min-height: calc(100vh - 160px);
  }
  .auth__aside {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 60% 70% at 70% 30%, rgba(var(--accent-rgb), .3), transparent 70%),
      linear-gradient(180deg, var(--hero-top), var(--hero-bottom));
    color: var(--text-on-dark);
  }
  .auth__aside-inner {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    gap: 1.6rem;
    height: 100%;
    max-width: 520px;
    margin-left: auto;
    padding: clamp(2.4rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  }
  .auth__aside-title { color: var(--surface); font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 800; line-height: .95; }
  .auth__aside-title em { display: block; color: var(--accent-on-dark); font-style: normal; }
  .auth__points { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; counter-reset: point; }
  .auth__points li {
    display: grid;
    gap: .2rem;
    padding-left: 1.6rem;
    border-left: 3px solid var(--accent);
    counter-increment: point;
  }
  .auth__points strong { color: var(--surface); font: 700 1.1rem var(--font-display); font-variation-settings: "wdth" 86; }
  .auth__points span { color: var(--text-on-dark-muted); font-size: .9375rem; }
  .auth__points--numbered li { padding-left: 0; border-left: 0; grid-template-columns: 52px minmax(0, 1fr); }
  .auth__points--numbered li::before { content: counter(point, decimal-leading-zero); grid-row: span 2; color: var(--accent-on-dark); font: 800 2rem/1 var(--font-display); }
  .auth__perks { display: grid; gap: .5rem; margin: 0; padding: 1.4rem 0 0; list-style: none; border-top: 1px solid var(--border-on-dark); color: var(--text-on-dark); font-size: .9rem; }
  .auth__perks li { display: flex; align-items: center; gap: .6rem; }
  .auth__perks .icon { width: 18px; height: 18px; color: var(--accent); }
  .auth__main {
    display: grid;
    align-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 520px;
    padding: clamp(2.4rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  }
  .auth__back { display: inline-flex; align-items: center; justify-self: start; gap: .4rem; color: var(--text-muted); font-size: .875rem; font-weight: 600; text-decoration: none; }
  .auth__back .icon { width: 16px; height: 16px; }
  .auth__title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; }
  .auth__lede { color: var(--text-muted); }
  .auth__form { display: grid; gap: 1rem; margin-top: .6rem; }
  .auth__label-row { display: flex; justify-content: space-between; align-items: baseline; }
  .auth__label-row a { color: var(--accent-strong); font-size: .8125rem; font-weight: 600; }
  .auth__switch, .auth__terms { color: var(--text-muted); font-size: .9rem; }
  .auth__switch a, .auth__terms a { color: var(--accent-strong); font-weight: 600; }
  .auth__terms { font-size: .8125rem; }
  .auth__divider { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); font-size: .8125rem; text-transform: uppercase; }
  .auth__divider::before, .auth__divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
  .auth__google { display: flex; justify-content: center; min-height: 44px; }
  .password-rules { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: -.4rem 0 0; padding: 0; list-style: none; color: var(--text-muted); font-size: .8125rem; }
  .password-rules li::before { content: "○ "; }
  .password-rules li.is-met { color: var(--success-strong); }
  .password-rules li.is-met::before { content: "✓ "; }
  @media (max-width: 900px) {
    .auth { grid-template-columns: minmax(0, 1fr); }
    .auth__aside { order: 2; }
    .auth__aside-inner { max-width: none; margin: 0; }
    .auth__main { max-width: none; }
  }
}

