/* ===========================================================================
   Auth — split screen: blob art left, form right
   =========================================================================== */

.auth {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--page);
}

.auth__art {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 52px;
}

/* The website hero's footage, run to every edge under one flat ink grade so the
   white headline reads wherever the water is bright (as on candidreach.app). */
.auth__scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none }
.auth__film { display: block; width: 100%; height: 100%; object-fit: cover }
.auth__scene::after { content: ""; position: absolute; inset: 0; background: rgba(16, 33, 31, .74) }

/* Out of the flow, so the headline centres on the full panel height rather than
   on the space left under the logo. The phone strip puts it back in the flow. */
.auth__logo { position: absolute; top: 48px; left: 52px; z-index: 2; display: flex; align-items: center }
.auth__logo img {
  height: calc(28px * var(--logo-scale)); width: auto; max-width: 100%;
  display: block; filter: var(--logo-filter);
}

.auth__pitch { position: relative; max-width: 460px; margin: auto 0; z-index: 2 }
.auth__pitch h2 { margin: 0; font-size: 44px; font-weight: var(--weight-strong); letter-spacing: -.035em; line-height: 1.08 }
.auth__pitch p  { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--on-ink) 78%, transparent); margin-top: 20px }

.auth__points { display: flex; flex-direction: column; gap: 12px; margin-top: 30px }
.auth__point   { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: color-mix(in srgb, var(--on-ink) 80%, transparent) }
.auth__point .ms { font-size: 18px; color: var(--teal); margin-top: 1px; flex: 0 0 auto }

.auth__pane { display: flex; align-items: center; justify-content: center; padding: 48px; overflow-y: auto }
.auth__form { width: 100%; max-width: 400px }
.auth__form h1 { margin: 0 0 8px; font-size: 28px; font-weight: var(--weight-strong); letter-spacing: -.03em }
.auth__lede { font-size: 13.5px; color: var(--muted); margin-bottom: 30px }
/* With no lede under it, the heading keeps the same distance from the form. */
.auth__form h1 + form { margin-top: 30px }

.auth__rule { display: flex; align-items: center; gap: 12px; margin: 26px 0 }
.auth__rule::before, .auth__rule::after { content: ""; flex: 1; height: 1px; background: var(--line) }
.auth__rule span { font-size: 11.5px; color: var(--muted) }

.auth__alt { font-size: 12.5px; color: var(--muted); margin-top: 28px; line-height: 1.6 }

/* Inline text that acts as a control. A styled span would look identical and
   be unreachable by keyboard, so these stay real buttons. */
.linkbtn {
  font: inherit; font-weight: var(--weight-strong); color: var(--text);
  background: none; border: none; padding: 0;
  cursor: pointer; text-decoration: none;
}
.linkbtn:hover { color: var(--coral) }
.linkbtn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px }
.linkbtn:disabled { opacity: .45; cursor: progress; color: var(--text) }
