@media (max-width: 980px) {
  .fm-site-header { z-index: 100; }
  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: "";
    position: fixed;
    z-index: 89;
    inset: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: rgba(37, 32, 63, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Keep the floating Trustpilot collector below the homepage quote button. */
body .trustpilot-widget {
  position: fixed !important;
  left: 16px !important;
  bottom: 8px !important;
  width: 273px !important;
  height: 52px !important;
  z-index: 990 !important;
  transform: scale(.9);
  transform-origin: left bottom;
}

@media (max-width: 640px) {
  body .trustpilot-widget {
    left: 8px !important;
    bottom: 6px !important;
    transform: scale(.78);
  }
}

/* Medium-size Joinchat/WhatsApp launcher. */
body .joinchat {
  --s: 58px !important;
  --bottom: 22px !important;
  --sep: 10px !important;
}

body .joinchat__button,
body .joinchat__button__open {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
}

body .joinchat__button__open {
  background-size: 31px !important;
}

.fm-back-to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 9998;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f064ad, #5cb9e6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(36, 29, 64, 0.25);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.fm-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fm-back-to-top:hover,
.fm-back-to-top:focus-visible {
  transform: translateY(-3px);
  outline: 3px solid rgba(92, 185, 230, .28);
}

@media (max-width: 640px) {
  body .joinchat {
    --s: 54px !important;
    --bottom: 16px !important;
  }

  body .joinchat__button,
  body .joinchat__button__open {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
  }

  .fm-back-to-top {
    right: 18px;
    bottom: 82px;
    width: 44px;
    height: 44px;
  }
}

/* Gravity Forms quote form: use the copied production form while matching this theme. */
body .fm-qf-gravity {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(92, 185, 230, 0.3);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(36, 29, 64, 0.12);
}

body .fm-qf-gravity .gform_heading {
  display: none;
}

body .fm-qf-gravity .gform_wrapper,
body .fm-qf-gravity .gform-body,
body .fm-qf-gravity .gform_fields {
  width: 100%;
}

body .fm-qf-gravity .gform_fields {
  row-gap: 24px;
}

body .fm-qf-gravity .gfield_label,
body .fm-qf-gravity .gfield legend {
  color: #241d40;
  font-weight: 800;
}

body .fm-qf-gravity input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body .fm-qf-gravity select,
body .fm-qf-gravity textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #fff;
  color: #241d40;
  box-shadow: none;
}

body .fm-qf-gravity textarea {
  min-height: 130px;
}

body .fm-qf-gravity input:focus,
body .fm-qf-gravity select:focus,
body .fm-qf-gravity textarea:focus {
  border-color: #5cb9e6;
  outline: 3px solid rgba(92, 185, 230, 0.18);
}

body .fm-qf-gravity .gform_footer,
body .fm-qf-gravity .gform_page_footer {
  margin-top: 28px;
}

body .fm-qf-gravity .gform_button,
body .fm-qf-gravity .gform_next_button,
body .fm-qf-gravity .gform_previous_button {
  min-height: 52px;
  padding: 13px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #f064ad, #5cb9e6) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  cursor: pointer;
}

body .fm-qf-gravity .gform_previous_button {
  background: #eef5fb !important;
  color: #241d40 !important;
}

body .fm-qf-gravity .gfield_validation_message,
body .fm-qf-gravity .validation_message {
  border-radius: 12px;
}

@media (max-width: 640px) {
  body .fm-qf-gravity {
    padding: 22px 16px;
    border-radius: 22px;
  }
}

/* Mobile decorative artwork alignment: consistent and non-overlapping. */
@media (max-width: 640px) {
  .home .fm-home-cta {
    min-height: 410px !important;
    padding: 105px 26px 115px !important;
  }

  .home .fm-home-cta__left {
    top: 4px !important;
    left: 4px !important;
    right: auto !important;
    bottom: auto !important;
    width: 112px !important;
    height: 132px !important;
    object-position: left top !important;
    transform: none !important;
  }

  .home .fm-home-cta__right {
    top: auto !important;
    left: auto !important;
    right: 4px !important;
    bottom: 2px !important;
    width: 122px !important;
    height: 138px !important;
    object-position: right bottom !important;
    transform: none !important;
  }

  .home .fm-home-testimonials-section,
  .home .fm-home-faq-section,
  .home .fm-home-blog-section {
    padding-top: 128px !important;
  }

  .home .fm-home-decoration--testimonial-left,
  .home .fm-home-decoration--faq,
  .home .fm-home-decoration--blog {
    display: block !important;
    top: 18px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
    transform: translateX(-50%) !important;
  }

  .home .fm-home-decoration--testimonial-right {
    display: none !important;
  }
}

/* FINAL: the flat results SVG fills its canvas more than the two companion
   illustrations, so give it its own optical size. */
.fm-fq-intro--reference .fm-fq-benefit-icon--result img {
  transform: scale(1.06) !important;
}

  .fm-menu-toggle,
  .home .fm-menu-toggle {
    width: 84px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: auto;
    padding: 0 12px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    color: var(--fm-ink);
    background: linear-gradient(#fff,#fff) padding-box, var(--fm-gradient) border-box;
    box-shadow: 0 10px 26px rgba(46,39,75,.11);
  }
  .fm-menu-toggle::before,
  .fm-menu-toggle::after,
  .home .fm-menu-toggle::before,
  .home .fm-menu-toggle::after { display: none; content: none; }
  .fm-menu-toggle span,
  .home .fm-menu-toggle span { width: auto; height: auto; margin: 0; background: none; }
  .fm-menu-toggle__icon,
  .home .fm-menu-toggle .fm-menu-toggle__icon {
    position: relative;
    width: 19px !important;
    height: 14px !important;
    display: block !important;
    flex: 0 0 19px;
  }
  .fm-menu-toggle__icon i {
    position: absolute;
    left: 0;
    width: 19px;
    height: 2px;
    border-radius: 9px;
    background: linear-gradient(90deg,var(--fm-pink),var(--fm-blue));
    transition: transform .24s ease, opacity .18s ease, top .24s ease;
  }
  .fm-menu-toggle__icon i:nth-child(1) { top: 0; }
  .fm-menu-toggle__icon i:nth-child(2) { top: 6px; }
  .fm-menu-toggle__icon i:nth-child(3) { top: 12px; }
  .fm-menu-toggle__label,
  .home .fm-menu-toggle .fm-menu-toggle__label {
    display: inline !important;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .fm-menu-toggle[aria-expanded="true"] .fm-menu-toggle__icon i:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .fm-menu-toggle[aria-expanded="true"] .fm-menu-toggle__icon i:nth-child(2) { opacity: 0; }
  .fm-menu-toggle[aria-expanded="true"] .fm-menu-toggle__icon i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

  .fm-menu,
  .home .fm-menu {
    position: fixed;
    z-index: 101;
    inset: 84px 12px auto !important;
    width: auto;
    max-height: calc(100svh - 98px);
    gap: 9px !important;
    padding: 18px !important;
    overflow-y: auto;
    border: 1px solid rgba(94,188,235,.23);
    border-radius: 0 0 24px 24px;
    background: linear-gradient(135deg,#fff4f9 0%,#fff 48%,#edf9ff 100%);
    box-shadow: 0 28px 65px rgba(38,33,62,.24);
  }
  .fm-menu li { border: 0 !important; }
  .fm-menu li a {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px !important;
    border: 1px solid rgba(94,188,235,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(64,62,102,.06);
    font-size: 11px !important;
  }
  .fm-menu a::before {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 50%;
    color: #fff;
    background: var(--fm-gradient);
  }
  .fm-menu a:hover,
  .fm-menu a:focus-visible { color: var(--fm-pink); transform: translateX(3px); }
  .fm-menu-mobile-cta { display: block; margin-top: 5px; }
  .fm-menu-mobile-cta a {
    justify-content: center;
    color: #fff !important;
    border: 0 !important;
    background: var(--fm-gradient) !important;
    box-shadow: 0 13px 28px rgba(255,102,169,.22);
  }
  .fm-menu-mobile-cta a::before { color: #fff; background: rgba(255,255,255,.2); }
}

@media (max-width: 640px) {
  body.home {
    position: relative;
    max-width: 100%;
    overflow-x: clip;
  }

  .home .fm-site-header {
    border-bottom: 0;
    box-shadow: none;
  }

  .home .fm-site-header,
  .home .fm-nav { height: 84px; }
  .home .fm-site-header .fm-logo__image {
    width: 188px;
    height: 70px;
    object-fit: contain;
    object-position: left center;
  }
  .home .fm-home-hero { padding-top: 84px; }
  .home .fm-home-hero__grid { inset: 84px 20px 120px; }
  .home .fm-home-hero__shade { inset: 0; }

  .home .fm-nav > nav { width: 0; flex: 0 0 0; }
  .home .fm-nav > .fm-btn { display: none; }

  /* Five-photo mobile mosaic: original composition plus the two supplied builds. */
  .home .fm-home-hero__grid {
    grid-template-columns: 1.72fr .9fr;
    grid-template-rows: repeat(4,1fr);
    gap: 8px;
  }
  .home .fm-home-hero__photo { display: none; }
  .home .fm-home-hero__photo:nth-child(1),
  .home .fm-home-hero__photo:nth-child(2),
  .home .fm-home-hero__photo:nth-child(3),
  .home .fm-home-hero__photo:nth-child(6),
  .home .fm-home-hero__photo:nth-child(7) { display: block; }
  .home .fm-home-hero__photo:nth-child(1) { grid-column: 1; grid-row: 1 / 5; object-position: 50% 28%; }
  .home .fm-home-hero__photo:nth-child(2) { grid-column: 2; grid-row: 1; object-position: 50% 27%; }
  .home .fm-home-hero__photo:nth-child(6) { grid-column: 2; grid-row: 2; object-position: 48% 29%; }
  .home .fm-home-hero__photo:nth-child(7) { grid-column: 2; grid-row: 3; object-position: 50% 30%; }
  .home .fm-home-hero__photo:nth-child(3) { grid-column: 2; grid-row: 4; object-position: 50% 28%; }

  /* More balanced mobile calls-to-action. */
  .home .fm-btn { min-height: 42px; padding-inline: 18px; border-radius: 13px; }
  .home .fm-home-hero__content > .fm-btn { min-width: 168px; min-height: 43px; }
  .home .fm-home-slider-row > .fm-btn {
    width: 200px;
    min-width: 0;
    max-width: calc(100% - 40px);
    min-height: 40px;
    margin-top: 16px;
    padding: 0 14px;
    gap: 7px;
    font-size: 8px;
    letter-spacing: 0;
    white-space: nowrap;
    color: #fff;
    border: 0;
    background: var(--fm-gradient);
  }

  .home .fm-home-slider-row > .fm-btn::before,
.home .fm-home-slider-row > .fm-btn::after {
  flex: 0 0 11px;
  width: 11px;
}

/* Final mobile layout: stable sliders, larger icons and fixed corner artwork. */
@media (max-width: 640px) {
  .home [data-featured-slider] figure,
  .home [data-commission-slider] .fm-home-commission-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .home .fm-process__icon {
    width: 220px !important;
    height: 220px !important;
  }

  .home .fm-benefit img {
    width: 112px !important;
    height: 112px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
  }

  .home .fm-mobile-heading-icon {
    width: 82px !important;
    height: 82px !important;
    object-fit: contain !important;
  }

  .home .fm-home-cta {
    position: relative !important;
    min-height: 430px !important;
    padding: 105px 24px 125px !important;
    overflow: hidden !important;
  }

  .home .fm-home-cta > div {
    position: relative !important;
    z-index: 2 !important;
  }

  .home .fm-home-cta__left {
    display: block !important;
    top: 8px !important;
    bottom: auto !important;
    left: -5px !important;
    right: auto !important;
    width: 132px !important;
    height: 150px !important;
    object-fit: contain !important;
    object-position: left top !important;
  }

  .home .fm-home-cta__right {
    display: block !important;
    top: auto !important;
    bottom: -4px !important;
    left: auto !important;
    right: -4px !important;
    width: 142px !important;
    height: 158px !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }

  .home .fm-home-decoration--testimonial-left,
  .home .fm-home-decoration--testimonial-right,
  .home .fm-home-decoration--faq,
  .home .fm-home-decoration--blog {
    display: block !important;
    width: 104px !important;
    height: 104px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    transform: none !important;
  }

  .home .fm-home-decoration--testimonial-left {
    top: 18px !important;
    left: 8px !important;
    right: auto !important;
    bottom: auto !important;
  }

  .home .fm-home-decoration--testimonial-right {
    top: auto !important;
    left: auto !important;
    right: 8px !important;
    bottom: 20px !important;
  }

  .home .fm-home-decoration--faq {
    top: 18px !important;
    left: 10px !important;
    right: auto !important;
  }

  .home .fm-home-decoration--blog {
    top: 18px !important;
    left: auto !important;
    right: 10px !important;
  }
}

.home .fm-home-slider-row > .fm-btn::before {
  content: "";
}

.home .fm-home-slider-row > .fm-btn::after {
  color: rgba(255,255,255,.95);
  font-size: 11px;
  text-align: center;
}

  .home .fm-home-faq-section {
    overflow: hidden;
  }

  .home .fm-home-faq-section .fm-home-shell {
    width: calc(100% - 32px);
    margin-inline: auto;
  }

  .home .fm-accordion {
    width: 100%;
    max-width: 100%;
    margin: 31px 0 0;
    padding: 0;
  }

  .home .fm-faq {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    overflow: hidden;
  }

  .home .fm-faq button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 14px 0 16px;
    gap: 10px;
    box-sizing: border-box;
    text-align: left;
  }

  .home .fm-faq button::after {
    flex: 0 0 24px;
    margin-left: auto;
  }

  .home .fm-mobile-faq-action .fm-btn {
  min-width: 176px;
}
  .home .fm-price-panel__features .fm-btn { left: 30px; right: 30px; min-height: 43px; }
  .home .fm-home-cta .fm-btn,
  .home .fm-mobile-testimonial-action .fm-btn,
  .home .fm-home-blog-section .fm-actions .fm-btn { min-width: 176px; }

/* Clean travelling path between mobile process steps. */
.home .fm-home-process-section::before,
.home .fm-home-process-section::after,
.home .fm-process::before {
  content: none;
  display: none;
}

.home .fm-process__item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  display: block;
  left: 22%;
  top: 114px;
  bottom: 0;
  width: 56%;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 177' preserveAspectRatio='none'%3E%3Cpath d='M2 2 C2 88 198 89 198 175' fill='none' stroke='%238ea6e2' stroke-opacity='.52' stroke-width='2' vector-effect='non-scaling-stroke' stroke-linecap='round' stroke-dasharray='7 8'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
}

.home .fm-process__item:nth-child(even):not(:last-child)::after {
  transform: scaleX(-1);
}
}

@media (min-width: 981px) {
  .home .fm-home-hero__grid { grid-template-columns: 1.12fr .76fr 1.12fr .76fr .68fr; }
  .home .fm-home-hero__photo--1 { grid-column: 1; grid-row: 1 / 3; }
  .home .fm-home-hero__photo--2 { grid-column: 2; grid-row: 1; object-position: 50% 30%; }
  .home .fm-home-hero__photo--6 { grid-column: 2; grid-row: 2; object-position: 48% 30%; }
  .home .fm-home-hero__photo--3 { grid-column: 3; grid-row: 1 / 3; }
  .home .fm-home-hero__photo--7 { grid-column: 4; grid-row: 1 / 3; object-position: 50% top; }
  .home .fm-home-hero__photo--4 { grid-column: 5; grid-row: 1; }
  .home .fm-home-hero__photo--5 { grid-column: 5; grid-row: 2; }
}
/* Remove the extra blue line below the mobile header */
@media (max-width: 980px) {
  body.home .fm-site-header,
  body.home .fm-nav {
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.home .fm-site-header::after,
  body.home .fm-nav::after {
    display: none !important;
    content: none !important;
  }

  body.home .fm-home-hero {
    border-top: 0 !important;
  }
}

/* Final mobile alignment and readability pass. */
@media (max-width: 980px) {
  /* Keep the menu button fully aligned to the right. */
  body .fm-site-header .fm-nav {
    gap: 0 !important;
  }

  .fm-menu-toggle__label,
  .home .fm-menu-toggle .fm-menu-toggle__label {
    font-size: 11px;
    line-height: 1;
  }

  .fm-menu li a {
    font-size: 14px !important;
    line-height: 1.3;
  }

  /* Use the exact desktop pink-to-blue gradient. */
  .fm-menu-mobile-cta a {
    color: var(--fm-white) !important;
    background: var(--fm-gradient) !important;
  }
}

@media (max-width: 640px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  /* All mobile buttons */
  .fm-btn,
  .home .fm-btn {
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 20px;
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: .02em;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .home .fm-home-hero__content > .fm-btn {
    min-height: 48px;
    font-size: 13px;
  }

  /* Same colors as desktop buttons. */
  .fm-btn:not(.fm-btn--outline),
  .home .fm-btn:not(.fm-btn--outline) {
    color: var(--fm-white);
    background: var(--fm-gradient);
    text-shadow: none;
  }

  .fm-btn:not(.fm-btn--outline)::after,
  .home .fm-btn:not(.fm-btn--outline)::after {
    color: rgba(255, 255, 255, .95);
  }

  /* Pricing tabs */
  .fm-tab,
  .home .fm-tab {
    height: auto;
    min-height: 42px;
    padding: 6px 4px;
    font-size: 12px;
    line-height: 1.2;
  }

  .fm-tab.is-active,
  .home .fm-tab.is-active {
    color: var(--fm-white);
    background: var(--fm-gradient);
  }

  /* Center the long gallery button properly. */
  .home .fm-home-slider-row > .fm-btn {
    width: min(280px, 100%);
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 10px 18px;
    color: var(--fm-white);
    background: var(--fm-gradient);
    font-size: 13px;
    line-height: 1.25;
    letter-spacing: .01em;
    white-space: normal;
  }

  .home .fm-home-slider-row > .fm-btn::before,
  .home .fm-home-slider-row > .fm-btn::after {
    flex: 0 0 15px;
    width: 15px;
  }

  .home .fm-home-slider-row > .fm-btn::after {
    color: rgba(255, 255, 255, .95);
    font-size: 15px;
  }

  .home .fm-author .fm-btn {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.2;
  }

  /* Internal-page text */
  .fm-hero__copy {
    font-size: 15px;
    line-height: 1.6;
  }

  .fm-hero__note {
    font-size: 13px;
  }

  .fm-page-hero p,
  .fm-section-head p:last-child {
    font-size: 15px;
    line-height: 1.6;
  }

  .fm-price-panel p,
  .fm-photo-card p,
  .fm-process p,
  .fm-cta p,
  .fm-benefit p,
  .fm-review > p,
  .fm-faq__answer,
  .fm-blog-card p,
  .fm-site-footer p {
    font-size: 14px;
    line-height: 1.6;
  }

  .fm-checks li,
  .fm-choice span,
  .fm-site-footer li {
    font-size: 14px;
    line-height: 1.5;
  }

  .fm-field label {
    font-size: 14px;
  }

  .fm-field input,
  .fm-field select,
  .fm-field textarea {
    font-size: 16px;
    line-height: 1.4;
  }

  .fm-kicker,
  .fm-tag,
  .fm-process__number,
  .fm-review__person,
  .fm-author span {
    font-size: 12px;
    line-height: 1.45;
  }

  .fm-scale__labels {
    font-size: 11px;
    line-height: 1.35;
  }

  .fm-scale__labels strong,
  .fm-site-footer h3 {
    font-size: 13px;
  }

  .fm-footer-bottom {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Homepage headings and descriptions */
  .home .fm-home-heading > p {
    font-size: 12px;
    line-height: 1.35;
  }

  .home .fm-home-heading small,
  .home .fm-mobile-section-copy {
    font-size: 13px;
    line-height: 1.55;
  }

  /* Hero text */
  .home .fm-home-hero__content > p {
    font-size: 14px;
    line-height: 1.55;
  }

  .home .fm-home-hero__content > small {
    font-size: 12px;
    line-height: 1.4;
  }

  .home .fm-mobile-trust span {
    min-height: 66px;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }

  .home .fm-mobile-trust img {
    width: 30px;
    height: 30px;
  }

  /* Pricing text */
  .home .fm-price-panel {
    min-height: 700px;
    padding-bottom: 84px;
  }

  .home .fm-price-panel__intro p {
    font-size: 14px;
    line-height: 1.6;
  }

  .home .fm-price-panel__intro small {
    font-size: 12px;
  }

  .home .fm-price-panel__features > p {
    font-size: 14px;
  }

  .home .fm-price-panel__features ul {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Commission cards */
  .home .fm-home-commission-card h3 {
    font-size: 15px;
  }

  .home .fm-home-commission-card p,
  .home .fm-home-commission-card a {
    font-size: 12px;
    line-height: 1.25;
  }

  .home .fm-mobile-commission-note {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Process section */
  .home .fm-process__number {
    font-size: 12px;
  }

  .home .fm-process p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* CTA and benefit cards */
  .home .fm-home-cta p {
    font-size: 14px;
    line-height: 1.6;
  }

  .home .fm-benefit {
    min-height: 210px;
  }

  .home .fm-benefit p {
    font-size: 14px;
    line-height: 1.55;
  }

  .home .fm-benefit a {
    font-size: 12px;
    line-height: 1.35;
  }

  /* Reviews */
  .home .fm-review > p {
    font-size: 14px;
    line-height: 1.6;
  }

  .home .fm-review__person {
    font-size: 13px;
  }

  .home .fm-review__person span {
    font-size: 12px;
  }

  .home .fm-community-rating {
    font-size: 12px;
    line-height: 1.35;
  }

  .home .fm-community-rating p {
    font-size: 13px;
    line-height: 1.5;
  }

  /* FAQ */
  .home .fm-faq button {
    font-size: 14px;
    line-height: 1.4;
  }

  .home .fm-faq__answer {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Blog cards */
  .home .fm-blog-card__body > p {
    font-size: 14px;
    line-height: 1.55;
  }

  .home .fm-author strong {
    font-size: 12px;
  }

  .home .fm-author span {
    font-size: 11px;
  }

  /* Footer */
  .home .fm-footer-grid > div:first-child p {
    font-size: 13px;
    line-height: 1.55;
  }

  .home .fm-footer-grid h3 {
    font-size: 12px;
  }

  .home .fm-footer-grid li {
    font-size: 13px;
  }

  .home .fm-footer-bottom {
    font-size: 11px;
    line-height: 1.5;
  }

  .fm-actions,
  .fm-step-actions {
    flex-wrap: wrap;
  }
}
/* Contact topbar and pastel glass navigation */
.fm-topbar {
  height: 34px;
  color: #fff;
  background: var(--fm-gradient);
}

.fm-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fm-topbar__email {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.fm-topbar__social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fm-topbar__social a {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.13);
  transition: transform .2s ease, background .2s ease;
}

.fm-topbar__social a:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-2px);
}

.fm-topbar__social svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

/* Replace the plain white navbar. */
.fm-site-header,
.home .fm-site-header {
  background:
    linear-gradient(
      90deg,
      rgba(255,242,248,.96),
      rgba(238,249,255,.96)
    );
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 10px 30px rgba(37,32,63,.10);
}

/* Topbar 34px + desktop navbar 82px */
.home .fm-site-header {
  height: 116px;
}

/* Start the photographs below the new header. */
.home .fm-home-hero__grid {
  top: 116px;
}

.home .fm-home-hero__shade {
  inset: 116px 0 0;
}

/* Orange suit: move the crop right/up so the full face is visible. */
.home .fm-home-hero__photo--2,
.home .fm-home-hero__photo:nth-child(2) {
  object-position: 62% 18% !important;
}

@media (max-width: 980px) {
  .fm-menu,
  .home .fm-menu {
    top: 116px;
  }

  .home .fm-site-header {
    height: 116px;
  }

  .home .fm-home-hero {
    padding-top: 116px;
  }

  .home .fm-home-hero__grid {
    top: 116px;
  }

  .home .fm-home-hero__shade {
    inset: 116px 0 0;
  }
}

@media (max-width: 640px) {
  .fm-topbar__inner {
    width: calc(100% - 24px);
  }

  .fm-topbar__email {
    max-width: calc(100% - 145px);
    font-size: 11px;
    overflow: hidden;
  }

  .fm-topbar__email span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fm-topbar__social {
    gap: 4px;
  }

  .fm-topbar__social a {
    width: 23px;
    height: 23px;
  }

  .fm-topbar__social svg {
    width: 12px;
    height: 12px;
  }

  /* Internal-page mobile menu: 34px topbar + 76px navbar */
  .fm-menu {
    top: 110px;
  }

  /* Homepage: 34px topbar + 84px navbar */
  .home .fm-site-header {
    height: 118px;
  }

  .home .fm-menu {
    top: 118px;
  }

  .home .fm-home-hero {
    padding-top: 118px;
  }

  .home .fm-home-hero__grid {
    inset: 118px 20px 120px;
  }

  .home .fm-home-hero__shade {
    inset: 118px 0 0;
  }
}

/* Official social-media colors */
.fm-topbar__social .fm-social--instagram {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(
    135deg,
    #f9ce34 0%,
    #ee2a7b 48%,
    #6228d7 100%
  ) !important;
  box-shadow: 0 4px 12px rgba(238,42,123,.28);
}

.fm-topbar__social .fm-social--facebook {
  color: #fff;
  border-color: transparent;
  background: #1877f2 !important;
  box-shadow: 0 4px 12px rgba(24,119,242,.28);
}

.fm-topbar__social .fm-social--twitter {
  color: #fff;
  border-color: transparent;
  background: #1da1f2 !important;
  box-shadow: 0 4px 12px rgba(29,161,242,.28);
}

/* Instagram is an outlined icon. */
.fm-social--instagram svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

/* Facebook and Twitter are filled icons. */
.fm-social--facebook svg,
.fm-social--twitter svg {
  fill: #fff;
  stroke: none;
}

.fm-topbar__social a:hover {
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.08);
}
/* =========================================================
   HOMEPAGE CLIENT-COPY FIT
   Append after the existing theme CSS. These rules are
   restricted to the homepage pricing, process and benefits.
   ========================================================= */

/* Let the long pricing copy determine the card height. */
.home .fm-home-pricing,
.home .fm-home-process-section,
.home .fm-home-benefits-section {
  height: auto;
}

.home .fm-price-panel {
  height: auto;
  align-items: stretch;
}

.home .fm-price-panel__intro,
.home .fm-price-panel__features {
  min-width: 0;
}

.home .fm-price-panel__intro {
  display: flex;
  flex-direction: column;
}

.home .fm-price-panel__intro p {
  width: auto;
  max-width: 68ch;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.home .fm-price-panel__intro .fm-price-panel__detail {
  margin-top: 14px;
}

.home .fm-price-panel__intro small {
  margin-top: auto;
  padding-top: 28px;
}

.home .fm-price-panel__features {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home .fm-price-panel__features ul {
  line-height: 1.58;
}

.home .fm-price-panel__features li + li {
  margin-top: 3px;
}

.home .fm-price-panel__features .fm-btn {
  position: static;
  inset: auto;
  align-self: flex-end;
  margin-top: auto;
}

/* Keep the desktop journey artwork while allowing full step copy. */
@media (min-width: 981px) {
  .home .fm-home-process-section {
    
    padding-bottom: 70px;
  }

  .home .fm-process {
  }

  .home .fm-process__item {
    width: 275px;
    height: auto;
  }

  .home .fm-process__item:nth-child(1) {
    left: 0;
    top: 82px;
  }

  .home .fm-process__item:nth-child(2) {
    left: 27%;
    top: 252px;
  }

  .home .fm-process__item:nth-child(3) {
    left: auto;
    right: 27%;
    top: 242px;
  }

  .home .fm-process__item:nth-child(4) {
    right: 0;
    top: 92px;
  }

  .home .fm-process p {
    font-size: 12px;
    line-height: 1.58;
  }
}

/* Benefit cards grow equally and keep their actions aligned. */
.home .fm-home-benefits-section {
  padding-bottom: 62px;
}

.home .fm-benefits {
  align-items: stretch;
}

.home .fm-benefit {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home .fm-benefit h3,
.home .fm-benefit p {
  overflow-wrap: anywhere;
}

.home .fm-benefit p {
  line-height: 1.58;
}

.home .fm-benefit a {
  margin-top: auto;
  padding-top: 22px;
}

/* Tablet: remove desktop positioning and use a roomy two-column flow. */
@media (min-width: 641px) and (max-width: 980px) {
  .home .fm-price-panel {
    min-height: 0;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    gap: 28px;
    padding: 30px;
  }

  .home .fm-home-process-section {
    min-height: 0;
    padding-bottom: 64px;
  }

  .home .fm-process {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 34px;
    margin-top: 46px;
  }

  .home .fm-process__item,
  .home .fm-process__item:nth-child(n) {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    padding-inline: 18px;
  }

  .home .fm-process p {
    font-size: 12.5px;
    line-height: 1.58;
  }

  .home .fm-benefit {
    min-height: 0;
  }
}

/* Mobile: a natural document flow prevents overlap and tiny text. */
@media (max-width: 640px) {
  .home .fm-home-pricing,
  .home .fm-home-process-section,
  .home .fm-home-benefits-section {
    min-height: 0;
  }

  .home .fm-price-panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 22px;
    overflow: visible;
  }

  .home .fm-price-panel__intro p {
    max-width: none;
    font-size: 14px;
    line-height: 1.62;
  }

  .home .fm-price-panel__intro .fm-mobile-price-detail {
    margin-top: 20px;
  }

  .home .fm-price-panel__intro small {
    margin-top: 0;
    padding-top: 26px;
  }

  .home .fm-price-panel__features {
    height: auto;
    padding: 26px 0 0;
  }

  .home .fm-price-panel__features > p {
    font-size: 13px;
  }

  .home .fm-price-panel__features ul {
    font-size: 14px;
    line-height: 1.62;
  }

  .home .fm-price-panel__features li + li {
    margin-top: 5px;
  }

  .home .fm-price-panel__features .fm-btn {
    position: static;
    width: 100%;
    min-height: 48px;
    align-self: stretch;
    margin-top: 26px;
  }

  .home .fm-home-process-section {
    padding-bottom: 58px;
  }

  .home .fm-process {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .home .fm-process__item,
  .home .fm-process__item:nth-child(even) {
    width: 100%;
    min-height: 0;
    height: auto;
    grid-template-rows: auto auto auto;
    padding-block: 8px;
  }

  .home .fm-process p {
    font-size: 14px;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .home .fm-process__item:not(:last-child)::after {
    bottom: -35px;
    height: 52px;
  }

  .home .fm-home-benefits-section {
    padding-bottom: 58px;
  }

  .home .fm-benefit {
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    padding: 26px 20px;
  }

  .home .fm-benefit img {
    grid-column: 1;
    grid-row: 1 / 4;
  }

  .home .fm-benefit h3,
  .home .fm-benefit p,
  .home .fm-benefit a {
    grid-column: 2;
  }

  .home .fm-benefit p {
    font-size: 14px;
    line-height: 1.58;
  }

  .home .fm-benefit a {
    margin-top: 0;
    padding-top: 14px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .home .fm-benefit {
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 12px;
    padding-inline: 16px;
  }

  .home .fm-benefit img {
    width: 68px;
    height: 64px;
  }
}
/* Final clean mobile hero */
@media (max-width: 640px) {
  .home .fm-home-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 118px 0 20px !important;
    background: #292440 !important;
  }

  .home .fm-home-hero__grid {
    position: relative !important;
    inset: auto !important;
    width: auto;
    height: 265px !important;
    margin: 0 16px;
    display: grid !important;
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
  }

  .home .fm-home-hero__photo {
    position: static !important;
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 15px !important;
  }

  .home .fm-home-hero__photo--1,
  .home .fm-home-hero__photo--2,
  .home .fm-home-hero__photo--3 {
    display: block !important;
  }

  .home .fm-home-hero__photo--1 {
    grid-column: 1;
    grid-row: 1 / 3;
    object-position: 50% 25% !important;
  }

  .home .fm-home-hero__photo--2 {
    grid-column: 2;
    grid-row: 1;
    object-position: 58% 18% !important;
  }

  .home .fm-home-hero__photo--3 {
    grid-column: 2;
    grid-row: 2;
    object-position: 50% 28% !important;
  }

  .home .fm-home-hero__shade {
    display: none !important;
  }

  .home .fm-home-hero__content {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 28px 24px 18px;
    transform: none !important;
  }

  .home .fm-home-hero h1 {
    width: 100% !important;
    margin: 0 0 14px !important;
    font-size: 30px !important;
    line-height: 1.08 !important;
  }

  .home .fm-home-hero__content > p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .home .fm-home-hero__content > .fm-btn {
    width: 215px;
    min-height: 50px;
    font-size: 12px !important;
  }

  .home .fm-home-hero__content > small {
    margin-top: 10px;
    font-size: 11px !important;
  }

  .home .fm-mobile-trust {
    position: relative !important;
    inset: auto !important;
    margin: 12px 16px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px !important;
  }

  .home .fm-mobile-trust span {
    min-height: 68px !important;
    padding: 8px 3px !important;
    font-size: 9px !important;
  }

  .home .fm-mobile-trust img {
    width: 29px !important;
    height: 29px !important;
  }

  .home [data-featured-slider],
  .home [data-commission-slider] {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }
}
@media (max-width: 640px) {
  .home .fm-home-hero {
    padding-bottom: 32px !important;
  }

  .home .fm-home-hero__content {
    padding: 26px 24px 0 !important;
  }
}
/* Final mobile hero text card and menu position */
@media (max-width: 640px) {
  /* Keep text completely separate from photographs */
  body.home .fm-home-hero__grid {
  height: 380px !important;
}

  body.home .fm-home-hero__content {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    margin: 20px 16px 0 !important;
    padding: 24px 20px 22px !important;
    transform: none !important;
    color: #292440 !important;
    background: linear-gradient(135deg, #fff8fc, #edf9ff) !important;
    border: 1px solid rgba(84, 188, 235, 0.25);
    border-radius: 20px;
    box-shadow: 0 18px 38px rgba(20, 18, 45, 0.18);
  }

  body.home .fm-home-hero h1 {
    margin: 0 0 14px !important;
    color: #292440 !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  body.home .fm-home-hero__content > p {
    margin-bottom: 19px !important;
    color: #55586d !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 600;
  }

  body.home .fm-home-hero__content > small {
    color: #55586d !important;
    font-size: 10px !important;
  }

  body.home .fm-home-hero {
    padding-bottom: 26px !important;
  }

  /* Topbar 34px + homepage navbar 84px */
  body.home .fm-site-header .fm-menu {
    inset: 118px 12px auto !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100dvh - 130px) !important;
    margin: 0 !important;
    padding: 14px !important;
    transform: none !important;
    box-sizing: border-box !important;
    border-radius: 0 0 22px 22px !important;
  }

  /* Internal pages: topbar 34px + navbar 76px */
  body:not(.home) .fm-site-header .fm-menu {
    inset: 110px 12px auto !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100dvh - 122px) !important;
    margin: 0 !important;
    transform: none !important;
  }
}
@media (max-width: 640px) {
  body.home .fm-home-hero__content > p {
    text-align: justify !important;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: break-word;
  }
}
/* =========================================================
   FINAL RESPONSIVE STABILIZATION
   Keep this as the LAST block in mobile.css
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* Consistent page spacing */
.fm-container,
.fm-home-shell,
.fm-fq-container,
.fm-quote-container {
    width: min(calc(100% - 40px), 1440px);
    margin-inline: auto;
}

/* Laptop and desktop */
@media (min-width: 981px) {
    .fm-hero {
        min-height: min(780px, calc(100svh - 128px)) !important;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 980px) {
    .fm-menu {
        max-height: calc(100dvh - 110px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .fm-btn,
    .home .fm-btn {
        min-height: 46px !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        white-space: normal;
        text-align: center;
    }
}

/* Tablet: 768 × 1024 */
@media (min-width: 641px) and (max-width: 980px) {
    .fm-container,
    .fm-home-shell,
    .fm-fq-container,
    .fm-quote-container {
        width: min(calc(100% - 48px), 920px);
    }

    .fm-home-benefits,
    .fm-home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* All phones: 360, 390 and 430 */
@media (max-width: 640px) {
    .fm-container,
    .fm-home-shell,
    .fm-fq-container,
    .fm-quote-container {
        width: calc(100% - 24px);
    }

    /* Replaces the problematic fixed 380px hero */
    .home .fm-home-hero__grid {
        width: 100% !important;
        height: clamp(320px, 88vw, 380px) !important;
        min-height: 0 !important;
    }

    /* Prevent CTA content from clipping */
    .home .fm-home-cta {
        height: auto !important;
        min-height: 390px !important;
    }

    /* Responsive headings */
    .fm-section-title,
    .fm-home-heading h2,
    .fm-fq-hero h1,
    .fm-quote-hero h1 {
        max-width: 100%;
        font-size: clamp(30px, 9vw, 42px) !important;
        line-height: 1.08 !important;
        overflow-wrap: anywhere;
    }

    /* Phone grids */
    .fm-home-benefits,
    .fm-home-blog-grid,
    .fm-quote-grid {
        grid-template-columns: 1fr !important;
    }

    .fm-btn,
    .home .fm-btn {
        min-height: 46px !important;
        padding-inline: 18px !important;
        font-size: 13px !important;
    }
}

/* Small mobile: 360 × 800 */
@media (max-width: 380px) {
    .fm-container,
    .fm-home-shell,
    .fm-fq-container,
    .fm-quote-container {
        width: calc(100% - 20px);
    }

    .home .fm-home-hero__grid {
        height: 320px !important;
    }

    .fm-section-title,
    .fm-home-heading h2,
    .fm-fq-hero h1,
    .fm-quote-hero h1 {
        font-size: clamp(28px, 8.5vw, 36px) !important;
    }
}

/* ==================================================
   Client video review fixes
   ================================================== */

/* Typography */
body,
.home {
    font-family: "Inter", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fm-home-heading h2,
.fm-home-hero h1,
.fm-price-panel h3,
.fm-process h3 {
    font-family: "Poppins", "Inter", Arial, sans-serif;
}

/* Darker lower portion of homepage hero */
.home .fm-home-hero__shade {
    background: linear-gradient(
        to bottom,
        rgba(37, 32, 63, 0.10) 20%,
        rgba(37, 32, 63, 0.66) 55%,
        rgba(24, 20, 45, 0.99) 100%
    );
}

/* Pricing active tab: remove pink-line artifact */
.home .fm-tab.is-active {
    border: 0;
    outline: 0;
    box-shadow: none;
    overflow: hidden;
    background-clip: padding-box;
}

/* Replace CTA sparkle/star with a clean arrow */
.home .fm-home-cta .fm-btn::after {
    content: "→" !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin-left: 7px;
    color: currentColor !important;
    font-size: 17px !important;
    line-height: 1;
    animation: none !important;
    transition: transform 0.2s ease;
}

.home .fm-home-cta .fm-btn:hover::after {
    transform: translateX(4px);
}

@media (min-width: 981px) {

    /* More visible navigation with better gaps */
    .home .fm-menu {
        gap: 30px;
    }

    .home .fm-menu a {
        font-size: 12px;
        font-weight: 700;
    }

    /* Pricing section spacing */
    .home .fm-tabs {
        gap: 14px;
        margin: 10px 0 24px;
    }

    .home .fm-price-panel__intro small {
        font-size: 11px;
        letter-spacing: 0.07em;
    }

    /* Align pricing, Featured Builds and Recent Commissions */
    .home .fm-home-subbar,
    .home .fm-home-featured,
    .home .fm-home-commission-grid {
        width: calc(100% - 56px);
        margin-right: auto;
        margin-left: auto;
    }

    /* Compact, non-overlapping Commission Process */
    .home .fm-home-process-section {
        min-height: 0 !important;
        padding: 56px 0 68px !important;
    }

    .home .fm-process {
        position: relative !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 28px !important;
        height: auto !important;
        margin-top: 38px !important;
    }

    .home .fm-process::before {
        display: none !important;
        content: none !important;
    }

    .home .fm-process__item,
    .home .fm-process__item:nth-child(n) {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        min-height: 0 !important;
    }

    .home .fm-process__icon {
        width: 205px !important;
        height: 170px !important;
        margin: 0 auto 2px !important;
    }

    .home .fm-process h3 {
        margin: 6px 0 8px;
    }

    /* Larger CTA characters, retaining left/right placement */
    .home .fm-home-cta__left {
        top: 4px !important;
        left: 30px !important;
        width: 245px !important;
        height: 365px !important;
    }

    .home .fm-home-cta__right {
        right: 35px !important;
        bottom: 12px !important;
        width: 260px !important;
        height: 345px !important;
    }
}
/* ==================================================
   Client review: Name Generator alignment
   ================================================== */

/* Centre the Name Generator hero */
.fm-ng-hero__inner {
    width: min(100%, 1100px);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.fm-ng-hero h1 {
    max-width: 970px;
    margin-right: auto;
    margin-left: auto;
}

.fm-ng-hero__copy {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
}

.fm-ng-hero__proof,
.fm-ng-name-cloud {
    justify-content: center;
}

/* Centre the complete generator */
.fm-ng-stage > .fm-ng-container {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.fm-ng-studio {
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: 340px minmax(0, 1fr);
}

/* Centre the workspace without centring form labels */
.fm-ng-workspace {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fm-ng-form,
.fm-ng-processing,
.fm-ng-result {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

/* Keep form content readable */
.fm-ng-step,
.fm-ng-field,
.fm-ng-fieldset {
    text-align: left;
}

/* Centre the lower information cards */
.fm-ng-notes {
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 980px) {
    .fm-ng-studio {
        grid-template-columns: 1fr;
    }

    .fm-ng-guide,
    .fm-ng-workspace {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .fm-ng-stage > .fm-ng-container {
        width: min(100% - 24px, 1180px);
    }

    .fm-ng-hero h1 {
        font-size: 38px;
        line-height: 1.04;
        letter-spacing: -0.045em;
    }

    .fm-ng-workspace {
        padding-right: 18px;
        padding-left: 18px;
    }
}
/* Hide only the Retake Quiz button */
.fm-fq-result__actions [data-fq-restart] {
    display: none !important;
}

/* Hide the circled processing description, bar and percentage */
.fm-fq-processing > p:not(.fm-fq-kicker),
.fm-fq-processing__progress,
.fm-fq-processing > [data-fq-processing-percent] {
    display: none !important;
}

/* Centre the remaining result CTA */
.fm-fq-result__actions {
    justify-content: center !important;
}

.fm-fq-result__actions [data-fq-result-cta] {
    width: auto !important;
    min-width: 230px;
}
/* Properly centre the quiz result CTA */
.fm-fq-result__actions {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.fm-fq-result__actions .fm-fq-button {
    display: inline-flex !important;
    width: 250px !important;
    min-width: 250px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}
/* Remove decorative stars from website buttons */
.fm-btn::before,
.fm-btn::after,
.fm-button::before,
.fm-button::after,
.fm-fq-button::before,
.fm-fq-button::after,
.fm-ng-button::before,
.fm-ng-button::after {
    display: none !important;
    content: none !important;
}

/* Hide star elements written directly inside buttons */
.fm-btn > span[aria-hidden],
.fm-button > span[aria-hidden],
.fm-fq-button > span[aria-hidden],
.fm-ng-button > span[aria-hidden] {
    display: none !important;
}

/* ==================================================
   Compact Fursona Quiz introduction
   ================================================== */

.fm-fq-stage {
    padding-top: 28px !important;
    padding-bottom: 60px !important;
}

.fm-fq-intro.fm-fq-intro--reference {
    width: min(960px, calc(100% - 32px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 36px 38px 40px !important;
    text-align: center !important;
    border-radius: 24px !important;
}

/* Page Introduction heading */
.fm-fq-intro--reference .fm-fq-intro__content > h2 {
    margin: 0 0 16px !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
}

/* Introduction paragraphs */
.fm-fq-intro--reference .fm-fq-intro__copy {
    display: grid !important;
    gap: 13px !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.fm-fq-intro--reference .fm-fq-intro__copy p {
    margin: 0 !important;
}

.fm-fq-intro--reference .fm-fq-intro__ready {
    margin-top: 5px !important;
    font-size: 16px !important;
}

/* How It Works heading */
.fm-fq-how-title {
    margin: 28px 0 16px !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
}

/* Compact three-card row */
.fm-fq-intro--reference .fm-fq-benefits {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 820px !important;
    margin: 0 auto 25px !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 185px !important;
    padding: 18px 15px !important;
    text-align: center !important;
    border-radius: 18px !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div > span {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 11px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
}

.fm-fq-intro--reference .fm-fq-benefits strong {
    margin-bottom: 7px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.fm-fq-intro--reference .fm-fq-benefits p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* FINAL consistent step-number styling across quote, quiz and generator flows. */
.fm-qf-progress__steps button > span,
.fm-ng-notes article > span,
.fm-fq-benefits article > span {
    overflow: hidden !important;
    border-radius: 50% !important;
    background-color: #55bdeb !important;
    background-image: linear-gradient(135deg, #f25caf 0%, #b58bdc 50%, #55bdeb 100%) !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
}

.fm-qf-progress__steps button > span::before,
.fm-qf-progress__steps button > span::after,
.fm-ng-notes article > span::before,
.fm-ng-notes article > span::after {
    display: none !important;
    content: none !important;
}

/* Remove decorative symbols from buttons, but retain real slider/lightbox controls. */
.fm-btn::before,
.fm-btn::after,
.fm-button::before,
.fm-button::after,
.fm-qf-button::before,
.fm-qf-button::after,
.fm-fq-button::before,
.fm-fq-button::after,
.fm-ng-button::before,
.fm-ng-button::after,
.fm-fp-button::before,
.fm-fp-button::after,
.fm-gp-button::before,
.fm-gp-button::after {
    display: none !important;
    content: none !important;
}

.fm-btn > span[aria-hidden="true"],
.fm-button > span[aria-hidden="true"],
.fm-qf-button > span[aria-hidden="true"],
.fm-fq-button > span[aria-hidden="true"],
.fm-ng-button > span[aria-hidden="true"],
.fm-fp-button > span[aria-hidden="true"],
.fm-gp-button > span[aria-hidden="true"],
.fm-ng-result__cta > i[aria-hidden="true"] {
    display: none !important;
}

/* FINAL theme-wide cleanup for stray artwork in icon PNG left margins. */
.home .fm-process__icon,
.home .fm-benefit > img,
.home .fm-mobile-heading-icon,
.home .fm-home-decoration {
    clip-path: inset(0 0 0 27%) !important;
}

/* price-quote.png has fragments slightly farther inside its left margin. */
.home .fm-process__item:nth-child(2) .fm-process__icon,
.fm-cta__art[src*="price-quote.png"] {
    clip-path: inset(0 0 0 29%) !important;
}

/* FINAL mobile decorative alignment -- keep at end. */
@media (max-width: 640px) {
  .home .fm-home-cta { min-height: 410px !important; padding: 105px 26px 115px !important; }
  .home .fm-home-cta__left { top: 4px !important; left: 4px !important; right: auto !important; bottom: auto !important; width: 112px !important; height: 132px !important; object-position: left top !important; transform: none !important; }
  .home .fm-home-cta__right { top: auto !important; left: auto !important; right: 4px !important; bottom: 2px !important; width: 122px !important; height: 138px !important; object-position: right bottom !important; transform: none !important; }
  .home .fm-home-testimonials-section,
  .home .fm-home-faq-section,
  .home .fm-home-blog-section { padding-top: 128px !important; }
  .home .fm-home-decoration--testimonial-left,
  .home .fm-home-decoration--faq,
  .home .fm-home-decoration--blog { display: block !important; top: 18px !important; left: 50% !important; right: auto !important; bottom: auto !important; width: 100px !important; height: 100px !important; object-fit: contain !important; transform: translateX(-50%) !important; }
  .home .fm-home-decoration--testimonial-right { display: none !important; }
}

/* FINAL mobile homepage overrides -- keep at end of file. */
@media (max-width: 640px) {
  .home [data-featured-slider] figure,
  .home [data-commission-slider] .fm-home-commission-card { animation: none !important; transition: none !important; transform: none !important; }
  .home .fm-process__icon { width: 220px !important; height: 220px !important; }
  .home .fm-benefit img { width: 112px !important; height: 112px !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; }
  .home .fm-mobile-heading-icon { width: 82px !important; height: 82px !important; object-fit: contain !important; }
  .home .fm-home-cta { position: relative !important; min-height: 430px !important; padding: 105px 24px 125px !important; overflow: hidden !important; }
  .home .fm-home-cta > div { position: relative !important; z-index: 2 !important; }
  .home .fm-home-cta__left { display: block !important; top: 8px !important; bottom: auto !important; left: -5px !important; right: auto !important; width: 132px !important; height: 150px !important; object-fit: contain !important; object-position: left top !important; }
  .home .fm-home-cta__right { display: block !important; top: auto !important; bottom: -4px !important; left: auto !important; right: -4px !important; width: 142px !important; height: 158px !important; object-fit: contain !important; object-position: right bottom !important; }
  .home .fm-home-decoration--testimonial-left,
  .home .fm-home-decoration--testimonial-right,
  .home .fm-home-decoration--faq,
  .home .fm-home-decoration--blog { display: block !important; width: 104px !important; height: 104px !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; transform: none !important; }
  .home .fm-home-decoration--testimonial-left { top: 18px !important; left: 8px !important; right: auto !important; bottom: auto !important; }
  .home .fm-home-decoration--testimonial-right { top: auto !important; left: auto !important; right: 8px !important; bottom: 20px !important; }
  .home .fm-home-decoration--faq { top: 18px !important; left: 10px !important; right: auto !important; }
  .home .fm-home-decoration--blog { top: 18px !important; left: auto !important; right: 10px !important; }
}

/* Final client overrides: keep these at the end of this file. */
.home .fm-process__icon {
  display: block !important;
  width: 190px !important;
  height: 190px !important;
  aspect-ratio: 1 / 1 !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* Clean the unused left margin on every process icon. */
.home .fm-process__item .fm-process__icon {
  clip-path: inset(0 0 0 27%) !important;
}

/* The price-quote PNG needs a slightly deeper crop for its stray fragment. */
.home .fm-process__item:nth-child(2) .fm-process__icon {
  clip-path: inset(0 0 0 29%) !important;
}

.fm-qf-progress__mobile,
[data-qf-mobile-step] {
  display: none !important;
}

@media (max-width: 640px) {
  .home .fm-home-hero__shade {
    display: block !important;
    inset: 0 !important;
    opacity: 1 !important;
    background: linear-gradient(to bottom, rgba(35, 29, 58, .16) 5%, rgba(35, 29, 58, .62) 55%, rgba(24, 20, 43, .96) 100%) !important;
  }
  .home .fm-process__item,
  .home .fm-process__item:nth-child(n) { overflow: visible !important; }
  .home .fm-process__icon {
    display: block !important;
    width: 190px !important;
    height: 190px !important;
    aspect-ratio: 1 / 1 !important;
    max-width: 100% !important;
    margin: 0 auto 8px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
  .home .fm-home-decoration--faq,
  .home .fm-home-decoration--blog {
    width: 115px !important;
    height: 105px !important;
    object-fit: contain !important;
  }
}
@media (min-width: 981px) {
  .home .fm-process__icon {
    width: 240px !important;
    height: 240px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    transform: none !important;
  }
}

/* Compact and centred Start button */
.fm-fq-intro--reference [data-fq-start] {
    display: flex !important;
    width: 210px !important;
    min-width: 210px !important;
    min-height: 52px !important;
    margin: 0 auto !important;
    padding: 12px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

/* Tablet */
@media (max-width: 760px) {
    .fm-fq-intro--reference .fm-fq-benefits {
        grid-template-columns: 1fr !important;
        max-width: 430px !important;
    }

    .fm-fq-intro--reference .fm-fq-benefits > div {
        min-height: 0 !important;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .fm-fq-intro.fm-fq-intro--reference {
        width: calc(100% - 20px) !important;
        padding: 25px 17px 28px !important;
    }

    .fm-fq-intro--reference .fm-fq-intro__content > h2 {
        font-size: 27px !important;
    }

    .fm-fq-intro--reference .fm-fq-intro__copy {
        font-size: 13px !important;
    }

    .fm-fq-how-title {
        font-size: 24px !important;
    }

    .fm-fq-intro--reference [data-fq-start] {
        width: 100% !important;
    }
}
/* Fix How It Works card alignment */
.fm-fq-intro--reference .fm-fq-benefits > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div > span {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 12px !important;
    transform: none !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div:hover > span {
    transform: none !important;
}

.fm-fq-intro--reference .fm-fq-benefits strong {
    display: block !important;
    width: 100% !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
    text-align: center !important;
    transform: none !important;
}

.fm-fq-intro--reference .fm-fq-benefits p {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    transform: none !important;
}

/* ABSOLUTE FINAL: smooth round step badges and symbol-free CTA buttons. */
.fm-qf-progress__steps button > span,
.fm-ng-notes article > span {
    overflow: hidden !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f25caf 0%, #b58bdc 50%, #55bdeb 100%) !important;
    background-size: 100% 100% !important;
    box-shadow: none !important;
}
.fm-qf-progress__steps button > span::before,
.fm-qf-progress__steps button > span::after,
.fm-ng-notes article > span::before,
.fm-ng-notes article > span::after,
.fm-btn::before, .fm-btn::after,
.fm-button::before, .fm-button::after,
.fm-qf-button::before, .fm-qf-button::after,
.fm-fq-button::before, .fm-fq-button::after,
.fm-ng-button::before, .fm-ng-button::after,
.fm-fp-button::before, .fm-fp-button::after,
.fm-gp-button::before, .fm-gp-button::after {
    display: none !important;
    content: none !important;
}
.fm-btn > span[aria-hidden="true"],
.fm-button > span[aria-hidden="true"],
.fm-qf-button > span[aria-hidden="true"],
.fm-fq-button > span[aria-hidden="true"],
.fm-ng-button > span[aria-hidden="true"],
.fm-fp-button > span[aria-hidden="true"],
.fm-gp-button > span[aria-hidden="true"],
.fm-ng-result__cta > i[aria-hidden="true"] { display: none !important; }

/* TRUE FINAL: numbered steps use one solid brand colour, never a gradient. */
.fm-qf-progress__steps button > span,
.fm-ng-notes article > span,
.fm-fq-benefits article > span,
.fm-fq-benefits > div > span {
    color: #ffffff !important;
    border-color: transparent !important;
    border-radius: 999px !important;
    background-color: #55bdeb !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Restore homepage commission numbers and force its CTA button to text-only. */
.home .fm-process__number {
    display: block !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    color: var(--fm-pink) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
}

body.home .fm-home-cta .fm-btn::before,
body.home .fm-home-cta .fm-btn::after,
body.home .fm-home-cta .fm-btn:hover::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

.fm-qf-progress__steps .is-current button > span,
.fm-qf-progress__steps .is-complete button > span {
    background-color: #55bdeb !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Theme-wide readable spacing between words in major headings. */
h1,
h2,
.fm-heading,
.fm-gradient-text,
.fm-home-heading h2,
.fm-fq-hero h1,
.fm-ng-hero h1,
.fm-qf-hero h1 {
    word-spacing: .16em !important;
}

@media (max-width: 640px) {
    h1,
    h2,
    .fm-heading,
    .fm-gradient-text {
        word-spacing: .12em !important;
    }
}
/* Real customer reviews and legal page — v1.1.39 */
.home .fm-testimonials.fm-customer-review-track { display: grid !important; grid-auto-flow: column !important; grid-auto-columns: calc((100% - 60px) / 3) !important; grid-template-columns: none !important; gap: 30px !important; align-items: stretch; overflow: hidden !important; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.home .fm-review { display: flex; min-height: 0; flex-direction: column; }
.home .fm-testimonials .fm-review { width: 100%; scroll-snap-align: start; }
.home .fm-review__person { margin: 0 0 18px; }
.fm-review__avatar { display: grid !important; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#ff6bb6,#59c1eb); color: #fff !important; font-size: 13px !important; font-weight: 900; }
.home .fm-stars { margin-bottom: 10px; letter-spacing: .05em; }
.home .fm-stars .is-empty { color: #d7dbe4; }
.home .fm-review blockquote { min-height: 0; margin: 0 0 14px; font-size: 17px; }
.home .fm-review > p { display: block; flex: 1; font-size: 13px; line-height: 1.65; }
.fm-review__footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.fm-review__footer span { padding: 5px 8px; border-radius: 5px; background: #f0f1f4; color: #545b6d; font-size: 10px; }

.fm-legal-hero { padding: 95px 0 70px; text-align: center; background: var(--fm-pastel-gradient); }
.fm-legal-hero p { color: var(--fm-blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.fm-legal-hero h1 { margin: 12px 0; font-size: clamp(42px, 6vw, 76px); line-height: 1; }
.fm-legal-hero small { color: var(--fm-muted); }
.fm-legal-page { padding: 72px 0 100px; background: #fff; }
.fm-legal-page .fm-container { max-width: 1000px; }
.fm-legal-intro { margin-bottom: 28px; padding: 28px 32px; border: 1px solid #cdeaf6; border-radius: 18px; background: linear-gradient(135deg,#fff5fa,#f0fbff); }
.fm-legal-intro strong { font-size: 20px; }
.fm-legal-intro p { margin-bottom: 0; color: var(--fm-muted); }
.fm-legal-section { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid #e5edf3; }
.fm-legal-section > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: linear-gradient(135deg,#ff65b4,#54bce9); color: #fff; font-weight: 900; }
.fm-legal-section h2 { margin: 4px 0 18px; font-size: clamp(24px,3vw,34px); }
.fm-legal-section p { margin: 0 0 14px; color: var(--fm-muted); line-height: 1.75; }
.fm-footer-bottom a { color: inherit; }

@media (max-width: 900px) {
  .home .fm-testimonials.fm-customer-review-track { grid-auto-columns: calc((100% - 24px) / 2) !important; gap: 24px !important; }
}
@media (max-width: 640px) {
  .home .fm-testimonials.fm-customer-review-track { display: grid !important; grid-auto-columns: 100% !important; grid-template-columns: none !important; gap: 16px !important; }
  .home .fm-review:nth-child(n+3) { display: flex; }
  .home .fm-review { min-height: 0; }
  .home .fm-review__person { margin-top: 0; }
  .home .fm-review > p { display: block; }
  .fm-legal-hero { padding: 58px 0 46px; }
  .fm-legal-page { padding: 42px 0 70px; }
  .fm-legal-intro { padding: 22px; }
  .fm-legal-section { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
}
/* Client mobile corrections — v1.1.45 */
.home .fm-review.fm-review--screenshot { padding: 0 !important; min-height: 0 !important; overflow: hidden; background: #fff; }
.home .fm-review--screenshot > img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: contain; object-position: center; background: #fff; }
.fm-fq-intro--reference .fm-fq-benefits > div > span img,
.fm-ng-notes article > span img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fm-fq-intro--reference .fm-fq-benefits > div > span { overflow: hidden; padding: 5px; }
.fm-ng-notes article > span { overflow: hidden; padding: 5px; }
.fm-ng-notes-after-generator { padding-top: 34px; padding-bottom: 70px; }

@media (max-width: 640px) {
  body.home .fm-home-hero__shade { display: none !important; background: none !important; }
  body.home .fm-home-cta { min-height: 390px !important; padding: 82px 28px 105px !important; }
  body.home .fm-home-cta > div { position: relative !important; z-index: 3 !important; }
  body.home .fm-home-cta__left { top: 4px !important; left: 2px !important; width: 82px !important; height: 102px !important; object-fit: contain !important; object-position: left top !important; }
  body.home .fm-home-cta__right { right: 3px !important; bottom: 3px !important; width: 116px !important; height: 132px !important; object-fit: contain !important; object-position: right bottom !important; }
  .home .fm-review--screenshot > img { min-height: 0; height: auto; }
  .fm-fq-intro--reference .fm-fq-benefits > div > span { width: 78px !important; height: 78px !important; margin-inline: auto !important; }
  .fm-ng-notes-after-generator { padding-top: 24px; padding-bottom: 45px; }
  .fm-ng-notes article > span { width: 72px !important; height: 72px !important; flex: 0 0 72px !important; }
}
/* Worldwide responsive foundation — v1.1.46 */
html { overflow-x: hidden; }
body { min-width: 0; overflow-x: clip; }
img, video, iframe, svg { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
.fm-container, .fm-home-shell, .fm-fq-container, .fm-ng-container, .fm-gp-container, .fm-quote-container { min-width: 0; }
h1, h2, h3, p, a, button, label, strong, small { overflow-wrap: break-word; }

@media (min-width: 901px) and (max-width: 1199px) {
  .fm-container, .fm-home-shell { width: calc(100% - 48px) !important; }
  .fm-site-header .fm-container { width: calc(100% - 40px) !important; }
  .fm-primary-nav, .fm-main-nav { gap: clamp(14px, 2vw, 26px) !important; }
  .fm-primary-nav a, .fm-main-nav a { font-size: clamp(10px, 1.15vw, 13px) !important; white-space: nowrap; }
  .fm-header-cta { min-width: 170px !important; padding-inline: 22px !important; }
  .home .fm-home-hero h1 { font-size: clamp(44px, 5.3vw, 56px) !important; }
  .home .fm-home-heading h2 { font-size: clamp(40px, 5vw, 58px) !important; }
  .fm-ng-hero h1 { max-width: min(900px, 92vw) !important; font-size: clamp(54px, 6.3vw, 72px) !important; }
  .fm-blog-page h1, .fm-blog-hero h1 { font-size: clamp(52px, 6vw, 68px) !important; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .fm-container, .fm-home-shell, .fm-fq-container, .fm-ng-container { width: calc(100% - 40px) !important; }
  .home .fm-home-hero { height: clamp(650px, 86vh, 760px) !important; min-height: 650px; }
  .home .fm-home-hero h1 { width: min(100%, 600px) !important; font-size: clamp(38px, 6.5vw, 48px) !important; line-height: 1.06 !important; }
  .home .fm-home-hero__content > p { max-width: 620px !important; font-size: clamp(12px, 1.7vw, 15px) !important; }
  .home .fm-home-heading h2 { font-size: clamp(36px, 6vw, 48px) !important; line-height: 1.08 !important; }
  .fm-fq-hero h1 { font-size: clamp(38px, 6vw, 48px) !important; }
  .fm-ng-hero h1 { max-width: 94vw !important; font-size: clamp(42px, 6.3vw, 52px) !important; line-height: 1.08 !important; }
  .fm-ng-hero__copy { max-width: 650px !important; }
  .fm-blog-page h1, .fm-blog-hero h1 { font-size: clamp(44px, 7vw, 56px) !important; }
}

@media (max-width: 640px) {
  .fm-container, .fm-home-shell, .fm-fq-container, .fm-ng-container, .fm-gp-container, .fm-quote-container { width: calc(100% - 28px) !important; max-width: none !important; }
  body.home .fm-home-hero { height: auto !important; min-height: clamp(720px, 108svh, 880px) !important; padding-bottom: 30px !important; }
  body.home .fm-home-hero__content { left: 22px !important; right: 22px !important; width: auto !important; }
  body.home .fm-home-hero h1 { font-size: clamp(27px, 8.5vw, 36px) !important; line-height: 1.08 !important; }
  body.home .fm-home-hero__content > p { font-size: clamp(11px, 3.4vw, 14px) !important; line-height: 1.5 !important; }
  .home .fm-home-heading h2 { font-size: clamp(30px, 9vw, 40px) !important; line-height: 1.08 !important; }
  .home .fm-price-tabs { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; width: 100% !important; gap: 8px !important; }
  .home .fm-price-tabs button { width: 100% !important; min-width: 0 !important; }
  .home .fm-home-slider-row { width: 100% !important; }
  .home .fm-home-commission-card, .home .fm-review { min-width: 0 !important; }
  .fm-fq-hero h1 { font-size: clamp(28px, 9vw, 36px) !important; line-height: 1.08 !important; }
  .fm-fq-shell, .fm-fq-intro__content { padding-inline: clamp(14px, 4vw, 22px) !important; }
  .fm-ng-hero { padding-inline: 14px !important; }
  .fm-ng-hero h1 { max-width: 100% !important; font-size: clamp(31px, 10vw, 40px) !important; line-height: 1.06 !important; }
  .fm-ng-hero__copy { font-size: 14px !important; line-height: 1.55 !important; }
  .fm-ng-workspace, .fm-ng-form, .fm-ng-processing, .fm-ng-result { min-width: 0 !important; }
  .fm-ng-actions { flex-wrap: wrap !important; }
  .fm-ng-actions .fm-ng-button { flex: 1 1 140px !important; }
  .fm-blog-page h1, .fm-blog-hero h1 { font-size: clamp(36px, 12vw, 46px) !important; }
  .fm-site-footer .fm-footer-grid { gap: 28px 18px !important; }
}

@media (max-width: 374px) {
  .fm-container, .fm-home-shell, .fm-fq-container, .fm-ng-container, .fm-gp-container, .fm-quote-container { width: calc(100% - 22px) !important; }
  .fm-topbar { font-size: 9px !important; }
  .fm-logo__image { max-width: 105px !important; }
  body.home .fm-home-hero__content { left: 16px !important; right: 16px !important; }
  .home .fm-home-heading h2 { font-size: 29px !important; }
  .fm-ng-hero h1 { font-size: 31px !important; }
  .fm-fq-benefits, .fm-ng-notes { gap: 14px !important; }
}

@media (max-height: 650px) and (min-width: 641px) {
  .home .fm-home-hero { height: 620px !important; min-height: 620px !important; }
  .home .fm-home-hero__content { bottom: 36px !important; }
}
/* Desktop client corrections — v1.1.47 */
@media (min-width: 901px) {
  body.home .fm-home-cta { min-height: 430px !important; overflow: hidden !important; }
  body.home .fm-home-cta > div { position: relative !important; z-index: 3 !important; padding-inline: 185px !important; }
  body.home .fm-home-cta__left { left: 34px !important; top: 48px !important; width: 150px !important; height: 220px !important; object-fit: contain !important; object-position: center !important; }
  body.home .fm-home-cta__right { right: 46px !important; bottom: 32px !important; width: 172px !important; height: 212px !important; object-fit: contain !important; object-position: center !important; }
}
.fm-blogs-hero { overflow: visible !important; }
.fm-blogs-hero__content { overflow: visible !important; padding-block: 8px 14px !important; }
.fm-blogs-hero h1 { display: block !important; overflow: visible !important; padding: .08em .05em .16em !important; line-height: 1.05 !important; }
.fm-fq-intro--reference .fm-fq-benefits > div > span::before,
.fm-fq-intro--reference .fm-fq-benefits > div > span::after { display: none !important; content: none !important; }
.fm-fq-intro--reference .fm-fq-benefits > div > span { background: transparent !important; border-radius: 18px !important; }
.fm-fq-intro--reference .fm-fq-benefits > div > span img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: center !important; transform: none !important; }
.fm-fq-result__visual { overflow: hidden !important; }
.fm-fq-result__profile-image,
[data-fq-result-image] { inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: 47% center !important; transform: none !important; filter: drop-shadow(0 18px 22px rgba(37,32,63,.16)) !important; }
@media (max-width: 900px) {
  .fm-fq-result__profile-image, [data-fq-result-image] { object-position: center center !important; }
}

/* Compact phone layout — v1.1.48 */
@media (max-width: 640px) {
  body.home main .fm-home-hero {
    height: 710px !important;
    min-height: 710px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.home main .fm-home-hero__grid {
    inset: 112px 12px auto !important;
    width: auto !important;
    height: 292px !important;
    gap: 6px !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  }
  body.home main .fm-home-hero__content {
    position: absolute !important;
    inset: 380px 18px auto !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 23px 20px 21px !important;
    border-radius: 22px !important;
    transform: none !important;
  }
  body.home main .fm-home-hero h1 {
    margin: 0 0 12px !important;
    font-size: clamp(29px, 8.2vw, 34px) !important;
    line-height: 1.04 !important;
  }
  body.home main .fm-home-hero__content > p {
    margin: 0 0 17px !important;
    font-size: clamp(11px, 3.2vw, 13px) !important;
    line-height: 1.45 !important;
    text-align: left !important;
  }
  body.home main .fm-home-hero__content .fm-button {
    width: auto !important;
    min-height: 46px !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
  }
  body.home main .fm-home-hero__content small {
    margin-top: 10px !important;
    font-size: 10px !important;
  }

  body.home main .fm-home-cta {
    min-height: 350px !important;
    padding: 72px 22px 82px !important;
    overflow: hidden !important;
  }
  body.home main .fm-home-cta > div {
    max-width: 310px !important;
    margin-inline: auto !important;
  }
  body.home main .fm-home-cta h2 {
    max-width: 300px !important;
    margin: 0 auto 16px !important;
    font-size: clamp(27px, 8.2vw, 32px) !important;
    line-height: 1.08 !important;
  }
  body.home main .fm-home-cta p {
    max-width: 290px !important;
    margin: 0 auto 22px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  body.home main .fm-home-cta .fm-button {
    min-height: 48px !important;
    padding: 13px 22px !important;
    font-size: 13px !important;
  }
  body.home main .fm-home-cta__left {
    top: 7px !important;
    left: 8px !important;
    width: 50px !important;
    height: 62px !important;
  }
  body.home main .fm-home-cta__right {
    right: 8px !important;
    bottom: 8px !important;
    width: 88px !important;
    height: 102px !important;
  }
}

/* Quiz result artwork: center the visible character, not its uneven PNG canvas. */
@media (max-width: 900px) {
  .fm-fq-result__visual {
    display: grid !important;
    place-items: center !important;
  }

  .fm-fq-result__profile-image,
  [data-fq-result-image] {
    margin: auto !important;
    transform: translateX(var(--fm-fq-character-shift, 0%)) !important;
    will-change: transform;
  }
}

/* Uncropped mobile hero photography — v1.1.51 */
@media (max-width: 640px) {
  body.home main .fm-home-hero__grid {
    height: auto !important;
    grid-template-columns: minmax(0, .607fr) repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    background: #292440 !important;
  }
  body.home main .fm-home-hero__photo {
    display: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #211d38 !important;
    border-radius: 11px !important;
  }
  body.home main .fm-home-hero__photo--1,
  body.home main .fm-home-hero__photo--2,
  body.home main .fm-home-hero__photo--3 {
    display: block !important;
    grid-row: 1 !important;
  }
  body.home main .fm-home-hero__photo--1 { grid-column: 1 !important; }
  body.home main .fm-home-hero__photo--2 { grid-column: 2 !important; }
  body.home main .fm-home-hero__photo--3 { grid-column: 3 !important; }
}

@media (max-width: 374px) {
  body.home main .fm-home-hero { height: 680px !important; min-height: 680px !important; }
  body.home main .fm-home-hero__grid { height: 264px !important; }
  body.home main .fm-home-hero__content { inset: 350px 14px auto !important; padding: 20px 17px !important; }
  body.home main .fm-home-hero h1 { font-size: 27px !important; }
  body.home main .fm-home-cta { min-height: 330px !important; padding: 66px 18px 76px !important; }
  body.home main .fm-home-cta h2 { font-size: 26px !important; }
  body.home main .fm-home-cta__left { width: 45px !important; height: 56px !important; }
  body.home main .fm-home-cta__right { width: 78px !important; height: 92px !important; }
}

/* Cross-device finishing pass — v1.1.49 */
@media (max-width: 640px) {
  body.home main .fm-home-pricing,
  body.home main .fm-home-process-section,
  body.home main .fm-home-benefits-section,
  body.home main .fm-home-testimonials-section,
  body.home main .fm-home-commissions {
    min-height: 0 !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
  body.home main .fm-home-heading { margin-bottom: 30px !important; }
  body.home main .fm-home-heading h2 {
    max-width: 100% !important;
    margin-inline: auto !important;
    font-size: clamp(28px, 8.6vw, 36px) !important;
    line-height: 1.08 !important;
  }
  body.home main .fm-home-heading > p {
    max-width: 34ch !important;
    margin-inline: auto !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  body.home main .fm-price-panel { padding: 23px 18px !important; border-radius: 20px !important; }
  body.home main .fm-price-panel__intro p,
  body.home main .fm-price-panel__features ul,
  body.home main .fm-process p,
  body.home main .fm-benefit p { font-size: 13px !important; line-height: 1.55 !important; }
  body.home main .fm-process { gap: 28px !important; margin-top: 28px !important; }
  body.home main .fm-process__item { padding-block: 4px !important; }
  body.home main .fm-benefits { gap: 16px !important; }
  body.home main .fm-benefit { padding: 22px 18px !important; border-radius: 20px !important; }

  .fm-gp-hero h1,
  .fm-blogs-hero h1,
  .fm-blog-hero h1,
  .fm-qf-hero h1,
  .fm-pricing-hero h1,
  .fm-legal-hero h1 {
    max-width: 100% !important;
    font-size: clamp(34px, 10.5vw, 42px) !important;
    line-height: 1.06 !important;
  }
  .fm-gp-filter-list,
  .fm-gallery-filters,
  .fm-price-tabs {
    max-width: 100% !important;
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .fm-gp-filter-list::-webkit-scrollbar,
  .fm-gallery-filters::-webkit-scrollbar,
  .fm-price-tabs::-webkit-scrollbar { display: none; }
  .fm-gp-card,
  .fm-blog-card,
  .fm-qf-card,
  .fm-ng-workspace,
  .fm-fq-intro__content { border-radius: 20px !important; }
  .fm-site-footer { overflow: hidden !important; }
  .fm-site-footer .fm-footer-grid { grid-template-columns: 1fr !important; }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.home main .fm-home-cta { min-height: 390px !important; overflow: hidden !important; }
  body.home main .fm-home-cta > div { max-width: 540px !important; padding-inline: 85px !important; }
  body.home main .fm-home-cta__left { left: 18px !important; width: 100px !important; height: 150px !important; object-fit: contain !important; }
  body.home main .fm-home-cta__right { right: 22px !important; width: 118px !important; height: 150px !important; object-fit: contain !important; }
  .fm-site-footer .fm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* True mobile flow: no fixed-height clipping — v1.1.50 */
@media (max-width: 640px) {
  body.home main .fm-home-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 118px 0 18px !important;
    overflow: hidden !important;
  }
  body.home main .fm-home-hero__grid {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: 220px !important;
    margin: 0 14px !important;
    gap: 6px !important;
  }
  body.home main .fm-home-hero__content {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: -10px 18px 0 !important;
    padding: 20px 18px 18px !important;
    border-radius: 20px !important;
    transform: none !important;
  }
  body.home main .fm-home-hero h1 {
    margin-bottom: 10px !important;
    font-size: clamp(27px, 7.6vw, 30px) !important;
    line-height: 1.03 !important;
  }
  body.home main .fm-home-hero__content > p {
    margin-bottom: 14px !important;
    font-size: clamp(11.5px, 3.05vw, 12.5px) !important;
    line-height: 1.48 !important;
  }
  body.home main .fm-home-hero__content .fm-button {
    min-height: 44px !important;
    padding: 11px 20px !important;
    font-size: 12px !important;
  }
  body.home main .fm-home-hero__content .fm-btn {
    min-height: 44px !important;
    padding: 11px 20px !important;
    font-size: 12px !important;
  }
  body.home main .fm-home-hero__content small {
    margin-top: 8px !important;
    font-size: 9.5px !important;
  }

  body.home main .fm-home-cta {
    height: auto !important;
    min-height: 0 !important;
    padding: 52px 20px 62px !important;
  }
  body.home main .fm-home-cta > div { max-width: 300px !important; }
  body.home main .fm-home-cta h2 {
    max-width: 290px !important;
    margin-bottom: 14px !important;
    font-size: clamp(25px, 7.5vw, 28px) !important;
    line-height: 1.06 !important;
  }
  body.home main .fm-home-cta p {
    max-width: 280px !important;
    margin-bottom: 18px !important;
    font-size: 12.5px !important;
  }
  body.home main .fm-home-cta__left {
    top: -8px !important;
    left: -20px !important;
    width: 92px !important;
    height: 112px !important;
  }
  body.home main .fm-home-cta__right {
    right: -6px !important;
    bottom: -5px !important;
    width: 104px !important;
    height: 116px !important;
  }

  body.home main .fm-home-benefits-section { padding-top: 32px !important; }
  body.home main .fm-home-benefits-section .fm-home-heading { margin-bottom: 20px !important; }
  body.home main .fm-home-benefits-section .fm-mobile-heading-icon {
    width: 64px !important;
    height: 64px !important;
    transform: scale(1.55) !important;
    transform-origin: center !important;
  }
  body.home main .fm-home-benefits-section .fm-home-heading h2 {
    font-size: clamp(28px, 8vw, 32px) !important;
  }
}

@media (max-width: 374px) {
  body.home main .fm-home-hero { padding-top: 108px !important; }
  body.home main .fm-home-hero__grid { height: 195px !important; margin-inline: 11px !important; }
  body.home main .fm-home-hero__content { margin-inline: 13px !important; padding: 18px 15px 16px !important; }
  body.home main .fm-home-hero h1 { font-size: 25px !important; }
  body.home main .fm-home-hero__content > p { font-size: 11px !important; }
  body.home main .fm-home-cta { padding: 48px 16px 58px !important; }
}

@media (min-width: 901px) and (max-width: 1199px) {
  body.home .fm-home-cta__left {
    left: 24px !important;
    width: 126px !important;
    height: 184px !important;
  }
  body.home .fm-home-cta__right {
    right: 28px !important;
    width: 130px !important;
    height: 170px !important;
  }
}

@media (max-width: 640px) {
  body.home main .fm-home-hero__grid { height: auto !important; }
}

@media (max-width: 374px) {
  .fm-topbar__email {
    max-width: none !important;
    overflow: visible !important;
    font-size: 9.5px !important;
    white-space: nowrap !important;
  }
}

/* ================================================================
   CANONICAL RESPONSIVE SYSTEM — v1.1.53
   This is intentionally the final cascade layer for every viewport.
   ================================================================ */

/* Natural word spacing prevents forced gaps and mid-word wrapping. */
h1,
h2,
h3,
.fm-heading,
.fm-gradient-text,
.fm-home-heading h2,
.fm-fq-hero h1,
.fm-ng-hero h1,
.fm-qf-hero h1 {
  word-spacing: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Keep the homepage aligned to the same 1240px system as the header. */
.fm-home-shell {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
}

/* Quiz introduction order, spacing and Fursonafy-scale icons. */
.fm-fq-intro--reference .fm-fq-intro__copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 920px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.fm-fq-intro--reference .fm-fq-intro__ready {
  margin: 0 0 18px !important;
  color: #27213f !important;
  font-family: "Poppins", sans-serif !important;
  font-size: clamp(25px, 2.25vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.fm-fq-intro--reference .fm-fq-intro__lead {
  max-width: 780px !important;
  margin: 0 auto 34px !important;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  line-height: 1.7 !important;
  text-align: center !important;
}

.fm-fq-intro--reference .fm-fq-how-title {
  margin-top: 0 !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div > span {
  width: 124px !important;
  height: 124px !important;
  flex: 0 0 124px !important;
  margin: 0 auto 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background: transparent !important;
}

.fm-ng-notes article > span {
  width: 84px !important;
  height: 84px !important;
  flex: 0 0 84px !important;
  padding: 7px !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background: transparent !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div > span img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  transform: scale(1.58) !important;
  transform-origin: center !important;
}

.fm-fq-intro--reference .fm-fq-benefit-icon--result img {
  clip-path: none !important;
  transform: scale(1.58) !important;
}

.fm-ng-notes article > span img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  clip-path: none !important;
  transform: scale(1.55) !important;
  transform-origin: center !important;
}

/* The source PNGs are cleaned in v1.1.55, so no site icon needs edge clipping. */
img[src*="/assets/images/icons/"] {
  clip-path: none !important;
  object-position: center !important;
}

.fm-fq-intro--reference .fm-fq-benefits > div {
  min-height: 225px !important;
}

.fm-ng-notes article {
  min-height: 145px !important;
}

/* Name-generator results use the matching Fursona Quiz profile art. */
.fm-ng-result__profile-image {
  position: relative !important;
  z-index: 2 !important;
  width: min(92%, 220px) !important;
  height: auto !important;
  max-height: 430px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 18px 14px rgba(37, 32, 63, .14)) !important;
}

/* Keyboard/touch targets remain usable on every device. */
.fm-btn,
.fm-button,
.fm-fq-button,
.fm-ng-button,
.fm-fp-button,
.fm-gp-button,
.fm-gp-card__button,
.fm-blogs-card__read,
.fm-ng-quick-picks button,
.fm-qf-progress__steps button,
.fm-tab,
.fm-gp-filter {
  min-height: 44px !important;
}

.fm-menu-toggle,
.fm-home-slider-control button,
.fm-price-slider-control button {
  min-width: 44px !important;
  min-height: 44px !important;
}

.fm-blogs-card__read {
  display: inline-flex !important;
  align-items: center !important;
}

/* Decorative blog artwork may extend internally, never the page itself. */
.fm-blogs-hero {
  overflow: hidden !important;
}

.fm-blogs-hero__content,
.fm-blogs-hero h1 {
  overflow: visible !important;
}

/* Desktop and laptop layout. */
@media (min-width: 981px) {
  body.home main .fm-home-hero {
    height: clamp(700px, 90svh, 820px) !important;
    min-height: 700px !important;
  }

  body.home main .fm-home-cta {
    height: auto !important;
    min-height: 390px !important;
    padding: 72px 0 !important;
  }

  body.home main .fm-home-cta > div {
    width: min(760px, calc(100% - 380px)) !important;
    max-width: 760px !important;
    padding-inline: 0 !important;
  }

  body.home main .fm-home-cta h2 {
    max-width: 760px !important;
    margin-inline: auto !important;
    font-size: clamp(36px, 3.25vw, 44px) !important;
    line-height: 1.08 !important;
  }
}

/* Tablets and compact laptops. */
@media (min-width: 641px) and (max-width: 980px) {
  .fm-home-shell,
  .fm-container,
  .fm-fq-container,
  .fm-ng-container,
  .fm-gp-container,
  .fm-quote-container {
    width: calc(100% - 40px) !important;
  }

  body.home main .fm-home-hero {
    height: clamp(680px, 88svh, 760px) !important;
    min-height: 680px !important;
  }

  body.home main .fm-home-hero__grid {
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    min-height: 0 !important;
  }

  body.home main .fm-home-hero__photo {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  body.home main .fm-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }

  body.home main .fm-benefit:nth-child(3) {
    grid-column: 1 / -1 !important;
    width: calc(50% - 15px) !important;
    justify-self: center !important;
  }

  body.home main .fm-home-commission-grid,
  body.home main [data-commission-slider] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home main .fm-home-cta {
    height: auto !important;
    min-height: 350px !important;
    padding: 64px 20px 70px !important;
  }

  body.home main .fm-home-cta > div {
    width: min(520px, calc(100% - 160px)) !important;
    max-width: 520px !important;
    padding-inline: 0 !important;
  }

  body.home main .fm-home-cta h2 {
    max-width: 520px !important;
    margin-inline: auto !important;
    font-size: clamp(32px, 5vw, 38px) !important;
    line-height: 1.1 !important;
  }

  body.home main .fm-home-cta__left {
    top: 18px !important;
    left: 18px !important;
    width: 100px !important;
    height: 138px !important;
  }

  body.home main .fm-home-cta__right {
    right: 18px !important;
    bottom: 14px !important;
    width: 112px !important;
    height: 142px !important;
  }

  .fm-fq-intro--reference .fm-fq-benefits > div > span,
  .fm-ng-notes article > span {
    width: 108px !important;
    height: 108px !important;
    flex-basis: 108px !important;
  }
}

/* Phones from 320px through 640px. */
@media (max-width: 640px) {
  .fm-site-header,
  body.home .fm-site-header {
    height: 110px !important;
  }

  .fm-nav,
  body.home .fm-nav {
    height: 76px !important;
  }

  .fm-site-header .fm-logo__image,
  body.home .fm-site-header .fm-logo__image {
    width: 128px !important;
    height: 62px !important;
    max-width: 128px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .fm-menu,
  body.home .fm-menu,
  body:not(.home) .fm-site-header .fm-menu {
    top: 110px !important;
    inset-block-start: 110px !important;
  }

  .fm-home-shell,
  .fm-container,
  .fm-fq-container,
  .fm-ng-container,
  .fm-gp-container,
  .fm-quote-container {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }

  body.home main .fm-home-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 110px 0 20px !important;
    overflow: hidden !important;
  }

  body.home main .fm-home-hero__grid {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 14px !important;
    grid-template-columns: minmax(0, .607fr) repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 6px !important;
  }

  body.home main .fm-home-hero__photo {
    display: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 10px !important;
  }

  body.home main .fm-home-hero__photo--1,
  body.home main .fm-home-hero__photo--2,
  body.home main .fm-home-hero__photo--3 {
    display: block !important;
    grid-row: 1 !important;
  }

  body.home main .fm-home-hero__photo--1 { grid-column: 1 !important; }
  body.home main .fm-home-hero__photo--2 { grid-column: 2 !important; }
  body.home main .fm-home-hero__photo--3 { grid-column: 3 !important; }

  body.home main .fm-home-hero__content {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: -8px 14px 0 !important;
    padding: 22px 18px 19px !important;
    border-radius: 20px !important;
    text-align: left !important;
    transform: none !important;
  }

  body.home main .fm-home-hero h1 {
    width: 100% !important;
    margin: 0 0 12px !important;
    font-size: clamp(27px, 8vw, 32px) !important;
    line-height: 1.04 !important;
    text-align: left !important;
  }

  body.home main .fm-home-hero__content > p {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 16px !important;
    font-size: clamp(12.5px, 3.4vw, 14px) !important;
    line-height: 1.5 !important;
    text-align: left !important;
    text-align-last: auto !important;
    text-justify: auto !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  body.home main .fm-home-hero__content .fm-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 280px !important;
    min-height: 48px !important;
    margin-inline: auto !important;
    padding: 12px 18px !important;
    font-size: 13px !important;
    text-align: center !important;
  }

  body.home main .fm-home-hero__content small {
    margin-top: 10px !important;
    font-size: 10px !important;
    text-align: center !important;
  }

  body.home main .fm-home-heading h2 {
    max-width: 24ch !important;
    margin-inline: auto !important;
    font-size: clamp(28px, 8.5vw, 36px) !important;
    line-height: 1.08 !important;
  }

  /* A consistent left-to-right mobile process instead of alternating drift. */
  body.home main .fm-process {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    height: auto !important;
    margin-top: 28px !important;
  }

  body.home main .fm-process::before,
  body.home main .fm-process__item::after {
    display: none !important;
    content: none !important;
  }

  body.home main .fm-process__item,
  body.home main .fm-process__item:nth-child(n) {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: clamp(104px, 31vw, 124px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto 1fr !important;
    column-gap: 13px !important;
    align-items: center !important;
    padding: 15px 12px !important;
    border: 1px solid rgba(85, 189, 235, .16) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .68) !important;
    text-align: left !important;
  }

  body.home main .fm-process__item .fm-process__icon,
  body.home main .fm-process__item:nth-child(even) .fm-process__icon {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    width: clamp(104px, 31vw, 124px) !important;
    height: clamp(104px, 31vw, 124px) !important;
    margin: 0 !important;
    clip-path: inset(0 0 0 27%) !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(1.2) !important;
    transform-origin: center !important;
  }

  body.home main .fm-process__item:nth-child(2) .fm-process__icon {
    clip-path: inset(0 0 0 29%) !important;
  }

  body.home main .fm-process__number {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: left !important;
  }

  body.home main .fm-process h3 {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 4px 0 7px !important;
    text-align: left !important;
  }

  body.home main .fm-process p {
    grid-column: 2 !important;
    grid-row: 3 !important;
    text-align: left !important;
  }

  body.home main .fm-benefits {
    grid-template-columns: 1fr !important;
  }

  body.home main .fm-benefit,
  body.home main .fm-benefit:nth-child(3) {
    width: 100% !important;
    grid-column: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 0 !important;
    padding: 22px 20px 24px !important;
    text-align: center !important;
  }

  body.home main .fm-benefit > img {
    width: 148px !important;
    height: 132px !important;
    max-width: 148px !important;
    margin: 0 auto 12px !important;
    object-fit: contain !important;
    object-position: center !important;
    clip-path: inset(0 0 0 27%) !important;
    transform: none !important;
    align-self: center !important;
  }

  body.home main .fm-benefit h3,
  body.home main .fm-benefit p,
  body.home main .fm-benefit a {
    width: 100% !important;
    text-align: center !important;
  }

  body.home main .fm-benefit h3 {
    margin: 0 0 8px !important;
  }

  body.home main .fm-benefit p {
    margin: 0 !important;
  }

  body.home main .fm-benefit a {
    margin-top: 12px !important;
  }

  body.home main .fm-home-cta {
    height: auto !important;
    min-height: 0 !important;
    padding: 62px 18px 108px !important;
    overflow: hidden !important;
  }

  body.home main .fm-home-cta > div {
    width: min(310px, calc(100% - 24px)) !important;
    max-width: 310px !important;
    padding-inline: 0 !important;
  }

  body.home main .fm-home-cta h2 {
    max-width: clamp(200px, 58vw, 230px) !important;
    margin: 0 auto 14px !important;
    font-size: clamp(26px, 7.6vw, 30px) !important;
    line-height: 1.08 !important;
  }

  body.home main .fm-home-cta p {
    max-width: 285px !important;
    margin: 0 auto 20px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  body.home main .fm-home-cta .fm-btn {
    width: min(100%, 280px) !important;
    min-height: 48px !important;
    margin-inline: auto !important;
  }

  body.home main .fm-home-cta__left {
    top: 8px !important;
    left: 5px !important;
    right: auto !important;
    bottom: auto !important;
    width: 72px !important;
    height: 104px !important;
    object-fit: contain !important;
    object-position: left top !important;
    z-index: 0 !important;
  }

  body.home main .fm-home-cta__right {
    right: 7px !important;
    bottom: 8px !important;
    left: auto !important;
    top: auto !important;
    width: 80px !important;
    height: 96px !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    z-index: 0 !important;
  }

  body.home main .fm-home-cta > div {
    position: relative !important;
    z-index: 1 !important;
  }

  /* Reserve a clean icon lane in testimonial, FAQ and blog sections. */
  body.home main .fm-home-testimonials-section,
  body.home main .fm-home-faq-section,
  body.home main .fm-home-blog-section {
    padding-top: 142px !important;
  }

  body.home main .fm-home-decoration--testimonial-left,
  body.home main .fm-home-decoration--faq,
  body.home main .fm-home-decoration--blog {
    display: block !important;
    top: 18px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 104px !important;
    height: 104px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: translateX(-50%) scale(1.25) !important;
    transform-origin: center !important;
  }

  body.home main .fm-home-decoration--testimonial-right {
    display: none !important;
  }

  /* The actual gallery filter class wraps instead of clipping off-screen. */
  .fm-gp-filters {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .fm-gp-filter {
    flex: 1 1 calc(33.333% - 8px) !important;
    min-width: 0 !important;
    max-width: 132px !important;
    padding-inline: 10px !important;
  }

  /* Remove double nesting that made the Quiz intro unnecessarily narrow. */
  .fm-fq-shell {
    width: calc(100% - 20px) !important;
    padding-inline: 0 !important;
  }

  .fm-fq-intro.fm-fq-intro--reference {
    width: 100% !important;
    margin-inline: 0 !important;
    padding: 25px 18px 28px !important;
  }

  .fm-fq-intro--reference .fm-fq-intro__content {
    padding-inline: 0 !important;
  }

  .fm-fq-intro--reference .fm-fq-benefits > div > span,
  .fm-ng-notes article > span {
    width: 104px !important;
    height: 104px !important;
    flex-basis: 104px !important;
  }

  .fm-fq-intro--reference .fm-fq-intro__ready {
    margin-bottom: 14px !important;
    font-size: clamp(22px, 6.8vw, 28px) !important;
    line-height: 1.2 !important;
  }

  .fm-fq-intro--reference .fm-fq-intro__lead {
    margin-bottom: 26px !important;
    font-size: clamp(14px, 4vw, 16px) !important;
    line-height: 1.62 !important;
  }

  .fm-fq-intro--reference .fm-fq-benefits > div {
    min-height: 0 !important;
  }

  .fm-ng-notes article {
    min-height: 128px !important;
  }

  .fm-ng-result__profile-image {
    width: min(78%, 190px) !important;
    max-height: 220px !important;
  }

  /* Pricing's generic hero and short-screen tabs use their real selectors. */
  .fm-page-hero {
    padding: 56px 0 48px !important;
  }

  .fm-page-hero h1 {
    font-size: clamp(34px, 10.5vw, 42px) !important;
    line-height: 1.06 !important;
  }

  /* A compact two-column footer, with the brand occupying the full row. */
  .fm-site-footer,
  body.home .fm-site-footer {
    min-height: 0 !important;
    padding: 42px 0 24px !important;
  }

  .fm-site-footer .fm-container,
  body.home .fm-site-footer .fm-container {
    width: calc(100% - 28px) !important;
  }

  .fm-site-footer .fm-footer-grid,
  body.home .fm-site-footer .fm-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 20px !important;
  }

  .fm-site-footer .fm-footer-grid > div:first-child,
  body.home .fm-site-footer .fm-footer-grid > div:first-child {
    display: block !important;
    grid-column: 1 / -1 !important;
  }

  .fm-site-footer .fm-footer-grid > div:nth-child(4),
  body.home .fm-site-footer .fm-footer-grid > div:nth-child(4) {
    display: block !important;
  }

  .fm-site-footer .fm-logo__image,
  body.home .fm-site-footer .fm-logo__image {
    width: 136px !important;
    height: auto !important;
  }

  .fm-footer-bottom {
    flex-wrap: wrap !important;
    gap: 12px 20px !important;
  }
}

/* The four long pricing labels need two rows only on the narrowest phones. */
@media (max-width: 374px) {
  .fm-tabs,
  body.home main .fm-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .fm-tabs .fm-tab,
  body.home main .fm-tabs .fm-tab {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Canonical mobile hero mosaic — same composition on every 320–640px phone. */
@media (max-width: 640px) {
  body.home main .fm-home-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 110px 0 24px !important;
    overflow: hidden !important;
  }

  body.home main .fm-home-hero__grid {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: .84 / 1 !important;
    margin: 0 14px !important;
    grid-template-columns: minmax(0, 1.213fr) minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 7px !important;
  }

  body.home main .fm-home-hero__photo {
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 12px !important;
  }

  body.home main .fm-home-hero__photo--1,
  body.home main .fm-home-hero__photo--2,
  body.home main .fm-home-hero__photo--3 {
    display: block !important;
  }

  body.home main .fm-home-hero__photo--1 {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
  }

  body.home main .fm-home-hero__photo--2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  body.home main .fm-home-hero__photo--3 {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  body.home main .fm-home-hero__content {
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: -18px 14px 0 !important;
    padding: clamp(20px, 5.5vw, 27px) clamp(18px, 5vw, 25px) 20px !important;
    border-radius: 22px !important;
    text-align: left !important;
    transform: none !important;
    z-index: 3 !important;
  }

  body.home main .fm-home-hero__content h1 {
    margin: 0 0 15px !important;
    font-size: clamp(24px, 7vw, 29px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
    text-align: left !important;
  }

  body.home main .fm-home-hero__content h1 .fm-gradient-text {
    display: block !important;
    margin-top: 7px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
  }

  body.home main .fm-home-hero__content > p {
    margin: 0 0 18px !important;
    font-size: clamp(12.5px, 3.45vw, 14px) !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  body.home main .fm-home-hero__content > .fm-btn {
    display: flex !important;
    width: min(100%, 310px) !important;
    min-height: 50px !important;
    margin: 0 auto 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.home main .fm-home-hero__content > small {
    display: block !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}

@media (min-width: 360px) and (max-width: 640px) {
  body.home main .fm-home-hero__content h1 {
    white-space: nowrap !important;
  }

  body.home main .fm-home-hero__content h1 .fm-gradient-text {
    white-space: normal !important;
  }
}

/* Pricing gallery: show the complete supplied photo instead of cropping it. */
body.home main .fm-home-featured figure {
  background: #272342 !important;
}

body.home main .fm-home-featured [data-featured-image] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #272342 !important;
}

/* Remove the obsolete white emoji placeholder behind name-generator art. */
.fm-ng-result__glow {
  display: none !important;
}

/* Larger, centered profile art in Name Generator results. */
.fm-ng-result__visual {
  place-items: center !important;
}

.fm-ng-result__profile-image,
.fm-ng-result [data-ng-result-image] {
  width: min(112%, 280px) !important;
  max-width: none !important;
  max-height: 520px !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 720px) {
  .fm-ng-result__profile-image,
  .fm-ng-result [data-ng-result-image] {
    width: min(88%, 240px) !important;
    max-height: 300px !important;
  }
}

.fm-ng-result__match {
  display: none !important;
}

/* Pricing photographs: neutral canvas without the dark filled side bars. */
body.home main .fm-home-featured figure,
body.home main .fm-home-featured [data-featured-image] {
  background: #fff !important;
}

/* Give the quiz process heading the same breathing room as other headings. */
.fm-fq-intro--reference .fm-fq-how-title {
  margin: 26px 0 24px !important;
}

@media (max-width: 640px) {
  .fm-fq-intro--reference .fm-fq-how-title {
    margin: 28px 0 22px !important;
  }
}

/* FINAL v1.1.77: mobile pricing gallery uses the photo's natural portrait ratio.
   This creates the taller section requested by the client without cropping or
   adding artificial white/black side bars around portrait photographs. */
@media (max-width: 640px) {
  body.home main .fm-home-pricing .fm-home-featured {
    display: block !important;
    width: 100% !important;
    margin: 32px 0 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(85, 189, 235, .2) !important;
    border-bottom: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #fff !important;
  }

  body.home main .fm-home-pricing .fm-home-featured figure {
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
  }

  body.home main .fm-home-pricing .fm-home-featured figure:first-child {
    display: block !important;
  }

  body.home main .fm-home-pricing .fm-home-featured img[data-featured-image] {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 18px !important;
    background: transparent !important;
  }

  body.home main .fm-home-pricing .fm-home-slider-row {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 14px 24px !important;
    gap: 14px !important;
    border: 1px solid rgba(85, 189, 235, .2) !important;
    border-top: 0 !important;
    border-radius: 0 0 24px 24px !important;
    background: #fff !important;
  }

  body.home main .fm-home-pricing .fm-home-slider-control {
    width: min(220px, 78%) !important;
    height: 48px !important;
  }

  body.home main .fm-home-pricing .fm-home-slider-control button {
    width: 44px !important;
    height: 44px !important;
  }

  body.home main .fm-home-pricing .fm-home-slider-row > .fm-btn {
    width: min(100%, 310px) !important;
    margin-top: 2px !important;
  }
}
/* Quiz result visual centering: compensate for asymmetric character artwork. */
.fm-fq-result__visual {
  display: grid !important;
  place-items: center !important;
}

.fm-fq-result__profile-image,
[data-fq-result-image] {
  object-position: center center !important;
  transform: translateX(12%) !important;
  transform-origin: center center !important;
}

@media (max-width: 900px) {
  .fm-fq-result__profile-image,
  [data-fq-result-image] {
    transform: translateX(7%) !important;
  }
}

/* FINAL: preserve complete pricing photos and use a neutral canvas—no crop or dark bars. */
body.home main .fm-home-pricing .fm-home-featured figure {
  overflow: hidden !important;
  background: #fff !important;
}

body.home main .fm-home-pricing .fm-home-featured img[data-featured-image] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #fff !important;
}

/* FINAL: readable word spacing for the quiz How It Works heading. */
.fm-fq-intro--reference .fm-fq-how-title {
  margin: 20px 0 26px !important;
  padding: 0 !important;
  word-spacing: 0.28em !important;
}

@media (max-width: 640px) {
  .fm-fq-intro--reference .fm-fq-how-title {
    margin: 20px 0 24px !important;
    padding: 0 !important;
    word-spacing: 0.3em !important;
  }
}

/* FINAL: compact paragraph-to-heading spacing. */
.fm-fq-intro--reference .fm-fq-intro__lead {
  margin-bottom: 8px !important;
}

.fm-fq-intro--reference .fm-fq-how-title {
  margin: 0 0 22px !important;
}

@media (max-width: 640px) {
  .fm-fq-intro--reference .fm-fq-intro__lead {
    margin-bottom: 6px !important;
  }

  .fm-fq-intro--reference .fm-fq-how-title {
    margin: 0 0 20px !important;
  }
}

/* FINAL: equal optical sizing for the fuller quiz-results SVG. */
.fm-fq-intro--reference .fm-fq-benefit-icon--result img {
  transform: scale(.76) !important;
}

/* FINAL v1.1.79: desktop pricing gallery follows each photograph's natural
   aspect ratio, matching the mobile treatment without cropping or side bars. */
@media (min-width: 641px) {
  body.home main .fm-home-pricing .fm-home-featured {
    align-items: start !important;
  }

  body.home main .fm-home-pricing .fm-home-featured figure {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  body.home main .fm-home-pricing .fm-home-featured img[data-featured-image] {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
  }
}

/* FINAL v1.1.82: universal Featured Builds frame.
   All cards use identical dimensions. The complete foreground photograph is
   preserved; a blurred copy fills unused aspect-ratio space without bars. */
body.home main .fm-home-pricing .fm-home-featured {
  align-items: stretch !important;
  grid-auto-rows: 360px !important;
}

body.home main .fm-home-pricing .fm-home-featured figure {
  position: relative !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, .2) !important;
}

body.home main .fm-home-pricing .fm-home-featured figure::before {
  content: "" !important;
  position: absolute !important;
  inset: -20px !important;
  z-index: 0 !important;
  display: block !important;
  background-image: var(--fm-featured-image) !important;
  background-position: center !important;
  background-size: cover !important;
  filter: blur(18px) saturate(.9) !important;
  opacity: .62 !important;
  transform: scale(1.1) !important;
  pointer-events: none !important;
}

body.home main .fm-home-pricing .fm-home-featured img[data-featured-image] {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}

body.home main .fm-home-pricing .fm-home-featured b[data-featured-number] {
  z-index: 3 !important;
}

@media (max-width: 640px) {
  body.home main .fm-home-pricing .fm-home-featured {
    grid-auto-rows: 390px !important;
  }

  body.home main .fm-home-pricing .fm-home-featured figure {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }
}

/* FINAL v1.1.80: normalize visible artwork, not merely the image canvas.
   The replacement SVGs fill their canvases; the legacy PNGs contain padding. */
.fm-ng-notes article > span img[src$="/name-character.svg"],
.fm-ng-notes article > span img[src$="/name-memory.svg"] {
  display: block !important;
  width: 72% !important;
  height: 72% !important;
  margin: 14% auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  transform-origin: center !important;
}

.fm-fq-intro--reference .fm-fq-benefit-icon--result img[src$="/quiz-results.svg"] {
  display: block !important;
  width: 64% !important;
  height: 64% !important;
  margin: 18% auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  transform-origin: center !important;
}

/* FINAL v1.1.84: keep the replacement watercolor icons optically consistent
   with the theme's existing hand-drawn illustrations. */
.fm-ng-notes article > span img[src*="name-character-theme.png"],
.fm-ng-notes article > span img[src*="name-memory-theme.png"] {
  display: block !important;
  width: 92px !important;
  height: 92px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  transform: none !important;
}

.fm-fq-intro--reference .fm-fq-benefit-icon--result img[src*="quiz-results-theme.png"] {
  display: block !important;
  width: 108px !important;
  height: 108px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .fm-ng-notes article > span img[src*="name-character-theme.png"],
  .fm-ng-notes article > span img[src*="name-memory-theme.png"] {
    width: 76px !important;
    height: 76px !important;
  }

  .fm-fq-intro--reference .fm-fq-benefit-icon--result img[src*="quiz-results-theme.png"] {
    width: 88px !important;
    height: 88px !important;
  }
}

/* FINAL v1.1.83: Recent Commissions uses the same universal image frame as
   Featured Builds: equal cards, complete photos, and no solid letterboxing. */
body.home main .fm-home-commissions .fm-home-commission-grid {
  align-items: stretch !important;
  grid-auto-rows: 450px !important;
}

body.home main .fm-home-commissions .fm-home-commission-card {
  position: relative !important;
  align-self: stretch !important;
  width: 100% !important;
  height: 450px !important;
  min-height: 450px !important;
  max-height: 450px !important;
  overflow: hidden !important;
  background: #fff !important;
}

body.home main .fm-home-commissions .fm-home-commission-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -20px -20px auto !important;
  z-index: 0 !important;
  display: block !important;
  height: 400px !important;
  background-image: var(--fm-commission-image) !important;
  background-position: center !important;
  background-size: cover !important;
  filter: blur(18px) saturate(.9) !important;
  opacity: .62 !important;
  transform: scale(1.1) !important;
  pointer-events: none !important;
}

body.home main .fm-home-commissions .fm-home-commission-card > img {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 360px !important;
  min-height: 360px !important;
  max-height: 360px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  transform: none !important;
}

body.home main .fm-home-commissions .fm-home-commission-card > div {
  position: relative !important;
  z-index: 2 !important;
  height: 90px !important;
  background: #fff !important;
}

@media (max-width: 640px) {
  body.home main .fm-home-commissions .fm-home-commission-grid {
    grid-auto-rows: 390px !important;
  }

  body.home main .fm-home-commissions .fm-home-commission-card {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }

  body.home main .fm-home-commissions .fm-home-commission-card::before {
    height: 340px !important;
  }

  body.home main .fm-home-commissions .fm-home-commission-card > img {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
  }
}
