:root {
    --blue: #005b96;
    --blue-dark: #003154;
    --ink: #1d2329;
    --muted: #5c6670;
    --line: #d8e0e6;
    --soft: #f4f7fa;
    --white: #ffffff;
    --coral: #d95c59;
    --green: #2f7d62;
    --shadow: 0 16px 40px rgba(0, 49, 84, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--white);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    padding-bottom: 72px;
}

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

a {
    color: var(--blue);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow-content {
    max-width: 820px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 200px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 6px;
    margin-left: 0;
}

.main-nav a,
.header-cta,
.button,
.related-list a,
.link-grid a {
    text-decoration: none;
}

.main-nav a {
    color: var(--ink);
    font-size: 0.92rem;
    padding: 8px 9px;
    border-radius: 6px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: var(--soft);
    color: var(--blue-dark);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--blue-dark);
    background-image:
        linear-gradient(90deg, rgba(0, 49, 84, 0.94) 0%, rgba(0, 70, 118, 0.86) 48%, rgba(0, 49, 84, 0.42) 100%),
        url("../img/hero-senior-dating.jpg");
    background-position: center;
    background-size: cover;
    border-bottom: 0;
}

.hero-grid,
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 42px;
    align-items: start;
}

.hero-copy,
.page-hero-grid > div:first-child {
    min-width: 0;
}

.hero-grid {
    padding: 58px 0;
}

.page-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 49, 84, 0.95) 0%, rgba(0, 70, 118, 0.88) 54%, rgba(0, 49, 84, 0.46) 100%),
        url("../img/hero-senior-dating.jpg");
}

.page-hero-grid {
    padding: 46px 0;
}

.eyebrow,
.panel-kicker {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 18px;
    color: var(--blue-dark);
    font-size: 2.28rem;
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.hero h1,
.page-hero h1,
.hero .lead,
.page-hero .lead,
.hero .check-list li,
.page-hero .check-list li {
    color: var(--white);
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: #ffb5b2;
}

h2 {
    color: var(--blue-dark);
    font-size: 1.65rem;
    line-height: 1.22;
    letter-spacing: 0;
}

h3 {
    color: var(--ink);
    font-size: 1.08rem;
    letter-spacing: 0;
}

.lead {
    max-width: 720px;
    color: #3d4852;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 800;
}

.button.primary {
    background: var(--blue);
    color: var(--white);
}

.button.primary:hover,
.header-cta:hover {
    background: var(--blue-dark);
}

.button.secondary {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--line);
}

.hero .button.secondary,
.page-hero .button.secondary {
    background: rgba(255, 255, 255, 0.94);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-row span {
    padding: 7px 10px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.9rem;
}

.hero .trust-row span,
.page-hero .trust-row span {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--white);
}

.signup-panel {
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 22px;
}

.signup-panel h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.signup-panel p {
    color: var(--muted);
}

.embedded-form {
    min-height: 330px;
}

.embedded-form:empty,
.carousel-frame:empty {
    background: var(--soft);
}

.section {
    padding: 54px 0;
}

.section-muted {
    background: var(--soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading.compact {
    margin-bottom: 18px;
}

.section-heading p {
    color: var(--muted);
}

.member-carousels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.carousel-frame {
    min-height: 230px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 12px;
}

.profile-section {
    background:
        linear-gradient(180deg, rgba(244, 247, 250, 0.72), rgba(255, 255, 255, 1));
}

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

.profile-card {
    position: relative;
    overflow: hidden;
    min-height: 255px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 18px;
    box-shadow: 0 12px 28px rgba(0, 49, 84, 0.08);
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--green), var(--blue));
}

.profile-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.9), transparent 28%),
        linear-gradient(135deg, var(--blue), var(--coral));
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e8f6ef;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
}

.profile-card h3 {
    margin-bottom: 4px;
}

.profile-tag {
    color: var(--coral);
    font-weight: 800;
}

.profile-card p {
    color: var(--muted);
}

.profile-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 8px;
    padding: 0 13px;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.profile-card a:hover {
    background: var(--blue-dark);
}

.profile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 22px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
}

.profile-cta h2,
.profile-cta p {
    color: var(--white);
}

.profile-cta p {
    margin-bottom: 0;
}

.dating-intent-section {
    background: #fff;
}

.dating-mini-board {
    display: grid;
    gap: 12px;
}

.dating-mini-board article {
    border: 1px solid var(--line);
    border-left: 4px solid var(--coral);
    border-radius: 8px;
    background: var(--white);
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 49, 84, 0.07);
}

.dating-mini-board p {
    margin-bottom: 0;
    color: var(--muted);
}

.local-map-section {
    background: var(--white);
}

.local-map {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 50%, rgba(47, 125, 98, 0.16), transparent 34%),
        linear-gradient(135deg, #e8f1f7, #f8fbfd);
    box-shadow: var(--shadow);
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 91, 150, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 91, 150, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
}

.map-route {
    position: absolute;
    left: 10%;
    right: 12%;
    top: 47%;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 91, 150, 0.22);
    transform: rotate(-12deg);
}

.map-pin {
    position: absolute;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.85rem;
}

.map-pin span {
    width: 24px;
    height: 24px;
    border: 5px solid var(--white);
    border-radius: 50% 50% 50% 0;
    background: var(--coral);
    box-shadow: 0 8px 18px rgba(0, 49, 84, 0.18);
    transform: rotate(-45deg);
}

.map-pin strong {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
}

.pin-center {
    left: 43%;
    top: 34%;
}

.pin-cafes {
    left: 18%;
    top: 58%;
}

.pin-outings {
    right: 17%;
    top: 24%;
}

.pin-near {
    right: 22%;
    bottom: 16%;
}

.map-radius {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    padding: 18px;
    border: 2px dashed rgba(0, 91, 150, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    color: var(--blue-dark);
    text-align: center;
    transform: translate(-50%, -50%);
}

.map-radius span {
    color: var(--muted);
    font-size: 0.9rem;
}

.blog-hero {
    background: var(--blue-dark);
    color: var(--white);
    padding: 54px 0;
}

.blog-hero h1,
.blog-hero p {
    color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.blog-card,
.article-body {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 22px;
}

.blog-card p,
.article-body p,
.article-body li {
    color: var(--muted);
}

.blog-card a {
    color: var(--blue-dark);
    font-weight: 800;
    text-decoration: none;
}

.article-body {
    max-width: 860px;
}

.article-body h2 {
    margin-top: 28px;
}

.article-cta {
    margin-top: 28px;
    padding: 22px;
    border-radius: 8px;
    background: var(--soft);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 34px;
    align-items: start;
}

.feature-list,
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.feature-list article,
.content-block,
.comparison-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 20px;
}

.feature-list article:nth-child(2) {
    border-top-color: var(--green);
}

.feature-list article:nth-child(3) {
    border-top-color: var(--coral);
}

.feature-list p,
.content-block p,
.comparison-box p {
    color: var(--muted);
    margin-bottom: 0;
}

.partner-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: center;
}

.partner-band h2 {
    margin-bottom: 10px;
}

.partner-band p {
    max-width: 680px;
    color: var(--muted);
    margin-bottom: 0;
}

.partner-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.partner-links a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--blue-dark);
    font-weight: 800;
}

.partner-links a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: #34404a;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
}

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

.link-grid a,
.related-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--blue-dark);
    font-weight: 800;
}

.link-grid a:hover,
.related-list a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.faq-wrap {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 16px 18px;
}

summary {
    cursor: pointer;
    color: var(--blue-dark);
    font-weight: 800;
}

details p {
    color: var(--muted);
    margin: 12px 0 0;
}

.notice {
    border-left: 4px solid var(--coral);
    background: #fff7f6;
    padding: 12px 14px;
    color: #5a2c2a;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 26px;
    border-radius: 8px;
    background: var(--blue-dark);
    color: var(--white);
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.cta-band p:last-child {
    margin-bottom: 0;
}

.site-footer {
    padding: 44px 0;
    background: #111820;
    color: #d6dee6;
}

.sticky-conversion {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(760px, calc(100% - 32px));
    min-height: 54px;
    margin: 0 auto;
    padding: 8px 10px 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(0, 49, 84, 0.96);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    color: var(--white);
    font-weight: 800;
}

.sticky-conversion a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 6px;
    background: var(--coral);
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 28px;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer li + li {
    margin-top: 8px;
}

.site-footer a {
    color: #d6dee6;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-note {
    margin-top: 22px;
    color: #9eabb8;
}

@media (max-width: 920px) {
    .header-inner,
    .main-nav {
        justify-content: center;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-left: 0;
    }

    .hero-grid,
    .page-hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero {
        background-image:
            linear-gradient(180deg, rgba(0, 49, 84, 0.96) 0%, rgba(0, 70, 118, 0.9) 58%, rgba(0, 49, 84, 0.72) 100%),
            url("../img/hero-senior-dating.jpg");
    }

    .signup-panel {
        max-width: 560px;
    }

    .link-grid,
    .related-list,
    .profile-grid,
    .member-carousels,
    .blog-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .brand img {
        width: 170px;
    }

    .header-cta {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    .hero-grid,
    .page-hero-grid {
        padding: 34px 0;
    }

    .section {
        padding: 38px 0;
    }

    .feature-list,
    .content-grid,
    .link-grid,
    .related-list,
    .profile-grid,
    .member-carousels,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-band {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .sticky-conversion {
        left: 8px;
        right: 8px;
        bottom: 8px;
        width: calc(100% - 16px);
        flex-direction: column;
        gap: 8px;
        padding: 10px;
        text-align: center;
    }

    .sticky-conversion a {
        width: 100%;
    }
}
