/* =======================================================
   Layout — page shell, brand panel, form panel
   ======================================================= */
.shell {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(420px, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  align-items: start;
  min-width: 0;
}

/* ---------- Brand panel (left) ---------- */
.brand-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  min-height: 0;
  /* Keep the blue side visually pinned to the viewport while the taller
     Sign Up pane scrolls on the right. */
  z-index: 1;
  background: radial-gradient(
    120% 140% at 15% 0%,
    #0a5bb8 0%,
    #003f87 46%,
    #002454 100%
  );
  color: #eef3fc;
  padding: clamp(32px, 5vh, 56px) clamp(32px, 4vw, 56px) clamp(28px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.brand-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(
    80% 80% at 30% 20%,
    #000 0%,
    transparent 75%
  );
  mask-image: radial-gradient(80% 80% at 30% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.brand-mark .logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark span.name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-copy {
  position: relative;
  z-index: 2;
  margin-block: auto;
  padding-block: 24px;
  max-width: 440px;
}
.brand-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand-copy p.tagline {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: #c8d7f2;
  max-width: 380px;
}

/* ---------- Form panel (right) ---------- */
.form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  background: var(--bg);
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
}
.form-card {
  width: 100%;
  max-width: 420px;
  min-width: 0;
}
.mobile-mark {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.mobile-mark .logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-mark span {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
