.home-page {
    background: #fffaf6;
}

.home-page main {
    overflow: clip;
}

.home-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.home-hero {
    position: relative;
    isolation: isolate;
    min-height: 42rem;
    overflow: visible;
    background: #410616;
}

.home-hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.home-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgb(57 3 17 / 86%) 0%, rgb(74 5 23 / 66%) 40%, rgb(86 8 28 / 16%) 72%, rgb(36 0 9 / 10%) 100%),
        linear-gradient(180deg, rgb(31 0 10 / 10%) 0%, rgb(31 0 10 / 8%) 42%, rgb(34 0 11 / 62%) 100%);
}

.home-hero-premium-content {
    min-height: 34rem;
    padding-top: clamp(5rem, 9vw, 7rem);
    padding-bottom: 8rem;
}

.home-hero-premium-copy {
    width: min(100%, 43rem);
    color: #ffffff;
}

.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1rem;
    color: #ffd06f;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    gap: 0.45rem;
}

.home-hero-kicker i {
    font-size: 1rem;
}

.home-hero-premium-copy h1 {
    max-width: 44rem;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.15rem, 6.3vw, 5.95rem);
    letter-spacing: -0.055em;
    line-height: 0.9;
    text-shadow: 0 0.5rem 1.8rem rgb(33 0 9 / 32%);
}

.home-hero-premium-copy h1 span {
    display: block;
    color: #ffd873;
}

.home-hero-divider {
    display: flex;
    width: min(17rem, 60vw);
    align-items: center;
    margin: 1.5rem 0 1.2rem;
    color: #ffd873;
    gap: 0.65rem;
}

.home-hero-divider span {
    height: 1px;
    flex: 1;
    background: rgb(255 216 115 / 70%);
}

.home-hero-divider i {
    font-style: normal;
}

.home-hero-description {
    max-width: 38rem;
    margin: 0 0 1.5rem;
    color: rgb(255 250 250 / 88%);
    font-size: clamp(0.9rem, 1.25vw, 1.05rem);
    line-height: 1.9;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.home-hero-actions form {
    margin: 0;
}

.home-hero-actions .btn {
    min-height: 3rem;
    padding: 0.75rem 1.35rem;
    border-radius: 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-hero-actions .btn-brand {
    color: #5e0014;
    background: linear-gradient(135deg, #ffe08d, #e5a625);
    border-color: #ffd56e;
    box-shadow: 0 0.9rem 2rem rgb(47 0 11 / 23%);
}

.home-hero-actions .btn-brand:hover,
.home-hero-actions .btn-brand:focus-visible {
    color: #4b0010;
    transform: translateY(-2px);
}

.btn-home-outline {
    color: #ffffff;
    background: rgb(255 255 255 / 8%);
    border: 1px solid rgb(255 255 255 / 62%);
    backdrop-filter: blur(0.55rem);
}

.btn-home-outline:hover,
.btn-home-outline:focus-visible {
    color: #5d0014;
    background: #ffffff;
    border-color: #ffffff;
}

.home-hero-assurances {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.15rem;
    color: #fff1c7;
    font-size: 0.68rem;
    font-weight: 700;
    gap: 1rem;
}

.home-hero-assurances span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-hero-assurances i {
    color: #ffd873;
}

.home-hero-bottom {
    display: none;
}

.home-match-finder-wrap {
    position: relative;
    z-index: 10;
    margin-top: -5.2rem;
    padding-bottom: 0.25rem;
}

.home-match-finder {
    overflow: hidden;
    background: rgb(255 253 250 / 98%);
    border: 2px solid #8f001f;
    border-radius: 1.25rem;
    box-shadow:
        0 1.4rem 3.4rem rgb(65 0 16 / 22%),
        0 0 0 0.3rem rgb(216 154 34 / 10%);
    backdrop-filter: blur(0.6rem);
}

.home-match-finder > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.1rem;
    color: #ffffff;
    background: linear-gradient(90deg, #790018, #b00034);
    gap: 1rem;
}

.home-match-finder > header > div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.home-match-finder > header i {
    color: #ffd873;
    font-size: 1.08rem;
}

.home-match-finder > header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.38rem;
}

.home-match-finder > header > span {
    color: #ffe5a0;
    font-size: 0.67rem;
    font-weight: 700;
}

.home-match-fields {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(10.5rem, 0.9fr);
    align-items: end;
    padding: 1rem;
    background: linear-gradient(180deg, #fffdf9, #fff8f1);
    gap: 0.65rem;
}

.home-match-field label {
    display: block;
    margin: 0 0 0.28rem;
    color: #76001b;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.home-match-field select {
    width: 100%;
    min-height: 2.65rem;
    padding: 0.5rem 1.9rem 0.5rem 0.7rem;
    color: #3b2a2f;
    background-color: #ffffff;
    border: 1px solid #e7cfd2;
    border-radius: 0.7rem;
    font-size: 0.68rem;
}

.home-match-field select:hover,
.home-match-field select:focus {
    border-color: rgb(143 0 31 / 65%);
}

.home-match-field select:focus {
    box-shadow: 0 0 0 0.22rem rgb(143 0 31 / 10%);
    outline: 0;
}

.home-match-submit {
    min-height: 2.65rem;
    color: #5b0014;
    background: linear-gradient(135deg, #ffe18b, #dda225);
    border: 1px solid #d39416;
    border-radius: 0.7rem;
    box-shadow: 0 0.65rem 1.4rem rgb(114 66 0 / 17%);
    font-size: 0.72rem;
    font-weight: 800;
}

.home-match-submit:hover,
.home-match-submit:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, #8f001f, #b00034);
    border-color: #8f001f;
    transform: translateY(-1px);
}

.home-trust-section {
    padding: 2.35rem 0 2.55rem;
    background: #fffdf9;
    border-bottom: 1px solid #f0dfce;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-trust-grid article {
    display: flex;
    align-items: center;
    min-height: 5.2rem;
    padding: 0.6rem clamp(0.9rem, 2.4vw, 1.7rem);
    gap: 0.85rem;
}

.home-trust-grid article + article {
    border-left: 1px solid #ecd9c6;
}

.home-trust-grid article > span {
    display: grid;
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 auto;
    place-items: center;
    color: #bc7d0f;
    background: #fff4dc;
    border: 1px solid #f1d79f;
    border-radius: 50%;
    box-shadow: 0 0.55rem 1.2rem rgb(184 112 7 / 10%);
    font-size: 1.35rem;
}

.home-trust-grid h2 {
    margin: 0 0 0.12rem;
    font-size: 1.25rem;
}

.home-trust-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.55;
}

.home-section {
    position: relative;
    padding: clamp(4rem, 6.5vw, 6rem) 0;
}

.home-section-heading {
    max-width: 54rem;
    margin: 0 auto 2.15rem;
    text-align: center;
}

.home-section-heading .section-kicker {
    margin-bottom: 0.35rem;
}

.home-section-heading h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(2.25rem, 4.1vw, 3.55rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.home-section-heading > p:last-child,
.home-heading-row > div > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: bold;
}

.home-how-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 4% 30%, rgb(216 154 34 / 8%), transparent 14rem),
        radial-gradient(circle at 95% 75%, rgb(143 0 31 / 5%), transparent 15rem),
        #fffaf6;
}

.home-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    max-width: 67rem;
    margin: 0 auto;
    gap: 1rem;
}

.home-process-grid article {
    position: relative;
    min-height: 12.1rem;
    padding: 1.8rem 1.2rem 1.2rem;
    background: linear-gradient(145deg, #fffefc, #fff7ef);
    border: 1px solid #efdcc9;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 0.7rem 1.8rem rgb(88 34 49 / 5%);
}

.home-process-grid article:hover {
    border-color: rgb(216 154 34 / 65%);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.home-process-number {
    display: grid;
    position: absolute;
    top: -0.72rem;
    left: 1rem;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    color: #ffffff;
    background: #990022;
    border: 2px solid #e0ac3e;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
}

.home-process-grid article > i {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 0.85rem;
    place-items: center;
    color: #a6002a;
    background: #fff0f1;
    border: 1px solid #f3cdd3;
    border-radius: 50%;
    font-size: 1.5rem;
}

.home-process-grid h3 {
    margin: 0 0 0.34rem;
    font-size: 1.33rem;
}

.home-process-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.65;
}

.home-process-arrow {
    color: #c77c12;
    font-size: 1.35rem;
}

.home-profiles-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 12%, rgb(216 154 34 / 9%), transparent 23rem),
        linear-gradient(180deg, #fff4f1, #fffaf6);
}
.home-profiles-section {
    padding-bottom: 1.5rem;
}

.home-rules-section {
    padding-top: 2rem;
}

.home-profiles-section::before {
    position: absolute;
    top: 5rem;
    left: -10rem;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgb(216 154 34 / 10%);
    border-radius: 50%;
    box-shadow:
        0 0 0 1.5rem rgb(216 154 34 / 3%),
        0 0 0 3rem rgb(216 154 34 / 2%);
    content: "";
    pointer-events: none;
}

.home-heading-row {
    display: flex;
    max-width: none;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.55rem;
    gap: 1.25rem;
    text-align: left;
}

.home-heading-row h2 {
    margin-bottom: 0.35rem;
}

.home-heading-row > a {
    flex: 0 0 auto;
    color: #970025;
    font-size: 0.74rem;
    font-weight: 800;
}

.home-profile-notice {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid;
    border-radius: 0.75rem;
    font-size: 0.7rem;
    gap: 0.5rem;
}

.home-profile-notice.is-success {
    color: #11633f;
    background: #eaf8f0;
    border-color: #bde3ce;
}

.home-profile-notice.is-error {
    color: #97261c;
    background: #fff1ef;
    border-color: #f0c3bd;
}

.home-profile-carousel {
    position: relative;
    padding: 0 0.6rem 2.45rem;
}

.home-profile-viewport {
    overflow: hidden;
    padding: 0.35rem 0.15rem 1rem;
}

.home-profile-track {
    --home-carousel-gap: 1rem;
    display: flex;
    align-items: stretch;
    gap: var(--home-carousel-gap);
    transition: transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.home-profile-track.is-resizing {
    transition: none;
}

.home-profile-slide {
    flex: 0 0 calc((100% - (var(--home-carousel-gap) * 2)) / 3);
    min-width: 0;
}

.home-profile-card {
    display: grid;
    grid-template-columns: minmax(8.2rem, 45%) minmax(0, 55%);
    height: 100%;
    min-height: 18.3rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #efd9dc;
    border-radius: 1rem;
    box-shadow: 0 0.9rem 2.4rem rgb(73 18 34 / 8%);
}

.home-profile-card:hover {
    border-color: rgb(216 154 34 / 55%);
    box-shadow: 0 1.2rem 2.9rem rgb(73 18 34 / 13%);
    transform: translateY(-3px);
}

.home-profile-photo {
    min-height: 18.3rem;
    overflow: hidden;
    background: linear-gradient(145deg, #fff1e3, #fbe1e5);
}

.home-profile-photo button,
.home-profile-photo img,
.home-profile-photo-placeholder {
    width: 100%;
    height: 100%;
}

.home-profile-photo button {
    display: block;
    position: relative;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.home-profile-photo img {
    object-fit: cover;
    object-position: center top;
}

.home-profile-card:hover .home-profile-photo img {
    transform: scale(1.025);
}

.home-profile-photo-placeholder {
    display: grid;
    place-items: center;
    color: #a6002a;
    background: linear-gradient(145deg, #fff1e4, #f9dee4);
    font-size: 3rem;
}

.home-profile-content {
    display: flex;
    min-width: 0;
    padding: 0.9rem 0.85rem 0.8rem;
    flex-direction: column;
}

.home-profile-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.home-approved-badge {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 0.25rem 0.47rem;
    color: #087346;
    background: #e8f7ef;
    border: 1px solid #c6ebd7;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 800;
    gap: 0.25rem;
}

.home-save-button {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    padding: 0;
    color: #980024;
    background: #ffffff;
    border: 1px solid #efc7cd;
    border-radius: 50%;
    font-size: 0.85rem;
}

.home-save-button:hover,
.home-save-button:focus-visible,
.home-save-button.is-saved {
    color: #ffffff;
    background: #a7002b;
    border-color: #a7002b;
}

.home-profile-code {
    display: block;
    margin-top: 0.55rem;
    color: #8e7a80;
    font-size: 0.54rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.home-profile-content h3 {
    margin: 0.22rem 0 0.45rem;
    color: #760018;
    font-size: clamp(1.05rem, 1.45vw, 1.4rem);
    line-height: 1.08;
}

.home-profile-content dl {
    display: grid;
    margin: 0;
    gap: 0.25rem;
}

.home-profile-content dl > div {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-items: start;
    gap: 0.32rem;
}

.home-profile-content dt {
    color: #b88012;
}

.home-profile-content dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #74656a;
    font-size: 0.61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-profile-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: auto;
    padding-top: 0.65rem;
    gap: 0.4rem;
}

.home-profile-actions form {
    margin: 0;
}

.home-like-button,
.btn-home-profile {
    width: 100%;
    min-height: 2rem;
    padding: 0.4rem 0.45rem;
    border-radius: 0.58rem;
    font-size: 0.58rem;
    font-weight: 800;
}

.home-like-button {
    color: #9a0026;
    background: #ffffff;
    border: 1px solid #c80035;
}

.home-like-button:hover,
.home-like-button:focus-visible,
.home-like-button.is-liked,
.home-like-button.is-matched {
    color: #ffffff;
    background: #a8002d;
    border-color: #a8002d;
}

.btn-home-profile {
    color: #ffffff;
    background: #8f001f;
    border: 1px solid #8f001f;
}

.btn-home-profile:hover,
.btn-home-profile:focus-visible {
    color: #ffffff;
    background: #640016;
    border-color: #640016;
    transform: translateY(-1px);
}

.home-profile-carousel.is-busy .home-like-button,
.home-profile-carousel.is-busy .home-save-button {
    pointer-events: none;
    opacity: 0.65;
}

.home-carousel-arrow {
    display: grid;
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    padding: 0;
    color: #8f001f;
    background: #ffffff;
    border: 1px solid #efcdd2;
    border-radius: 50%;
    box-shadow: 0 0.6rem 1.35rem rgb(80 13 29 / 12%);
    transform: translateY(-50%);
}

.home-carousel-arrow:hover,
.home-carousel-arrow:focus-visible {
    color: #ffffff;
    background: #980025;
    border-color: #980025;
}

.home-carousel-arrow.is-previous {
    left: -0.2rem;
}

.home-carousel-arrow.is-next {
    right: -0.2rem;
}

.home-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.55rem;
    gap: 0.34rem;
}

.home-carousel-dots button {
    width: 0.42rem;
    height: 0.42rem;
    padding: 0;
    background: #e7c9cc;
    border: 0;
    border-radius: 999px;
}

.home-carousel-dots button.is-active {
    width: 1rem;
    background: #aa002d;
}

.home-profiles-empty {
    max-width: 44rem;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
}

.home-profiles-empty > span {
    display: grid;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    place-items: center;
    color: #a9002c;
    background: #fff0f2;
    border: 1px solid #efcbd1;
    border-radius: 50%;
    font-size: 1.7rem;
}

.home-profiles-empty h3 {
    margin-bottom: 0.35rem;
    font-size: 1.6rem;
}

.home-profiles-empty p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.btn-brand-outline {
    color: #920024;
    background: #ffffff;
    border: 1px solid #b50031;
}

.home-rules-section {
    overflow: hidden;
    background: #fffaf8;
}

.home-rules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-rules-grid article {
    display: flex;
    min-height: 7rem;
    padding: 0.95rem;
    background: #fffdfa;
    border: 1px solid #eadac9;
    border-radius: 0.95rem;
    gap: 0.7rem;
}

.home-rules-grid article > span {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 auto;
    place-items: center;
    color: #bd7d10;
    background: #fff4de;
    border: 1px solid #f0d6a0;
    border-radius: 50%;
}

.home-rules-grid h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.home-rules-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.62rem;
    line-height: 1.55;
}

.home-membership-section {
    padding: 1.75rem 0 5rem;
    background: #fffaf6;
}

.home-membership-card {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1.18fr) minmax(0, 1.12fr) auto;
    align-items: center;
    min-height: 14.5rem;
    overflow: hidden;
    padding: 2.1rem 2.4rem;
    background: linear-gradient(110deg, #fffaf1 0%, #fffefb 54%, #fff6eb 100%);
    border: 1px solid #ebc98e;
    border-radius: 1.45rem;
    box-shadow: 0 1rem 2.2rem rgb(86 41 6 / 9%);
    gap: 1.8rem;
}

.home-membership-title {
    min-width: 0;
}

.home-membership-title .section-kicker {
    margin-bottom: 0.65rem;
    color: #c1810a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-membership-title h2 {
    margin: 0.1rem 0 0.45rem;
    color: #870020;
    font-size: clamp(2rem, 2.65vw, 3.05rem);
    line-height: 1.12;
}

.home-membership-title > span {
    color: #7a6065;
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.home-membership-price {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-width: 0;
    padding: 0.6rem 0.25rem;
    border-left: 1px solid #f0dfc7;
    gap: 0.15rem 0.45rem;
}

.home-membership-original-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08rem;
    color: #8d8584;
    font-size: 1.45rem;
    font-weight: 700;
}

.home-membership-original-price sup {
    color: inherit;
    font-size: 0.95rem;
}

.home-membership-original-price del {
    text-decoration-thickness: 2px;
    text-decoration-color: #a34b5d;
}

.home-membership-offer-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.06rem;
}

.home-membership-duration {
    align-self: center;
    margin-left: 0.1rem;
    color: #7a6469;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-membership-price sup {
    color: #a00027;
    font-size: 1.55rem;
    font-weight: 800;
}

.home-membership-price strong {
    color: #970024;
    font-family: var(--font-display);
    font-size: clamp(4.3rem, 5.4vw, 5.8rem);
    line-height: 0.95;
}

.home-membership-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    color: #a00027;
    background: #fde5e6;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
}

.home-membership-card ul {
    margin: 0;
    padding: 0 0 0 1.8rem;
    border-left: 1px solid #f0dfc7;
    list-style: none;
}

.home-membership-card li {
    color: #5f5055;
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-membership-card li + li {
    margin-top: 0.55rem;
}

.home-membership-card li i {
    margin-right: 0.45rem;
    color: #c1810a;
    font-size: 1rem;
}

.home-membership-card > .btn {
    min-height: 3.4rem;
    padding: 0.9rem 1.65rem;
    color: #ffffff;
    background: #980025;
    border: 1px solid #980025;
    border-radius: 0.85rem;
    box-shadow: 0 0.6rem 1.1rem rgb(152 0 37 / 15%);
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-membership-card > .btn:hover,
.home-membership-card > .btn:focus-visible {
    color: #ffffff;
    background: #690018;
    border-color: #690018;
    transform: translateY(-1px);
}

.home-final-cta {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 93% 25%, rgb(255 215 115 / 15%), transparent 15rem),
        linear-gradient(135deg, #87001e, #b00035);
}

.home-final-cta::after {
    position: absolute;
    right: -6rem;
    top: -7rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgb(255 216 115 / 28%);
    border-radius: 50%;
    box-shadow: 0 0 0 1.2rem rgb(255 216 115 / 4%);
    content: "";
    pointer-events: none;
}

.home-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 11.5rem;
    gap: 2rem;
}

.home-final-cta-inner > div {
    position: relative;
    z-index: 1;
}

.home-final-cta-inner p {
    margin: 0 0 0.25rem;
    color: #ffd873;
    font-size: 0.68rem;
    font-weight: 800;
}

.home-final-cta-inner h2 {
    margin: 0 0 0.2rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.7vw, 3.05rem);
    line-height: 1;
}

.home-final-cta-inner span {
    color: rgb(255 240 243 / 84%);
    font-size: 0.72rem;
}

.home-final-cta-inner form {
    margin: 0;
}

.home-cta-button {
    position: relative;
    z-index: 1;
    min-height: 2.75rem;
    padding: 0.7rem 1.2rem;
    color: #5b0014;
    background: linear-gradient(135deg, #ffd979, #e6aa25);
    border: 1px solid #ffd979;
    border-radius: 0.75rem;
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 0.8rem 1.8rem rgb(45 0 11 / 20%);
}

.home-cta-button:hover,
.home-cta-button:focus-visible {
    color: #4d0010;
    transform: translateY(-2px);
}

.home-photo-modal .modal-content {
    overflow: hidden;
    background: #25040d;
    border: 1px solid rgb(255 216 115 / 25%);
    border-radius: 1.25rem;
    box-shadow: 0 1.4rem 4rem rgb(21 0 7 / 35%);
}

.home-photo-modal .modal-header {
    color: #ffffff;
    background: linear-gradient(90deg, #3d0714, #73001b);
    border-bottom: 1px solid rgb(255 216 115 / 14%);
}

.home-photo-modal .modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

.home-photo-modal .modal-body {
    padding: 0;
    background: #1c0209;
}

.modal-eyebrow {
    margin: 0 0 0.1rem;
    color: #ffd873;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-photo-modal .modal-title {
    color: #ffffff;
    font-size: 1.65rem;
}

.home-photo-modal-frame {
    display: grid;
    min-height: min(68vh, 47rem);
    padding: 1rem;
    place-items: center;
    background: radial-gradient(circle at center, #4f0a1d, #150107 65%);
}

.home-photo-modal-frame img {
    width: min(100%, 40rem);
    max-height: min(68vh, 46rem);
    border-radius: 0.9rem;
    object-fit: contain;
    box-shadow: 0 1.1rem 3rem rgb(0 0 0 / 28%);
}

.home-photo-modal-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.85rem 1rem 1rem;
    background: #22030b;
    gap: 0.6rem;
}

.home-photo-modal-actions form {
    margin: 0;
}

.home-modal-action-button {
    width: 100%;
    min-height: 2.7rem;
    color: #ffffff;
    background: rgb(255 255 255 / 7%);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 0.72rem;
    font-size: 0.7rem;
    font-weight: 800;
}

.home-modal-action-button:hover,
.home-modal-action-button:focus-visible {
    color: #5d0014;
    background: #ffffff;
    border-color: #ffffff;
}

.home-modal-action-button.is-like:hover,
.home-modal-action-button.is-like:focus-visible {
    color: #ffffff;
    background: #a8002c;
    border-color: #a8002c;
}

.home-modal-action-button.is-save:hover,
.home-modal-action-button.is-save:focus-visible {
    color: #5d0014;
    background: #ffd873;
    border-color: #ffd873;
}

.home-modal-action-button.is-profile {
    color: #5d0014;
    background: linear-gradient(135deg, #ffd873, #e5a525);
    border-color: #ffd873;
}

.home-modal-action-button.is-profile:hover,
.home-modal-action-button.is-profile:focus-visible {
    color: #4f0010;
    background: #ffe49b;
}

.home-page .home-profile-card.is-liked .home-like-button,
.home-page .home-profile-card.is-saved .home-save-button {
    box-shadow: 0 0 0 0.14rem rgb(168 0 44 / 10%);
}

.home-page .home-profile-card.is-matched {
    border-color: #d89a22;
    box-shadow: 0 0.8rem 2.4rem rgb(154 110 20 / 14%);
}

@media (max-width: 1199.98px) {
    .home-match-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-match-submit {
        grid-column: span 3;
    }

    .home-profile-slide {
        flex-basis: calc((100% - var(--home-carousel-gap)) / 2);
    }

    .home-membership-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 1.5rem;
    }

    .home-membership-price {
        border-left: 1px solid #f0dfc7;
    }

    .home-membership-card ul {
        grid-column: 1;
        padding-left: 0;
        border-left: 0;
    }

    .home-membership-card > .btn {
        grid-column: 2;
        grid-row: 2;
        width: max-content;
        justify-self: end;
    }
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: 39rem;
    }

    .home-hero-premium-content {
        min-height: 31rem;
        padding-top: 5rem;
        padding-bottom: 7.5rem;
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-trust-grid article + article {
        border-top: 1px solid #ecd9c6;
        border-left: 0;
    }

    .home-rules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-final-cta-inner {
        min-height: 10rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        min-height: 35rem;
    }

    .home-hero-background img {
        object-position: 58% center;
        transform: scale(1.07);
    }

    .home-hero-overlay {
        background:
            linear-gradient(180deg, rgb(50 2 15 / 69%) 0%, rgb(70 5 24 / 46%) 43%, rgb(48 2 15 / 86%) 100%),
            linear-gradient(90deg, rgb(67 0 18 / 58%), rgb(67 0 18 / 22%));
    }

    .home-hero-premium-content {
        min-height: 27.8rem;
        padding-top: 4.2rem;
        padding-bottom: 6rem;
    }

    .home-hero-premium-copy h1 {
        font-size: clamp(2.65rem, 12vw, 4.2rem);
        line-height: 0.95;
    }

    .home-hero-description {
        max-width: 100%;
        font-size: 0.8rem;
        line-height: 1.65;
    }

    .home-hero-actions .btn {
        min-height: 2.7rem;
        padding-inline: 1rem;
        font-size: 0.68rem;
    }

    .home-hero-assurances {
        gap: 0.55rem 0.75rem;
        font-size: 0.6rem;
    }

    .home-match-finder-wrap {
        margin-top: -4rem;
        padding-inline: 0.75rem;
    }

    .home-match-finder {
        border-radius: 1rem;
    }

    .home-match-finder > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-match-finder > header > span {
        align-self: flex-end;
        margin-top: -0.35rem;
    }

    .home-match-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0.8rem;
    }

    .home-match-submit {
        grid-column: 1 / -1;
    }

    .home-trust-section {
        padding-top: 1.6rem;
        padding-bottom: 1rem;
    }

    .home-trust-grid article {
        min-height: 4.4rem;
        padding-inline: 0.25rem;
    }

    .home-trust-grid article > span {
        width: 2.9rem;
        height: 2.9rem;
        font-size: 1.1rem;
    }

    .home-trust-grid h2 {
        font-size: 1.05rem;
    }

    .home-trust-grid p {
        font-size: 0.62rem;
    }

    .home-section {
    position: relative;
    padding: 2.5rem 0;
}

    .home-section-heading h2,
    .home-heading-row h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .home-process-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-process-grid article {
        min-height: auto;
        padding: 1.55rem 1rem 1.2rem;
    }

    .home-process-arrow {
        display: grid;
        place-items: center;
        transform: rotate(90deg);
    }

    .home-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-profile-carousel {
        padding-inline: 0;
    }

    .home-profile-viewport {
        padding-inline: 0;
    }

    .home-profile-slide {
        flex-basis: 100%;
    }

    .home-profile-card {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 1.15rem;
    }

    .home-profile-photo {
        min-height: min(68vh, 31rem);
        max-height: 31rem;
    }

    .home-profile-photo img {
        object-position: center center;
    }

    .home-profile-content {
        padding: 0.9rem 0.9rem 0.85rem;
    }

    .home-profile-content h3 {
        font-size: 1.45rem;
    }

    .home-profile-content dd {
        font-size: 0.64rem;
    }

    .home-profile-actions {
        padding-top: 0.8rem;
    }

    .home-like-button,
    .btn-home-profile {
        min-height: 2.45rem;
        font-size: 0.66rem;
    }

    .home-carousel-arrow {
        top: 35%;
        width: 2.35rem;
        height: 2.35rem;
    }

    .home-carousel-arrow.is-previous {
        left: 0.35rem;
    }

    .home-carousel-arrow.is-next {
        right: 0.35rem;
    }

    .home-rules-grid {
        grid-template-columns: 1fr;
    }

    .home-membership-section {
        padding-bottom: 3.5rem;
    }

    .home-membership-card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding: 1.5rem 1.35rem;
        gap: 1.1rem;
    }

    .home-membership-title h2 {
        font-size: clamp(1.9rem, 6vw, 2.5rem);
    }

    .home-membership-title > span {
        font-size: 1rem;
    }

    .home-membership-price {
        justify-content: flex-start;
        margin: 0.1rem 0;
        padding: 0.9rem 0 0;
        border-top: 1px solid #f0dfc7;
        border-left: 0;
    }

    .home-membership-price strong {
        font-size: clamp(4rem, 16vw, 5rem);
    }

    .home-membership-card ul {
        grid-column: auto;
        padding: 0 0 0.25rem;
        border-left: 0;
    }

    .home-membership-card li {
        font-size: 0.9rem;
    }

    .home-membership-card > .btn {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

    .home-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .home-cta-button {
        width: 100%;
    }

    .home-photo-modal .modal-dialog {
        margin: 0.5rem;
    }

    .home-photo-modal .modal-content {
        border-radius: 1rem;
    }

    .home-photo-modal-frame {
        min-height: 64vh;
    }

    .home-photo-modal-actions {
        grid-template-columns: 1fr 1fr;
    }

    .home-photo-modal-actions .is-profile {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-profile-track {
        transition: none;
    }
}

/* Final desktop profile preview: light, split-layout modal. */
.home-photo-modal .modal-dialog {
    width: min(94vw, 70rem);
    max-width: 70rem;
}

.home-photo-modal .modal-content {
    overflow: hidden;
    color: #38232a;
    background: #fffdfb;
    border: 1px solid #ead4d8;
    border-radius: 1.2rem;
    box-shadow: 0 1.5rem 5rem rgb(38 0 12 / 28%);
}

.home-photo-modal .modal-header {
    min-height: 4.2rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(100deg, #77001d, #a50030);
    border-bottom: 0;
}

.home-photo-modal .modal-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.home-photo-modal .modal-body {
    padding: 0;
    background: #fffdfb;
}

.home-photo-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 31rem;
}

.home-photo-modal-frame {
    min-height: 31rem;
    max-height: 43rem;
    padding: 1.1rem;
    background: #f8eeeb;
}

.home-photo-modal-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 41rem;
    min-height: 29rem;
    border-radius: 0.8rem;
    object-fit: cover;
    object-position: center 28%;
    box-shadow: 0 0.8rem 2rem rgb(68 0 18 / 12%);
}

.home-photo-modal-details {
    display: flex;
    min-width: 0;
    padding: clamp(1.25rem, 2.4vw, 2.25rem);
    flex-direction: column;
    justify-content: center;
    background: #fffdfb;
}

.home-photo-modal-code {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.6rem;
    color: #8a1230;
    background: #fff0f2;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.home-photo-modal-identity h3 {
    margin: 0 0 0.55rem;
    color: #4b1020;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 700;
    line-height: 1.1;
}

.home-photo-modal-summary,
.home-photo-modal-profession {
    margin: 0 0 0.45rem;
    color: #6c5b60;
    font-size: 0.9rem;
    line-height: 1.6;
}

.home-photo-modal-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-photo-modal-profession {
    margin-bottom: 1.25rem;
}

.home-photo-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    margin: 0 0 1.1rem;
    background: transparent;
    gap: 0.55rem;
}

.home-photo-modal-actions form {
    min-width: 0;
}

.home-modal-action-button {
    min-height: 2.8rem;
    color: #8d0024;
    background: #ffffff;
    border: 1px solid #d9b9c0;
    border-radius: 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-modal-action-button.is-like {
    color: #ffffff;
    background: #a50030;
    border-color: #a50030;
}

.home-modal-action-button.is-like:hover,
.home-modal-action-button.is-like:focus-visible {
    color: #ffffff;
    background: #7d0022;
    border-color: #7d0022;
}

.home-modal-action-button.is-save:hover,
.home-modal-action-button.is-save:focus-visible {
    color: #72001d;
    background: #fff1d1;
    border-color: #e6b846;
}

.home-photo-modal-actions .is-profile {
    grid-column: 1 / -1;
    color: #ffffff;
    background: #fffdfb;
    color: #940027;
    border-color: #a50030;
}

.home-photo-modal-actions .is-profile:hover,
.home-photo-modal-actions .is-profile:focus-visible {
    color: #ffffff;
    background: #a50030;
}

.home-photo-modal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1rem 0;
    border-top: 1px solid #f0e0e2;
    border-bottom: 1px solid #f0e0e2;
    gap: 0.85rem;
}

.home-photo-modal-facts > div {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    color: #5d454c;
    font-size: 0.78rem;
    line-height: 1.45;
    gap: 0.55rem;
}

.home-photo-modal-facts i {
    color: #a50030;
    font-size: 1rem;
}

.home-photo-modal-privacy {
    display: flex;
    margin: 1rem 0 0;
    color: #78676c;
    font-size: 0.72rem;
    line-height: 1.55;
    gap: 0.45rem;
}

.home-photo-modal-privacy i {
    flex: 0 0 auto;
    color: #9a6b16;
}

@media (max-width: 767.98px) {
    .home-photo-modal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 0.5rem;
    }

    .home-photo-modal-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-photo-modal-frame {
        min-height: 0;
        max-height: none;
        padding: 0.65rem;
    }

    .home-photo-modal-frame img {
        min-height: 0;
        height: min(48vh, 22rem);
        max-height: 22rem;
        object-fit: cover;
    }

    .home-photo-modal-details {
        padding: 1rem;
    }

    .home-photo-modal-identity h3 {
        font-size: 1.65rem;
    }

    .home-photo-modal-facts {
        gap: 0.65rem;
    }
}

/* Photo-first profile viewer: desktop and mobile final treatment. */
.home-photo-modal .modal-dialog {
    width: min(94vw, 76rem);
    max-width: 76rem;
    margin: 1rem auto;
}

.home-photo-modal .home-photo-stage {
    position: relative;
    display: flex;
    height: min(88vh, 52rem);
    min-height: 34rem;
    flex-direction: column;
    overflow: hidden;
    color: #ffffff;
    background: #17050b;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 1.15rem;
    box-shadow: 0 1.5rem 5rem rgb(22 0 8 / 45%);
}

.home-photo-stage-top {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    min-height: 6.25rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(180deg, rgb(17 3 8 / 78%), rgb(17 3 8 / 0%));
    gap: 1rem;
}

.home-photo-stage-identity {
    min-width: 0;
}

.home-photo-stage-identity h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.15rem, 2.3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgb(0 0 0 / 35%);
}

.home-photo-stage-identity p {
    margin: 0.35rem 0 0;
    color: rgb(255 255 255 / 88%);
    font-size: 0.9rem;
}

.home-photo-stage-count {
    margin-left: auto;
    padding: 0.35rem 0.7rem;
    color: #ffffff;
    background: rgb(0 0 0 / 38%);
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.home-photo-stage-close {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    place-items: center;
    color: #ffffff;
    background: rgb(0 0 0 / 42%);
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 50%;
    font-size: 1rem;
    transition: background 160ms ease, transform 160ms ease;
}

.home-photo-stage-close:hover,
.home-photo-stage-close:focus-visible {
    color: #ffffff;
    background: #a50030;
    transform: scale(1.04);
}

.home-photo-stage-viewer {
    position: relative;
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background: #17050b;
}

.home-photo-stage-backdrop {
    position: absolute;
    z-index: 0;
    inset: -2rem;
    width: calc(100% + 4rem);
    height: calc(100% + 4rem);
    object-fit: cover;
    filter: blur(24px) brightness(0.36) saturate(0.8);
    transform: scale(1.04);
}

.home-photo-stage-viewer::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, rgb(17 3 8 / 12%), transparent 34%, rgb(17 3 8 / 26%));
    content: '';
    pointer-events: none;
}

.home-photo-stage-main-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.home-photo-stage-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    color: #65001b;
    background: rgb(255 255 255 / 94%);
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 50%;
    box-shadow: 0 0.35rem 1.2rem rgb(0 0 0 / 18%);
    font-size: 1rem;
    transform: translateY(-50%);
    transition: transform 160ms ease, background 160ms ease;
}

.home-photo-stage-arrow:hover,
.home-photo-stage-arrow:focus-visible {
    color: #65001b;
    background: #ffda78;
    transform: translateY(-50%) scale(1.05);
}

.home-photo-stage-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.home-photo-stage-arrow.is-previous {
    left: 1.25rem;
}

.home-photo-stage-arrow.is-next {
    right: 1.25rem;
}

.home-photo-stage-bottom {
    position: absolute;
    z-index: 5;
    right: 1.4rem;
    bottom: 1.25rem;
    left: 1.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    pointer-events: none;
}

.home-photo-thumbnails {
    display: flex;
    max-width: min(48%, 28rem);
    align-items: center;
    padding: 0.35rem;
    overflow-x: auto;
    background: rgb(0 0 0 / 34%);
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 0.8rem;
    gap: 0.4rem;
    pointer-events: auto;
    scrollbar-width: thin;
}

.home-photo-thumbnails[hidden] {
    display: none;
}

.home-photo-thumbnail {
    width: 4.2rem;
    height: 4.2rem;
    flex: 0 0 auto;
    padding: 0;
    overflow: hidden;
    background: #3b1723;
    border: 2px solid transparent;
    border-radius: 0.55rem;
    opacity: 0.78;
    transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-photo-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-photo-thumbnail:hover,
.home-photo-thumbnail:focus-visible,
.home-photo-thumbnail.is-active {
    border-color: #ffd45f;
    opacity: 1;
    transform: translateY(-2px);
}

.home-photo-stage-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: clamp(0.55rem, 1.8vw, 1.6rem);
    pointer-events: auto;
}

.home-photo-stage-actions form {
    margin: 0;
}

.home-photo-icon-action {
    display: flex;
    min-width: 5rem;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    text-decoration: none;
    gap: 0.35rem;
}

.home-photo-icon-action > i {
    display: grid;
    width: clamp(3.4rem, 5.8vw, 4.8rem);
    height: clamp(3.4rem, 5.8vw, 4.8rem);
    place-items: center;
    color: #78001f;
    background: #fffdfb;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 50%;
    box-shadow: 0 0.4rem 1.2rem rgb(0 0 0 / 22%);
    font-size: clamp(1.2rem, 2.3vw, 1.8rem);
    transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.home-photo-icon-action > span {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    text-shadow: 0 1px 5px rgb(0 0 0 / 75%);
}

.home-photo-icon-action:hover > i,
.home-photo-icon-action:focus-visible > i {
    transform: translateY(-3px) scale(1.04);
}

.home-photo-icon-action.is-like > i {
    color: #78001f;
    background: #fffdfb;
    border-color: rgb(255 255 255 / 75%);
    font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.home-photo-icon-action.is-like.is-liked > i {
    color: #ffffff;
    background: #e60046;
    border-color: #ff7c9f;
}

.home-photo-icon-action.is-like:not(.is-liked) > i {
    color: #78001f;
    background: #fffdfb;
}

.home-photo-icon-action.is-save > i {
    color: #79001f;
}

.home-photo-icon-action.is-save.is-saved > i {
    color: #79001f;
    background: #ffda78;
}

.home-photo-icon-action:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.home-photo-profile-link {
    position: absolute;
    z-index: 6;
    top: 6.3rem;
    right: 1.5rem;
    padding: 0.45rem 0.7rem;
    color: #ffffff;
    background: rgb(0 0 0 / 35%);
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.home-photo-profile-link:hover,
.home-photo-profile-link:focus-visible {
    color: #5b0018;
    background: #ffda78;
}

@media (max-width: 767.98px) {
    .home-photo-modal .modal-dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        margin: 0;
    }

    .home-photo-modal .home-photo-stage {
        width: 100%;
        height: 100dvh;
        min-height: 0;
        border: 0;
        border-radius: 0;
    }

    .home-photo-stage-top {
        min-height: 5.5rem;
        padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem;
        gap: 0.5rem;
    }

    .home-photo-stage-identity h2 {
        max-width: 58vw;
        font-size: 1.15rem;
    }

    .home-photo-stage-identity p {
        font-size: 0.78rem;
    }

    .home-photo-stage-count {
        margin-top: 0.1rem;
        padding: 0.3rem 0.55rem;
        font-size: 0.72rem;
    }

    .home-photo-stage-close {
        width: 2.35rem;
        height: 2.35rem;
    }

    .home-photo-stage-main-image {
        object-fit: contain;
    }

    .home-photo-stage-arrow {
        width: 2.35rem;
        height: 2.35rem;
    }

    .home-photo-stage-arrow.is-previous {
        left: 0.65rem;
    }

    .home-photo-stage-arrow.is-next {
        right: 0.65rem;
    }

    .home-photo-stage-bottom {
        right: 0.8rem;
        bottom: max(1.25rem, env(safe-area-inset-bottom));
        left: 0.8rem;
        align-items: center;
        flex-direction: column-reverse;
        gap: 0.75rem;
    }

    .home-photo-thumbnails {
        max-width: 100%;
        width: fit-content;
        max-height: 4.3rem;
        padding: 0.25rem;
        gap: 0.3rem;
    }

    .home-photo-thumbnail {
        width: 3.45rem;
        height: 3.45rem;
        border-radius: 0.45rem;
    }

    .home-photo-stage-actions {
        width: 100%;
        justify-content: center;
        gap: clamp(1.1rem, 8vw, 2.3rem);
    }

    .home-photo-icon-action {
        min-width: 4.1rem;
        gap: 0.25rem;
    }

    .home-photo-icon-action > i {
        width: 3.45rem;
        height: 3.45rem;
        font-size: 1.25rem;
    }

    .home-photo-icon-action.is-like > i {
        font-size: 1.6rem;
    }

    .home-photo-icon-action > span {
        font-size: 0.72rem;
    }

    .home-photo-profile-link {
        top: auto;
        right: 1rem;
        bottom: 0.6rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-photo-stage-close,
    .home-photo-stage-arrow,
    .home-photo-thumbnail,
    .home-photo-icon-action > i {
        transition: none;
    }
}


/* Final popup Like state: white by default; red only after a confirmed Like. */
#homeProfilePhotoModal .home-photo-icon-action.is-like:not(.is-liked) > i {
    color: #78001f !important;
    background: #fffdfb !important;
    border-color: rgb(255 255 255 / 75%) !important;
}

#homeProfilePhotoModal .home-photo-icon-action.is-like.is-liked > i {
    color: #ffffff !important;
    background: #e60046 !important;
    border-color: #ff7c9f !important;
}

#homeProfilePhotoModal .home-photo-icon-action.is-like:disabled {
    cursor: wait;
    opacity: .75;
}

.home-rules-section .section-kicker {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #bd7d10;
    margin-bottom: 0.5rem;
}

/* Homepage polish: stronger typography, warmer How It Works cards, and less wasted width. */
.home-page main > .container,
.home-page main .home-section > .container,
.home-page main .home-trust-section > .container,
.home-page main .home-final-cta > .container,
.home-page main .home-hero > .container {
    width: calc(100% - clamp(1.5rem, 4vw, 3.5rem));
    max-width: 1440px;
    padding-right: 0;
    padding-left: 0;
}

.home-page .home-section {
    padding-block: clamp(2.65rem, 4.2vw, 4rem);
    scroll-margin-top: 6.5rem;
}

.home-page .home-rules-section {
    padding-top: clamp(2.4rem, 3.5vw, 3.4rem);
}

.home-page .home-section-heading > p:last-child,
.home-page .home-heading-row > div > p:last-child {
    color: #74616a;
    font-size: 1rem;
    line-height: 1.7;
}

.home-page .home-trust-grid h2 {
    font-size: 1.3rem;
}

.home-page .home-trust-grid p {
    font-size: 0.86rem;
    line-height: 1.65;
}

.home-page .home-how-section {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 8% 12%, rgb(255 218 132 / 32%), transparent 28rem),
        radial-gradient(ellipse at 94% 82%, rgb(172 0 48 / 10%), transparent 30rem),
        linear-gradient(135deg, #fff4e7 0%, #fffaf5 45%, #fcebef 100%);
    border-top: 1px solid #f2dfc8;
    border-bottom: 1px solid #f0d8c6;
}

.home-page .home-how-section::before,
.home-page .home-how-section::after {
    position: absolute;
    z-index: -1;
    width: clamp(12rem, 23vw, 23rem);
    aspect-ratio: 1;
    border: 1px solid rgb(174 0 45 / 10%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-page .home-how-section::before {
    top: -8rem;
    left: -8rem;
    box-shadow: 0 0 0 1.5rem rgb(216 154 34 / 5%), 0 0 0 3rem rgb(216 154 34 / 3%);
}

.home-page .home-how-section::after {
    right: -8rem;
    bottom: -10rem;
    border-color: rgb(216 154 34 / 18%);
    box-shadow: 0 0 0 1.5rem rgb(143 0 31 / 3%), 0 0 0 3rem rgb(143 0 31 / 2%);
}

.home-page .home-how-section .home-section-heading {
    max-width: 60rem;
    margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.home-page .home-how-section .section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.6rem;
    padding: 0.42rem 0.9rem;
    color: #8d001f;
    background: rgb(255 255 255 / 72%);
    border: 1px solid #efd2a0;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-page .home-how-section .home-section-heading h2 {
    margin-bottom: 0.65rem;
    color: #650019;
    font-size: clamp(2.65rem, 4.5vw, 4rem);
    line-height: 1.08;
    text-shadow: 0 0.2rem 0 rgb(255 255 255 / 65%);
}

.home-page .home-process-grid {
    max-width: 78rem;
    gap: clamp(0.8rem, 1.4vw, 1.4rem);
}

.home-page .home-process-grid article {
    min-height: 14rem;
    padding: 2rem clamp(1rem, 1.8vw, 1.65rem) 1.45rem;
    background: linear-gradient(145deg, rgb(255 255 255 / 96%), rgb(255 247 235 / 96%));
    border: 1px solid #e9cda9;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.2rem rgb(94 0 25 / 7%), inset 0 1px 0 #ffffff;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-page .home-process-grid article:hover {
    border-color: #d89a22;
    box-shadow: 0 1.25rem 2.7rem rgb(94 0 25 / 12%);
    transform: translateY(-4px);
}

.home-page .home-process-number {
    top: -0.8rem;
    left: 1.2rem;
    width: 2.45rem;
    height: 2.45rem;
    border: 3px solid #f1c35e;
    box-shadow: 0 0.35rem 0.8rem rgb(94 0 25 / 14%);
    font-size: 1rem;
}

.home-page .home-process-grid article > i {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1rem;
    color: #9d0030;
    background: linear-gradient(145deg, #fff1f2, #ffe6df);
    border-color: #f1c7ce;
    box-shadow: inset 0 0 0 5px rgb(255 255 255 / 55%);
    font-size: 1.75rem;
}

.home-page .home-process-grid h3 {
    margin-bottom: 0.55rem;
    color: #650019;
    font-size: clamp(1.35rem, 1.7vw, 1.65rem);
    line-height: 1.2;
}

.home-page .home-process-grid p {
    max-width: 25rem;
    margin-inline: auto;
    color: #6f5b64;
    font-size: 0.94rem;
    line-height: 1.7;
}

.home-page .home-process-arrow {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #8e001f;
    background: #fff8e9;
    border: 1px solid #e7c27a;
    border-radius: 50%;
    box-shadow: 0 0.35rem 0.8rem rgb(94 0 25 / 7%);
    font-size: 1.1rem;
}

.home-page .home-profile-content h3 {
    font-size: 1.25rem;
    line-height: 1.3;
}

.home-page .home-profile-content dd,
.home-page .home-profile-content .home-profile-meta,
.home-page .home-membership-card li {
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .home-page main > .container,
    .home-page main .home-section > .container,
    .home-page main .home-trust-section > .container,
    .home-page main .home-final-cta > .container,
    .home-page main .home-hero > .container {
        width: calc(100% - 2rem);
    }

    .home-page .home-process-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .home-page .home-process-grid article {
        min-height: auto;
        padding: 2rem 1.2rem 1.45rem;
    }

    .home-page .home-process-arrow {
        margin-inline: auto;
        transform: rotate(90deg);
    }
}

@media (max-width: 575.98px) {
    .home-page main > .container,
    .home-page main .home-section > .container,
    .home-page main .home-trust-section > .container,
    .home-page main .home-final-cta > .container,
    .home-page main .home-hero > .container {
        width: calc(100% - 1.25rem);
    }

    .home-page .home-section {
        padding-block: 2.25rem;
    }

    .home-page .home-how-section .home-section-heading h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .home-page .home-section-heading > p:last-child,
    .home-page .home-heading-row > div > p:last-child {
        font-size: 0.92rem;
    }

    .home-page .home-process-grid p {
        font-size: 0.9rem;
    }
}

/* Community Rules refresh only — scoped to the Trust & Respect section. */
.home-page .home-rules-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    padding: clamp(2.1rem, 3vw, 3rem) 0 clamp(2.2rem, 3.2vw, 3.25rem);
    background:
        radial-gradient(ellipse at 8% 12%, rgb(255 210 104 / 16%), transparent 26rem),
        radial-gradient(ellipse at 95% 90%, rgb(255 255 255 / 8%), transparent 25rem),
        linear-gradient(125deg, #5d0019 0%, #850023 52%, #a60032 100%);
    border-top: 1px solid #d8a03a;
    border-bottom: 2px solid #d8a03a;
}

.home-page .home-rules-section::before,
.home-page .home-rules-section::after {
    position: absolute;
    z-index: -1;
    width: clamp(12rem, 22vw, 22rem);
    aspect-ratio: 1;
    border: 1px solid rgb(255 215 139 / 18%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-page .home-rules-section::before {
    top: -9rem;
    left: -7rem;
    box-shadow: 0 0 0 1.25rem rgb(255 215 139 / 4%), 0 0 0 2.5rem rgb(255 215 139 / 3%);
}

.home-page .home-rules-section::after {
    right: -8rem;
    bottom: -12rem;
    box-shadow: 0 0 0 1.25rem rgb(255 215 139 / 4%), 0 0 0 2.5rem rgb(255 215 139 / 3%);
}

.home-page .home-rules-section .home-section-heading {
    position: relative;
    margin-bottom: clamp(1.25rem, 2.2vw, 2rem);
}

.home-page .home-rules-section .home-section-heading .section-kicker {
    margin-bottom: .55rem;
    color: #ffd66e;
    font-size: clamp(.78rem, .95vw, .94rem);
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-page .home-rules-section .home-section-heading h2 {
    margin-bottom: .55rem;
    color: #fffaf2;
    font-size: clamp(1.8rem, 3.3vw, 3.15rem);
    line-height: 1.18;
    text-wrap: balance;
}

.home-page .home-rules-section .home-section-heading > p:last-child {
    max-width: 54rem;
    margin-inline: auto;
    color: #f8e8e8;
    font-size: clamp(.96rem, 1.15vw, 1.12rem);
    line-height: 1.7;
}

.home-page .home-rules-grid {
    align-items: stretch;
    gap: clamp(.75rem, 1.1vw, 1.1rem);
}

.home-page .home-rules-grid article {
    min-width: 0;
    min-height: 9.25rem;
    align-items: flex-start;
    padding: clamp(1rem, 1.35vw, 1.4rem);
    gap: clamp(.7rem, 1vw, 1rem);
    background: linear-gradient(145deg, #fffdf9 0%, #fff1e8 100%);
    border: 1px solid #f0c56e;
    border-radius: 1.05rem;
    box-shadow: 0 .7rem 1.5rem rgb(40 0 12 / 18%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-page .home-rules-grid article:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 1.8rem rgb(40 0 12 / 24%);
}

.home-page .home-rules-grid article > span {
    width: clamp(2.7rem, 3.2vw, 3.35rem);
    height: clamp(2.7rem, 3.2vw, 3.35rem);
    color: #8a0028;
    background: linear-gradient(145deg, #fff2c9, #ffe0a0);
    border: 1px solid #e8b54b;
    box-shadow: 0 .25rem .65rem rgb(115 52 0 / 10%);
    font-size: 1.15rem;
}

.home-page .home-rules-grid article > div {
    min-width: 0;
    flex: 1;
}

.home-page .home-rules-grid h3 {
    margin: .05rem 0 .45rem;
    color: #69001d;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    font-weight: 750;
    line-height: 1.35;
    text-wrap: balance;
}

.home-page .home-rules-grid p {
    color: #5f4a50;
    font-size: clamp(.86rem, .98vw, 1rem);
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .home-page .home-rules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .home-page .home-rules-section {
        padding: 2rem 0 2.2rem;
    }

    .home-page .home-rules-section .home-section-heading {
        margin-bottom: 1.25rem;
    }

    .home-page .home-rules-section .home-section-heading h2 {
        font-size: clamp(1.65rem, 7.4vw, 2.15rem);
    }

    .home-page .home-rules-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .home-page .home-rules-grid article {
        min-height: 0;
        padding: 1rem;
        border-radius: .95rem;
    }

    .home-page .home-rules-grid h3 {
        font-size: 1.08rem;
    }

    .home-page .home-rules-grid p {
        font-size: .92rem;
        line-height: 1.6;
    }
}


/* Home membership price layout refinement: keep the offer price on one clean line. */
.home-page .home-membership-card .home-membership-price {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-areas:
        "original discount"
        "offer offer"
        "duration duration";
    align-content: center;
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 0.28rem 0.55rem;
    min-width: 0;
    padding: 0.35rem 0.75rem;
    border-left: 1px solid #f0dfc7;
    flex-wrap: initial;
}

.home-page .home-membership-card .home-membership-original-price {
    grid-area: original;
    justify-self: end;
    display: inline-flex;
    align-items: baseline;
    gap: 0.08rem;
    margin: 0;
    color: #81797a;
    font-size: 1.15rem;
    line-height: 1.2;
    white-space: nowrap;
}

.home-page .home-membership-card .home-membership-original-price sup {
    position: static;
    color: inherit;
    font-size: 0.78em;
    line-height: 1;
}

.home-page .home-membership-card .home-membership-original-price del {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #a34b5d;
}

.home-page .home-membership-card .home-membership-discount {
    grid-area: discount;
    justify-self: start;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #fde5e8;
    color: #a00027;
    font-size: 0.76rem;
    line-height: 1.2;
    white-space: nowrap;
}

.home-page .home-membership-card .home-membership-offer-price {
    grid-area: offer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    min-width: 9.8rem;
    margin: 0.08rem 0 0;
    padding: 0.35rem 1.15rem 0.42rem;
    border: 1px solid #e7bd68;
    border-radius: 1rem;
    background: linear-gradient(135deg, #970024 0%, #b4003c 100%);
    box-shadow: 0 0.45rem 0.9rem rgb(152 0 37 / 15%);
    color: #fff;
    line-height: 1;
}

.home-page .home-membership-card .home-membership-offer-price sup {
    position: static;
    align-self: flex-start;
    margin-top: 0.35rem;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
}

.home-page .home-membership-card .home-membership-offer-price strong {
    display: inline-block;
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 4.1vw, 4.4rem);
    font-weight: 700;
    line-height: 0.98;
    white-space: nowrap;
}

.home-page .home-membership-card .home-membership-duration {
    grid-area: duration;
    justify-self: center;
    margin: 0;
    padding: 0.28rem 0.8rem;
    border: 1px solid #f0d08e;
    border-radius: 999px;
    background: #fff3d8;
    color: #85001e;
    font-size: 0.82rem;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .home-page .home-membership-card .home-membership-price {
        border-left: 1px solid #f0dfc7;
    }
}

@media (max-width: 991.98px) {
    .home-page .home-membership-card .home-membership-price {
        grid-template-columns: max-content max-content;
        justify-content: start;
        justify-items: start;
        width: 100%;
        padding: 1rem 0 0;
        border-top: 1px solid #f0dfc7;
        border-left: 0;
    }

    .home-page .home-membership-card .home-membership-offer-price {
        justify-self: start;
        min-width: 9.4rem;
    }

    .home-page .home-membership-card .home-membership-duration {
        justify-self: center;
    }
}

@media (max-width: 575.98px) {
    .home-page .home-membership-card .home-membership-price {
        gap: 0.35rem 0.55rem;
    }

    .home-page .home-membership-card .home-membership-offer-price strong {
        font-size: 3.5rem;
    }
}
