:root {
  --fs-primary: #2b4f81;
  --fs-primary-dark: #203d66;
  --fs-accent: #5ca6dc;
  --fs-gold: #b59a62;
  --fs-text: #243247;
  --fs-muted: #718096;
  --fs-border: #e5eaf0;
  --fs-bg: #f7f9fc;
}

/* ===== GOOGLE FONTS ===== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500&display=swap");

.swal2-container {
    z-index: 200000 !important;
}

/* ===== FLOAT WRAPPER ===== */
.full-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(14px);
  animation: fsFadeIn 0.9s ease-out forwards;
  animation-delay: 3.5s;
}

/* ===== MAIN CIRCLE CTA ===== */
.full-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  position: relative;

  background: radial-gradient(
    circle at 30% 30%,
    #f6e9c8,
    #d4af37 70%
  );

  box-shadow:
    0 12px 26px rgba(0,0,0,0.28),
    inset 0 2px 4px rgba(255,255,255,0.6),
    inset 0 -5px 10px rgba(0,0,0,0.18);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.full-circle:hover {
  transform: scale(1.06);
  box-shadow:
    0 16px 32px rgba(0,0,0,0.35),
    inset 0 2px 5px rgba(255,255,255,0.7);
}

.full-circle:active {
  transform: scale(0.98);
}

/* ===== OUTER RING ===== */
.full-ring {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  box-shadow: inset 0 0 0 1px rgba(180,140,40,0.45);
  pointer-events: none;
}

/* ===== CURVED TITLE ===== */
.fs-arc {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.fs-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: #3a2f12;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
}

/* ===== CENTER CONTENT ===== */
.fs-center {
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
}

.fs-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.fs-text {
  font-size: 12px;
  line-height: 1.25;
  color: #1f1f1f;
  opacity: 0.9;
}

.fs-text div {
  white-space: nowrap;
}

/* ===== CTA MICRO TEXT ===== */
.fs-cta {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b5a2a;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.full-circle:hover .fs-cta {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* ===== FADE IN ===== */
@keyframes fsFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .full-circle {
    width: 115px;
    height: 115px;
  }

  .fs-title {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .fs-icon {
    font-size: 18px;
  }

  .fs-text {
    font-size: 10.5px;
  }


  .fs-cta {
    font-size: 10px;
    bottom: 14px;
  }
}

.fs-upgrade-trigger {
  background: var(--fs-primary);
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 14px 24px;
  font-weight: 600;
  cursor: pointer;
}

.fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(14, 27, 44, .62);
  backdrop-filter: blur(5px);
}

.fs-overlay.open {
  display: flex;
}

.fs-modal {
  width: min(760px, 100%);
  max-height: min(92vh, 900px);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 90px rgba(0,0,0,.25);
  animation: fsEnter .22s ease-out;
}

@keyframes fsEnter {
  from { opacity: 0; transform: translateY(12px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}



.fs-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 55px;
  border-bottom: 1px solid rgba(180,140,40,0.2);
  background: linear-gradient(180deg, #fffdf8, #fff);
}

.fs-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}
.fs-toprow {
position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 18px;
}

.fs-close-fp {
    position: static;
    transform: none;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1px solid #e8e2d5;
    border-radius: 50%;
    background: transparent;
    color: #999;
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fs-close:hover {
    border-color: #c5a96b;
    color: #333;
}

.fs-brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f6e9c8, #d4af37 75%);
  box-shadow:
    0 3px 8px rgba(0,0,0,0.13),
    inset 0 1px 3px rgba(255,255,255,0.7);
  display: grid;
  place-items: center;
  color: #59451b;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}

.fs-brand-emblem::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 50%;
  pointer-events: none;
}

.fs-brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.fs-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  color: #302819;
}

.fs-brand-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #987a36;
}

.fs-brand-line {
  width: 15px;
  height: 1px;
  background: #d4af37;
  opacity: 0.7;
}

/* Close button */
.fs-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid #e8e2d5;
  border-radius: 50%;
  background: transparent;
  color: #999;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fs-close:hover {
  color: #59451b;
  border-color: #d4af37;
  background: #faf5e9;
}

@media (max-width: 600px) {
  .fs-header {
    padding: 15px 45px;
  }

  .fs-brand-emblem {
    width: 36px;
    height: 36px;
  }

  .fs-brand-name {
    font-size: 16px;
  }

  .fs-brand-sub {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .fs-close {
    right: 12px;
    width: 27px;
    height: 27px;
  }
}


.fs-progress {
  padding: 16px 30px 13px;
  background: #fcfdff;
  border-bottom: 1px solid var(--fs-border);
}

.fs-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fs-primary);
  margin-bottom: 9px;
}

#fsStepCount {
  font-size: 10px;
  letter-spacing: 1px;
  color: #98a3b2;
}

.fs-progress-track {
  height: 4px;
  background: #e8edf4;
  border-radius: 5px;
  overflow: hidden;
}

#fsProgressFill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--fs-primary), var(--fs-accent));
  transition: width .3s ease;
}

.fs-step-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #9aa4b2;
  font-size: 10px;
}

.fs-step-labels span.active {
  color: var(--fs-primary);
  font-weight: 700;
}

.fs-content {
  overflow-y: auto;
  padding: 28px 34px;
  flex: 1;
}

.fs-step { display: none; }
.fs-step.active { display: block; }

.fs-eyebrow-fp {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--fs-gold);
  margin-bottom: 11px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.fs-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--fs-gold);
  margin-bottom: 11px;
}

.fs-step h1,
.fs-step h2 {
  color: var(--fs-text);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: -.8px;
  margin: 0 0 13px;
}

.fs-step h1 em {
  color: var(--fs-primary);
  font-family: Georgia, serif;
  font-weight: 500;
}

.fs-step h2 { font-size: 27px; }
.fs-step .center { text-align: center; }

.fs-lead {
  color: #69788b;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 610px;
}


.fs-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 24px 0;
}

.fs-benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 16px;
  min-height: 166px;
  background: linear-gradient(145deg, #fff, #f8fbff);
  border: 1px solid #e7edf4;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.fs-benefit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 15px;
}

.fs-benefit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #edf5fc;
  color: var(--fs-primary);
}

.fs-benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs-benefit-step {
  color: #91a0b1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.fs-benefit strong {
  display: block;
  color: var(--fs-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 6px;
}

.fs-benefit small {
  display: block;
  color: var(--fs-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

/* Final outcome */
.fs-benefit-success {
  background: linear-gradient(145deg, #f7fbff, #edf5fc);
  border-color: #cbdced;
  box-shadow: 0 2px 8px rgba(43, 79, 129, .055);
}

.fs-benefit-success .fs-benefit-icon {
  background: #dcebe1;
  color: #32764d;
}

.fs-benefit-success .fs-benefit-step {
  color: #42805a;
}

.fs-benefit-success strong {
  color: #203d66;
}

.fs-benefit-result {
  display: block;
  margin-top: 11px;
  padding-top: 9px;
  width: 100%;
  border-top: 1px solid #d8e5f1;
  color: #2b4f81;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .1px;
}

@media (max-width: 600px) {
  .fs-benefits {
    grid-template-columns: 1fr;
  }

  .fs-benefit {
    min-height: auto;
  }
}

.fs-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 17px 19px;
  margin-bottom: 25px;
  background: #f4f8fc;
  border: 1px solid #dce7f2;
  border-radius: 13px;
  position: relative;
}

.fs-guarantee-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4edf7;
  color: var(--fs-primary);
}

.fs-guarantee-icon svg {
  width: 22px;
  height: 22px;
}

.fs-guarantee-copy {
  min-width: 0;
  padding-top: 1px;
}

.fs-guarantee-kicker {
  display: block;
  margin-bottom: 5px;
  color: #64809e;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fs-guarantee strong {
  display: block;
  color: #263f5d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.fs-guarantee p {
  margin: 5px 0 0;
  color: #65778b;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .fs-modal.sales-active .fs-step[data-step="0"] .fs-guarantee {
    padding: 14px;
    gap: 12px;
  }

  .fs-modal.sales-active .fs-step[data-step="0"] .fs-guarantee-icon {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
  }

  .fs-modal.sales-active .fs-step[data-step="0"] .fs-guarantee strong {
    font-size: 13px;
  }
}

.fs-household-heading {
  margin-bottom: 13px;
}

.fs-household-heading strong,
.fs-household-heading small {
  display: block;
}

.fs-household-heading strong {
  color: var(--fs-text);
  font-size: 14px;
}

.fs-household-heading small {
  color: var(--fs-muted);
  font-size: 12px;
  margin-top: 4px;
}

.fs-household-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fs-household {
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 11px;
  padding: 15px 8px;
  cursor: pointer;
  color: var(--fs-text);
  text-align: center;
  transition: .15s ease;
}

.fs-household:hover {
  border-color: #a7c4e3;
  background: #fbfdff;
}

.fs-household.selected {
  border: 1.5px solid var(--fs-primary);
  background: #f2f7fd;
  box-shadow: 0 0 0 2px rgba(43,79,129,.06);
}

.fs-household-icon {
  display: block;
  color: var(--fs-primary);
  font-size: 23px;
  margin-bottom: 8px;
}

.fs-household strong,
.fs-household small {
  display: block;
}
.fam-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.fam-icon svg {
    width: 24px;
    height: 24px;
}

.fs-household strong { font-size: 13px; }
.fs-household small {
  font-size: 11px;
  color: var(--fs-muted);
  margin-top: 4px;
}

.fs-children-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 12px 14px;
  border: 1px solid var(--fs-border);
  border-radius: 9px;
  font-size: 13px;
  color: var(--fs-text);
}

.fs-counter {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fs-counter button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--fs-border);
  background: white;
  border-radius: 7px;
  color: var(--fs-primary);
  cursor: pointer;
  font-size: 17px;
  padding: 0px;
}

.fs-counter span {
  min-width: 12px;
  text-align: center;
  font-weight: 700;
}

.fs-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f7fb;
  border: 1px solid #e4ebf4;
  border-radius: 11px;
  padding: 15px 18px;
  margin-top: 18px;
}

.fs-price-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--fs-text);
}

.fs-price-note {
  color: var(--fs-muted);
  font-size: 11px;
  margin-top: 4px;
}

.fs-price-amount {
  color: var(--fs-primary);
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.5px;
}

.fs-price-footnote {
  text-align: right;
  font-size: 10px;
  color: var(--fs-muted);
  margin-top: 7px;
}

.fs-account-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin-top: 22px;
}

.fs-account-panel {
    padding: 23px;
    border: 1px solid #e1e7ef;
    border-radius: 13px;
    background: #fff;
    min-width: 0;
}

.fs-register-panel {
    background: #f8fafc;
}

.fs-account-heading {
    margin-bottom: 21px;
}

.fs-account-heading h3 {
    margin: 0 0 6px;
    color: var(--fs-blue);
    font-size: 19px;
    font-weight: 700;
}

.fs-account-heading p {
    margin: 0;
    color: #718096;
    font-size: 13px;
    line-height: 1.5;
}

.fs-account-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fs-account-panel .fs-field {
    margin-bottom: 15px;
}

.fs-account-panel .fs-field label {
    display: block;
    margin-bottom: 6px;
    color: #43536a;
    font-size: 12px;
    font-weight: 650;
}

.fs-account-panel .fs-field input {
    width: 100%;
    box-sizing: border-box;
    height: 43px;
    padding: 0 11px;
    border: 1px solid #dce3ec;
    border-radius: 7px;
    background: #fff;
    color: #26364a;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.fs-account-panel .fs-field input:focus {
    border-color: var(--fs-accent);
    box-shadow: 0 0 0 3px rgba(92,166,220,.13);
}

.fs-account-button {
    width: 100%;
    min-height: 45px;
    margin-top: 5px;
    border: 0;
    border-radius: 8px;
    background: var(--fs-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.fs-account-button:hover {
    background: #203e68;
}

.fs-account-button:active {
    transform: translateY(1px);
}

@media (max-width: 650px) {
    .fs-account-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fs-account-panel {
        padding: 19px;
    }
}


/* ===== ACCOUNT SUCCESS ===== */

.fs-account-success {
  max-width: 540px;
  margin: 8px auto 20px;
  padding: 30px 32px;
  text-align: center;
  background: linear-gradient(145deg, #ffffff, #f7fbf8);
  border: 1px solid #dcebe1;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(34, 91, 57, .06);
}

.fs-success-check {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: #e5f4e9;
  border: 1px solid #cce7d4;
  box-shadow: 0 0 0 7px rgba(68, 153, 94, .07);
}

.fs-success-check svg {
  width: 43px;
  height: 43px;
  stroke: #27834b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs-account-success h3 {
  margin: 0 0 8px;
  color: #244c34;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.4px;
}

.fs-success-logged {
  margin: 0 0 25px;
  color: var(--fs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.fs-success-logged strong {
  color: var(--fs-text);
  font-weight: 700;
}

/* Email information */

.fs-account-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid #e6edf1;
  border-radius: 11px;
}

.fs-account-info-icon {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #edf4fb;
  color: var(--fs-primary);
}

.fs-account-info-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs-account-info strong,
.fs-account-info span,
.fs-account-info b {
  display: block;
}

.fs-account-info strong {
  margin-bottom: 3px;
  color: var(--fs-text);
  font-size: 12px;
}

.fs-account-info span {
  color: var(--fs-muted);
  font-size: 11px;
  line-height: 1.5;
}

.fs-account-info b {
  margin-top: 3px;
  color: var(--fs-primary);
  font-size: 12px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* Security reassurance */

.fs-account-secure {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
  padding: 15px 16px;
  text-align: left;
  background: #f1f7f3;
  border: 1px solid #e0ede4;
  border-radius: 11px;
}

.fs-account-secure > svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  stroke: #398055;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs-account-secure strong,
.fs-account-secure span {
  display: block;
}

.fs-account-secure strong {
  margin-bottom: 4px;
  color: #315d40;
  font-size: 12px;
}

.fs-account-secure span {
  color: #647a6b;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 550px) {
  .fs-account-success {
    padding: 24px 17px;
  }

  .fs-success-check {
    width: 64px;
    height: 64px;
  }

  .fs-account-info,
  .fs-account-secure {
    padding: 13px;
  }
}

.fs-login-error {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  padding: 11px 13px;
  background: #fff5f4;
  border: 1px solid #f2d5d2;
  border-radius: 9px;
  color: #a33c35;
  animation: fsErrorIn .2s ease-out;
}

.fs-login-error.show {
  display: flex;
}

.fs-login-error-icon {
  display: grid;
  place-items: center;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f8dfdc;
  color: #a33c35;
  font-size: 12px;
  font-weight: 800;
}

.fs-login-error-content {
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
}

.fs-login-error-content a {
  display: inline-block;
  margin-top: 4px;
  color: #2b4f81;
  font-size: 11px;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
}

@keyframes fsErrorIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.fs-upload-note {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: #f1f7fc;
  margin: 20px auto;
  width: 300px;
}

.fs-upload-note strong,
.fs-upload-note small {
  display: block;
}

.fs-upload-note strong {
  font-size: 12px;
  color: var(--fs-primary);
}

.fs-upload-note small {
  font-size: 11px;
  color: var(--fs-muted);
  margin-top: 3px;
}

.fs-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--fs-text);
  margin: 22px 0 12px;
}

.fs-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.fs-file-card {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 73px;
  padding: 12px;
  border: 1px solid var(--fs-border);
  border-radius: 10px;
  cursor: pointer;
  transition: .15s;
}

.fs-file-card:hover {
  border-color: #a7c4e3;
  background: #fbfdff;
}

.fs-file-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}

.fs-file-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #edf4fb;
  color: var(--fs-primary);
  font-size: 17px;
}

.fs-file-card strong,
.fs-file-card small {
  display: block;
}

.fs-file-card strong {
  font-size: 11px;
  color: var(--fs-text);
}

.fs-file-card small {
  font-size: 10px;
  color: var(--fs-muted);
  margin-top: 4px;
}

.fs-upload-footer {
  display: flex;
  justify-content: space-between;
  color: var(--fs-muted);
  font-size: 11px;
  margin-top: 14px;
}

.fs-summary {
  border: 1px solid var(--fs-border);
  border-radius: 11px;
  padding: 17px;
  margin: 20px 0;
}

.fs-summary-title {
  color: var(--fs-text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.fs-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 12px;
  color: var(--fs-muted);
}

.fs-summary-row strong { color: var(--fs-text); }

.fs-summary-total {
  border: 0;
  padding-top: 14px;
  font-size: 14px;
}

.fs-summary-total strong {
  color: var(--fs-primary);
  font-size: 18px;
}

.fs-inline-error {
    display: none;
    color: #c74747;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 7px;
}

.fs-inline-error.visible {
    display: block;
}

.fs-sign-box.has-error canvas {
    border-color: #d66a6a;
}

.fs-check.has-error {
    color: #c74747;
}

.fs-submit-error {
    padding: 10px 13px;
    background: #fff1f0;
    border: 1px solid #f3ceca;
    border-radius: 7px;
    margin-top: 15px;
}
.fs-consent {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.fs-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  line-height: 1.55;
  color: #667487;
}

.fs-check input {
  margin-top: 3px;
  accent-color: var(--fs-primary);
  flex-shrink: 0;
}

.fs-check a {
  color: var(--fs-primary);
  text-decoration: underline;
}

.fs-signatures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fs-sign-box {
  border: 1px solid var(--fs-border);
  border-radius: 10px;
  overflow: hidden;
}

.fs-sign-heading {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--fs-border);
}

.fs-sign-heading strong {
  font-size: 11px;
  color: var(--fs-text);
}

.fs-sign-heading button {
  border: 0;
  background: transparent;
  color: var(--fs-primary);
  font-size: 11px;
  cursor: pointer;
}

.fs-sign-box canvas {
  width: 100%;
  height: 100px;
  display: block;
  touch-action: none;
  cursor: crosshair;
}

.fs-sign-hint {
  font-size: 10px;
  color: var(--fs-muted);
  margin-top: 8px;
}

.fs-payment-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf6f0;
  color: #3b8a5a;
  font-size: 25px;
  margin: 0 auto 18px;
}

.fs-payment-card {
  max-width: 470px;
  margin: 25px auto;
  border: 1px solid var(--fs-border);
  border-radius: 13px;
  padding: 20px;
}

.fs-payment-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--fs-border);
  margin-bottom: 12px;
}

.fs-payment-brand strong,
.fs-payment-brand small {
  display: block;
}

.fs-payment-brand strong {
  font-size: 13px;
  color: var(--fs-text);
}

.fs-payment-brand small {
  font-size: 11px;
  color: var(--fs-muted);
  margin-top: 3px;
}

.fs-payment-line,
.fs-payment-total {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 12px;
  color: var(--fs-muted);
}

.fs-payment-line strong { color: var(--fs-text); }

.fs-payment-total {
  border-top: 1px solid var(--fs-border);
  margin-top: 8px;
  padding-top: 15px;
  align-items: center;
}

.fs-payment-total strong {
  color: var(--fs-primary);
  font-size: 25px;
}

.fs-secure-note {
  text-align: center;
  color: #8491a1;
  font-size: 10px;
  margin-top: 12px;
}

.fs-payment-reassurance {
  max-width: 470px;
  margin: 0 auto;
  background: #f7f9fc;
  border-radius: 10px;
  padding: 15px;
}

.fs-payment-reassurance strong {
  color: var(--fs-text);
  font-size: 12px;
}

.fs-payment-reassurance p {
  color: var(--fs-muted);
  font-size: 11px;
  line-height: 1.6;
  margin: 5px 0 0;
}

.fs-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 26px;
  border-top: 1px solid var(--fs-border);
  background: #fff;
}

.fs-back {
  border: 0;
  background: transparent;
  color: #69788b;
  font-size: 13px;
  cursor: pointer;
  padding: 10px 0;
}

.fs-back:disabled { visibility: hidden; }

.fs-footer-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fs-footer-price small,
.fs-footer-price strong {
  display: block;
  text-align: right;
}

.fs-footer-price small {
  font-size: 10px;
  color: var(--fs-muted);
}

.fs-footer-price strong {
  font-size: 16px;
  color: var(--fs-primary);
  margin-top: 2px;
}

.fs-continue {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  border-radius: 9px;
  padding: 13px 20px;
  background: var(--fs-primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(43,79,129,.18);
  transition: .15s;
}

.fs-continue:hover {
  background: var(--fs-primary-dark);
  transform: translateY(-1px);
}

.fs-continue:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}


@media (max-width: 600px) {
  .fs-overlay { padding: 0; align-items: flex-end; }
  .fs-modal {
    width: 100%;
    max-height: 96dvh;
    border-radius: 17px 17px 0 0;
  }
  .fs-header { padding: 14px 18px; }
  .fs-progress { padding: 13px 20px; }
  .fs-content { padding: 23px 20px; }
  .fs-step h1 { font-size: 27px; }
  .fs-step h2 { font-size: 24px; }
  .fs-benefits { grid-template-columns: 1fr; gap: 8px; }
  .fs-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
  }
  .fs-benefit-icon { margin: 0; flex-shrink: 0; }
  .fs-household-options { gap: 7px; }
  .fs-household { padding: 12px 5px; }
  .fs-household strong { font-size: 12px; }
  .fs-household small { font-size: 10px; }
  .fs-upload-grid { grid-template-columns: 1fr; }
  .fs-signatures { grid-template-columns: 1fr; }
  .fs-footer { padding: 12px 18px; }
  .fs-footer-right { gap: 12px; }
  .fs-continue { padding: 13px 15px; }
  .fs-step-labels { font-size: 9px; }
}


/* Sales page: preserve the original design, but remove wizard chrome. */
.fs-modal.sales-active .fs-header,
.fs-modal.sales-active .fs-progress,
.fs-modal.sales-active .fs-footer {
  display: none;
}
.fs-modal.sales-active .fs-content {
  padding: 0;
}
.fs-modal.sales-active .fs-step[data-step="0"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 690px;
  margin: 0 auto;
  padding: 36px 38px 24px;
}
.fs-modal.sales-active .fs-step[data-step="0"] .fs-lead {
  max-width: 590px;
}
.fs-modal.sales-active .fs-step[data-step="0"] .fs-benefits {
  margin: 22px 0 18px;
}
.fs-modal.sales-active .fs-guarantee {
  align-items: center;
  padding: 16px 18px;
  margin: 18px 0 0;
  background: linear-gradient(110deg, #fbf8f1 0%, #fffdf8 100%);
  border-color: #e9dfc8;
  box-shadow: 0 3px 12px rgba(91, 73, 35, .045);
}
.fs-modal.sales-active .fs-guarantee-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2ead8;
  font-size: 17px;
}
.fs-sales-cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px -38px 0;
  padding: 17px 38px 12px;
  background: linear-gradient(to bottom, rgba(255,255,255,.92), #fff 28%);
  border-top: 1px solid #edf0f4;
}
.fs-sales-price {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.fs-sales-price > strong {
  color: var(--fs-primary);
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.8px;
}
.fs-sales-price span {
  color: #657387;
  font-size: 11px;
  line-height: 1.4;
}
.fs-sales-price small {
  color: #8793a3;
  font-size: 10px;
}
.fs-sales-button {
  min-width: 235px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 9px;
  padding: 15px 22px;
  background: linear-gradient(135deg, #315b8d, #244875);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(43,79,129,.22);
  transition: transform .16s ease, box-shadow .16s ease;
}
.fs-sales-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(43,79,129,.27);
}
.fs-sales-button span {
  font-size: 18px;
  line-height: 12px;
}
.fs-sales-note {
  padding: 0 0 4px;
  color: #9aa4b2;
  text-align: center;
  font-size: 10px;
}
@media (max-width: 600px) {
  .fs-modal.sales-active .fs-content { padding: 0; }
  .fs-modal.sales-active .fs-step[data-step="0"] {
    padding: 29px 20px 18px;
  }
  .fs-sales-cta {
    margin: 17px -20px 0;
    padding: 14px 20px 11px;
    gap: 10px;
  }
  .fs-sales-price > strong { font-size: 25px; }
  .fs-sales-price span { font-size: 10px; }
  .fs-sales-button {
    min-width: 0;
    padding: 14px 15px;
    gap: 8px;
    font-size: 12px;
  }
}


.fs-upload-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
/* Entire card is the click and drop target */
.fs-upload-card {
  position: relative;
  cursor: pointer;
  padding: 17px;
min-height: 145px;
border: 1px dashed #cbd7e4;
border-radius: 11px;
background: #fbfdff;
 display: flex;
  flex-direction: column;
  align-items: center;
    row-gap: 0px;
}
.fs-upload-card:has(> input[data-upload-input]:focus-visible) {
  outline: 2px solid rgba(92, 166, 220, .55);
  outline-offset: 3px;
}

/* Invisible input covers the whole card */
.fs-upload-card > input[data-upload-input] {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.fs-upload-card > span:not(.fs-upload-icon) {
  display: block;
}
/* Visual add-files button */
.fs-upload-card .upload-dropzone {
  position: relative;
  z-index: 1;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px;

  border: 1px dashed #b8c9dc;
  border-radius: 7px;
  background: #f8fafc;
}


.fs-upload-card .upload-dropzone .upload-add-icon {
  color: var(--fs-blue);
  font-size: 15px;
}
.fs-upload-icon { color: var(--fs-blue); font-size: 22px; }
.fs-upload-card strong { font-size: 13px; }
.fs-upload-card span:not(.fs-upload-icon) { color: #8793a3; font-size: 11px; }
.fs-file-count { color: var(--fs-blue); font-size: 11px; font-style: normal; margin-top: 6px; }
.fs-upload-help { color: #929eac; font-size: 11px; margin-top: 13px; }

.fs-upload-card.is-dragover {
  border-color: var(--fs-blue);
  background: #f0f6ff;
  box-shadow: 0 0 0 3px rgba(92, 166, 220, .16);
}

.fs-upload-card .upload-dropzone strong {
  color: var(--fs-blue);
  font-size: 12px;
  font-weight: 600;
}


.fs-upload-card .upload-add-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e5effb;
  color: var(--fs-blue);
  font-size: 19px;
}

.fs-upload-card .upload-dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* ========================================
   FILE UPLOADER
======================================== */

.upload-uploader {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

/* ========================================
   HEADER
======================================== */

.upload-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.upload-header strong {
  font-size: 13px;
  font-weight: 600;
  color: #344054;
}

.upload-count {
  font-size: 11px;
  color: #8793a3;
}

/* ========================================
   MAIN CONTAINER
======================================== */

.upload-container {
  box-sizing: border-box;
  width: 100%;
  min-height: 90px;
  padding: 8px;
  border: 1px solid #e6ebf1;
  border-radius: 10px;
  background: #f5f8fc;

  display: flex;
  flex-direction: column;
  gap: 7px;

  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* Drag over */
.upload-uploader.is-dragover .upload-container {
  background: #edf6ff;
  border-color: #5ca6dc;
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(92,166,220,.12);
}

/* ========================================
   FILE LIST
======================================== */
.upload-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.fs-upload-card .upload-list {
  position: relative;
  z-index: 6;
}

.fs-upload-card .upload-file button {
  position: relative;
  z-index: 7;
}

/* ========================================
   FILE ROW
======================================== */

.upload-file {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 9px;

  position: relative;
  overflow: hidden;

  padding: 7px 9px;

  border: 1px solid #e6ebf1;
  border-radius: 7px;
  background: #fff;

  animation: upload-file-in .28s ease both;

  transition:
    opacity .22s ease,
    transform .22s ease,
    max-height .28s ease,
    padding .28s ease,
    margin .28s ease,
    border-color .2s ease,
    background .2s ease;

  max-height: 100px;
}

/* File entrance animation */
@keyframes upload-file-in {
  from {
    opacity: 0;
    transform: translateY(9px) scale(.98);
    max-height: 0;
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 100px;
  }
}

/* File removal animation */
.upload-file.is-removing {
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border-width: 0;
}

/* ========================================
   FILE ICON
======================================== */

.upload-file-icon {
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

/* ========================================
   FILE INFORMATION
======================================== */

.upload-file-info {
  flex: 1;
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upload-file-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #344054;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.upload-file-size {
  font-size: 10px;
  line-height: 1.3;
  color: #98a2b3;
}

/* ========================================
   FILE STATUS
======================================== */

.upload-file-status {
  flex-shrink: 0;
  max-width: 85px;

  font-size: 10px;
  color: #667085;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.upload-file.is-success {
  border-color: #e0eee7;
}

.upload-file.is-success .upload-file-status {
  color: #29966b;
  font-size: 14px;
  font-weight: 600;

  animation: upload-success .35s ease both;
}

@keyframes upload-success {
  0% {
    opacity: 0;
    transform: scale(.5);
  }

  70% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

/* Error state */
.upload-file.is-error {
  border-color: #f0cccc;
  background: #fff7f7;
}

.upload-file.is-error .upload-file-status {
  color: #c44;
}

/* ========================================
   PROGRESS BAR
======================================== */

.upload-progress {
  width: 100%;
  height: 2px;
  margin-top: 3px;

  background: #e5eaf0;
  border-radius: 5px;
  overflow: hidden;
}

.upload-progress-bar {
  width: 0;
  height: 100%;

  background: #5ca6dc;
  border-radius: 5px;

  transition: width .25s cubic-bezier(.2,.8,.2,1);
}

.upload-file.is-success .upload-progress-bar {
  background: #36a879;
}

.upload-file.is-success .upload-progress {
  opacity: .45;
}

.upload-file.is-error .upload-progress-bar {
  background: #d9534f;
}

/* ========================================
   RETRY BUTTON
======================================== */

.upload-file-retry {
  flex-shrink: 0;

  border: 0;
  border-radius: 5px;

  background: #eaf3fc;
  color: #3978ae;

  padding: 4px 7px;

  font-size: 10px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background .2s ease,
    transform .2s ease;
}

.upload-file-retry:hover {
  background: #d9eafa;
  transform: translateY(-1px);
}

.upload-file-retry[hidden] {
  display: none;
}

/* ========================================
   REMOVE BUTTON
======================================== */

.upload-file-remove {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 23px;
  height: 23px;

  border: 0;
  border-radius: 5px;

  background: transparent;
  color: #98a2b3;

  font-size: 18px;
  line-height: 1;

  padding: 0;

  cursor: pointer;

  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.upload-file-remove:hover {
  color: #d9534f;
  background: #fff0f0;
  transform: scale(1.08);
}

/* ========================================
   DROPZONE / ADD MORE
======================================== */

.upload-dropzone {
  box-sizing: border-box;
  width: 100%;
  min-height: 43px;

  position: relative;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;

  border: 1px dashed #cbd5e1;
  border-radius: 7px;

  background: rgba(255,255,255,.65);

  cursor: pointer;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.upload-dropzone:hover,
.upload-uploader.is-dragover .upload-dropzone {
  background: #eef6ff;
  border-color: #5ca6dc;
}


.upload-dropzone-icon {
  font-size: 15px;
  line-height: 1;
  color: #5ca6dc;
}

.upload-dropzone strong {
  font-size: 11px;
  font-weight: 600;
  color: #5ca6dc;
}

.upload-dropzone span:last-of-type {
  font-size: 10px;
  color: #8793a3;
}



/* ========================================
   DRAGGING FEEDBACK
======================================== */

.upload-uploader.is-dragover .upload-dropzone {
  border-style: solid;
  background: #e7f2ff;
}

/* ========================================
   ACCESSIBILITY
======================================== */


.upload-file-remove:focus-visible,
.upload-file-retry:focus-visible {
  outline: 2px solid #5ca6dc;
  outline-offset: 2px;
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  .upload-uploader *,
  .upload-uploader *::before,
  .upload-uploader *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
