@layer layout {
  /* Login: dark pitch panel on the left, form on the right; stacks on phones. */
  .auth {
    display: flex;
    flex-wrap: wrap;
    background: var(--white);
  }

  .auth__aside {
    flex: 1 1 420px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    background: var(--ink);
    color: var(--white);
  }

  .auth__pitch { max-width: 440px; display: flex; flex-direction: column; gap: 20px; }
  .auth__title { font-size: 40px; line-height: 1.12; letter-spacing: -1px; }
  .auth__lead { font-size: 17px; line-height: 1.6; color: var(--line-strong); }
  .auth__legal { font-size: 13px; color: var(--placeholder); }

  .auth__main {
    flex: 999 1 480px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
  }
  .auth__panel { width: 100%; max-width: 400px; }
  .auth__heading { font-size: 28px; line-height: 1.2; letter-spacing: -0.5px; }

  @media (max-width: 640px) {
    .auth__aside { padding: 32px 24px; gap: 32px; }
    .auth__title { font-size: 30px; }
    .auth__legal { display: none; }
  }
}

@layer components {
  /* Here, not in layout: these override component styles. */
  .auth__aside .logo,
  .auth__aside .logo:hover { color: var(--white); padding: 0; }
  .auth__aside .logo__mark { font-size: 28px; }
  .auth__aside .eyebrow { font-size: 13px; color: var(--action); }

  .mail-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--action-soft);
    color: var(--action);
  }
  .notice--info { background: var(--soft); color: var(--body); }
}
