:root {
    --home-ink: #111214;
    --home-muted: #65686e;
    --home-line: #dfe1e4;
    --home-surface: #f3f4f4;
    --home-blue: #286aa6;
    --home-white: #fff;
}

body.home-page {
    background: var(--home-white);
    color: var(--home-ink);
}

.home-page main {
    background: var(--home-white);
}

.home-page .site-navbar {
    min-height: 82px;
    padding: 0;
    border-bottom: 1px solid #eceeef;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: none !important;
    backdrop-filter: none;
}

.home-page .site-navbar > .container {
    max-width: 1512px;
    padding-right: 48px;
    padding-left: 48px;
}

.home-page .site-navbar .navbar-brand {
    gap: 10px;
    color: var(--home-ink);
    font-size: 17px;
    font-weight: 650 !important;
    letter-spacing: 0;
}

.home-page .site-navbar .brand-mark-public {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    color: var(--home-ink);
    box-shadow: none;
}

.home-page .site-navbar .navbar-collapse > .navbar-nav:first-child {
    margin-left: clamp(24px, 4vw, 76px);
}

.home-page .site-navbar .nav-link {
    padding: 29px 13px 27px !important;
    color: #60646b;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
}

.home-page .site-navbar .nav-link::after {
    right: 13px;
    bottom: 20px;
    left: 13px;
    height: 1px;
    background: var(--home-ink);
}

.home-page .site-navbar .nav-link:hover,
.home-page .site-navbar .nav-link:focus,
.home-page .site-navbar .nav-link.active {
    color: var(--home-ink);
}

.home-page .site-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.home-page .site-navbar .navbar-text {
    color: #666a70 !important;
    font-size: 13px;
}

.home-page .site-navbar .nav-action {
    min-width: 68px;
    padding: 8px 17px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none;
}

.home-page .site-navbar .btn-outline-light.nav-action {
    border-color: #c9ccd0;
    background: transparent;
    color: var(--home-ink);
}

.home-page .site-navbar .btn-outline-light.nav-action:hover,
.home-page .site-navbar .btn-outline-light.nav-action:focus {
    border-color: var(--home-ink);
    background: #f4f4f4;
    color: var(--home-ink);
}

.home-page .site-navbar .btn-light.nav-action {
    border-color: var(--home-ink);
    background: var(--home-ink);
    color: var(--home-white);
}

.home-page .site-navbar .btn-light.nav-action:hover,
.home-page .site-navbar .btn-light.nav-action:focus {
    border-color: #2e3034;
    background: #2e3034;
    color: var(--home-white);
}

.home-flash-stack {
    position: fixed;
    z-index: 1080;
    top: 94px;
    left: 50%;
    width: min(760px, calc(100% - 64px));
    transform: translateX(-50%);
}

.home-container {
    width: min(1440px, calc(100% - 96px));
    margin: 0 auto;
}

.home-hero {
    position: relative;
    min-height: calc(100vh - 82px);
    height: calc(100vh - 82px);
    overflow: hidden;
    background: #e8e8e6;
}

.home-hero .carousel-inner,
.home-hero .carousel-item {
    height: 100%;
}

.home-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 42%, rgba(244, 244, 241, 0.15) 62%, rgba(244, 244, 241, 0.76) 100%);
    pointer-events: none;
}

.home-hero-content {
    position: absolute;
    z-index: 2;
    right: clamp(56px, 5.2vw, 100px);
    bottom: 66px;
    left: clamp(56px, 5.2vw, 100px);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 72px;
}

.home-hero-copy {
    width: min(640px, 56vw);
}

.home-hero-copy h1,
.home-hero-copy h2 {
    max-width: 640px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -2.4px;
}

.home-hero-copy p {
    max-width: 560px;
    margin: 20px 0 0;
    color: #34363a;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.7;
}

.home-hero-cta,
.home-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 26px;
    border: 1px solid var(--home-ink);
    border-radius: 999px;
    background: var(--home-ink);
    color: var(--home-white);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-hero-cta:hover,
.home-hero-cta:focus {
    border-color: #303238;
    background: #303238;
    color: var(--home-white);
    transform: translateY(-2px);
}

.home-hero-cta span {
    font-size: 18px;
    line-height: 1;
}

.home-hero .home-hero-arrow {
    top: 50%;
    bottom: auto;
    width: 46px;
    height: 46px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 50%;
    background: rgba(17, 18, 20, 0.52);
    opacity: 1;
    transform: translateY(-50%);
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.home-hero .carousel-control-prev {
    left: 26px;
}

.home-hero .carousel-control-next {
    right: 26px;
}

.home-hero .home-hero-arrow:hover,
.home-hero .home-hero-arrow:focus-visible {
    border-color: rgba(255, 255, 255, 0.74);
    background: rgba(17, 18, 20, 0.88);
    transform: translateY(-50%) scale(1.04);
}

.home-page #homeHeroCarousel .home-hero-arrow:focus-visible {
    outline: 2px solid #69a9df;
    outline-offset: 4px;
}

.home-page #homeHeroCarousel .home-hero-chevron {
    width: 13px;
    height: 13px;
    border: solid rgba(255, 255, 255, 0.94);
    border-width: 0 2px 2px 0;
    background: none;
    filter: none;
}

.home-page #homeHeroCarousel .carousel-control-prev .home-hero-chevron {
    transform: rotate(135deg);
    margin-left: 4px;
}

.home-page #homeHeroCarousel .carousel-control-next .home-hero-chevron {
    transform: rotate(-45deg);
    margin-right: 4px;
}

.home-hero-indicators {
    z-index: 3;
    bottom: 22px;
    gap: 10px;
    margin-bottom: 0;
}

.home-page #homeHeroCarousel .home-hero-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--home-ink);
    opacity: 0.35;
    transform-origin: center;
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.home-page #homeHeroCarousel .home-hero-indicators [data-bs-target]:hover,
.home-page #homeHeroCarousel .home-hero-indicators [data-bs-target]:focus-visible {
    opacity: 0.7;
    transform: scale(1.25);
}

.home-page #homeHeroCarousel .home-hero-indicators .active {
    opacity: 0.9;
    transform: scaleX(3.4);
}

.home-page #homeHeroCarousel .home-hero-indicators .active:hover,
.home-page #homeHeroCarousel .home-hero-indicators .active:focus-visible {
    opacity: 1;
    transform: scaleX(3.4) scaleY(1.15);
}

.home-section {
    padding: 112px 0;
}

.home-products {
    background: var(--home-white);
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.home-eyebrow {
    margin: 0 0 16px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.home-section-heading h2,
.home-final-cta h2 {
    max-width: 780px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(34px, 3.1vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -1.6px;
}

.home-text-link {
    flex: 0 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid #9b9ea3;
    color: var(--home-ink);
    font-size: 14px;
    font-weight: 500;
}

.home-text-link:hover,
.home-text-link:focus {
    border-color: var(--home-blue);
    color: var(--home-blue);
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-product-card {
    min-width: 0;
}

.home-product-media {
    display: grid;
    overflow: hidden;
    aspect-ratio: 1.08 / 1;
    place-items: center;
    background: var(--home-surface);
}

.home-product-media img {
    width: 83%;
    height: 83%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-product-media:hover img,
.home-product-media:focus img {
    transform: scale(1.035);
}

.home-product-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 2px 0;
}

.home-product-info p {
    margin: 0 0 7px;
    color: var(--home-muted);
    font-size: 12px;
}

.home-product-info h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
}

.home-product-info h3 a {
    color: var(--home-ink);
}

.home-product-info h3 a:hover,
.home-product-info h3 a:focus {
    color: var(--home-blue);
}

.home-product-price {
    flex: 0 0 auto;
    padding-top: 22px;
    color: #33363a;
    font-size: 14px;
}

.home-empty {
    grid-column: 1 / -1;
    color: var(--home-muted);
}

.home-scenes {
    background: var(--home-white);
}

.home-page #scenes.home-scenes {
    padding-top: 112px !important;
    padding-bottom: 112px !important;
    border-top: 0;
    background: var(--home-white) !important;
    background-image: none !important;
    background-size: auto !important;
}

.home-section-heading-light h2 {
    color: var(--home-ink);
}

.home-scenes .home-eyebrow {
    color: var(--home-muted);
}

.home-heading-description {
    max-width: 390px;
    margin: 0 0 4px;
    color: #55585d;
    font-size: 15px;
    line-height: 1.7;
}

.home-scene-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: repeat(2, 306px);
    gap: 18px;
}

.home-scene {
    position: relative;
    display: block;
    overflow: hidden;
    min-width: 0;
    border: 1px solid #e6e8eb;
    background: var(--home-surface);
}

.home-scene-large {
    grid-row: 1 / 3;
}

.home-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-scene-large img {
    object-position: 57% center;
}

.home-scene:nth-child(2) img,
.home-scene:nth-child(3) img {
    object-position: 58% center;
}

.home-scene-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 102px;
    background: rgba(255, 255, 255, 0.9);
}

.home-scene-copy {
    position: absolute;
    right: 30px;
    bottom: 28px;
    left: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    color: var(--home-ink);
}

.home-scene-copy strong {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.home-scene-copy small {
    color: #5f6268;
    font-size: 12px;
}

.home-scene:hover img,
.home-scene:focus img {
    transform: scale(1.025);
}

.home-process {
    background: var(--home-white);
    padding-top: 86px;
    padding-bottom: 76px;
}

.home-process-heading {
    margin-bottom: 34px;
}

.home-process-list {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    border-top: 1px solid #cfd1d4;
    border-bottom: 1px solid #e1e2e4;
}

.home-process-list li {
    min-height: 154px;
    padding: 24px 24px 18px 0;
    border-right: 1px solid #d7d9db;
}

.home-process-list li + li {
    padding-left: 24px;
}

.home-process-list li:last-child {
    border-right: 0;
}

.home-process-list > li > span {
    display: block;
    margin-bottom: 30px;
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.home-process-list h3 {
    margin: 0 0 9px;
    color: var(--home-ink);
    font-size: 20px;
    font-weight: 500;
}

.home-process-list p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

.home-final-cta {
    padding: 68px 0;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #eceeef;
    background: #f7f7f6;
    color: var(--home-ink);
}

.home-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

.home-final-cta .home-eyebrow {
    color: var(--home-muted);
}

.home-final-cta h2 {
    color: var(--home-ink);
}

.home-final-cta h2 {
    max-width: 620px;
    font-size: clamp(26px, 2.1vw, 36px);
    line-height: 1.18;
    letter-spacing: -1px;
}

.home-final-copy > p:last-child {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.7;
}

.home-final-actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
    margin-right: 124px;
}

.home-button-light {
    border-color: var(--home-ink);
    background: var(--home-ink);
    color: var(--home-white);
}

.home-button-light:hover,
.home-button-light:focus {
    border-color: #303238;
    background: #303238;
    color: var(--home-white);
    transform: translateY(-2px);
}

.home-button-outline {
    border-color: #b6bac0;
    background: transparent;
    color: var(--home-ink);
}

.home-button-outline:hover,
.home-button-outline:focus {
    border-color: var(--home-ink);
    background: #f3f4f4;
    color: var(--home-ink);
    transform: translateY(-2px);
}

.home-page .site-footer {
    margin-top: 0 !important;
}

.home-page :is(a, button):focus-visible {
    outline: 3px solid #69a9df;
    outline-offset: 3px;
}

/* Override the higher-specificity legacy .site-body link color on homepage controls. */
.home-page .home-hero-cta,
.home-page .home-hero-cta:hover,
.home-page .home-hero-cta:focus,
.home-page .home-button-light,
.home-page .home-button-light:hover,
.home-page .home-button-light:focus {
    color: var(--home-white);
}

/* Keep the persistent AI guide from covering the hero's bottom-right action. */
.home-page .home-hero-cta {
    margin-right: 140px;
}

.home-page .home-text-link,
.home-page .home-button-outline,
.home-page .home-button-outline:hover,
.home-page .home-button-outline:focus {
    color: var(--home-ink);
}

@media (max-width: 1500px) {
    .home-container {
        width: calc(100% - 72px);
    }

    .home-page .site-navbar > .container {
        padding-right: 36px;
        padding-left: 36px;
    }

    .home-hero-content {
        right: 70px;
        bottom: 58px;
        left: 70px;
    }

    .home-hero-copy h1,
    .home-hero-copy h2 {
        font-size: clamp(38px, 4vw, 56px);
    }

    .home-section {
        padding: 88px 0;
    }

    .home-process {
        padding-top: 74px;
        padding-bottom: 64px;
    }

    .home-page #scenes.home-scenes {
        padding-top: 88px !important;
        padding-bottom: 88px !important;
    }

    .home-scene-grid {
        grid-template-rows: repeat(2, 250px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }

    .home-hero .carousel-item {
        transition: none !important;
    }
}
