/* ============================================================
   HOME v2 — cinematic launch-page treatment for index.php only
   Scoped to body.home-v2. The rest of the site keeps style.css.
   Dark stage, huge type, negative space, scroll-driven reveals.
   ============================================================ */

.home-v2 {
    background: #0A120F;
    color: #E7F0EC;
}

.home-v2 .k-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Shared type ---------- */

.home-v2 .k-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #E8A426;
    margin-bottom: 20px;
}

.home-v2 .k-title {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #F4FAF7;
    text-align: left;
    margin: 0 0 28px;
}

/* ---------- Scroll reveals ---------- */

.home-v2 .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-v2 .reveal.in {
    opacity: 1;
    transform: none;
}

.home-v2 .reveal.d1 { transition-delay: 0.08s; }
.home-v2 .reveal.d2 { transition-delay: 0.16s; }
.home-v2 .reveal.d3 { transition-delay: 0.24s; }
.home-v2 .reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .home-v2 .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Buttons ---------- */

.home-v2 .k-btn-gold {
    display: inline-block;
    width: auto; /* legacy sheet sets button { width: 70px } */
    background: linear-gradient(180deg, #F5B93F, #E8A426);
    color: #2B2008;
    font-weight: 800;
    font-size: 1.02rem;
    padding: 15px 36px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(232, 164, 38, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-v2 .k-btn-gold:hover {
    transform: translateY(-2px);
    color: #2B2008;
    box-shadow: 0 12px 36px rgba(232, 164, 38, 0.5);
}

.home-v2 .k-btn-ghost {
    display: inline-block;
    color: #E7F0EC;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 15px 36px;
    border: 1px solid rgba(231, 240, 236, 0.35);
    border-radius: 999px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.home-v2 .k-btn-ghost:hover {
    color: #fff;
    border-color: rgba(231, 240, 236, 0.8);
    background: rgba(231, 240, 236, 0.06);
}

.home-v2 .k-btn-ghost-dark {
    display: inline-block;
    color: #F4FAF7;
    font-weight: 700;
    padding: 13px 30px;
    border: 1px solid rgba(231, 240, 236, 0.3);
    border-radius: 999px;
    margin-right: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.home-v2 .k-btn-ghost-dark:hover {
    color: #fff;
    border-color: rgba(231, 240, 236, 0.7);
    background: rgba(231, 240, 236, 0.06);
}

/* ---------- Navbar over the dark stage ---------- */

.home-v2 .navbar {
    background: rgba(10, 18, 15, 0.75) !important;
    border-bottom: 1px solid rgba(231, 240, 236, 0.08);
    box-shadow: none;
}

/* ---------- Hero ---------- */

.home-v2 .k-hero {
    position: relative;
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 90px 24px 110px;
}

.home-v2 .k-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 50% 118%, rgba(232, 164, 38, 0.24), transparent 65%),
        radial-gradient(ellipse 70% 55% at 50% 115%, rgba(23, 162, 119, 0.35), transparent 70%),
        radial-gradient(ellipse 100% 70% at 50% -30%, rgba(14, 107, 82, 0.25), transparent 70%);
    pointer-events: none;
}

.home-v2 .k-hero-inner {
    position: relative;
    max-width: 880px;
}

.home-v2 .k-display {
    font-size: clamp(3rem, 9vw, 6.2rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #F7FCFA;
    margin: 0 0 34px;
}

.home-v2 .k-gold {
    background: linear-gradient(100deg, #FFD469 10%, #E8A426 60%, #C98A16);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-v2 .k-lede {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.75;
    color: #ABC4BA;
    max-width: 40rem;
    margin: 0 auto 44px;
}

.home-v2 .k-lede b {
    color: #F4FAF7;
    font-weight: 700;
}

.home-v2 .k-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-v2 .k-scroll-cue {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(231, 240, 236, 0.35);
    border-radius: 14px;
}

.home-v2 .k-scroll-cue span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #E8A426;
    animation: k-cue 1.8s ease-in-out infinite;
}

@keyframes k-cue {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(12px); opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 .k-scroll-cue span { animation: none; }
}

/* ---------- The numbers ---------- */

.home-v2 .k-numbers {
    padding: 130px 0;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

.home-v2 .k-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.home-v2 .k-big-num {
    white-space: nowrap;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #F7FCFA;
    margin: 0 0 14px;
}

.home-v2 .k-num-label {
    font-size: 1rem;
    color: #8FA89E;
    margin: 0;
}

/* ---------- Live studies ---------- */

.home-v2 .k-studies {
    padding: 120px 0 40px;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

/* The generated include ships its own light-theme section; re-stage it. */
.home-v2 .fgm-live .settlements,
.home-v2 .fgm-live .settlements-main {
    background: transparent;
}

.home-v2 .fgm-live .settlements-main h2.fw-9 {
    display: none; /* section heading supplied above by k-title */
}

.home-v2 .fgm-live .settlements-main .container > p.sm {
    color: #8FA89E;
    text-align: left;
}

.home-v2 .fgm-live .container[style] {
    text-align: left !important;
}

.home-v2 .fgm-live .settlement-card {
    background: #101B16;
    border: 1px solid rgba(231, 240, 236, 0.10);
    color: #E7F0EC;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.home-v2 .fgm-live .settlement-card:hover {
    border-color: rgba(232, 164, 38, 0.55);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}

.home-v2 .fgm-live .settlement-card-title {
    color: #F4FAF7;
}

.home-v2 .fgm-live .settlement-amount {
    color: #ABC4BA;
}

.home-v2 .fgm-live .btn,
.home-v2 .fgm-live .btn-outline {
    background: transparent;
    border: 1px solid rgba(231, 240, 236, 0.3);
    border-radius: 999px;
    color: #F4FAF7 !important;
    font-weight: 700;
}

.home-v2 .fgm-live .btn:hover {
    border-color: rgba(231, 240, 236, 0.7);
    background: rgba(231, 240, 236, 0.06);
    box-shadow: none;
}

/* ---------- Category rows ---------- */

.home-v2 .k-cats {
    padding: 120px 0;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

.home-v2 .k-cat-list {
    margin-top: 56px;
    border-top: 1px solid rgba(231, 240, 236, 0.12);
}

.home-v2 .k-cat-row {
    display: grid;
    grid-template-columns: 64px 1fr auto 40px;
    align-items: baseline;
    gap: 20px;
    padding: 30px 6px;
    border-bottom: 1px solid rgba(231, 240, 236, 0.12);
    color: inherit;
    transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.home-v2 .k-cat-row:hover {
    background: rgba(231, 240, 236, 0.035);
    padding-left: 18px;
    color: inherit;
}

.home-v2 .k-cat-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4E6459;
    letter-spacing: 0.08em;
}

.home-v2 .k-cat-name {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #F4FAF7;
}

.home-v2 .k-cat-pay {
    font-size: 1rem;
    font-weight: 600;
    color: #E8A426;
    text-align: right;
}

.home-v2 .k-cat-arrow {
    font-size: 1.4rem;
    color: #4E6459;
    transition: transform 0.25s ease, color 0.25s ease;
}

.home-v2 .k-cat-row:hover .k-cat-arrow {
    transform: translateX(6px);
    color: #E8A426;
}

.home-v2 .k-cat-browse {
    margin-top: 44px;
}

/* ---------- How it works ---------- */

.home-v2 .k-how {
    padding: 120px 0;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

.home-v2 .k-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 64px 0 0;
    padding: 0;
}

.home-v2 .k-step-num {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #FFD469, #C98A16);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}

.home-v2 .k-steps h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #F4FAF7;
    margin: 0 0 10px;
}

.home-v2 .k-steps p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #8FA89E;
    margin: 0;
}

.home-v2 .k-steps a {
    color: #E8A426;
    font-weight: 600;
}

/* ---------- Editorial copy ---------- */

.home-v2 .k-copy {
    padding: 130px 0;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

.home-v2 .k-copy-wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
}

.home-v2 .k-copy-wrap .k-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.home-v2 .k-copy-body p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #ABC4BA;
    margin: 0 0 26px;
    max-width: 38rem;
}

/* ---------- Newsletter ---------- */

.home-v2 .k-news {
    padding: 130px 0;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 90% at 50% 120%, rgba(232, 164, 38, 0.14), transparent 65%),
        radial-gradient(ellipse 80% 80% at 50% 130%, rgba(23, 162, 119, 0.18), transparent 70%);
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

.home-v2 .k-news .k-title {
    text-align: center;
}

.home-v2 .k-lede-dark {
    color: #8FA89E;
    font-size: 1.1rem;
    margin: 0 0 40px;
}

.home-v2 .k-news-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.home-v2 .k-input {
    flex-grow: 0; /* legacy sheet sets input { flex-grow: 2 } */
    width: min(380px, 100%);
    padding: 15px 22px;
    font-family: inherit;
    font-size: 1rem;
    color: #F4FAF7;
    background: rgba(231, 240, 236, 0.06);
    border: 1px solid rgba(231, 240, 236, 0.25);
    border-radius: 999px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-v2 .k-input::placeholder {
    color: #6E857A;
}

.home-v2 .k-input:focus {
    outline: none;
    border-color: #E8A426;
    box-shadow: 0 0 0 4px rgba(232, 164, 38, 0.18);
}

/* ---------- Blog ---------- */

.home-v2 .k-blog {
    padding: 120px 0 140px;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

.home-v2 .k-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.home-v2 .k-blog-card {
    display: block;
    background: #101B16;
    border: 1px solid rgba(231, 240, 236, 0.10);
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-v2 .k-blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 164, 38, 0.5);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    color: inherit;
}

.home-v2 .k-blog-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    filter: saturate(0.85);
}

.home-v2 .k-blog-card h3 {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.4;
    color: #F4FAF7;
    margin: 16px 16px 8px;
}

.home-v2 .k-blog-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #8FA89E;
    margin: 0 16px 18px;
}

.home-v2 .k-blog-more {
    margin-top: 44px;
}

.home-v2 .k-blog-more a {
    color: #E8A426;
    font-weight: 700;
    font-size: 1.05rem;
}

/* ---------- Footer sits on the same stage ---------- */

.home-v2 .footer-post {
    background: #071009;
    margin-top: 0;
    border-top: 1px solid rgba(231, 240, 236, 0.07);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .home-v2 .k-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-v2 .k-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-v2 .k-copy-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 620px) {
    .home-v2 .k-hero {
        min-height: 88vh;
        padding: 60px 20px 90px;
    }

    .home-v2 .k-numbers,
    .home-v2 .k-studies,
    .home-v2 .k-cats,
    .home-v2 .k-how,
    .home-v2 .k-copy,
    .home-v2 .k-news,
    .home-v2 .k-blog {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .home-v2 .k-numbers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-v2 .k-steps {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-v2 .k-blog-grid {
        grid-template-columns: 1fr;
    }

    .home-v2 .k-cat-row {
        grid-template-columns: 40px 1fr 24px;
        row-gap: 4px;
    }

    .home-v2 .k-cat-pay {
        grid-column: 2;
        text-align: left;
        font-size: 0.9rem;
    }

    .home-v2 .k-cat-arrow {
        grid-row: 1;
        grid-column: 3;
    }
}
