/**
 * Homepage previews (Option A / Option B).
 * Loaded after home.css + home-premium.css. Do not change those files.
 */

.home-desk-page,
.home-desk-page body.home-premium {
    overflow-x: clip;
}

body.home-desk {
    --hd-ink: #0d2137;
    --hd-navy: #1e3a5f;
    --hd-paper: #f7f8fa;
    --hd-white: #ffffff;
    --hd-line: rgba(15, 23, 42, 0.1);
    --hd-muted: #5b6472;
    --hd-gold: #c49a3a;
    --hd-radius: 1rem;
    background: var(--hd-paper);
    padding-top: 0;
}

/* Review bar sits above the marketing nav */
.home-review-bar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: #0a1929;
    color: #e8eef5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.home-review-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.45rem 0;
}

.home-review-bar__label {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.home-review-bar__label span {
    font-weight: 400;
    color: rgba(232, 238, 245, 0.7);
}

.home-review-bar__switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.28rem 0.8rem;
    min-height: 36px;
}

.home-review-bar__switch:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

body.home-desk .navbar.navbar-marketing {
    position: sticky;
    top: 44px;
    z-index: 1030;
}

body.home-desk .navbar-marketing .tagline {
    display: none;
}

/* Hero */
.hd-hero {
    background: linear-gradient(145deg, #1a3352 0%, #0d2137 48%, #0a1929 100%);
    color: #fff;
    padding: 3.2rem 0 3.4rem;
    position: relative;
}

.hd-hero .hero-grain {
    z-index: 1;
}

.hd-hero__inner,
.hd-hero__stage,
.hd-hero__billboard {
    position: relative;
    z-index: 2;
}

.hd-hero__inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hd-hero__stage {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.6rem;
    align-items: center;
    text-align: left;
}

.hd-hero__billboard {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hd-hero h1 {
    font-size: clamp(1.7rem, 4.4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem;
}

.hd-hero__who {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e0c06a;
    margin-bottom: 0.7rem;
}

.hd-hero__sub {
    font-size: clamp(1rem, 2.1vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    max-width: 38rem;
    margin: 0 0 1.25rem;
}

.hd-hero__billboard .hd-hero__sub {
    margin-left: auto;
    margin-right: auto;
}

.hd-hero__hint {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.62);
}

.hd-hero__proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.65rem;
}

.hd-hero__proof--center {
    margin: 0 auto 1.35rem;
    max-width: 28rem;
}

.hd-hero--pass .hd-search {
    text-align: left;
}

.hd-hero__trust {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
}

.hd-stats {
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin: 0 0 1.5rem;
}

.hd-stat-value {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: 1.45rem;
    font-weight: 600;
}

.hd-stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.hd-search {
    background: #fff;
    color: #1a1d24;
    border-radius: var(--hd-radius);
    padding: 1.15rem 1.15rem 1.05rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    text-align: left;
}

.hd-search__row {
    display: flex;
    gap: 0.5rem;
}

.hd-search__row .search-input-wrapper {
    flex: 1;
    min-width: 0;
}

.hd-search .search-address-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--hd-line);
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-size: 1rem;
}

.hd-search .search-submit-btn {
    min-height: 48px;
    min-width: 10.4rem;
    border: 0;
    border-radius: 12px;
    background: var(--hd-navy);
    color: #fff;
    font-weight: 600;
    padding: 0 1.1rem;
}

.hd-search .search-submit-btn:disabled {
    opacity: 0.7;
}

.hd-search__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    margin-top: 0.85rem;
    font-size: 0.9rem;
}

.hd-search__links a,
.hd-search__links button {
    background: none;
    border: 0;
    padding: 0;
    color: var(--hd-navy);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hd-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.hd-chip {
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f0f3f7;
    color: #334155;
}

.hd-hero__cta {
    margin-top: 1.15rem;
}

.hd-hero__cta a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.hd-refine {
    margin-top: 0.75rem;
    padding: 0.85rem;
    background: #eef4f8;
    border-radius: 12px;
    border: 1px solid #d5e4ef;
}

/* Sections */
.hd-section {
    padding: 4.2rem 0;
}

.hd-section--ink {
    background: var(--hd-ink);
    color: #fff;
}

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

.hd-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hd-gold);
    margin-bottom: 0.45rem;
}

.hd-section--ink .hd-kicker {
    color: #e0c06a;
}

.hd-section h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--hd-ink);
}

.hd-section--ink h2 {
    color: #fff;
}

.hd-lede {
    color: var(--hd-muted);
    max-width: 40rem;
    margin-bottom: 1.6rem;
}

.hd-section--ink .hd-lede {
    color: rgba(255, 255, 255, 0.72);
}

.hd-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* Product frames */
.hd-frame {
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: var(--hd-radius);
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.hd-frame__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.9rem;
    background: var(--hd-ink);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 500;
}

.hd-frame__body {
    padding: 1rem 1.05rem 1.1rem;
}

.hd-mao__addr {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.hd-mao__meta {
    font-size: 0.78rem;
    color: var(--hd-muted);
    margin-bottom: 0.85rem;
}

.hd-mao__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-top: 1px solid var(--hd-line);
    font-size: 0.9rem;
}

.hd-mao__num {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--hd-ink);
}

.hd-mao__num--gold {
    color: var(--hd-gold);
}

.hd-mao__pay {
    padding: 0.55rem 0 0.75rem;
}

.hd-mao__pay span {
    display: block;
    font-size: 0.78rem;
    color: var(--hd-muted);
    margin-bottom: 0.15rem;
}

.hd-mao__giant {
    display: block;
    font-size: clamp(2rem, 5vw, 2.85rem);
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--hd-gold);
}

.hd-hero .hd-frame--hero {
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    transform: rotate(-0.6deg);
}

.hd-hero--pass .hd-frame--hero {
    transform: none;
}

.hd-mao__num--down {
    color: #b42318;
}

.hd-grade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 6px;
    background: #1e3a5f;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.hd-pass {
    margin-top: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: #f8f4ee;
    border-radius: 10px;
    font-size: 0.82rem;
}

.hd-pass strong {
    color: #7a4e00;
}

.hd-pass--stamp {
    background: #7a4e00;
    color: #fff;
    justify-content: center;
    font-size: 0.95rem;
}

.hd-pass--stamp strong {
    color: #fff;
}

.hd-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 1.15rem;
}

.hd-steps li {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: 1rem;
    align-items: start;
}

.hd-steps__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--hd-navy);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.hd-steps h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--hd-ink);
}

.hd-steps p {
    margin: 0;
    color: var(--hd-muted);
    max-width: 36rem;
}

.hd-strategies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.hd-strat {
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 12px;
    padding: 1rem 0.95rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.hd-strat:hover {
    border-color: rgba(30, 58, 95, 0.35);
    color: inherit;
}

.hd-strat h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.hd-strat p {
    font-size: 0.85rem;
    color: var(--hd-muted);
    margin: 0;
}

/* Journey */
.hd-journey__stops {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    margin-bottom: 1.1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.hd-journey__stop {
    flex: 1 0 auto;
    min-width: 7.2rem;
    min-height: 44px;
    border: 1px solid var(--hd-line);
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--hd-navy);
    scroll-snap-align: start;
}

.hd-journey__stop.is-active {
    background: var(--hd-navy);
    color: #fff;
    border-color: var(--hd-navy);
}

.hd-journey__panel {
    display: none;
}

.hd-journey__panel.is-active {
    display: block;
}

.hd-you-ace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.hd-you-ace div {
    background: #f4f6f8;
    border-radius: 10px;
    padding: 0.75rem 0.8rem;
    font-size: 0.85rem;
}

.hd-you-ace strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    color: var(--hd-navy);
}

/* After-offer panels */
.hd-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.hd-panel {
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 12px;
    padding: 1rem 1rem 1.05rem;
}

.hd-panel h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.hd-panel p {
    font-size: 0.88rem;
    color: var(--hd-muted);
    margin: 0;
}

.hd-wait {
    display: inline-block;
    margin-top: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #eef4ff;
    color: var(--hd-navy);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.hd-thread {
    font-size: 0.82rem;
}

.hd-thread__msg {
    background: #f4f6f8;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.45rem;
}

.hd-thread__msg--ace {
    background: #eef3f8;
}

.hd-lanes {
    display: grid;
    gap: 0.4rem;
    font-size: 0.82rem;
}

.hd-lane {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--hd-line);
}

.hd-gate {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.hd-gate span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hd-gate__go {
    background: var(--hd-navy);
    color: #fff;
}

.hd-gate__ask {
    background: #fff;
    border: 1px solid var(--hd-line);
    color: var(--hd-ink);
}

/* Contrast */
.hd-contrast {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.hd-contrast--two {
    grid-template-columns: 1fr 1fr;
}

.hd-contrast__col p {
    margin: 0;
    color: var(--hd-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.hd-contrast__col {
    border: 1px solid var(--hd-line);
    border-radius: 12px;
    padding: 1.1rem 1rem;
    background: #fff;
}

.hd-contrast__col--us {
    border-color: var(--hd-navy);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08);
}

.hd-contrast__col h3 {
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.hd-contrast__col ul {
    margin: 0;
    padding-left: 1.05rem;
    color: var(--hd-muted);
    font-size: 0.88rem;
}

/* Pricing reuse + footnote */
.hd-price-note {
    text-align: center;
    color: var(--hd-muted);
    font-size: 0.88rem;
    max-width: 40rem;
    margin: 1.25rem auto 0;
}

.hd-price-note strong {
    color: var(--hd-ink);
}

/* Proof */
.hd-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.hd-quote {
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 12px;
    padding: 1.15rem 1.1rem;
}

.hd-quote p {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.hd-quote cite {
    font-style: normal;
    font-size: 0.82rem;
    color: var(--hd-muted);
}

.hd-heatmap {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.hd-heatmap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Guides compact */
.hd-guide-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.hd-guide-list a {
    color: var(--hd-navy);
    text-decoration: none;
    font-size: 0.9rem;
}

.hd-guide-list a:hover {
    text-decoration: underline;
}

.hd-personas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hd-personas a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hd-line);
    color: var(--hd-ink);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

/* About compact */
.hd-founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.hd-founder {
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 12px;
    padding: 1rem;
}

.hd-founder h3 {
    font-size: 1rem;
}

.hd-founder p {
    font-size: 0.85rem;
    color: var(--hd-muted);
    margin: 0;
}

/* Footer already styled by home.css */
body.home-desk footer {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .hd-hero {
        padding: 2rem 0 2.4rem;
    }

    .hd-hero__stage {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .hd-hero .hd-frame--hero {
        transform: none;
    }

    .hd-search__row {
        flex-direction: column;
    }

    .hd-search .search-submit-btn {
        width: 100%;
    }

    .hd-split,
    .hd-strategies,
    .hd-you-ace,
    .hd-panels,
    .hd-contrast,
    .hd-contrast--two,
    .hd-quotes,
    .hd-guide-list,
    .hd-founders {
        grid-template-columns: 1fr;
    }

    .hd-section {
        padding: 3rem 0;
    }

    .hd-journey__stop {
        min-width: 8.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hd-hero {
        background: linear-gradient(145deg, #1e3a5f 0%, #0d2137 100%);
    }

    .hd-hero .hd-frame--hero {
        transform: none;
    }
}
