/*
 * Website alignment for the signup and sign-in pages.
 *
 * Visitors arrive here from sensfrx.ai, so the move from the website to the
 * app should feel like one site. Every value below is copied from the live
 * website's tokens: background #f8faff, ink #050b18, muted #3b4a63, blue
 * #0254ff, hairline borders rgba(13,23,43,.08-.2), Lato 400/700, the sticky
 * blurred header, filled inputs, 20px cards and the gradient pill.
 *
 * Loaded after style.css and scoped to body.sfx-web, so only templates that
 * opt in (signup.html, login.html) change.
 */
body.sfx-web {
  --sfx-bg: #f8faff;
  --sfx-ink: #050b18;
  --sfx-muted: #3b4a63;
  --sfx-blue: #0254ff;
  --sfx-blue-strong: #0144db;
  --sfx-line: rgba(13, 23, 43, 0.08);
  --sfx-line-strong: rgba(13, 23, 43, 0.2);
  --sfx-secondary: #f0f2f8;
  --sfx-field-bg: #f4f6fb;
  --sfx-field-line: #d8e0ef;
  background-color: var(--sfx-bg);
  background-image: radial-gradient(rgba(13, 23, 43, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  font-family: Lato, "Lato Fallback", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--sfx-ink);
  -webkit-font-smoothing: antialiased;
}
.sfx-web section {
  background: transparent;
}

/* ---------- Header: same as the website's top bar ---------- */
.sfx-web .sfx-header {
  position: sticky;
  top: 0;
  z-index: 1010;
  background: rgba(248, 250, 255, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 23, 43, 0.1);
}
.sfx-web .sfx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  height: 72px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 44px);
}
.sfx-web .sfx-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--sfx-ink);
  text-decoration: none;
}
.sfx-web .sfx-wordmark span {
  color: var(--sfx-blue);
}
.sfx-web .sfx-header-link,
.sfx-web .sfx-header-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
}
.sfx-web .sfx-header-link {
  border: 1px solid var(--sfx-line-strong);
  color: var(--sfx-ink);
  background: transparent;
}
.sfx-web .sfx-header-link:hover {
  border-color: rgba(13, 23, 43, 0.35);
  color: var(--sfx-ink);
}
.sfx-web .sfx-header-cta {
  border: 0;
  color: #fff;
  background-image: linear-gradient(#1a63ff, #0254ff);
}
.sfx-web .sfx-header-cta:hover {
  color: #fff;
  background-image: linear-gradient(#0254ff, #0144db);
}

/* ---------- Page layout: drop the old grey band ---------- */
.sfx-web .sign-up-bg,
.sfx-web .login-bg-sec {
  background: none !important;
  margin: 0;
}
.sfx-web .sign-up-new::before {
  display: none;
}
.sfx-web .sign-up-bg > .container {
  padding-top: clamp(16px, 4vw, 48px);
}

/* Left column. */
.sfx-web .sign-up-bg .sign-up-heading {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: left;
  color: var(--sfx-ink);
}
.sfx-web .sign-up-bg .sign-up-subhead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
  color: var(--sfx-muted);
}
.sfx-web .sign-up-bg .sign-up-list {
  font-size: 16px;
  line-height: 1.6;
  color: var(--sfx-muted);
}
.sfx-web .as-hplogos,
.sfx-web .as-review-block {
  font-size: 15px;
  color: var(--sfx-muted);
}
.sfx-web .as-review-block b {
  color: var(--sfx-ink);
}

/* Testimonials: the website's quiet white cards. */
.sfx-web .user-stories {
  background: #fff;
  border: 1px solid var(--sfx-line);
  border-radius: 20px;
  box-shadow: none;
}
.sfx-web .user-stories .testimonial-story,
.sfx-web .user-stories .testimonial-storyn {
  padding-right: 36px; /* clear the decorative quote mark */
  font-size: 16px;
  line-height: 1.65;
  color: var(--sfx-ink);
}
.sfx-web .user-stories .testimonial-name {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  color: var(--sfx-muted);
}

/* Customer logos: an even grid of hairline tiles. */
.sfx-web .client-logo-sec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.sfx-web .client-logo-sec img {
  width: 100%;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--sfx-line);
  border-radius: 12px;
}

/* Integrations strip. */
.sfx-web .sec-client-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sfx-ink);
}

/* ---------- Form card ---------- */
.sfx-web .form-bk {
  margin: 0 0 32px;
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--sfx-line);
  border-radius: 20px;
  box-shadow: none;
}
.sfx-web .form-bk .form-heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left;
  color: var(--sfx-ink) !important;
}
.sfx-web .form-bk .form-subhead {
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  color: var(--sfx-muted) !important;
}
.sfx-web .form-bk .form-subhead b {
  font-weight: 400;
}
.sfx-web .form-bk .form-review {
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  color: var(--sfx-muted);
}
.sfx-web .form-bk a {
  color: var(--sfx-blue);
  font-weight: 700;
  text-decoration: none;
}
.sfx-web .form-bk a:hover {
  text-decoration: underline;
}

/* Labels above fields, like the website's forms. */
.sfx-web .sfx-label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sfx-ink);
}
.sfx-web .sfx-label .sfx-req {
  color: var(--sfx-blue);
}

/* Inputs: filled, 12px corners. */
.sfx-web .form-bk .form-control:not(.form-button) {
  height: 52px;
  padding: 0 15px;
  font-size: 16px;
  font-weight: 400;
  color: var(--sfx-ink);
  background: var(--sfx-field-bg);
  border: 1px solid var(--sfx-field-line);
  border-radius: 12px;
  box-shadow: none;
}
.sfx-web .form-bk .form-control:not(.form-button)::placeholder {
  color: #7a869c;
}
.sfx-web .form-bk .form-control:not(.form-button):focus {
  background: #fff;
  border-color: var(--sfx-blue);
  box-shadow: 0 0 0 3px rgba(2, 84, 255, 0.15);
  outline: none;
}

/* Primary button: the website's gradient pill with the blue glow. */
.sfx-web .form-button {
  height: 54px;
  width: 100%;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 9999px;
  background-color: var(--sfx-blue);
  background-image: linear-gradient(#1a63ff, #0254ff);
  box-shadow: 0 18px 36px -12px rgba(2, 84, 255, 0.55);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #fff;
}
.sfx-web .form-button:hover,
.sfx-web .form-button:focus-visible {
  color: #fff;
  background-image: linear-gradient(#0254ff, #0144db);
}

/* What happens after the click: sets up the magic-link email. */
.sfx-web .sfx-next-step {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--sfx-muted);
}

/* ---------- Plan summary: Apple-checkout scale ----------
   The plan name and price are the hero (large, bold, tight tracking); the
   allowances sit underneath as small labelled facts. */
.sfx-web .sfx-plan {
  margin: 4px 0 24px;
  padding: 22px 24px 20px;
  background: var(--sfx-secondary);
  border: 1px solid var(--sfx-line);
  border-radius: 18px;
}
.sfx-web .sfx-plan p {
  margin: 0;
}
.sfx-web .sfx-plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.sfx-web .sfx-plan-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--sfx-muted);
}
.sfx-web .form-bk a.sfx-plan-change {
  font-size: 15px;
  font-weight: 700;
  color: var(--sfx-blue);
}
.sfx-web .sfx-plan-name {
  margin-top: 6px !important;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sfx-ink);
}
.sfx-web .sfx-plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 10px !important;
}
.sfx-web .sfx-plan-amount {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--sfx-ink);
}
.sfx-web .sfx-plan-per {
  font-size: 19px;
  font-weight: 400;
  color: var(--sfx-muted);
}
.sfx-web .sfx-plan-was {
  flex-basis: 100%;
  font-size: 17px;
  color: var(--sfx-muted);
}
.sfx-web .sfx-plan-note {
  margin-top: 10px !important;
  font-size: 15px;
  color: var(--sfx-muted);
}
.sfx-web .sfx-plan-note--good {
  font-weight: 700;
  color: #127a3e;
}
.sfx-web .sfx-plan-upsell {
  margin-top: 14px !important;
  font-size: 15px;
  color: var(--sfx-muted);
}
.sfx-web .form-bk .sfx-plan-upsell a {
  font-weight: 700;
}
.sfx-web .sfx-plan-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--sfx-line);
}
.sfx-web .sfx-plan-facts dt {
  font-size: 13px;
  font-weight: 400;
  color: var(--sfx-muted);
}
.sfx-web .sfx-plan-facts dd {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--sfx-ink);
}

/* ---------- Small screens ---------- */
@media only screen and (max-width: 600px) {
  .sfx-web .sfx-header-inner {
    height: 60px;
  }
  .sfx-web .sign-up-bg .sign-up-heading {
    font-size: 36px;
  }
  .sfx-web .sign-up-bg .sign-up-subhead {
    font-size: 16px;
  }
  .sfx-web .form-bk .form-heading {
    font-size: 24px;
  }
  .sfx-web .sec-client-heading {
    font-size: 24px;
  }
  .sfx-web .client-logo-sec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sfx-web .sfx-plan-amount {
    font-size: 40px;
  }
  .sfx-web .sfx-plan-name {
    font-size: 24px;
  }
}
