:root {
    --brand: #005ab5;
    --brand-dark: #003871;
    --brand-soft: #eaf4ff;
    --ink: #2d2d2d;
    --muted: #5d6670;
    --line: #dbe4ec;
    --surface: #ffffff;
    --page: #f4f7fa;
    --success: #16784f;
    --radius: 18px;
    --shadow: 0 20px 55px rgba(0, 31, 64, 0.16);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

html body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button,
input,
select,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-dark);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brand);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

body h1,
body h2,
body h3,
body .button,
body .mobile-sticky-cta {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 850;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
}

h3 {
    margin-top: 38px;
    margin-bottom: 12px;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
}

.shell {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 10px 14px;
    color: #ffffff;
    background: var(--brand-dark);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 56, 113, 0.1);
}

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

.brand {
    flex: 0 1 260px;
    text-decoration: none;
}

.brand img {
    width: 260px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    color: #ffffff;
    background: var(--brand);
    border: 2px solid var(--brand);
    border-radius: 12px;
    box-shadow: 0 9px 24px rgba(0, 90, 181, 0.22);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
    color: #ffffff;
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    box-shadow: 0 12px 30px rgba(0, 56, 113, 0.28);
    transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #ffce54;
    outline-offset: 3px;
}

.button-small {
    min-height: 42px;
    padding: 10px 17px;
    font-size: 0.88rem;
}

.button-large {
    min-height: 58px;
    padding: 16px 27px;
    font-size: 1.06rem;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    color: #ffffff;
    background-color: var(--ink);
    background-image:
        linear-gradient(90deg, rgba(0, 27, 54, 0.92) 0%, rgba(0, 38, 76, 0.78) 46%, rgba(24, 30, 36, 0.82) 100%),
        url("../img/head-bg.jpg");
    background-position: center;
    background-size: cover;
}

.hero::after {
    position: absolute;
    right: -120px;
    bottom: -220px;
    width: 540px;
    height: 540px;
    background: rgba(0, 90, 181, 0.26);
    border-radius: 50%;
    content: "";
    filter: blur(4px);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: clamp(42px, 6vw, 82px);
    align-items: center;
    padding-block: 64px;
}

.hero-copy {
    padding-block: 22px;
}

.eyebrow {
    margin-bottom: 14px;
    color: #a9d6ff;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--brand);
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 22px;
    color: #f0f6fb;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.55;
}

.interest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.interest-list span {
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 750;
}

.trust-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 22px 0 0;
    padding: 0;
    color: #dfeaf3;
    font-size: 0.84rem;
    list-style: none;
}

.trust-inline li::before {
    margin-right: 7px;
    color: #7ed8ad;
    content: "✓";
    font-weight: 900;
}

.signup-card {
    scroll-margin-top: 18px;
    padding: clamp(24px, 4vw, 36px);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.signup-card h2 {
    margin-bottom: 12px;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.card-kicker {
    margin-bottom: 7px;
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-intro {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.form-loading {
    margin: 15px 0;
    padding: 15px;
    color: var(--muted);
    background: var(--page);
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.prelinker-slot.is-ready .form-loading {
    display: none;
}

.member-login {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    text-align: center;
}

.member-login a {
    font-weight: 800;
}

.redirect-note {
    margin: 13px 0 0;
    color: #69737d;
    font-size: 0.75rem;
    line-height: 1.45;
    text-align: center;
}

/* Prelinker keeps ownership of fields, destination and offer. These rules only
   align its injected UI with the existing Geek-Rencontres colour system. */
#formuser .ptprelinker--box,
#formuser .ptprelinker-content,
#formuser .ptprelinker-content-inner,
#formuser .ptprelinker-content-content,
#formuser .ptprelinker-register-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#formuser .ptprelinker-legend-form {
    display: none !important;
}

#formuser form {
    display: grid !important;
    gap: 10px !important;
    margin: 0 !important;
}

#formuser .ptprelinker-input-group,
#formuser .ptprelinker-buttons {
    width: 100% !important;
    margin: 0 !important;
}

#formuser .ptprelinker-input,
#formuser .ptprelinker-select,
#formuser input[type="email"],
#formuser input[type="text"],
#formuser select {
    width: 100% !important;
    min-height: 49px !important;
    padding: 11px 13px !important;
    color: var(--ink) !important;
    background-color: #ffffff !important;
    border: 1px solid #bccbd8 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
}

#formuser .ptprelinker-input:focus,
#formuser .ptprelinker-select:focus,
#formuser input:focus,
#formuser select:focus {
    border-color: var(--brand) !important;
    outline: 3px solid rgba(0, 90, 181, 0.16) !important;
}

#formuser .ptprelinker-input-group-prepend {
    display: none !important;
}

#formuser .ptprelinker-checkbox {
    margin: 2px 0 3px !important;
    color: #57616b !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

#formuser .ptprelinker-label-checkbox {
    color: inherit !important;
}

#formuser .ptprelinker-button-success,
#formuser input[type="submit"] {
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 13px 18px !important;
    color: #ffffff !important;
    background: var(--brand) !important;
    border: 0 !important;
    border-radius: 11px !important;
    box-shadow: 0 10px 24px rgba(0, 90, 181, 0.24) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    cursor: pointer !important;
}

#formuser .ptprelinker-button-success:hover,
#formuser input[type="submit"]:hover {
    background: var(--brand-dark) !important;
}

body .ptprelinker-disclaimer .ptprelinker-button-success {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
}

body .ptprelinker--box.ptprelinker-disclaimer {
    width: min(430px, calc(100vw - 28px)) !important;
    max-width: min(430px, calc(100vw - 28px)) !important;
}

body .ptprelinker-disclaimer .ptprelinker-content-content {
    padding: 0 !important;
}

body .ptprelinker-disclaimer .ptprelinker-content-inner__datas {
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 32px 20px 26px !important;
}

body .ptprelinker-disclaimer .ptprelinker-infos {
    width: 100% !important;
    font-size: clamp(1.45rem, 6vw, 2rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

body .ptprelinker-disclaimer .ptprelinker-content-inner__buttons {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
}

body .ptprelinker-disclaimer .ptprelinker-button {
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 13px 10px !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
}

body .ptprelinker-disclaimer .ptprelinker-button-wrong {
    background: #5d6670 !important;
    border-color: #5d6670 !important;
}

.reassurance {
    position: relative;
    z-index: 3;
    padding-block: 34px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reassurance article {
    position: relative;
    min-height: 128px;
    padding: 8px 8px 8px 58px;
}

.reassurance h2 {
    margin-bottom: 7px;
    font-size: 1.12rem;
}

.reassurance p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.feature-icon {
    position: absolute;
    top: 5px;
    left: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 900;
}

.profile-showcase {
    position: relative;
    overflow: hidden;
    padding-block: clamp(64px, 9vw, 104px);
    background:
        radial-gradient(circle at 88% 8%, rgba(0, 90, 181, 0.12), transparent 31%),
        linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.profile-showcase::before {
    position: absolute;
    top: -150px;
    right: -110px;
    width: 330px;
    height: 330px;
    background: rgba(0, 90, 181, 0.055);
    border-radius: 42% 58% 60% 40%;
    content: "";
    transform: rotate(18deg);
}

.profile-showcase > .shell {
    position: relative;
    z-index: 1;
}

.profile-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: end;
    margin-bottom: 32px;
}

.profile-heading > div:first-child {
    max-width: 790px;
}

.profile-heading h2 {
    margin-bottom: 15px;
}

.profile-heading p:last-child {
    margin: 0;
    color: var(--muted);
}

.profile-carousel-controls {
    display: flex;
    gap: 9px;
}

.carousel-button {
    display: grid;
    width: 50px;
    height: 50px;
    padding: 0;
    place-items: center;
    color: var(--brand-dark);
    background: #ffffff;
    border: 1px solid #bdd1e3;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 45, 90, 0.08);
    font-size: 1.35rem;
    font-weight: 850;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
    outline: none;
    transform: translateY(-2px);
}

.profile-carousel-shell {
    position: relative;
}

.profile-carousel-track {
    display: grid;
    grid-auto-columns: calc((100% - 36px) / 3);
    grid-auto-flow: column;
    gap: 18px;
    overflow-x: auto;
    padding: 3px 3px 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(0, 90, 181, 0.32) transparent;
    scrollbar-width: thin;
}

.profile-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 19px;
    box-shadow: 0 16px 38px rgba(0, 45, 90, 0.1);
    scroll-snap-align: start;
}

.profile-visual {
    position: relative;
    display: grid;
    min-height: 194px;
    overflow: hidden;
    place-items: center;
    color: #ffffff;
    isolation: isolate;
}

.profile-visual::before,
.profile-visual::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    content: "";
}

.profile-visual::before {
    width: 190px;
    height: 190px;
    top: -84px;
    right: -48px;
}

.profile-visual::after {
    width: 100px;
    height: 100px;
    bottom: -44px;
    left: -25px;
}

.profile-visual:not(.profile-tile-visual) > span {
    display: grid;
    width: 90px;
    height: 90px;
    place-items: center;
    background: rgba(0, 26, 54, 0.32);
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 14px 35px rgba(0, 24, 49, 0.25);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.profile-visual > b {
    position: absolute;
    right: 18px;
    bottom: 15px;
    z-index: 2;
    display: grid;
    min-width: 44px;
    height: 44px;
    padding-inline: 8px;
    place-items: center;
    background: rgba(0, 24, 49, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 13px;
    font-size: 1.02rem;
}

.profile-visual-gaming {
    background: linear-gradient(135deg, #003871, #0075d9);
}

.profile-visual-manga {
    background: linear-gradient(135deg, #293b75, #6c70cf);
}

.profile-visual-cosplay {
    background: linear-gradient(135deg, #004c90, #278ac7);
}

.profile-visual-jdr {
    background: linear-gradient(135deg, #23354a, #006b91);
}

.profile-visual-tech {
    background: linear-gradient(135deg, #003871, #197b7e);
}

.profile-visual-sf {
    background: linear-gradient(135deg, #1f2857, #005ab5);
}

.profile-card-body {
    position: relative;
    padding: 22px;
}

.profile-tile {
    transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.profile-tile:hover,
.profile-tile:focus-within {
    border-color: #9fc9ec;
    box-shadow: 0 22px 46px rgba(0, 45, 90, 0.16);
    transform: translateY(-3px);
}

.profile-tile-visual {
    min-height: 142px;
    background:
        radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.2), transparent 31%),
        linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.profile-tile-visual::before {
    width: 146px;
    height: 146px;
    top: -76px;
    right: -36px;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.18);
}

.profile-tile-visual::after {
    width: 78px;
    height: 78px;
    bottom: -42px;
    left: 86px;
    z-index: 1;
    border-color: rgba(255, 255, 255, 0.16);
}

.profile-tile-photo {
    position: absolute;
    top: 50%;
    left: 18px;
    z-index: 2;
    width: 104px;
    height: 104px;
    object-fit: cover;
    filter: blur(1.6px) saturate(0.86) contrast(0.98);
    transform: translateY(-50%) scale(1.015);
    border: 3px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    box-shadow: 0 15px 32px rgba(0, 25, 52, 0.28);
}

.profile-tile-theme {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(0, 32, 65, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.02em;
}

.profile-tile-presence {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 9px;
    color: #33485d;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 999px;
    font-size: 0.63rem;
    font-weight: 850;
    line-height: 1;
}

.profile-tile h3 {
    padding-right: 70px;
}

.profile-tile h3 small {
    color: var(--muted);
    font-size: 0.7em;
    font-weight: 750;
    letter-spacing: 0;
}

.profile-tile-gender {
    position: absolute;
    top: -18px;
    right: 18px;
    display: inline-flex;
    min-height: 35px;
    align-items: center;
    padding: 6px 10px;
    color: var(--brand-dark);
    background: #ffffff;
    border: 1px solid #d5e2ed;
    border-radius: 999px;
    box-shadow: 0 7px 20px rgba(0, 45, 90, 0.13);
    font-size: 0.67rem;
    font-weight: 850;
}

.profile-tile-cta {
    display: flex;
    min-height: 42px;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 19px;
    padding: 9px 12px;
    color: #ffffff;
    background: var(--brand);
    border-radius: 9px;
    font-size: 0.76rem;
    font-weight: 850;
    text-decoration: none;
}

.profile-tile-cta:focus-visible,
.profile-intent-link:focus-visible {
    outline: 3px solid rgba(0, 90, 181, 0.32);
    outline-offset: 3px;
}

.profile-tile:hover .profile-tile-cta,
.profile-tile:focus-within .profile-tile-cta {
    background: var(--brand-dark);
}

.profile-card-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.profile-card-label span:first-child {
    color: var(--muted);
}

.profile-card h3 {
    margin: 0 0 10px;
    color: var(--brand-dark);
    font-size: 1.25rem;
}

.profile-card-body > p:not(.profile-card-label) {
    min-height: 76px;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.profile-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-card li {
    padding: 5px 8px;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
}

.profile-card li.profile-intent-item {
    padding: 0;
}

.profile-intent-link {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 8px;
    color: var(--brand-dark);
    border: 1px solid #b9d6ef;
    border-radius: 999px;
    text-decoration: none;
}

.profile-intent-link:hover {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
}

.relationship-profile-showcase {
    margin-top: 54px;
}

.relationship-profile-showcase .profile-heading {
    margin-bottom: 23px;
}

.relationship-profile-showcase .profile-heading p:last-child {
    max-width: 720px;
}

.relationship-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.relationship-profile-grid .profile-card {
    border-radius: 14px;
    box-shadow: 0 9px 24px rgba(0, 45, 90, 0.08);
}

.relationship-profile-grid .profile-tile-visual {
    min-height: 108px;
}

.relationship-profile-grid .profile-tile-photo {
    left: 12px;
    width: 76px;
    height: 76px;
    border-width: 2px;
    border-radius: 14px;
}

.relationship-profile-grid .profile-tile-theme {
    top: 10px;
    right: 9px;
    min-height: 24px;
    padding: 4px 7px;
    font-size: 0.55rem;
}

.relationship-profile-grid .profile-card-body {
    padding: 14px;
}

.relationship-profile-grid .profile-tile h3 {
    min-height: 39px;
    padding-right: 48px;
    font-size: 0.98rem;
    line-height: 1.2;
}

.relationship-profile-grid .profile-tile h3 small {
    display: block;
    margin-top: 2px;
    font-size: 0.7em;
}

.relationship-profile-grid .profile-card-body > p:not(.profile-card-label) {
    display: -webkit-box;
    min-height: 54px;
    margin-bottom: 11px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--muted);
    font-size: 0.73rem;
    line-height: 1.42;
}

.relationship-profile-grid .profile-card ul {
    gap: 5px;
}

.relationship-profile-grid .profile-card li,
.relationship-profile-grid .profile-intent-link {
    min-height: 23px;
    padding: 4px 6px;
    font-size: 0.59rem;
}

.relationship-profile-grid .profile-tile-gender {
    top: -15px;
    right: 10px;
    min-height: 29px;
    padding: 5px 8px;
    font-size: 0.58rem;
}

.relationship-profile-grid .profile-tile-cta {
    min-height: 36px;
    margin-top: 12px;
    padding: 7px 9px;
    font-size: 0.67rem;
}

.relationship-profile-showcase + .dating-cta-band {
    margin-top: 32px;
}

.intent-crosslinks {
    padding: 14px 16px;
    background: var(--brand-soft);
    border: 1px solid #c9dff2;
    border-radius: 10px;
}

.intent-crosslinks a {
    font-weight: 800;
}

.content-cta-mid {
    margin-block: 34px 46px;
}

.dating-cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(25px, 5vw, 60px);
    align-items: center;
    margin-top: 46px;
    padding: clamp(28px, 5vw, 48px);
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.16), transparent 29%),
        linear-gradient(125deg, var(--brand-dark), var(--brand));
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.dating-cta-band h2 {
    max-width: 720px;
    margin: 4px 0 10px;
    color: #ffffff;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.dating-cta-band p {
    max-width: 760px;
    margin: 0;
    color: #e5f2ff;
}

.dating-cta-kicker {
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dating-cta-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 15px;
    place-items: center;
    color: var(--brand);
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 32, 65, 0.28);
}

.dating-cta-action {
    display: grid;
    min-width: 285px;
    gap: 10px;
    text-align: center;
}

.button-light {
    color: var(--brand-dark);
    background: #ffffff;
    border-color: #ffffff;
}

.button-light:hover,
.button-light:focus-visible {
    color: var(--brand-dark);
    background: #eaf4ff;
    border-color: #eaf4ff;
}

.dating-cta-action small {
    color: #d6e9fb;
    font-size: 0.72rem;
}

.passion-section,
.proof-section,
.editorial-content,
.locations {
    padding-block: clamp(62px, 9vw, 104px);
}

.passion-section {
    background: var(--page);
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(36px, 7vw, 90px);
    align-items: center;
}

.split-section h2,
.proof-card h2,
.content-shell > h2,
.locations h2 {
    margin-bottom: 18px;
}

.split-section p:not(.eyebrow) {
    margin-bottom: 25px;
    color: var(--muted);
}

.passion-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.passion-cards div {
    min-height: 132px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 45, 90, 0.06);
}

.passion-cards strong,
.passion-cards span {
    display: block;
}

.passion-cards strong {
    margin-bottom: 7px;
    color: var(--brand-dark);
    font-size: 1.05rem;
}

.passion-cards span {
    color: var(--muted);
    font-size: 0.88rem;
}

.proof-section {
    padding-block: clamp(48px, 7vw, 78px);
    background: #ffffff;
}

.proof-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: clamp(27px, 5vw, 48px);
    background: #f8fbfe;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.proof-card p:not(.eyebrow) {
    margin: 0;
    color: var(--muted);
}

.proof-link {
    display: block;
    padding: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.editorial-content {
    background: var(--page);
}

.content-shell {
    max-width: 860px;
}

.content-shell p {
    color: #4d5963;
}

.content-shell a:not(.button) {
    font-weight: 700;
}

.content-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 46px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.content-cta p {
    margin: 0;
    color: var(--ink);
}

.locations {
    padding-block: 58px;
    text-align: center;
}

.locations > .shell > p {
    color: var(--muted);
}

.country-links {
    margin-top: 24px;
}

.country-links > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.country-links a {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 11px;
}

.country-links a:hover {
    border-color: var(--brand);
}

.country-links img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-footer {
    padding: 42px 0 20px;
    color: #dbe7f2;
    background:
        radial-gradient(circle at 0 0, rgba(0, 113, 224, 0.22), transparent 34%),
        #002f5f;
}

.footer-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.65fr);
    gap: clamp(24px, 5vw, 62px);
    align-items: center;
    padding: clamp(22px, 4vw, 34px);
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
}

.footer-brand {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer-brand img {
    width: 178px;
    flex: 0 0 auto;
    padding: 7px;
    background: #ffffff;
    border-radius: 10px;
}

.footer-brand p {
    max-width: 480px;
    margin: 0;
    color: #dbe7f2;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-spotlight-action {
    padding-left: clamp(0px, 3vw, 34px);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-kicker {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.footer-signup {
    display: inline-flex;
    min-height: 46px;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    color: var(--brand-dark);
    background: #ffffff;
    border-radius: 10px;
    font-size: 0.81rem;
    font-weight: 850;
    text-decoration: none;
}

.footer-signup:hover {
    color: var(--brand-dark);
    background: #eaf4ff;
}

.footer-spotlight-action small {
    display: block;
    margin-top: 10px;
    color: #aebfd0;
    font-size: 0.68rem;
    line-height: 1.45;
}

.footer-navigation {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.8fr) minmax(170px, 0.7fr);
    gap: clamp(34px, 7vw, 90px);
    padding: 34px 4px;
}

.footer-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 20px;
    align-content: start;
}

.footer-column strong {
    grid-column: 1 / -1;
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-column a {
    color: #cad9e7;
    font-size: 0.78rem;
    text-decoration: none;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-practical {
    grid-template-columns: 1fr;
}

.footer-disclosure {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
}

.footer-disclosure + .footer-disclosure {
    margin-top: 10px;
}

.footer-disclosure summary {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 17px 48px 17px 18px;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
}

.footer-disclosure summary::-webkit-details-marker,
.footer-partners summary::-webkit-details-marker {
    display: none;
}

.footer-disclosure summary::after {
    position: absolute;
    right: 18px;
    color: #ffffff;
    content: "+";
    font-size: 1.35rem;
    font-weight: 700;
}

.footer-disclosure[open] summary::after {
    content: "−";
}

.footer-disclosure summary span {
    font-size: 0.86rem;
    font-weight: 850;
}

.footer-disclosure summary small {
    color: #b9c9d8;
    font-size: 0.72rem;
    text-align: right;
}

.footer-network {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 18px;
}

.footer-intent-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 0 18px 18px;
}

.footer-intent-links a {
    display: flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

.footer-intent-links a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer-network .cats {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 7px 11px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
}

.footer-network .cats:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer-legal {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding-top: 22px;
    color: #b9c9d8;
    font-size: 0.78rem;
}

.footer-copyright {
    margin: 0;
}

.footer-legal a {
    color: #ffffff;
}

.footer-partners {
    position: relative;
}

.footer-partners summary {
    color: #ffffff;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}

.footer-partners[open] summary {
    margin-bottom: 9px;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 14px;
    text-align: right;
}

.mobile-sticky-cta {
    display: none;
}

@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
        gap: 34px;
    }

    .reassurance-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .reassurance article {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .shell {
        width: min(100% - 28px, 680px);
    }

    .header-inner {
        min-height: 72px;
        gap: 10px;
    }

    .brand {
        flex-basis: 174px;
    }

    .brand img {
        width: 174px;
    }

    .login-link {
        display: none;
    }

    .button-small {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 0.76rem;
    }

    .hero {
        min-height: 0;
        background-position: 38% center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 0 42px;
    }

    .hero-copy {
        padding: 0;
    }

    h1 {
        margin-bottom: 16px;
        font-size: clamp(2.05rem, 10vw, 3.1rem);
    }

    .hero-lead {
        margin-bottom: 16px;
        font-size: 1.04rem;
        line-height: 1.48;
    }

    .interest-list {
        margin-bottom: 20px;
    }

    .hero-cta {
        width: 100%;
    }

    .trust-inline {
        gap: 4px 14px;
        margin-top: 15px;
        font-size: 0.76rem;
    }

    .signup-card {
        padding: 24px 19px;
        border-radius: 15px;
    }

    .reassurance {
        padding-block: 28px;
    }

    .split-section,
    .proof-card {
        grid-template-columns: 1fr;
    }

    .passion-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .passion-cards div {
        min-height: 120px;
        padding: 17px;
    }

    .proof-card {
        gap: 20px;
    }

    .proof-link {
        justify-self: start;
    }

    .content-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-brand {
        grid-template-columns: 1fr;
    }

    .footer-brand img {
        width: 180px;
    }

    .mobile-sticky-cta {
        position: fixed;
        right: 14px;
        bottom: 14px;
        left: 14px;
        z-index: 90;
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        background: var(--brand);
        border: 2px solid #ffffff;
        border-radius: 13px;
        box-shadow: 0 12px 35px rgba(0, 31, 64, 0.35);
        font-weight: 850;
        text-decoration: none;
        transform: translateY(120px);
        transition: transform 180ms ease;
    }

    .mobile-sticky-cta.is-visible {
        transform: translateY(0);
    }
}

@media (max-width: 430px) {
    .header-actions .button-small {
        padding-inline: 10px;
    }

    .passion-cards {
        grid-template-columns: 1fr;
    }

    .interest-list {
        display: none;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Shared editorial and utility pages */
.hero-secondary {
    min-height: 620px;
}

.hero-secondary .hero-grid,
.utility-grid {
    min-height: 620px;
}

.hero-secondary h1,
.utility-hero h1,
.simple-hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.75rem);
}

.location-heading {
    display: flex;
    gap: 17px;
    align-items: flex-start;
}

.location-heading img {
    flex: 0 0 54px;
    margin-top: 7px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 11px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-block: 20px;
    color: var(--muted);
    font-size: 0.85rem;
}

.breadcrumbs a {
    font-weight: 700;
    text-decoration: none;
}

.page-content {
    padding-top: 68px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: clamp(36px, 7vw, 86px);
    align-items: start;
}

.article-main {
    min-width: 0;
}

.article-main > h2:not(:first-of-type) {
    margin-top: 54px;
}

.article-main p {
    color: #4d5963;
}

.article-aside {
    position: sticky;
    top: 24px;
    padding: 23px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 45, 90, 0.06);
}

.article-aside h2 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.related-links {
    display: grid;
    gap: 7px;
}

.related-links a {
    display: flex;
    min-height: 45px;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    background: var(--page);
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
}

.related-links a:hover {
    background: var(--brand-soft);
    border-color: #bdd9f2;
}

.related-links img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.related-text-links a {
    align-items: flex-start;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-block: 24px 12px;
}

.guide-cards article {
    padding: 21px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.guide-cards article > span {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 9px;
    font-size: 0.72rem;
    font-weight: 900;
}

.guide-cards h3 {
    margin: 17px 0 8px;
    font-size: 1rem;
}

.guide-cards p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
}

.advice-callout,
.legal-summary {
    margin-block: 25px;
    padding: 21px 23px;
    background: #ffffff;
    border: 1px solid #bdd9f2;
    border-left: 5px solid var(--brand);
    border-radius: 12px;
}

.advice-callout strong,
.legal-summary strong {
    display: block;
    margin-bottom: 5px;
    color: var(--brand-dark);
}

.advice-callout p,
.legal-summary p {
    margin: 0;
}

.faq-section {
    padding-block: 68px;
}

.article-main .faq-section {
    margin-top: 20px;
    padding-bottom: 0;
}

.faq-section details {
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.faq-section summary {
    padding: 17px 20px;
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.faq-section details p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--muted);
}

.intent-section {
    padding-block: clamp(62px, 9vw, 98px);
    background: #ffffff;
}

.section-intro {
    max-width: 720px;
    color: var(--muted);
}

.intent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.intent-grid a {
    min-height: 142px;
    padding: 23px;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.intent-grid a:hover {
    border-color: var(--brand);
    box-shadow: 0 12px 30px rgba(0, 56, 113, 0.1);
    transform: translateY(-2px);
}

.intent-grid strong,
.intent-grid span {
    display: block;
}

.intent-grid strong {
    margin-bottom: 9px;
    color: var(--brand-dark);
}

.intent-grid span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.intent-signup {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding: 22px 24px;
    background: var(--brand-soft);
    border: 1px solid #bed9f1;
    border-radius: 14px;
}

.intent-signup p {
    margin: 0;
    color: #3e5264;
}

.intent-signup strong {
    color: var(--brand-dark);
}

.home-faq {
    background: var(--page);
}

.country-links .country-menu,
.country-menu {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.country-links .country-menu a,
.country-menu a {
    display: flex;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 65px;
    gap: 9px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    color: var(--brand-dark);
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
}

.country-links .country-menu a:hover,
.country-menu a:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
}

.country-links .country-menu img,
.country-menu img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    object-fit: contain;
}

.footer-topic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    padding-top: 25px;
    color: #dbe7f2;
    font-size: 0.82rem;
}

.footer-topic-links a {
    color: #ffffff;
}

.simple-hero {
    padding-block: clamp(64px, 10vw, 108px);
    color: #ffffff;
    background-color: var(--brand-dark);
    background-image: linear-gradient(90deg, rgba(0, 32, 65, 0.95), rgba(0, 74, 149, 0.83)), url("../img/head-bg.jpg");
    background-position: center;
    background-size: cover;
}

.simple-hero h1 {
    margin-bottom: 18px;
}

.simple-hero p:not(.eyebrow) {
    max-width: 720px;
    color: #e6f1fa;
    font-size: 1.1rem;
}

.narrow-shell {
    max-width: 860px;
}

.utility-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
    gap: clamp(42px, 7vw, 90px);
    align-items: center;
    padding-block: 64px;
}

.utility-content {
    padding-block: 78px;
}

.login-card {
    min-height: 380px;
}

.login-loading {
    padding: 15px;
    color: var(--muted);
    background: var(--page);
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.login-slot.is-ready .login-loading {
    display: none;
}

.login-slot form,
#loguser form,
#loguser .ptprelinker-login-form {
    display: grid !important;
    gap: 11px !important;
    width: 100% !important;
    margin: 0 !important;
}

.login-slot dl,
.login-slot dt,
.login-slot dd,
.login-slot fieldset,
.login-slot div[id^="ez-login-form-container"] {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.login-slot .legend {
    display: none !important;
}

.login-slot label {
    display: block !important;
    margin: 0 0 5px !important;
    color: var(--ink) !important;
    font-size: 0.82rem !important;
    font-weight: 750 !important;
}

.login-slot input,
.login-slot select,
#loguser input,
#loguser select {
    width: 100% !important;
    min-height: 49px !important;
    padding: 11px 13px !important;
    color: var(--ink) !important;
    background: #ffffff !important;
    border: 1px solid #bccbd8 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.login-slot input[type="submit"],
.login-slot button,
#loguser input[type="submit"],
#loguser button,
#loguser .ptprelinker-button-success {
    width: 100% !important;
    min-height: 52px !important;
    padding: 13px 18px !important;
    color: #ffffff !important;
    background: var(--brand) !important;
    border: 0 !important;
    border-radius: 11px !important;
    font-weight: 850 !important;
    cursor: pointer !important;
}

.login-slot button span {
    display: inline !important;
    color: inherit !important;
    background: transparent !important;
}

.legal-content {
    padding-block: 56px 90px;
    background: var(--page);
}

.legal-content h2 {
    margin-top: 48px;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.legal-content h3 {
    margin-top: 28px;
    font-size: 1.16rem;
}

.legal-content p,
.legal-content address {
    color: #4d5963;
}

.legal-content address {
    padding: 18px 21px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-style: normal;
}

.legal-update {
    margin-top: 50px;
    color: var(--muted);
    font-size: 0.82rem;
}

@media (max-width: 980px) {
    .relationship-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-carousel-track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }

    .footer-main-grid {
        grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(155px, 0.7fr));
    }

    .footer-practical {
        grid-column: 2 / 4;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-practical strong {
        grid-column: 1 / -1;
    }

    .country-links .country-menu,
    .country-menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .guide-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .profile-heading,
    .dating-cta-band {
        grid-template-columns: 1fr;
    }

    .profile-heading {
        gap: 20px;
    }

    .profile-carousel-controls {
        justify-content: flex-end;
    }

    .profile-carousel-track {
        grid-auto-columns: min(82vw, 340px);
        margin-right: -14px;
        padding-right: 14px;
    }

    .profile-visual {
        min-height: 176px;
    }

    .profile-tile-visual {
        min-height: 134px;
    }

    .profile-tile-photo {
        width: 92px;
        height: 92px;
    }

    .profile-card-body > p:not(.profile-card-label) {
        min-height: 0;
    }

    .dating-cta-action {
        min-width: 0;
    }

    .dating-cta-action .button {
        width: 100%;
    }

    .intent-signup {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-main-grid,
    .footer-legal {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-practical {
        grid-column: 1 / -1;
    }

    .footer-copyright {
        grid-column: 1 / -1;
    }

    .partners {
        grid-column: 1 / -1;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-secondary,
    .hero-secondary .hero-grid,
    .utility-grid {
        min-height: 0;
    }

    .location-heading {
        gap: 12px;
    }

    .location-heading img {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .article-layout,
    .utility-grid {
        grid-template-columns: 1fr;
    }

    .article-aside {
        position: static;
    }

    .intent-grid {
        grid-template-columns: 1fr 1fr;
    }

    .country-links .country-menu,
    .country-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .simple-hero {
        padding-block: 58px;
    }
}

@media (max-width: 330px) {
    .relationship-profile-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .profile-showcase {
        padding-block: 56px;
    }

    .carousel-button {
        width: 46px;
        height: 46px;
    }

    .dating-cta-band {
        padding: 25px 20px;
        border-radius: 17px;
    }

    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-practical,
    .footer-column {
        grid-column: 1;
    }

    .footer-practical {
        grid-template-columns: 1fr;
    }

    .footer-practical strong {
        grid-column: 1;
    }

    .intent-grid,
    .country-links .country-menu,
    .country-menu {
        grid-template-columns: 1fr;
    }

    .intent-grid a {
        min-height: 0;
    }
}

/* Footer responsive rules are kept last so the simplified layout wins over
   legacy breakpoint declarations that are still shared by older templates. */
@media (max-width: 980px) {
    .footer-navigation {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 32px;
    }

    .footer-practical {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-intent-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .footer-spotlight {
        grid-template-columns: 1fr;
    }

    .footer-spotlight-action {
        padding: 20px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-left: 0;
    }

    .footer-navigation {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .footer-practical {
        grid-column: 1 / -1;
    }

    .footer-intent-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-legal {
        align-items: flex-start;
        flex-direction: column;
    }

    .partners {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .site-footer {
        padding-top: 28px;
    }

    .footer-spotlight {
        padding: 22px;
        border-radius: 16px;
    }

    .footer-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-brand img {
        width: 166px;
    }

    .footer-signup {
        width: 100%;
    }

    .footer-navigation {
        grid-template-columns: 1fr;
        padding-block: 30px;
    }

    .footer-practical,
    .footer-column {
        grid-column: 1;
        grid-template-columns: 1fr 1fr;
    }

    .footer-disclosure summary small {
        display: none;
    }

    .footer-intent-links {
        gap: 7px;
        padding-inline: 12px;
    }
}
