/* (v.2.0.54 / 261006 / Scope the reference Home layout and responsive product scene to Home only) */
.mpx-home-page {
    --home-green: #005a3c;
    --home-ink: #193f32;
    --home-muted: #66766d;
    --home-line: #dce3df;
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    background: #f6f8f5;
    color: var(--home-ink);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
}
.mpx-home-page *, .mpx-home-page *::before, .mpx-home-page *::after { box-sizing: border-box; }
/* (v.2.0.54 / 261006 / Fill tall screens with the overview rather than an empty area above the shared footer) */
.mpx-home-page > .content { width: 100%; max-width: none; margin: 0; padding: 0; flex: 1 0 auto; display: flex; flex-direction: column; }
.mpx-home-page > .footer { font-family: Arial, sans-serif; color: #000; }
.mpx-home-page a { text-decoration: none; }
.mpx-home-page a:focus-visible, .mpx-home-page button:focus-visible { outline: 3px solid #8caa58; outline-offset: 4px; }
.home-width { width: calc(100% - 96px); max-width: 1600px; margin-inline: auto; }
/* (v.2.0.54 / 261007 / Codex / Remove the decorative top stripe on desktop and mobile) */
.home-header { border-top: 0; border-bottom: 1px solid var(--home-line); background: #fff; }
.home-header-inner { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.home-brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--home-green); }
/* (v.2.0.54 / 261007 / Codex / Keep MPX2 in the former wordmark slot with no second title or divider gap) */
.home-wordmark { color: #090d0a; font-size: 33px; font-weight: 850; line-height: 1; }
.home-nav { display: flex; align-self: stretch; align-items: stretch; gap: 26px; }
/* (v.2.0.56 / 261013 / Codex / Slightly enlarge primary navigation consistently with workspace pages) */
.home-nav > a { display: inline-flex; align-items: center; gap: 7px; color: #68746e; font-size: 14px; font-weight: 600; border-bottom: 3px solid transparent; padding-top: 3px; white-space: nowrap; }
.home-nav > a[aria-current="page"] { border-bottom-color: var(--home-green); color: var(--home-green); }
.home-company-link img { opacity: .5; }
.home-account { display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-left: auto; min-width: 0; font-size: 12px; }
.home-welcome { min-width: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6f7873; line-height: 1.5; }
.home-profile { color: var(--home-green); font-weight: 600; padding-block: 10px; }
.home-account form { margin: 0; flex: 0 0 auto; }
.home-account-button { display: inline-flex; align-items: center; justify-content: center; min-width: 77px; min-height: 36px; padding: 8px 16px; border: 1px solid #b8c4bd; border-radius: 4px; color: var(--home-green); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.home-account-button:hover { background: #f0f5f1; border-color: var(--home-green); }
.home-profile:hover, .home-company-link:hover { text-decoration: underline; }
/* (v.2.0.54 / 261008 / Codex / Match the wide workspace logo and navigation positions without changing Home content width) */
@media screen and (min-width: 1800px) {
    .home-header-inner {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        padding-right: max(48px, calc((100% - 1600px) / 2));
    }
    .home-brand { width: var(--mpx-sidebar-width); justify-content: center; }
}
.home-main { flex: 1; display: flex; flex-direction: column; padding-top: 42px; padding-bottom: 24px; }
/* (v.2.0.54 / 261007 / Codex / Enlarge the paired products while retaining equal display areas and centered copy) */
.home-overview { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); align-items: center; gap: 32px; min-height: 365px; margin-bottom: 34px; }
.home-intro { min-width: 0; }
.home-intro h1 { font-size: 38px; font-weight: 750; line-height: 1.17; margin: 0 0 24px; overflow-wrap: break-word; }
.home-intro h1 > span { color: #90a857; }
.home-lead { font-size: 15px; line-height: 1.65; color: #4b6459; margin: 0 0 12px; }
.home-scope { font-size: 12px; font-weight: 650; color: var(--home-green); margin: 0 0 22px; }
.home-workspace-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 208px; min-height: 50px; max-width: 100%; padding: 14px 22px; border-radius: 5px; background: var(--home-green); color: #fff; font-size: 14px; font-weight: 650; line-height: 1.4; box-shadow: 0 3px 8px #005a3c12; }
.home-workspace-link:hover { background: #064a35; }
.home-workspace-link img { flex: 0 0 20px; filter: invert(1); }
.home-products { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: center; }
.home-product { margin: 0; min-width: 0; }
/* (v.2.0.54 / 261007 / Codex / Center complete product images without cropping or stretching them) */
.home-product-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1000 / 656; background: transparent; }
.home-product-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* (v.2.0.54 / 261007 / Codex / Preserve BPHE white-background blending beside the transparent GPHE cutout) */
.home-product:nth-child(2) .home-product-image img { mix-blend-mode: multiply; }
/* (v.2.0.54 / 261008 / Codex / Compress only the paired BPHE display by ten percent and align its visible base with GPHE) */
/* (v.2.0.54 / 261012 / Codex / Reduce the existing BPHE display proportionally to align both visible edges with GPHE) */
/* (v.2.0.56 / 261013 / Codex / Apply the existing desktop BPHE size and alignment at mobile widths too) */
.home-product:nth-child(2) .home-product-image img {
    transform: translateY(.45%) scale(.822, .7398);
    transform-origin: center;
}
.home-product figcaption { display: flex; align-items: center; flex-direction: column; gap: 5px; border-top: 1px solid #e5eae5; min-height: 80px; padding-top: 17px; text-align: center; }
/* (v.2.0.54 / 261007 / Codex / Increase product names and descriptions without changing calculator typography) */
.home-product figcaption strong { font-size: 24px; line-height: 1.25; font-weight: 700; }
.home-product figcaption span { font-size: 14px; line-height: 1.5; color: #6f7b70; }
.home-highlights { width: 100%; border-block: 1px solid var(--home-line); background: #fff; }
.home-highlights-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 24px 0; margin-block: 0; }
.home-highlights li { display: flex; align-items: center; gap: 14px; padding: 0 22px; border-left: 1px solid #e5e9e6; min-width: 0; }
.home-highlights li:first-child { border-left: 0; padding-left: 0; }
.home-highlights li:last-child { padding-right: 0; }
.home-highlights li > img { flex: 0 0 26px; opacity: .65; }
.home-highlights li > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.home-highlights strong { font-size: 12px; line-height: 1.4; font-weight: 600; }
.home-highlights span { font-size: 10px; line-height: 1.5; color: #7e867d; }
/* (v.2.0.54 / 261006 / Codex / Keep the desktop Home appearance while adding mobile-only copy and navigation) */
.mpx-home-page .home-mobile-copy, .home-menu-toggle { display: none; }
.home-account-links { display: contents; }
.home-highlights strong > span { font: inherit; color: inherit; }
/* (v.2.0.58 / 261019 / Codex / Leave the established desktop Home and header untouched) */
.home-welcome-screen, .home-welcome-footer { display: none; }

/* Keep type sizes stable; change layout instead of shrinking text at intermediate widths. */
@media (max-width: 1100px) {
    .home-width { width: calc(100% - 48px); }
    .home-header-inner { gap: 24px; }
    .home-account { gap: 14px; }
    .home-welcome { max-width: 145px; }
    .home-highlights li { gap: 10px; padding-inline: 14px; }
}
/* (v.2.0.54 / 261006 / Codex / Match the shared workspace navigation breakpoint without rearranging Home content) */
@media (max-width: 1200px) {
    .home-header-inner { flex-wrap: wrap; gap: 0 22px; padding-top: 18px; }
    .home-account { flex: 1 1 260px; padding-block: 6px; }
    .home-nav { order: 3; flex-basis: 100%; min-height: 45px; margin-top: 8px; }
}
@media (max-width: 900px) {
    .home-main { padding-top: 30px; }
    .home-products { margin-top: 22px; gap: 24px; }
    .home-overview { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; min-height: 0; margin-bottom: 28px; }
    .home-highlights-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
    .home-highlights li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* (v.2.0.54 / 261006 / Codex / Stack the supplied mobile product layout without altering desktop or calculation screens) */
@media (max-width: 768px) {
    .mpx-home-page { background: #fff; }
    .mpx-home-page .home-desktop-copy { display: none; }
    .mpx-home-page .home-mobile-copy { display: inline; }
    .home-width { width: calc(100% - 32px); }
    .home-header { border-top: 0; }
    .home-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; min-height: 64px; gap: 0 8px; padding-block: 10px; }
    .home-brand { grid-column: 1; grid-row: 1; min-width: 0; justify-self: start; }
    .home-wordmark { font-size: 24px; }
    .home-account { display: contents; }
    .home-account .mpx-demo-badge { grid-column: 2; grid-row: 1; margin: 0; padding: 5px 8px; border: 0; border-radius: 5px; background: #e5efe7; color: #005343; font-size: 11px; line-height: 18px; }
    .home-menu-ready .home-menu-toggle { display: inline-flex; }
    .home-menu-toggle { grid-column: 3; grid-row: 1; align-items: center; justify-content: center; width: 40px; height: 44px; padding: 7px; border: 0; border-radius: 4px; color: #46505a; background: transparent; cursor: pointer; }
    .home-menu-toggle:hover { background: #eef3f0; }
    .home-menu-toggle img { width: 26px; height: 26px; opacity: .75; }
    .home-menu-close-icon, .home-menu-toggle[aria-expanded="true"] .home-menu-open-icon { display: none; }
    .home-menu-toggle[aria-expanded="true"] .home-menu-close-icon { display: block; }
    .home-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); order: initial; gap: 4px 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--home-line); }
    /* (v.2.0.56 / 261013 / Codex / Keep the shared navigation text size in the mobile disclosure) */
    .home-nav > a { min-height: 44px; padding: 8px; border-bottom: 0; border-radius: 4px; white-space: normal; }
    .home-nav > a[aria-current="page"] { background: #edf3ee; }
    .home-nav .mpx-company-link { display: inline-flex; grid-column: 1 / -1; }
    .home-account-links { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-block: 10px 4px; border-top: 1px solid var(--home-line); }
    .home-welcome { flex: 1 1 100%; max-width: 100%; }
    .home-profile { min-height: 44px; display: inline-flex; align-items: center; }
    .home-account-button { min-height: 44px; }
    .home-header.home-menu-ready:not(.home-menu-open) .home-nav,
    .home-header.home-menu-ready:not(.home-menu-open) .home-account-links { display: none; }
    /* (v.2.0.57 / 261016 / Codex / Keep only the wordmark and Demo badge on mobile guest Home) */
    .home-header.guest-compact-header .home-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
    .home-header.guest-compact-header .home-menu-toggle,
    .home-header.guest-compact-header .home-nav,
    .home-header.guest-compact-header .home-account-links { display: none; }
    .home-main { padding: 0; flex: 0 0 auto; }
    .home-overview { width: 100%; max-width: none; margin-bottom: 0; }
    .home-intro { padding: 24px 20px; background: #f6f8f5; }
    .home-intro h1 { font-size: 30px; line-height: 1.15; margin-bottom: 10px; color: #17202a; font-weight: 750; }
    .home-intro h1 > span { display: none; }
    .home-lead { font-size: 16px; line-height: 1.5; color: #535c68; margin-bottom: 12px; }
    .home-scope { font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
    .home-workspace-link { display: flex; width: 100%; min-width: 0; min-height: 48px; justify-content: center; gap: 18px; padding: 12px 16px; font-size: 16px; box-shadow: none; }
    .home-products { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; padding: 0 20px; background: #fff; }
    .home-product { padding-block: 14px; border-bottom: 1px solid var(--home-line); }
    /* (v.2.0.54 / 261007 / Codex / Retain identical GPHE and BPHE image dimensions on phones as well) */
    .home-product-image { aspect-ratio: 1000 / 656; }
    .home-product figcaption { min-height: 0; padding-top: 8px; border: 0; align-items: flex-start; gap: 2px; text-align: left; }
    .home-product figcaption strong { font-size: 28px; line-height: 1.2; color: #005343; }
    .home-product figcaption span { font-size: 15px; line-height: 1.5; color: #535c68; }
    .home-highlights { border: 0; }
    .home-highlights-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 20px 16px; gap: 16px 0; }
    .home-highlights li { flex-direction: column; align-items: center; padding-inline: 8px; gap: 9px; text-align: center; border-left: 1px solid var(--home-line); }
    .home-highlights li:first-child { padding-left: 0; border-left: 0; }
    .home-highlights li:nth-child(3) { padding-left: 8px; border-left: 1px solid var(--home-line); }
    .home-highlights li:last-child { padding-right: 0; }
    .home-highlights li > img { opacity: .85; }
    .home-highlights li > div { gap: 5px; }
    .home-highlights strong { font-size: 11px; line-height: 1.4; color: #17202a; }
    .home-highlights span { font-size: 11px; line-height: 1.4; color: #67717c; }
    .home-highlights strong > span { font: inherit; color: inherit; }
    .home-highlights .home-highlight-ahri { order: 4; grid-column: 1 / -1; flex-direction: row; justify-self: center; border: 0; padding: 7px 14px; border-radius: 20px; background: #edf4ef; }
    .home-highlight-ahri > img { width: 18px; height: 18px; flex-basis: 18px; }
    .home-highlight-ahri strong { color: #005343; font-size: 11px; }
}

/* (v.2.0.58 / 261019 / Codex / Apply the approved centered welcome concept only to mobile Home) */
@media screen and (max-width: 768px) {
    /* (v.2.0.58 / 261019 / Codex / Hide only the mobile Home header without reserving its space) */
    .mpx-home-page > .home-header { display: none; }
    .mpx-home-page .home-main, .mpx-home-page > .footer { display: none; }
    .home-welcome-screen { display: flex; justify-content: center; padding: 28px 20px 24px; }
    .home-welcome-content { width: 100%; max-width: 440px; min-width: 0; text-align: center; }
    .home-welcome-eyebrow { margin: 0 0 8px; font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--home-green); }
    .home-welcome-title { margin: 0; font-size: 80px; font-weight: 900; line-height: 1.05; color: #090d0a; }
    .home-welcome-description { margin: 12px 0 0; font-size: 21px; line-height: 1.35; font-weight: 600; color: #29332e; }
    /* Keep the complete original product ranges visible without cropping or repainting their details. */
    .home-welcome-products { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 24px 0 22px; }
    .home-welcome-products img { display: block; height: auto; max-width: 100%; object-fit: contain; }
    .home-welcome-gphe { width: 100%; aspect-ratio: 1806 / 871; }
    .home-welcome-bphe { width: 76%; aspect-ratio: 1000 / 656; }
    .home-welcome-scope { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 0 0 22px; font-size: 15px; line-height: 1.4; font-weight: 600; color: #58615c; }
    .home-welcome-scope span { color: #a5ada8; font-weight: 400; }
    .home-welcome-action { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 50px; padding: 12px 18px; border-radius: 6px; background: var(--home-green); color: #fff; font-size: 17px; line-height: 1.4; font-weight: 650; }
    .home-welcome-action:hover { background: #064a35; }
    .home-welcome-footer { display: block; padding: 0 20px max(24px, env(safe-area-inset-bottom, 0px)); text-align: center; color: #818982; font-size: 13px; line-height: 1.5; }
}
/* (v.2.0.58 / 261019 / Codex / Keep fixed type sizes legible on narrow phones without horizontal overflow) */
@media screen and (max-width: 360px) {
    .home-welcome-title { font-size: 72px; }
    .home-welcome-description { font-size: 19px; }
    .home-welcome-scope { gap: 12px; }
}
