/**
 * Live homepage (v6) — scoped styles.
 * Shared header/banner/menu come from overrides.css + hero-banner.
 */

.home-c {
    --hc-blue: #0757c7;
    --hc-blue-2: #0d6de8;
    --hc-navy: #082548;
    --hc-ink: #12243a;
    --hc-muted: #64748b;
    --hc-line: #e7edf5;
    --hc-soft: #f6f9fc;
    --hc-soft-blue: #eef6ff;
    --hc-green: #149b76;
    --hc-orange: #e9822d;
    --hc-purple: #7d55cf;
    --hc-shadow: 0 14px 40px rgba(21, 49, 82, 0.1);
    --hc-radius: 20px;
    --hc-max: 1180px;
    color: var(--hc-ink);
    background: #fff;
    font-family: "Montserrat", "Roboto", ui-sans-serif, system-ui, sans-serif;
    line-height: 1.58;
}

.home-c a {
    color: inherit;
    text-decoration: none;
}

.home-c__container {
    width: min(var(--hc-max), calc(100% - 40px));
    margin: auto;
}

.home-c__eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hc-blue);
    margin-bottom: 0.25rem;
}

.home-c__topbar {
    background: #061f3e;
    color: #dbeafe;
    font-size: 0.84rem;
}

.home-c__topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
}

.home-c__topbar strong {
    color: #fff;
}

.home-c__intro {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(244, 249, 255, 0.98) 0%, rgba(244, 249, 255, 0.92) 40%, rgba(244, 249, 255, 0.32) 68%, rgba(244, 249, 255, 0.14) 100%),
        url("/images/home-c/hero.webp") center / cover;
    border-bottom: 1px solid var(--hc-line);
}

.home-c__intro::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 130px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.78));
    pointer-events: none;
}

.home-c__intro-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.45fr);
    gap: 38px;
    padding: 86px 0 96px;
    align-items: center;
}

.home-c__intro-copy {
    max-width: 760px;
}

.home-c__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #dbeafe;
    font-size: 0.82rem;
    font-weight: 800;
    color: #184c89;
}

.home-c__intro-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin: 22px 0;
    color: #0a2546;
    max-width: 850px;
}

.home-c__intro-title em {
    font-style: normal;
    color: var(--hc-blue);
}

.home-c__intro-copy > p {
    font-size: 1.12rem;
    color: #344a63;
    max-width: 670px;
    margin: 0 0 26px;
}

.home-c__search {
    display: flex;
    gap: 8px;
    padding: 7px;
    background: #fff;
    border: 1px solid #dfe8f2;
    border-radius: 15px;
    box-shadow: var(--hc-shadow);
    max-width: 680px;
}

.home-c__search input[type="search"] {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 10px 12px;
    color: var(--hc-ink);
    background: transparent;
    font: inherit;
}

.home-c__search button {
    border: 0;
    border-radius: 10px;
    background: var(--hc-blue);
    color: #fff;
    font-weight: 800;
    padding: 12px 23px;
    cursor: pointer;
    font: inherit;
    white-space: nowrap;
}

.home-c__search button:hover {
    background: var(--hc-blue-2);
}

.home-c__popular {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 0.83rem;
    color: #42617f;
    align-items: center;
}

.home-c__popular a {
    color: var(--hc-blue);
    font-weight: 700;
}

.home-c__intro-side {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-c__ad {
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px solid #d9e4ef;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #4f647a;
    min-height: 250px;
    padding: 20px;
    font-size: 0.82rem;
    box-shadow: 0 10px 30px rgba(20, 47, 79, 0.08);
    transition: 0.2s ease;
}

.home-c__ad:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(20, 47, 79, 0.13);
    border-color: #bdd5ee;
}

.home-c__ad b {
    display: block;
    color: #203b59;
    font-size: 1.02rem;
    margin: 8px 0 6px;
}

.home-c__ad-brand {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-top: 15px;
    color: #0b335f;
}

.home-c__ad-copy {
    max-width: 240px;
    margin: 6px auto 14px;
    color: #5b6f84;
    line-height: 1.48;
}

.home-c__ad-btn {
    display: inline-block;
    background: var(--hc-blue);
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 0.8rem;
}

.home-c__ad-note {
    font-size: 0.68rem;
    color: #91a0b0;
    margin-top: 12px;
}

.home-c__ad--hero {
    width: 100%;
    max-width: 300px;
    min-height: 420px;
}

.home-c__ad--wide {
    min-height: 100px;
    width: 100%;
}

.home-c__ad--wide .home-c__ad-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.home-c__ad--wide .home-c__ad-brand {
    margin: 0;
    font-size: 1.35rem;
}

.home-c__ad--wide .home-c__ad-copy {
    margin: 0;
    max-width: 520px;
    text-align: left;
}

.home-c__ad--wide .home-c__ad-note {
    width: 100%;
    margin-top: 0;
}

.home-c__ad--rect {
    min-height: 250px;
}

.home-c__section {
    padding: 76px 0;
}

.home-c__section--alt {
    background: var(--hc-soft);
}

.home-c__section--adband {
    padding: 36px 0;
    background: var(--hc-soft);
}

.home-c__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.home-c__section-head h2 {
    margin: 0.25rem 0 0;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--hc-ink);
}

.home-c__section-head p {
    margin: 8px 0 0;
    color: var(--hc-muted);
    max-width: 680px;
}

.home-c__text-link {
    font-weight: 800;
    color: var(--hc-blue) !important;
    white-space: nowrap;
}

.home-c__topics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-c__topic {
    position: relative;
    border: 1px solid var(--hc-line);
    border-radius: var(--hc-radius);
    background: #fff;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 7px 24px rgba(24, 50, 79, 0.05);
    transition: 0.2s ease;
    display: block;
}

.home-c__topic:hover {
    transform: translateY(-4px);
    box-shadow: var(--hc-shadow);
    border-color: #d6e5f5;
}

.home-c__topic-media {
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.home-c__topic-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 25, 49, 0.18), rgba(9, 25, 49, 0.04) 52%, rgba(9, 25, 49, 0));
}

.home-c__topic-n {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    font-size: 0.76rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.1em;
    background: rgba(12, 45, 85, 0.72);
    padding: 6px 8px;
    border-radius: 999px;
}

.home-c__topic-body {
    padding: 18px 20px 22px;
}

.home-c__topic h3 {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0 0 8px;
}

.home-c__topic p {
    font-size: 0.88rem;
    color: var(--hc-muted);
    margin: 0 0 16px;
}

.home-c__go {
    color: var(--hc-blue);
    font-size: 0.86rem;
    font-weight: 800;
}

.home-c__journey {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-c__journey-card {
    border-radius: var(--hc-radius);
    padding: 30px;
    border: 1px solid #dce8f4;
    background: #fff;
    min-height: 280px;
}

.home-c__journey-card:nth-child(2) {
    background: #f0f8ff;
}

.home-c__journey-card:nth-child(3) {
    background: #f7f5ff;
}

.home-c__journey-no {
    font-size: 2rem;
    font-weight: 900;
    color: #c9d8e7;
}

.home-c__journey-card h3 {
    font-size: 1.3rem;
    margin: 10px 0 8px;
}

.home-c__journey-card > p {
    color: var(--hc-muted);
    margin: 0 0 16px;
}

.home-c__journey-card ul {
    padding-left: 20px;
    margin: 0;
    color: #3d5268;
    font-size: 0.9rem;
}

.home-c__journey-card li {
    margin: 7px 0;
}

.home-c__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
}

.home-c__guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 19px;
}

.home-c__guide {
    border: 1px solid var(--hc-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(24, 50, 79, 0.05);
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-c__guide:hover {
    transform: translateY(-3px);
    box-shadow: var(--hc-shadow);
}

.home-c__guide-img {
    height: 170px;
    background-size: cover;
    background-position: center;
}

.home-c__guide-body {
    padding: 20px;
}

.home-c__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 8px;
    border-radius: 7px;
    background: #edf6ff;
    color: #0b61c6;
    margin-bottom: 10px;
}

.home-c__tag--green {
    background: #e8f8f2;
    color: #0d7a5c;
}

.home-c__tag--orange {
    background: #fff3e8;
    color: #b35f12;
}

.home-c__tag--purple {
    background: #f3edff;
    color: #5c3da6;
}

.home-c__guide h3 {
    font-size: 1.08rem;
    line-height: 1.32;
    margin: 0 0 8px;
}

.home-c__guide p {
    font-size: 0.86rem;
    color: var(--hc-muted);
    margin: 0 0 14px;
}

.home-c__meta {
    font-size: 0.75rem;
    color: #8b9aab;
}

.home-c__side-stack {
    display: grid;
    gap: 18px;
    align-content: start;
}

.home-c__checklist {
    border-radius: 18px;
    padding: 24px;
    background: linear-gradient(145deg, #eaf5ff, #f9fcff);
    border: 1px solid #dceaf7;
}

.home-c__checklist h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.home-c__checklist p {
    font-size: 0.87rem;
    color: #587089;
    margin: 0;
}

.home-c__checklist a {
    display: block;
    margin-top: 15px;
    background: var(--hc-blue);
    color: #fff !important;
    text-align: center;
    padding: 11px 14px;
    border-radius: 10px;
    font-weight: 800;
}

.home-c__checklist a:hover {
    background: var(--hc-blue-2);
}

.home-c__affiliate-panel {
    border: 1px solid var(--hc-line);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.home-c__affiliate-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--hc-line);
    align-items: center;
}

.home-c__affiliate-head strong {
    font-size: 1.05rem;
}

.home-c__affiliate-head span {
    font-size: 0.76rem;
    color: #7f8ea0;
}

.home-c__affiliate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.home-c__affiliate-card {
    padding: 24px;
    border-right: 1px solid var(--hc-line);
    min-height: 180px;
}

.home-c__affiliate-card:last-child {
    border-right: 0;
}

.home-c__affiliate-badge {
    font-size: 0.67rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #8b6b21;
    background: #fff6d8;
    display: inline-block;
    padding: 5px 7px;
    border-radius: 6px;
}

.home-c__affiliate-card h3 {
    font-size: 1rem;
    margin: 14px 0 7px;
}

.home-c__affiliate-card p {
    font-size: 0.82rem;
    color: var(--hc-muted);
    margin: 0 0 13px;
}

.home-c__affiliate-card a {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--hc-blue) !important;
}

.home-c__disclosure {
    font-size: 0.77rem;
    color: #7b8999;
    margin: 14px 4px 0;
}

.home-c__disclosure a {
    color: var(--hc-blue) !important;
    font-weight: 700;
}

.home-c__trust-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.95fr;
    gap: 50px;
    align-items: center;
}

.home-c__trust-copy h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.02;
    margin: 8px 0 15px;
    letter-spacing: -0.04em;
}

.home-c__trust-copy p {
    color: var(--hc-muted);
    margin: 0;
}

.home-c__trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.home-c__trust-item {
    border: 1px solid var(--hc-line);
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}

.home-c__trust-item b {
    display: block;
    margin-bottom: 6px;
}

.home-c__trust-item p {
    font-size: 0.84rem;
    color: var(--hc-muted);
    margin: 0;
}

.home-c__cta {
    background: linear-gradient(135deg, #0b5eca, #063f91);
    color: #fff;
    padding: 50px 0;
}

.home-c__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.home-c__cta h2 {
    margin: 0 0 7px;
    font-size: 2rem;
    color: #fff;
}

.home-c__cta p {
    margin: 0;
    color: #d7e8ff;
}

.home-c__cta a {
    background: #fff;
    color: var(--hc-blue) !important;
    padding: 12px 17px;
    border-radius: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.home-c__cta a:hover {
    background: #eef6ff;
}

@media (max-width: 980px) {
    .home-c__intro-grid {
        grid-template-columns: 1fr;
    }

    .home-c__intro-side {
        display: none;
    }

    .home-c__topics {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-c__journey {
        grid-template-columns: 1fr;
    }

    .home-c__content-grid {
        grid-template-columns: 1fr;
    }

    .home-c__side-stack {
        grid-template-columns: 1fr 1fr;
        display: grid;
    }

    .home-c__affiliate-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-c__affiliate-card:nth-child(2) {
        border-right: 0;
    }

    .home-c__affiliate-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--hc-line);
    }

    .home-c__trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-c__container {
        width: min(100% - 28px, var(--hc-max));
    }

    .home-c__topbar-inner {
        display: block;
        text-align: center;
    }

    .home-c__topbar-aside {
        display: none;
    }

    .home-c__intro-grid {
        padding: 64px 0 82px;
    }

    .home-c__search {
        display: grid;
    }

    .home-c__topics,
    .home-c__guide-grid,
    .home-c__affiliate-grid,
    .home-c__trust-items,
    .home-c__side-stack {
        grid-template-columns: 1fr;
    }

    .home-c__affiliate-card {
        border-right: 0;
        border-bottom: 1px solid var(--hc-line);
    }

    .home-c__affiliate-card:last-child {
        border-bottom: 0;
    }

    .home-c__section {
        padding: 58px 0;
    }

    .home-c__section-head,
    .home-c__cta-inner {
        display: block;
    }

    .home-c__text-link {
        display: inline-block;
        margin-top: 12px;
    }

    .home-c__cta a {
        display: inline-block;
        margin-top: 18px;
    }

    .home-c__journey-card {
        min-height: 0;
    }

    .home-c__affiliate-head {
        display: block;
    }

    .home-c__affiliate-head span {
        display: block;
        margin-top: 5px;
    }
}
