:root {
    --blue: #004A7F;
    --blue-strong: #003A63;
    --blue-soft: #EAF4FA;
    --orange: #F4A21D;
    --ink: #101828;
    --muted: #5B6675;
    --line: #D9E2EA;
    --surface: #FFFFFF;
    --soft: #F6F8FA;
    --shadow: 0 18px 42px rgba(10, 35, 55, .13);
}

* {
    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;
    line-height: 1.65;
}

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

a {
    color: inherit;
}

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

.site-header {
    color: #fff;
    background:
        linear-gradient(115deg, rgba(0, 58, 99, .96), rgba(0, 74, 127, .9)),
        radial-gradient(circle at 82% 18%, rgba(244, 162, 29, .36), transparent 30%);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand img {
    width: 210px;
    height: auto;
}

.nav-actions,
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--blue-strong);
    background: #fff;
}

.btn-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .78);
    background: rgba(255, 255, 255, .08);
}

.btn-blue {
    color: #fff;
    background: var(--blue);
}

.btn-blue:hover {
    background: var(--blue-strong);
}

.hero {
    padding: 58px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--orange);
    font-weight: 850;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 790px;
    margin: 0 0 20px;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.hero-lead {
    max-width: 720px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.16rem;
}

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

.trust-item {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.trust-item strong {
    display: block;
    font-size: 1.25rem;
}

.trust-item span {
    color: rgba(255, 255, 255, .8);
    font-size: .93rem;
}

.hero-visual {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    box-shadow: var(--shadow);
}

.hero-signup {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.hero-signup .eyebrow {
    color: var(--orange);
}

.hero-signup h2 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.hero-signup p {
    margin: 0 0 18px;
    color: var(--muted);
}

.hero-form-wrap {
    padding: 14px;
    border-color: var(--line);
    background: var(--blue-soft);
}

.hero-form-wrap select,
.hero-form-wrap input {
    max-width: 100%;
}

.hero-form-chips {
    margin-top: 16px;
}

.hero-signup .chip {
    color: var(--blue-strong);
    background: #F2F7FB;
    border: 1px solid var(--line);
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    background: #fff;
}

.visual-content {
    padding: 24px;
}

.visual-content p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .86);
}

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

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    font-size: .9rem;
    font-weight: 700;
}

.section {
    padding: 76px 0;
}

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

.section-blue {
    color: #fff;
    background: linear-gradient(120deg, var(--blue-strong), var(--blue));
}

.section-head {
    max-width: 780px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.section-cta {
    margin-top: 30px;
    text-align: center;
}

.section-blue .section-head p {
    color: rgba(255, 255, 255, .86);
}

.grid {
    display: grid;
    gap: 22px;
}

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

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

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

.card,
.link-card,
.story-card,
.content-card,
.faq-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.card,
.story-card,
.content-card,
.faq-card {
    padding: 24px;
}

.card h3,
.story-card h3,
.content-card h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

.card p,
.story-card p,
.content-card p {
    margin: 0;
    color: var(--muted);
}

.card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--blue);
    background: var(--blue-soft);
}

.link-card {
    display: block;
    min-height: 100%;
    padding: 18px;
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 74, 127, .35);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
}

.link-card strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
}

.link-card span {
    color: var(--muted);
    font-size: .95rem;
}

.story-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.story-card img {
    width: 74px;
    height: 74px;
    border-radius: 8px;
    object-fit: cover;
}

.dating-section {
    background:
        linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}

.dating-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 34px;
    align-items: center;
}

.dating-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
}

.dating-copy > p {
    margin: 0;
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

.dating-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.dating-stat {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.dating-stat strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: 1.05rem;
}

.dating-stat span {
    display: block;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.45;
}

.dating-bars {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(0, 74, 127, .16);
    border-radius: 8px;
    background: var(--blue-soft);
}

.dating-bars div {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.dating-bars span {
    color: var(--blue-strong);
    font-weight: 750;
    font-size: .93rem;
}

.dating-bars i {
    display: block;
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, var(--orange) var(--bar), rgba(0, 74, 127, .16) var(--bar));
}

.chat-mockup {
    padding: 22px;
    border: 1px solid rgba(0, 74, 127, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

.chat-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.chat-avatar {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--blue);
    font-weight: 850;
}

.chat-top strong,
.chat-top small {
    display: block;
}

.chat-top small {
    color: var(--muted);
}

.chat-bubbles {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.bubble {
    width: fit-content;
    max-width: min(88%, 430px);
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    line-height: 1.45;
    font-size: .96rem;
}

.bubble-left {
    color: #263548;
    background: #eef4f8;
}

.bubble-right {
    justify-self: end;
    color: #fff;
    background: var(--blue);
}

.match-card-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.mini-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.mini-profile img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.mini-profile strong,
.mini-profile span {
    display: block;
}

.mini-profile span {
    color: var(--muted);
    font-size: .9rem;
}

.carousel-shell {
    min-height: 160px;
    padding: 18px;
    border: 1px solid rgba(0, 74, 127, .16);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

#caruser:not(:empty) + .carousel-fallback {
    display: none;
}

.carousel-fallback {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.carousel-fallback article {
    min-width: 160px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.carousel-fallback img {
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    border-radius: 50%;
    object-fit: cover;
}

.carousel-fallback strong,
.carousel-fallback span {
    display: block;
}

.carousel-fallback strong {
    color: var(--ink);
}

.carousel-fallback span {
    color: var(--muted);
    font-size: .9rem;
}

.press-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.press-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.press-card-head h3 {
    margin: 0;
}

.press-card-head a,
.text-link {
    color: var(--blue);
    text-decoration: none;
}

.press-card-head a:hover,
.text-link:hover {
    color: var(--blue-strong);
    text-decoration: underline;
}

.press-card-head span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: .93rem;
}

.signup-panel {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.signup-panel p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .88);
}

.form-wrap {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
}

#formuser,
#caruser {
    min-height: 80px;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-card {
    margin-bottom: 12px;
}

.faq-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    font-weight: 800;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card svg {
    flex: 0 0 auto;
    transition: transform .18s ease;
}

.faq-card p {
    margin: 14px 0 0;
    color: var(--muted);
}

.article-hero {
    padding: 52px 0 64px;
}

.article-hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.seo-hero-grid {
    padding-top: 22px;
    align-items: start;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
}

.article-body {
    display: grid;
    gap: 18px;
}

.content-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.side-panel {
    position: sticky;
    top: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--blue-soft);
}

.side-panel h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.side-panel ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--muted);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.blog-hero-content {
    padding-bottom: 64px;
}

.blog-hero-content h1,
.article-hero-content h1 {
    max-width: 920px;
}

.article-hero-content {
    padding-top: 24px;
}

.article-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    font-weight: 700;
}

.article-meta-line span + span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 999px;
    background: currentColor;
    vertical-align: middle;
}

.article-meta-dark {
    color: var(--muted);
}

.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(16, 24, 40, .08);
}

.blog-featured-image {
    min-height: 100%;
    background: var(--blue-soft);
}

.blog-featured-image img,
.blog-card-image img,
.article-cover {
    width: 100%;
    object-fit: cover;
    background: var(--blue-soft);
}

.blog-featured-image img {
    height: 100%;
    min-height: 390px;
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 4vw, 44px);
}

.blog-featured-content h2 {
    margin: 14px 0 16px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.blog-featured-content h2 a,
.blog-card h3 a {
    text-decoration: none;
}

.blog-featured-content p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1.07rem;
}

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

.blog-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 74, 127, .35);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .08);
}

.blog-card-image img {
    aspect-ratio: 16 / 9;
    height: auto;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.blog-card h3 {
    margin: 12px 0 10px;
    font-size: 1.25rem;
}

.blog-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.article-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.article-read-link svg {
    width: 18px;
    height: 18px;
}

.article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
}

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

.article-cover {
    aspect-ratio: 16 / 8;
    height: clamp(320px, 42vw, 460px);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.article-prose {
    display: grid;
    gap: 28px;
    margin-top: 34px;
}

.article-prose section {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.article-prose h2 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-prose p {
    margin: 0 0 14px;
    color: #334155;
    font-size: 1.06rem;
}

.article-prose p:last-child {
    margin-bottom: 0;
}

.article-prose ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.article-prose li + li {
    margin-top: 6px;
}

.article-callout {
    padding: 24px;
    border: 1px solid rgba(0, 74, 127, .2);
    border-radius: 8px;
    background: var(--blue-soft);
}

.article-callout h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.article-aside .btn {
    width: 100%;
}

.site-footer {
    color: rgba(255, 255, 255, .82);
    background: #101820;
    padding: 52px 0 24px;
}

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

.footer-logo {
    width: 180px;
    margin-bottom: 16px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
}

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

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

.site-footer a {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
    font-size: .94rem;
}

@media (max-width: 920px) {
    .hero-grid,
    .article-layout,
    .article-detail-layout,
    .dating-grid,
    .blog-featured,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .side-panel {
        position: static;
    }

    .grid-3,
    .grid-4,
    .dating-stat-grid,
    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

    .brand img {
        width: 174px;
    }

    .nav-actions,
    .hero-actions {
        width: 100%;
    }

    .nav-actions .btn,
    .hero-actions .btn {
        width: 100%;
    }

    .hero {
        padding: 34px 0 48px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .trust-row,
    .grid-2,
    .grid-3,
    .grid-4,
    .dating-stat-grid,
    .match-card-row,
    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .dating-bars div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .blog-featured-image img {
        min-height: 260px;
    }

    .article-cover {
        height: 280px;
        aspect-ratio: 4 / 3;
    }

    .section {
        padding: 54px 0;
    }

    .story-card {
        grid-template-columns: 1fr;
    }

    .press-card-head {
        display: block;
    }

    .press-card-head span {
        display: inline-block;
        margin-top: 6px;
    }
}
