/* The shared auth stylesheet supplies the homepage palette, fonts and aurora. */
body {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(19,17,43,.055) 1px, transparent 0) 0 0 / 4px 4px;
}
nav {
  position: static;
  flex: none;
  height: 56px;
  padding-inline: clamp(16px, 4vw, 48px);
}
nav .links a {
  padding: 7px 15px;
  border: 1px solid #dcd7e7;
  border-radius: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vh, 28px) 16px;
}
.signup-card {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  width: min(100%, 990px);
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(89,68,140,.15);
  border-radius: var(--radius);
  background: white;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 56px rgba(68,43,108,.14);
}
.signup-panel { min-width: 0; align-self: center; padding: clamp(20px, 2.6vw, 30px); }
.signup-collage {
  min-width: 0;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding-block: 24px;
  background:
    radial-gradient(ellipse at 84% 22%, #695380 0%, transparent 55%),
    radial-gradient(ellipse at 12% 78%, #3b5067 0%, transparent 58%),
    #251d35;
}
.reel-stack { position: relative; width: 91%; aspect-ratio: 1.17; isolation: isolate; }
.reel-stack img {
  position: absolute;
  top: 16%;
  width: 49%;
  height: 75%;
  object-fit: cover;
  border: 2px solid #e7dff3;
  border-radius: 18px;
  box-shadow: 0 12px 24px #100c2380;
}
.reel-stack .history { left: 2%; transform: rotate(-10deg); object-position: 44% center; }
.reel-stack .science { right: 2%; transform: rotate(10deg); object-position: 64% center; }
.reel-stack .motivation {
  left: 22%;
  top: 4%;
  z-index: 1;
  width: 56%;
  height: 85%;
  transform: rotate(-2deg);
}
.signup-collage figcaption { color: #ece4f6; font: 600 .875rem/1.4 var(--head); }
.signup-card h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -.045em;
}
.intro, #verificationBox p {
  color: var(--ink2);
  font-size: .92rem;
  margin: 6px 0 18px;
}
.fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.field { min-width: 0; margin: 0; }
.field label { margin-bottom: 4px; font-size: .875rem; }
.field input, .field select {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #c9c3d8;
  border-radius: 11px;
  background: #fff;
  font-size: 16px;
}
.field small { display: block; margin-top: 3px; color: var(--ink2); font-size: .75rem; }
.signup-card .btn {
  min-height: 44px;
  padding: 10px 20px;
  margin-top: 16px;
  border-radius: 11px;
  background: #6744bc;
  box-shadow: none;
  animation: none;
}
.signup-card .btn:hover { transform: none; background: #523398; box-shadow: none; }
.signup-links { margin-top: 14px; text-align: center; color: var(--ink2); font-size: .875rem; }
.signup-links p + p { margin-top: 3px; }
.signup-links p:last-child { font-size: .78rem; }
.signup-links a { color: #5734a8; text-decoration: underline; text-underline-offset: 2px; }
.signup-deal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px 12px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid #d7c8ef;
  border-radius: 12px;
  background: linear-gradient(105deg, #f2ecfc, #faf6fd);
  color: #332044;
  text-decoration: none;
}
.signup-deal:hover { border-color: #9c7acc; text-decoration: none; }
.deal-label { grid-column: 1 / -1; color: #65419a; font: 700 .75rem var(--body); }
.signup-deal strong { font: 700 1.2rem/1.2 var(--head); }
.deal-summary { grid-column: 1 / -1; font-size: .8125rem; color: #594c65; }
.deal-link { grid-area: 2 / 2; font: 700 .875rem var(--head); color: #5734a8; }
.signup-deal:hover .deal-link, .signup-deal:focus-visible .deal-link { text-decoration: underline; }
:focus-visible { outline: 3px solid #6650c2; outline-offset: 2px; }
#verificationBox h1:focus { outline: none; }
#verificationBox p { margin-bottom: 0; overflow-wrap: anywhere; }
.msg.error { color: #951838; }
.msg.ok { color: #096144; }

@media (max-width: 780px) {
  .signup-card { display: block; max-width: 540px; }
  .signup-collage { padding: 10px; gap: 0; }
  .reel-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    aspect-ratio: auto;
  }
  .reel-stack img:is(.history, .motivation, .science) {
    position: static;
    width: 100%;
    height: clamp(75px, 24vw, 115px);
    transform: none;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
  }
  .signup-collage figcaption { display: none; }
}
@media (max-width: 480px) {
  main { align-content: start; }
  .signup-panel { padding: 18px; }
}

/* Inbox help and the "start again" link on the confirmation panel. */
.inbox-tips { padding: 11px 14px; border-radius: 12px; background: #f6f3fd; color: #3d3556; font-size: 14px; line-height: 1.55; }
.start-again { margin-top: 12px; text-align: center; }
.linklike { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: 14px; color: #6744bc; text-decoration: underline; cursor: pointer; min-height: 44px; }
