/* Findevor Finance | 2026 Cash & Tax Opportunity Package | v4.0
   Benefit-first offer followed by a separate form. Scoped to fct- only. */
.fct-launcher,
.fct-dialog,
.fct-dialog * {
  box-sizing: border-box;
}
.fct-launcher[hidden],
.fct-dialog [hidden] {
  display: none !important;
}
html.fct-modal-open {
  overflow: hidden;
}
.fct-launcher {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 12px 15px;
  background: #fff;
  color: #12233f;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  box-shadow: 0 8px 32px #10233f23;
  font-family: var(--font, "Avenir Next", "Segoe UI", Arial, sans-serif);
  text-align: left;
  line-height: 1.35;
  cursor: pointer;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.fct-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 38px #10233f2f;
}
.fct-launcher:focus-visible {
  outline: 3px solid #285fe5;
  outline-offset: 4px;
}
.fct-launcher-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 40px;
  border-radius: 9px;
  background: #eaf3ff;
  color: #285fe5;
  flex-shrink: 0;
}
.fct-launcher-icon svg {
  width: 21px;
  height: 21px;
}
.fct-launcher-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fct-launcher-copy strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.fct-launcher-copy small {
  font-size: 11px;
  color: #586a7f;
}
.fct-launcher-arrow {
  color: #285fe5;
  margin-left: 4px;
  font-size: 18px;
}
.fct-dialog {
  --fct-ink: #122746;
  --fct-muted: #526276;
  --fct-blue: #285fe5;
  --fct-line: #dfe7f0;
  color: var(--fct-ink);
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 20px;
  padding: 0;
  margin: auto;
  width: min(820px, calc(100vw - 44px));
  max-width: 820px;
  max-height: calc(100vh - 38px);
  max-height: calc(100dvh - 38px);
  overflow: hidden;
  box-shadow:
    0 28px 90px #05152c45,
    0 2px 12px #05152c1a;
  font-family: var(--font, "Avenir Next", "Segoe UI", Arial, sans-serif);
  line-height: 1.5;
  font-size: 16px;
  text-align: left;
}
.fct-dialog::backdrop {
  background: #071a329c;
  backdrop-filter: blur(4px);
}
.fct-dialog[open] {
  animation: fct-enter 0.22s cubic-bezier(0.19, 0.74, 0.3, 1);
}
@keyframes fct-enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fct-dialog :is(button, input, select, a, summary):focus-visible {
  outline: 3px solid #4e91f9;
  outline-offset: 3px;
}
.fct-dialog button,
.fct-dialog input,
.fct-dialog select {
  font-family: inherit;
}
.fct-dialog button {
  cursor: pointer;
}
.fct-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px 12px 30px;
  background: #fff;
  border-bottom: 1px solid var(--fct-line);
}
.fct-brand-group {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.fct-wordmark {
  display: flex;
  align-items: center;
  min-height: 30px;
}
.fct-wordmark img {
  display: block;
  width: 138px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
}
.fct-wordmark-fallback {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
}
.fct-brand-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #66758b;
  padding-left: 15px;
  border-left: 1px solid #dce4ed;
}
.fct-header-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.fct-offer-tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 750;
  color: #526780;
  padding: 7px 9px;
  background: #f6f8fb;
  border: 1px solid #e6ecf3;
  border-radius: 5px;
  white-space: nowrap;
}
.fct-offer-tag-form {
  display: none;
}
.fct-dialog[data-step="form"] .fct-offer-tag-form {
  display: inline-flex;
}
.fct-dialog[data-step="form"] .fct-offer-tag-offer {
  display: none;
}
.fct-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 50%;
  color: #526276;
  transition: background 0.15s;
}
.fct-close svg {
  width: 16px;
  height: 16px;
}
.fct-close:hover {
  background: #f1f4f7;
  color: #11243f;
}
.fct-scroll {
  max-height: calc(100vh - 108px);
  max-height: calc(100dvh - 108px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #b7c6d8 transparent;
}
.fct-layout {
  display: block;
}
.fct-dialog[data-step="offer"] .fct-entry {
  display: none !important;
}
.fct-dialog[data-step="form"] .fct-story {
  display: none !important;
}
/* Five-second offer: one outcome, one price, one additional benefit, one action. */
.fct-story {
  background: #fff;
}
.fct-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #0c2243 0%, #112e52 76%, #153a5d 100%);
  color: white;
  padding: 31px 38px 33px;
}
.fct-hero-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 430px 330px at 95% 8%,
    #49a9eb24,
    transparent 74%
  );
}
.fct-package-name {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.15em;
  color: #a4cddd;
  line-height: 1.4;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.fct-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 222px;
  align-items: center;
  gap: 28px;
}
.fct-hero-message {
  min-width: 0;
}
.fct-story h2 {
  font-size: clamp(36px, 4.5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 650;
  color: white;
  margin: 0 0 18px;
  max-width: 475px;
  text-wrap: balance;
}
.fct-story h2 strong {
  color: #9feafa;
  font-weight: 700;
}
.fct-story-lead {
  color: #c8d7e8;
  font-size: 13px;
  line-height: 1.65;
  max-width: 405px;
  margin: 0;
}
.fct-story-lead strong {
  color: white;
  font-weight: 750;
}
.fct-price-panel {
  min-height: 192px;
  padding: 21px 14px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(140deg, #b6f5fc, #97e5f3);
  box-shadow: inset 0 1px 0 #ffffffa1;
  color: #0b2d4c;
  text-align: center;
}
.fct-price-zero {
  font-size: 104px;
  font-weight: 750;
  line-height: 0.95;
  letter-spacing: -0.06em;
  padding-right: 0.04em;
  font-variant-numeric: tabular-nums;
}
.fct-price-extra {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0.015em;
  font-weight: 750;
  margin: 9px 0 4px;
}
.fct-price-caption {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 650;
  line-height: 1.4;
}
.fct-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 38px 17px;
  background: #fff;
}
.fct-bonus {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.fct-bonus-pill {
  flex-shrink: 0;
  padding: 5px 8px;
  background: #edf4fc;
  color: #2d5caa;
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 1px;
}
.fct-bonus > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fct-bonus strong {
  color: #102a4c;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}
.fct-bonus div > span {
  color: #5b6d83;
  font-size: 12px;
  line-height: 1.5;
}
.fct-next,
.fct-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 13px 21px;
  border: 1px solid #285fe5;
  border-radius: 9px;
  background: #285fe5;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.fct-next {
  flex: 0 0 230px;
  box-shadow: 0 4px 14px #285fe520;
}
.fct-next:hover,
.fct-submit:hover {
  background: #174cce;
  box-shadow: 0 9px 23px #285fe53b;
}
.fct-next svg,
.fct-submit svg {
  width: 17px;
  height: 17px;
}
.fct-eligibility-short {
  font-size: 11px;
  line-height: 1.5;
  color: #62738a;
  margin: 0;
  padding: 0 38px 21px;
}
.fct-entry {
  padding: 23px 34px 26px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.fct-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  border: 0;
  background: none;
  color: #42638b;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 3px 8px 0;
  min-height: 36px;
  margin: 0 0 14px;
}
.fct-back:hover {
  color: #285fe5;
}
.fct-back svg {
  width: 16px;
  height: 16px;
}
.fct-form-eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: #285fe5;
  margin: 0 0 9px;
}
.fct-form-title {
  color: #11243f;
  font-size: 31px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}
.fct-form-intro {
  color: #5d6d80;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 540px;
}
.fct-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fct-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 0 15px;
}
.fct-field label {
  color: #364964;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 7px;
  display: block;
}
.fct-field input,
.fct-field select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  background: #fbfcff;
  color: #142941;
  border: 1px solid #d0dce9;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 1px 2px #11243f03;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.fct-field input::placeholder {
  color: #7d8a9c;
  opacity: 1;
}
.fct-field select {
  padding-right: 25px;
}
.fct-field :is(input, select):focus {
  outline: 3px solid #285fe520;
  outline-offset: 0;
  border-color: #285fe5;
}
.fct-field :is(input, select)[aria-invalid="true"] {
  border-color: #b23c36;
}
.fct-submit {
  width: 100%;
  margin: 7px 0 0;
}
.fct-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.fct-submit[aria-busy="true"] {
  cursor: progress;
}
.fct-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #667892;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  margin: 10px 0 0;
}
.fct-form-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.fct-notice {
  color: #67778a;
  font-size: 11px;
  line-height: 1.65;
  margin: 15px 0 0;
}
.fct-notice a,
.fct-availability a {
  color: #2456bf;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fct-terms {
  margin-top: 17px;
  border-top: 1px solid #e2e8ef;
  padding-top: 2px;
}
.fct-terms summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  color: #455f7c;
  font-size: 12px;
  font-weight: 700;
}
.fct-terms summary::-webkit-details-marker {
  display: none;
}
.fct-terms summary:after {
  content: "+";
  font-size: 19px;
  color: #60738d;
  font-weight: 400;
}
.fct-terms[open] summary:after {
  content: "−";
}
.fct-terms p {
  font-size: 11px;
  line-height: 1.7;
  color: #5c6b80;
  margin: 0 0 11px;
}
.fct-terms strong {
  font-weight: 700;
  color: #34455d;
}
.fct-status {
  color: #9f352c;
  background: #fff6f4;
  border: 1px solid #f0d4cf;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.55;
  padding: 10px 12px;
  margin: 0 0 12px;
}
.fct-status:empty {
  display: none;
}
.fct-preview-note,
.fct-availability {
  font-size: 11px;
  line-height: 1.6;
  padding: 9px 12px;
  margin: 0 0 17px;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  color: #526276;
  background: #f5f7fa;
}
.fct-availability {
  background: #fff9ed;
  border-color: #eadcbf;
  color: #71561e;
}
.fct-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}
.fct-result {
  padding-block: 25px 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin: 0;
}
.fct-result-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid #d5e2fa;
  border-radius: 50%;
  background: #f0f5ff;
  color: #285fe5;
}
.fct-result-icon svg {
  width: 24px;
  height: 24px;
}
.fct-result-title {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #11243f;
  font-weight: 650;
  margin: 0;
}
.fct-result-copy {
  font-size: 14px;
  color: #526276;
  line-height: 1.75;
  margin: 0;
}
.fct-result-next {
  width: 100%;
  padding: 14px 0;
  border-block: 1px solid #e2e8ef;
  margin: 2px 0;
  color: #526276;
  font-size: 12px;
  line-height: 1.75;
}
.fct-result-next strong {
  display: block;
  color: #243e60;
  font-size: 11px;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.fct-result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 5px;
}
.fct-result-primary,
.fct-result-secondary {
  min-height: 44px;
  border-radius: 7px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.fct-result-primary {
  border: 1px solid #285fe5;
  background: #285fe5;
  color: #fff;
}
.fct-result-secondary {
  border: 1px solid #d1dce8;
  background: #fff;
  color: #334d6d;
}
.fct-dialog [tabindex="-1"]:focus {
  outline: none !important;
}
.fct-dialog[data-step="form"] {
  width: min(600px, calc(100vw - 44px));
}
.fct-price-currency {
  font-size: 0.63em;
  vertical-align: 0.14em;
  letter-spacing: -0.08em;
  margin-right: 1px;
}
.fct-story-lead .fct-enroll {
  display: block;
}
.fct-next:active,
.fct-submit:active {
  background: #123fba;
  box-shadow: 0 2px 6px #285fe51c;
}
.fct-next svg {
  transition: transform 0.16s;
}
.fct-next:hover svg {
  transform: translateX(3px);
}
.fct-dialog input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #f6f9ff inset;
  -webkit-text-fill-color: #142941;
}
@media (max-width: 720px) {
  .fct-dialog,
  .fct-dialog[data-step="form"] {
    width: min(520px, calc(100vw - 22px));
    border-radius: 18px;
    max-height: calc(100vh - 22px);
    max-height: calc(100dvh - 22px);
  }
  .fct-header {
    min-height: 64px;
    padding: 9px 10px 9px 20px;
  }
  .fct-wordmark img {
    width: 124px !important;
  }
  .fct-brand-group {
    gap: 12px;
  }
  .fct-brand-label {
    font-size: 9px;
    padding-left: 12px;
  }
  .fct-header-right {
    gap: 8px;
  }
  .fct-offer-tag {
    font-size: 9px;
    padding: 6px 7px;
  }
  .fct-close {
    width: 44px;
    height: 44px;
  }
  .fct-scroll {
    max-height: calc(100vh - 86px);
    max-height: calc(100dvh - 86px);
  }
  .fct-hero {
    padding: 25px 25px 25px;
  }
  .fct-package-name {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-bottom: 17px;
  }
  .fct-story h2 {
    font-size: clamp(32px, 8.6vw, 42px);
    margin-bottom: 13px;
  }
  .fct-story-lead {
    font-size: 12px;
    line-height: 1.65;
  }
  .fct-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fct-price-panel {
    width: 100%;
    min-height: 100px;
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-rows: auto auto;
    column-gap: 22px;
    text-align: left;
    justify-content: start;
    align-content: center;
    padding: 13px 25px;
    border-radius: 12px;
  }
  .fct-price-zero {
    font-size: 74px;
    line-height: 1;
    grid-row: 1/3;
    align-self: center;
  }
  .fct-price-extra {
    font-size: 22px;
    margin: 0;
    align-self: end;
  }
  .fct-price-caption {
    font-size: 9px;
    align-self: start;
  }
  .fct-bottom {
    padding: 21px 25px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
  .fct-bonus {
    gap: 9px;
  }
  .fct-bonus strong {
    font-size: 14px;
  }
  .fct-bonus div > span {
    font-size: 11px;
  }
  .fct-next {
    flex: none;
    width: 100%;
    min-height: 51px;
  }
  .fct-eligibility-short {
    padding: 0 25px 20px;
    font-size: 10px;
    text-align: center;
  }
  .fct-entry {
    padding: 16px 25px 22px;
  }
  .fct-back {
    margin: 0 0 12px;
  }
  .fct-form-title {
    font-size: 27px;
  }
  .fct-form-intro {
    font-size: 13px;
    margin-bottom: 21px;
  }
  .fct-fields-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .fct-field {
    margin-bottom: 14px;
  }
  .fct-field label {
    font-size: 12px;
  }
  .fct-field input,
  .fct-field select {
    font-size: 16px;
    min-height: 48px;
  }
  .fct-notice {
    font-size: 11px;
  }
  .fct-form-note {
    font-size: 10px;
  }
  .fct-launcher {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 10px 12px;
    gap: 9px;
  }
  .fct-launcher-copy strong {
    font-size: 12px;
  }
  .fct-launcher-copy small {
    font-size: 10px;
  }
  .fct-launcher-icon {
    width: 33px;
    height: 35px;
  }
}
@media (max-width: 370px) {
  .fct-dialog,
  .fct-dialog[data-step="form"] {
    width: calc(100vw - 16px);
  }
  .fct-header {
    padding-left: 17px;
  }
  .fct-brand-label {
    display: none;
  }
  .fct-hero {
    padding: 20px 20px 20px;
  }
  .fct-story h2 {
    font-size: 32px;
    margin-bottom: 9px;
  }
  .fct-package-name {
    font-size: 8px;
    letter-spacing: 0.1em;
    margin-bottom: 11px;
  }
  .fct-hero-grid {
    gap: 12px;
  }
  .fct-price-panel {
    min-height: 78px;
    padding: 8px 20px;
    column-gap: 15px;
  }
  .fct-price-zero {
    font-size: 62px;
  }
  .fct-price-extra {
    font-size: 17px;
  }
  .fct-price-caption {
    font-size: 8px;
  }
  .fct-bottom {
    padding: 14px 20px 8px;
    gap: 11px;
  }
  .fct-eligibility-short {
    padding: 0 20px 13px;
    font-size: 9px;
  }
  .fct-entry {
    padding: 21px 21px 23px;
  }
  .fct-form-title {
    font-size: 25px;
  }
  .fct-offer-tag-offer {
    display: inline-flex;
    font-size: 8px;
    letter-spacing: 0.06em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fct-dialog[open] {
    animation: none;
  }
  .fct-next:hover svg {
    transform: none;
  }
  .fct-dialog *,
  .fct-launcher {
    transition: none !important;
  }
  .fct-launcher:hover {
    transform: none;
  }
}
@media print {
  .fct-launcher,
  .fct-dialog {
    display: none !important;
  }
}
