:root {
    --soulmate-ink: #2b1723;
    --soulmate-muted: #806978;
    --soulmate-plum: #240c1c;
    --soulmate-plum-light: #48122f;
    --soulmate-pink: #ed0c8b;
    --soulmate-pink-bright: #fb168f;
    --soulmate-blush: #f7a9d5;
    --soulmate-rose: #fff4f9;
    --soulmate-line: #f1dce7;
}

body {
    color: var(--soulmate-ink);
    background: #fffafd;
    font-family: "Outfit", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
}

.soulmate-container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.soulmate-site-header {
    position: sticky;
    z-index: 1030;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(240, 211, 226, .75);
    background: rgba(255, 250, 253, .91);
    backdrop-filter: blur(18px);
}

.soulmate-header-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.soulmate-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.soulmate-brand img {
    display: block;
    width: 158px;
    height: auto;
    object-fit: contain;
}

.soulmate-main-nav,
.soulmate-header-actions {
    display: flex;
    align-items: center;
}

.soulmate-main-nav { gap: 34px; }

.soulmate-main-nav a,
.soulmate-header-login {
    color: #5d4352;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.soulmate-main-nav a:hover,
.soulmate-header-login:hover { color: var(--soulmate-pink); }

.soulmate-header-actions { gap: 22px; }

.soulmate-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 25px;
    color: #fff !important;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(105deg, var(--soulmate-pink), #ff4d9e);
    box-shadow: 0 12px 26px rgba(237, 12, 139, .23);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.soulmate-button:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(237, 12, 139, .3);
}

.soulmate-button--small { min-height: 43px; padding: 0 20px; font-size: 12px; }
.soulmate-button--outline { color: var(--soulmate-pink) !important; border-color: #f3b6d5; background: #fff; box-shadow: none; }
.soulmate-button--outline:hover { color: #fff !important; border-color: var(--soulmate-pink); background: var(--soulmate-pink); }
.soulmate-button--light { color: var(--soulmate-plum) !important; background: #fff; box-shadow: 0 12px 28px rgba(20, 3, 14, .2); }
.soulmate-button--light:hover { color: var(--soulmate-pink) !important; background: #fff; }

.soulmate-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    color: #fff;
    background-color: var(--soulmate-plum);
    background-image: linear-gradient(90deg, rgba(25, 5, 18, .96) 0%, rgba(34, 6, 24, .85) 37%, rgba(41, 7, 28, .44) 68%, rgba(41, 7, 28, .04) 100%), url("/website/images/soulmate-hero.png");
    background-position: center, center 56%;
    background-size: cover;
}

.soulmate-hero::after {
    position: absolute;
    right: -80px;
    bottom: -170px;
    width: 470px;
    height: 340px;
    border-radius: 50%;
    background: rgba(237, 12, 139, .2);
    content: "";
    filter: blur(85px);
    pointer-events: none;
}

.soulmate-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 680px;
    align-items: center;
    justify-content: space-between;
    padding-block: 75px;
}

.soulmate-hero-copy { max-width: 690px; }

.soulmate-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--soulmate-pink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.soulmate-eyebrow--light { color: #ff9bd1; }

.soulmate-hero h1 {
    margin: 23px 0 18px;
    color: #fff;
    font-size: clamp(50px, 6vw, 78px);
    font-weight: 750;
    letter-spacing: -3.4px;
    line-height: .99;
}

.soulmate-hero h1 span,
.soulmate-section-heading h2 span {
    color: #ff87c5;
}

.soulmate-hero-copy > p {
    max-width: 515px;
    color: rgba(255, 244, 250, .82);
    font-size: 17px;
    line-height: 1.75;
}

.soulmate-hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 31px; }

.soulmate-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    font-weight: 600;
}

.soulmate-text-link:hover { color: #ff9bd1; }

.soulmate-hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 43px;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    letter-spacing: .2px;
}

.soulmate-hero-note-icon {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    color: #ff97cd;
    border: 1px solid rgba(255, 151, 205, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.soulmate-hero-caption {
    position: absolute;
    right: 0;
    bottom: 47px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .8);
    font-size: 10px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.soulmate-hero-caption i { color: #ff90ca; }

.soulmate-values-strip { border-bottom: 1px solid var(--soulmate-line); background: #fff; }

.soulmate-values-strip-inner {
    display: grid;
    min-height: 106px;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.soulmate-values-strip-inner > div { display: flex; align-items: center; justify-content: center; gap: 12px; color: #553b4b; font-size: 13px; font-weight: 650; }

.soulmate-value-icon {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    color: var(--soulmate-pink);
    border-radius: 50%;
    background: var(--soulmate-rose);
}

.soulmate-section { padding: 110px 0; }

.soulmate-section-heading { max-width: 720px; margin: 0 auto 49px; text-align: center; }

.soulmate-section-heading h2 {
    margin: 15px 0 13px;
    color: var(--soulmate-plum);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 730;
    letter-spacing: -1.8px;
    line-height: 1.12;
}

.soulmate-section-heading p { color: var(--soulmate-muted); font-size: 15px; line-height: 1.8; }

.soulmate-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.soulmate-feature-card {
    position: relative;
    min-height: 250px;
    padding: 29px 28px;
    border: 1px solid var(--soulmate-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(66, 16, 44, .045);
    transition: transform .22s ease, box-shadow .22s ease;
}

.soulmate-feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(66, 16, 44, .1); }

.soulmate-feature-icon {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    color: var(--soulmate-pink);
    border-radius: 16px;
    background: #fff0f7;
    font-size: 19px;
}

.soulmate-feature-number { position: absolute; top: 29px; right: 29px; color: #d9b7ca; font-size: 11px; font-weight: 750; letter-spacing: 1px; }
.soulmate-feature-card h3 { margin: 27px 0 9px; color: var(--soulmate-plum); font-size: 19px; font-weight: 700; }
.soulmate-feature-card p { color: var(--soulmate-muted); font-size: 13px; line-height: 1.75; }
.soulmate-feature-card--featured { border-color: transparent; background: linear-gradient(145deg, #fff1f8, #fff); }

.soulmate-how-section {
    padding: 100px 0;
    color: #fff;
    background: radial-gradient(circle at 85% 25%, rgba(237, 12, 139, .24), transparent 26%), linear-gradient(120deg, #240b1c, #351027 70%, #45102d);
}

.soulmate-how-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.soulmate-how-intro h2 { margin: 17px 0 13px; color: #fff; font-size: clamp(35px, 4vw, 49px); font-weight: 720; letter-spacing: -1.8px; line-height: 1.1; }
.soulmate-how-intro p { max-width: 420px; margin-bottom: 25px; color: rgba(255, 240, 248, .76); font-size: 14px; line-height: 1.8; }
.soulmate-steps-list { display: grid; gap: 9px; }
.soulmate-steps-list li { display: grid; grid-template-columns: 38px 1fr 42px; align-items: center; gap: 15px; padding: 19px 20px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 15px; background: rgba(255, 255, 255, .055); }
.soulmate-steps-list li > span { color: #ff83c2; font-size: 11px; font-weight: 800; letter-spacing: .6px; }
.soulmate-steps-list h3 { margin-bottom: 4px; color: #fff; font-size: 15px; font-weight: 700; }
.soulmate-steps-list p { color: rgba(255, 240, 248, .7); font-size: 11px; line-height: 1.6; }
.soulmate-steps-list li > i { display: grid; width: 38px; height: 38px; place-items: center; color: #ff9bd1; border-radius: 12px; background: rgba(237, 12, 139, .18); }

.soulmate-final-cta { padding: 104px 0 110px; text-align: center; background: radial-gradient(ellipse at 50% 110%, rgba(237, 12, 139, .12), transparent 55%); }
.soulmate-final-cta-inner { display: flex; align-items: center; flex-direction: column; }
.soulmate-final-heart { display: grid; width: 58px; height: 58px; margin-bottom: 22px; place-items: center; color: #fff; border-radius: 20px; background: linear-gradient(135deg, var(--soulmate-pink), #ff72b5); box-shadow: 0 15px 30px rgba(237, 12, 139, .24); font-size: 22px; }
.soulmate-final-cta h2 { max-width: 690px; margin: 13px 0 10px; color: var(--soulmate-plum); font-size: clamp(33px, 4vw, 47px); font-weight: 730; letter-spacing: -1.7px; line-height: 1.12; }
.soulmate-final-cta p { margin-bottom: 25px; color: var(--soulmate-muted); font-size: 14px; }

.soulmate-footer { padding: 50px 0 20px; color: #f8eaf2; background: #1d0916; }
.soulmate-footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 60px; padding-bottom: 39px; }
.soulmate-footer .soulmate-brand img { width: 145px; }
.soulmate-footer-brand p,
.soulmate-footer-note p { max-width: 360px; margin-top: 13px; color: rgba(255, 235, 245, .66); font-size: 12px; line-height: 1.8; }
.soulmate-footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.soulmate-footer-links h2,
.soulmate-footer-note h2 { margin-bottom: 5px; color: #fff; font-size: 13px; font-weight: 700; }
.soulmate-footer-links a { color: rgba(255, 235, 245, .7); font-size: 12px; }
.soulmate-footer-links a:hover { color: #ff91cb; }
.soulmate-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 235, 245, .5); font-size: 10px; }

.soulmate-inner-hero {
    color: #fff;
    background-image: linear-gradient(90deg, rgba(27, 5, 20, .93), rgba(38, 7, 27, .65)), url("/website/images/soulmate-hero.png");
    background-position: center, center 53%;
    background-size: cover;
}

.soulmate-inner-hero-content { padding-block: 105px 115px; }
.soulmate-inner-hero h1 { max-width: 740px; margin: 20px 0 17px; color: #fff; font-size: clamp(44px, 5.4vw, 69px); font-weight: 740; letter-spacing: -2.8px; line-height: 1.03; }
.soulmate-inner-hero h1 span { color: #ff8ac7; }
.soulmate-inner-hero p { max-width: 580px; margin-bottom: 27px; color: rgba(255, 241, 248, .8); font-size: 15px; line-height: 1.8; }
.soulmate-how-detail { padding-top: 84px; }
.soulmate-detail-steps { display: grid; max-width: 850px; gap: 12px; margin: 0 auto; }
.soulmate-detail-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 17px; padding: 23px; border: 1px solid var(--soulmate-line); border-radius: 16px; background: #fff; }
.soulmate-detail-steps li > span { display: grid; width: 46px; height: 46px; place-items: center; color: var(--soulmate-pink); border-radius: 15px; background: #fff0f7; font-size: 12px; font-weight: 800; }
.soulmate-detail-steps h2 { margin-bottom: 6px; color: var(--soulmate-plum); font-size: 18px; }
.soulmate-detail-steps p { color: var(--soulmate-muted); font-size: 13px; line-height: 1.7; }
.soulmate-inner-cta { padding: 75px 0; color: #fff; text-align: center; background: linear-gradient(125deg, #260c1d, #50112f); }
.soulmate-inner-cta h2 { max-width: 620px; margin: 14px auto 24px; color: #fff; font-size: clamp(31px, 4vw, 43px); letter-spacing: -1.4px; }

/* Branded sign-in, sign-up, and password reset screens */
.soulmate-auth { min-height: 100vh; height: auto; overflow: visible; background: #fff8fc; }
.soulmate-auth-layout { display: grid !important; width: min(1320px, 100%); min-height: 100vh; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; margin: 0 auto; padding: 24px; }
.soulmate-auth-story { position: relative; isolation: isolate; display: flex; min-height: 680px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 38px; color: #fff; border-radius: 26px; background: linear-gradient(165deg, rgba(22, 4, 16, .43), rgba(29, 5, 21, .96)), url("/website/images/soulmate-hero.png") 65% center / cover; }
.soulmate-auth-story::after { position: absolute; z-index: -1; right: -80px; bottom: -100px; width: 300px; height: 260px; border-radius: 50%; background: rgba(237, 12, 139, .28); content: ""; filter: blur(65px); }
.soulmate-auth-logo img { display: block; width: 175px; height: auto; }
.soulmate-auth-story-copy { max-width: 490px; margin-top: auto; padding-top: 80px; }
.soulmate-auth-story-copy h2 { margin: 16px 0 12px; color: #fff; font-size: clamp(37px, 4vw, 52px); font-weight: 730; letter-spacing: -1.8px; line-height: 1.04; }
.soulmate-auth-story-copy h2 span { color: #ff8ac7; }
.soulmate-auth-story-copy p { max-width: 420px; color: rgba(255, 240, 248, .78); font-size: 13px; line-height: 1.8; }
.soulmate-auth-promises { display: flex; flex-wrap: wrap; gap: 16px 23px; margin-top: 38px; color: rgba(255, 245, 250, .88); font-size: 10px; font-weight: 600; }
.soulmate-auth-promises li { display: flex; align-items: center; gap: 7px; }
.soulmate-auth-promises i { color: #ff8ec9; }
.soulmate-auth-panel { display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 30px 28px; }
.soulmate-auth-panel-brand { display: none; }
.soulmate-auth .auth_form_content { width: 100%; height: auto; max-width: 455px; overflow: visible; padding: 0; }
.soulmate-auth .auth_form_content_box { width: 100%; }
.soulmate-auth .auth_form_heading { display: block; margin-bottom: 24px; text-align: left !important; }
.soulmate-auth-kicker { color: var(--soulmate-pink); font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
.soulmate-auth .auth_form_heading h3 { padding: 7px 0 4px; color: var(--soulmate-plum); font-size: 31px; font-weight: 720; letter-spacing: -1px; line-height: 1.15; }
.soulmate-auth .auth_form_heading p { color: var(--soulmate-muted); font-size: 13px; line-height: 1.7; text-align: left; opacity: 1; }
.soulmate-auth #validation_error { margin-bottom: 8px; }
.soulmate-auth .auth_field_box { display: grid; width: 100%; padding-bottom: 13px; }
.soulmate-auth .auth_field_data { display: flex; min-height: 67px; height: auto; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 15px; border: 1px solid #ead7e1; border-radius: 13px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.soulmate-auth .auth_field_data:focus-within { border-color: #ee65ad; box-shadow: 0 0 0 4px rgba(237, 12, 139, .09); }
.soulmate-auth .auth_field_data > label { position: static; color: #755d6b; font-size: 10px; font-weight: 650; line-height: 1.3; }
.soulmate-auth .auth_field_data input { width: 100%; height: 25px; padding: 0 36px 0 0; color: var(--soulmate-ink); border: 0; background: transparent; font-family: inherit; font-size: 13px; line-height: 1.4; }
.soulmate-auth .auth_field_data input::placeholder { color: #ae9aa7; opacity: 1; }
.soulmate-auth .auth_field_data i { top: 50%; right: 15px; bottom: auto; transform: translateY(-50%); color: #9b7f90; }
.soulmate-auth .auth_field_box label.error { display: block; margin-top: 5px; color: #c02c5f; font-size: 10px; line-height: 1.4; }
.soulmate-auth .auth_submit_btn { padding-top: 6px; }
.soulmate-auth .auth_submit_btn button { position: relative; min-height: 52px; padding: 14px 20px; color: #fff !important; border: 0; border-radius: 999px; background: linear-gradient(105deg, var(--soulmate-pink), #ff4d9e); box-shadow: 0 12px 25px rgba(237, 12, 139, .2); font-family: inherit; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.soulmate-auth .auth_submit_btn button:hover { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(237, 12, 139, .28); }
.soulmate-auth .form_process_loader { border-radius: 999px; background: rgba(42, 6, 29, .88); }
.soulmate-auth .auth_have_account_btn { padding-top: 20px; }
.soulmate-auth .auth_have_account_btn p { color: var(--soulmate-muted); font-size: 12px; }
.soulmate-auth .auth_have_account_btn p a { color: var(--soulmate-pink); font-weight: 700; }
.soulmate-auth-home-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: #927b89; font-size: 11px; font-weight: 600; }
.soulmate-auth-home-link:hover { color: var(--soulmate-pink); }
.soulmate-auth--signup .soulmate-auth-layout { min-height: 100vh; }
.soulmate-auth--signup .soulmate-auth-story { min-height: 760px; }
.soulmate-auth--signup .soulmate-auth-panel { padding-block: 45px; }

@media (max-width: 920px) {
    .soulmate-main-nav { gap: 20px; }
    .soulmate-hero, .soulmate-hero-inner { min-height: 610px; }
    .soulmate-hero { background-position: center, 58% center; }
    .soulmate-how-layout { grid-template-columns: 1fr; gap: 38px; }
    .soulmate-auth-layout { grid-template-columns: .85fr 1.15fr; gap: 10px; padding: 14px; }
    .soulmate-auth-story { min-height: 620px; padding: 28px; }
    .soulmate-auth-panel { padding: 20px; }
    .soulmate-auth-promises { flex-direction: column; gap: 10px; }
}

@media (max-width: 680px) {
    .soulmate-container { width: min(100% - 34px, 520px); }
    .soulmate-header-inner { min-height: 70px; gap: 12px; }
    .soulmate-brand img { width: 125px; }
    .soulmate-main-nav { display: none; }
    .soulmate-header-actions { gap: 13px; }
    .soulmate-header-login { font-size: 11px; }
    .soulmate-button--small { min-height: 39px; padding: 0 14px; font-size: 10px; }
    .soulmate-hero { min-height: 660px; background-image: linear-gradient(90deg, rgba(25, 5, 18, .93), rgba(34, 6, 24, .7)), url("/website/images/soulmate-hero.png"); background-position: center, 62% center; }
    .soulmate-hero-inner { min-height: 660px; align-items: flex-start; padding-top: 83px; padding-bottom: 74px; }
    .soulmate-hero h1 { margin-top: 19px; font-size: clamp(47px, 13vw, 65px); letter-spacing: -2.2px; }
    .soulmate-hero-copy > p { max-width: 420px; font-size: 14px; }
    .soulmate-hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 24px; }
    .soulmate-hero-note { align-items: flex-start; margin-top: 30px; font-size: 10px; }
    .soulmate-hero-caption { right: 0; bottom: 26px; font-size: 8px; }
    .soulmate-values-strip-inner { min-height: 0; grid-template-columns: 1fr; gap: 14px; padding-block: 19px; }
    .soulmate-values-strip-inner > div { justify-content: flex-start; font-size: 12px; }
    .soulmate-value-icon { width: 32px; height: 32px; }
    .soulmate-section { padding: 74px 0; }
    .soulmate-section-heading { margin-bottom: 30px; text-align: left; }
    .soulmate-section-heading h2 { font-size: 35px; letter-spacing: -1.2px; }
    .soulmate-section-heading p { font-size: 13px; }
    .soulmate-feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .soulmate-feature-card { min-height: 0; padding: 22px; }
    .soulmate-feature-card h3 { margin-top: 19px; }
    .soulmate-how-section { padding: 74px 0; }
    .soulmate-how-intro h2 { font-size: 36px; }
    .soulmate-steps-list li { grid-template-columns: 28px 1fr 34px; gap: 10px; padding: 15px 13px; }
    .soulmate-steps-list li > i { width: 32px; height: 32px; }
    .soulmate-final-cta { padding: 75px 0; }
    .soulmate-final-cta h2 { font-size: 34px; }
    .soulmate-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .soulmate-footer-brand { grid-column: 1 / -1; }
    .soulmate-footer-note { grid-column: 1 / -1; }
    .soulmate-footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
    .soulmate-inner-hero-content { padding-block: 74px 80px; }
    .soulmate-inner-hero h1 { font-size: 43px; letter-spacing: -1.7px; }
    .soulmate-how-detail { padding-top: 64px; }
    .soulmate-detail-steps li { grid-template-columns: 44px 1fr; gap: 11px; padding: 17px; }
    .soulmate-detail-steps li > span { width: 40px; height: 40px; }
    .soulmate-inner-cta { padding: 62px 0; }
    .soulmate-auth-layout { width: 100%; min-height: 100vh; grid-template-columns: 1fr; gap: 0; padding: 0; }
    .soulmate-auth-story { display: none; }
    .soulmate-auth-panel { min-height: 100vh; padding: 44px 23px; }
    .soulmate-auth-panel-brand { display: block; align-self: flex-start; margin-bottom: 24px; }
    .soulmate-auth-panel-brand img { display: block; width: 132px; height: auto; }
    .soulmate-auth .auth_form_heading h3 { font-size: 28px; }
    .soulmate-auth--signup .soulmate-auth-panel { padding-block: 32px; }
}

/* Keep the login artwork panel compact on desktop screens. */
@media (min-width: 681px) {
    .soulmate-auth--login .soulmate-auth-layout {
        height: 100vh;
        min-height: 0;
        box-sizing: border-box;
        align-items: center;
    }
    .soulmate-auth--login .soulmate-auth-story {
        height: min(680px, calc(100vh - 48px));
        min-height: 0;
        box-sizing: border-box;
        padding: clamp(24px, 2.6vw, 36px);
        background-position: center, 62% center;
    }
    .soulmate-auth--login .soulmate-auth-story-copy { padding-top: 42px; }
    .soulmate-auth--login .soulmate-auth-story-copy h2 { font-size: clamp(35px, 3.7vw, 48px); }
    .soulmate-auth--login .soulmate-auth-story-copy p { font-size: 12px; line-height: 1.65; }
    .soulmate-auth--login .soulmate-auth-promises { gap: 12px 17px; margin-top: 22px; font-size: 9px; }
    .soulmate-auth--login .soulmate-auth-panel { min-height: 0; padding: 24px 28px; }
}

@media (min-width: 681px) and (max-height: 700px) {
    .soulmate-auth--login .soulmate-auth-layout { height: auto; min-height: 100vh; }
    .soulmate-auth--login .soulmate-auth-story { height: 640px; }
}

/* Keep login and signup artwork in a short banner above the form. */
.soulmate-auth--login .soulmate-auth-layout,
.soulmate-auth--signup .soulmate-auth-layout {
    display: flex !important;
    width: min(720px, 100%);
    min-height: 100vh;
    height: auto;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    padding: 24px;
}
.soulmate-auth { position: relative; overflow-x: clip; overflow-y: visible; }
.soulmate-auth--login .soulmate-auth-story,
.soulmate-auth--signup .soulmate-auth-story {
    display: grid;
    width: 100%;
    height: 164px;
    min-height: 164px;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    justify-content: initial;
    gap: 22px;
    padding: 20px 28px;
    border-radius: 22px;
    background-position: center, 62% 54%;
}
.soulmate-auth--login .soulmate-auth-logo img,
.soulmate-auth--signup .soulmate-auth-logo img { width: 112px; }
.soulmate-auth--login .soulmate-auth-story-copy,
.soulmate-auth--signup .soulmate-auth-story-copy { max-width: none; margin: 0; padding: 0; }
.soulmate-auth--login .soulmate-auth-story-copy h2,
.soulmate-auth--signup .soulmate-auth-story-copy h2 {
    margin: 7px 0 5px;
    font-size: clamp(22px, 3vw, 30px);
    letter-spacing: -.7px;
    line-height: 1.1;
}
.soulmate-auth--login .soulmate-auth-story-copy h2 br,
.soulmate-auth--signup .soulmate-auth-story-copy h2 br { display: none; }
.soulmate-auth--login .soulmate-auth-story-copy h2 span,
.soulmate-auth--signup .soulmate-auth-story-copy h2 span { margin-left: .2em; }
.soulmate-auth--login .soulmate-auth-story-copy p,
.soulmate-auth--signup .soulmate-auth-story-copy p { max-width: none; font-size: 11px; line-height: 1.5; }
.soulmate-auth--login .soulmate-auth-promises,
.soulmate-auth--signup .soulmate-auth-promises { display: none; }
.soulmate-auth--login .soulmate-auth-panel-brand,
.soulmate-auth--signup .soulmate-auth-panel-brand { display: none; }
.soulmate-auth--login .soulmate-auth-panel,
.soulmate-auth--signup .soulmate-auth-panel {
    width: 100%;
    min-height: 0;
    align-self: center;
    padding: 30px 28px;
    border: 1px solid #f0dce6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(77, 24, 52, .09);
}

@media (max-width: 680px) {
    .soulmate-auth--login .soulmate-auth-layout,
    .soulmate-auth--signup .soulmate-auth-layout { width: 100%; padding: 16px; gap: 12px; }
    .soulmate-auth--login .soulmate-auth-story,
    .soulmate-auth--signup .soulmate-auth-story {
        height: 142px;
        min-height: 142px;
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
        border-radius: 18px;
        background-position: center, 62% center;
    }
    .soulmate-auth--login .soulmate-auth-logo img,
    .soulmate-auth--signup .soulmate-auth-logo img { width: 78px; }
    .soulmate-auth--login .soulmate-auth-story-copy .soulmate-eyebrow,
    .soulmate-auth--signup .soulmate-auth-story-copy .soulmate-eyebrow { font-size: 7px; letter-spacing: 1.1px; }
    .soulmate-auth--login .soulmate-auth-story-copy h2,
    .soulmate-auth--signup .soulmate-auth-story-copy h2 { margin: 6px 0 0; font-size: 21px; line-height: 1.12; }
    .soulmate-auth--login .soulmate-auth-story-copy p,
    .soulmate-auth--signup .soulmate-auth-story-copy p { display: none; }
    .soulmate-auth--login .soulmate-auth-panel,
    .soulmate-auth--signup .soulmate-auth-panel { min-height: 0; padding: 26px 20px; border-radius: 18px; }
}
