/*
 * SIGNUP / SIGNUP-COMPLETE card (web/js/signup.js).
 *
 * Owned by the F-UI lane -- do not add rules to screens.css for this
 * view; everything for #/signup lives here so this lane never collides
 * with the concurrent stream that owns screens.css and the other view
 * modules. Built only from tokens.css + the existing .btn/.panel/.badge/
 * .chamfer/.eyebrow primitives in base.css/components.css -- no new
 * visual language invented, same rule signin.js's own comment states for
 * the sign-in card.
 *
 * LAYOUT: .outlet (app.css) is `flex: 1` inside a column-flex shell, so
 * .signup can stretch to fill the remaining viewport height and center
 * its card both ways -- this is what removes the ~500px dead void the
 * old bare <dl> left below it, with no page-height hacks.
 */

.signup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: var(--sp-16) var(--gutter-desktop);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(0, 224, 255, .07), transparent 70%),
    radial-gradient(50% 40% at 85% 100%, rgba(255, 61, 87, .05), transparent 70%);
}

.signup-card {
  width: 100%;
  max-width: 560px;
  padding: var(--sp-13) var(--sp-12) var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.signup-card__eyebrow { text-align: center; }

.signup-card__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: .96;
  text-align: center;
  color: var(--text-hi);
}

.signup-card__subhead {
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  color: var(--text-2);
}

/* ---- pricing badge --------------------------------------------------*/
.signup-card__tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-7) 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .08);
}
.signup-card__tier-badge {
  font-size: 13.5px;
  padding: 9px 18px;
}
.signup-card__tier-sep { opacity: .6; }
.signup-card__tier-note {
  max-width: 42ch;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-mute);
}

/* ---- benefit bullets --------------------------------------------------*/
.signup-card__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.signup-card__benefits li {
  position: relative;
  padding-left: var(--sp-8);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-3);
}
.signup-card__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  background: linear-gradient(120deg, var(--live), var(--live-2));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ---- form ------------------------------------------------------------*/
.signup-card__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.signup-card__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.signup-card__field label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.signup-card__input {
  --r: var(--r-badge);
  padding: 15px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-hi);
  transition: box-shadow var(--dur-ring-bloom) ease;
}
.signup-card__input::placeholder { color: var(--text-faint); }
.signup-card__input:hover,
.signup-card__input:focus {
  box-shadow: inset 0 0 0 1px rgba(0, 224, 255, .75), 0 0 40px -8px rgba(0, 224, 255, .35);
}
.signup-card__status {
  min-height: 1.4em;
  font-size: 14.5px;
  color: var(--text-mute);
}
.signup-card__status:empty { display: none; }

/* ---- result notices ---------------------------------------------------*/
.signup-card__result:empty { display: none; }
.signup-card__notice {
  padding: var(--sp-6) var(--sp-7);
  --r: var(--r-badge);
  font-size: 15px;
  line-height: 1.5;
}
.signup-card__notice--info {
  background: linear-gradient(150deg, rgba(0, 224, 255, .1), rgba(255, 255, 255, .014));
  box-shadow: inset 0 0 0 1px rgba(0, 224, 255, .28);
  color: var(--live-lit);
}
.signup-card__notice--warn {
  background: linear-gradient(150deg, rgba(255, 176, 32, .12), rgba(255, 255, 255, .014));
  box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .32);
  color: var(--v-warn-lit, #FFD98A);
}
.signup-card__notice--go { padding: 0; background: none; box-shadow: none; }

/* ---- trust line + token (signup-complete) -----------------------------*/
/* legal small print, not debug output -- it was mono/10.5px/ghost and read
   as a developer footnote under a $19.99 button. Body face, legible size. */
.signup-card__trust {
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
  color: var(--text-mute);
}
.signup-card__token {
  display: block;
  padding: var(--sp-7);
  --r: var(--r-badge);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: .04em;
  text-align: center;
  color: var(--text-hi);
  word-break: break-all;
}

@media (max-width: 899px) {
  .signup { padding: var(--sp-13) var(--gutter-mobile); }
  .signup-card { padding: var(--sp-11) var(--sp-8) var(--sp-9); gap: var(--sp-7); }
}
