/* =========================================================
   SMARTER APPLIANCES
   NEW HOMEPAGE

   Converted from the Vite / TypeScript homepage.
   ========================================================= */

:root {
    --home-obsidian: oklch(0.168 0.020 220);
    --home-teal-deep: oklch(0.3 0.0401 213.75);
    --home-mint: oklch(0.778 0.1454 169.75);
    --home-mint-dark: oklch(0.6775 0.1257 170.29);
    --home-paper: oklch(0.972 0.006 80);
    --home-warm: oklch(0.92 0.009 80);

    --home-border-5:
        color-mix(in oklab, var(--home-obsidian) 5%, transparent);

    --home-border-10:
        color-mix(in oklab, var(--home-obsidian) 10%, transparent);

    --home-text-50:
        color-mix(in oklab, var(--home-obsidian) 50%, transparent);

    --home-text-60:
        color-mix(in oklab, var(--home-obsidian) 60%, transparent);

    --home-text-70:
        color-mix(in oklab, var(--home-obsidian) 70%, transparent);

    --home-max-width: 1280px;
}


/* =========================================================
   GENERAL
   ========================================================= */

.home-page {
    width: 100%;
    overflow-x: hidden;

    background: var(--home-paper);
    color: var(--home-obsidian);

    font-family: "DM Sans", sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    font-family: "Space Grotesk", sans-serif;
}


/* Reveal animation from original project */

@keyframes homeReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-reveal {
    animation: homeReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}


/* =========================================================
   HERO
   ========================================================= */

.home-hero {
    position: relative;

    display: grid;
    grid-template-columns: 1fr;

    min-height: 85vh;

    background: var(--home-paper);

    border-bottom: 1px solid var(--home-border-5);
}


/* Left side */

.home-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 24px;
}


.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    width: max-content;

    margin-bottom: 24px;

    color: var(--home-mint-dark);

    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;

    line-height: 1.25;

    text-transform: uppercase;
    letter-spacing: 0.1em;
}


.home-hero__eyebrow-dot {
    display: block;

    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 9999px;

    background: var(--home-mint);

    animation: homePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


@keyframes homePulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}


.home-hero__title {
    max-width: 780px;

    margin: 0 0 32px;

    color: var(--home-obsidian);

    font-family: "Space Grotesk", sans-serif;
    font-size: 48px;
    font-weight: 700;

    line-height: 0.9;

    letter-spacing: -0.05em;

    text-wrap: balance;
}


.home-hero__description {
    max-width: 45ch;

    margin: 0 0 40px;

    color: var(--home-text-70);

    font-size: 18px;
    font-weight: 400;

    line-height: 1.625;
}


.home-hero__actions {
    display: flex;
    flex-direction: column;

    gap: 16px;
}


.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 16px 32px;

    border-radius: 2px;

    background: var(--home-obsidian);

    color: var(--home-paper);

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: 0.025em;

    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.home-hero__button:hover {
    background: var(--home-teal-deep);
    color: var(--home-paper);
}


/* Right image */

.home-hero__visual {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    background: var(--home-warm);
}


.home-hero__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   STATS
   ========================================================= */

.home-stats {
    padding: 64px 24px;

    background: var(--home-warm);

    border-bottom: 1px solid var(--home-border-5);
}


.home-stats__inner {
    display: grid;

    grid-template-columns: 1fr;

    gap: 48px;

    width: 100%;
    max-width: var(--home-max-width);

    margin: 0 auto;
}


.home-stat__value {
    margin-bottom: 8px;

    color: var(--home-mint-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: 48px;
    font-weight: 700;

    line-height: 1;
}


.home-stat__label {
    color: var(--home-text-50);

    font-size: 12px;
    font-weight: 400;

    line-height: 1.25;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


/* =========================================================
   SERVICE PILLARS
   ========================================================= */

.home-pillars {
    padding: 96px 24px;

    background: var(--home-paper);
}


.home-pillars__grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 1px;

    width: 100%;
    max-width: var(--home-max-width);

    margin: 0 auto;

    padding: 1px;

    background: var(--home-border-10);
}


.home-pillar {
    padding: 40px;

    background: var(--home-paper);
}


.home-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-bottom: 32px;

    background:
        color-mix(
            in oklab,
            var(--home-mint) 10%,
            transparent
        );
}


.home-pillar__mark {
    width: 16px;
    height: 16px;
}


.home-pillar__mark--solid {
    background: var(--home-mint);
}


.home-pillar__mark--outline {
    border: 2px solid var(--home-mint);
}


.home-pillar__mark--line {
    height: 4px;

    background: var(--home-mint);
}


.home-pillar__title {
    margin: 0 0 16px;

    color: var(--home-obsidian);

    font-size: 24px;
    font-weight: 700;

    line-height: 1.25;
}


.home-pillar__body {
    margin: 0;

    color: var(--home-text-60);

    font-size: 16px;

    line-height: 1.625;
}


/* =========================================================
   OPERATIONS
   ========================================================= */

.home-operations {
    padding: 128px 24px;

    overflow: hidden;

    background: var(--home-warm);
}


.home-operations__inner {
    width: 100%;
    max-width: var(--home-max-width);

    margin: 0 auto;
}


.home-operations__grid {
    display: grid;

    grid-template-columns: 1fr;

    align-items: start;

    gap: 64px;
}


/* Operations copy */

.home-operations__title {
    margin: 0 0 32px;

    color: var(--home-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 36px;
    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -0.025em;
}


.home-operations__list {
    display: flex;
    flex-direction: column;

    gap: 32px;
}


.home-operation-item {
    display: flex;

    gap: 16px;
}


.home-operation-item__number {
    flex-shrink: 0;

    color: var(--home-mint-dark);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 14px;
    line-height: 1.5;
}


.home-operation-item__title {
    margin: 0 0 8px;

    color: var(--home-obsidian);

    font-family: "DM Sans", sans-serif;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.5;
}


.home-operation-item__body {
    margin: 0;

    color: var(--home-text-60);

    font-size: 14px;

    line-height: 1.5;
}


/* Dashboard */

.home-platform {
    position: relative;
}


.home-platform__image {
    display: block;

    width: 100%;

    border: 1px solid var(--home-border-10);
    border-radius: 2px;

    object-fit: cover;
}


.home-platform__content {
    margin-top: 40px;
}


.home-platform__title {
    margin: 0 0 16px;

    color: var(--home-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.25;
}


.home-platform__description {
    margin: 0 0 32px;

    color: var(--home-text-60);

    font-size: 16px;

    line-height: 1.625;
}


.home-platform__features {
    display: grid;

    grid-template-columns: 1fr;

    gap: 32px;
}


.home-platform-feature__number {
    margin-bottom: 8px;

    color: var(--home-mint-dark);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 12px;
}


.home-platform-feature__title {
    margin: 0 0 4px;

    color: var(--home-obsidian);

    font-size: 16px;
    font-weight: 700;
}


.home-platform-feature__body {
    margin: 0;

    color: var(--home-text-60);

    font-size: 14px;

    line-height: 1.625;
}


/* =========================================================
   CTA
   ========================================================= */

.home-cta {
    padding: 128px 24px;

    background: var(--home-paper);
}


.home-cta__inner {
    max-width: 768px;

    margin: 0 auto;

    text-align: center;
}


.home-cta__title {
    margin: 0 0 32px;

    color: var(--home-obsidian);

    font-family: "Space Grotesk", sans-serif;

    font-size: 48px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.05em;
}


.home-cta__text {
    margin: 0 0 48px;

    color: var(--home-text-60);

    font-size: 18px;

    line-height: 1.5;

    text-wrap: pretty;
}


.home-cta__button {
    display: inline-block;

    padding: 20px 48px;

    border-radius: 2px;

    background: var(--home-mint);

    color: var(--home-obsidian);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-decoration: none;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.home-cta__button:hover {
    color: var(--home-obsidian);

    box-shadow:
        0 0 30px
        color-mix(
            in oklab,
            var(--home-mint) 45%,
            transparent
        );
}


/* =========================================================
   MANUFACTURER PARTNERS
   ========================================================= */

.home-partners {
    padding: 64px 24px;

    background: var(--home-warm);

    border-top: 1px solid var(--home-border-10);
    border-bottom: 1px solid var(--home-border-10);
}


.home-partners__inner {
    width: 100%;
    max-width: var(--home-max-width);

    margin: 0 auto;
}


.home-partners__heading {
    margin: 0 0 40px;

    color: var(--home-text-60);

    font-size: 14px;
    font-weight: 700;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}


.home-partners__grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    align-items: center;

    gap: 16px;
}


.home-partner {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 32px;
}


.home-partner img {
    width: auto;
    max-width: 100%;

    height: 100%;

    object-fit: contain;

    opacity: 0.7;

    transition: opacity 0.2s ease;
}


.home-partner img:hover {
    opacity: 1;
}


/* =========================================================
   RESPONSIVE - MD
   Tailwind md breakpoint = 768px
   ========================================================= */

@media (min-width: 768px) {

    .home-stats__inner {
        grid-template-columns: repeat(3, 1fr);
    }


    .home-pillars__grid {
        grid-template-columns: repeat(3, 1fr);
    }


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


    .home-partners__grid {
        gap: 32px;
    }


    .home-partner {
        height: 40px;
    }

}


/* =========================================================
   RESPONSIVE - LG
   Tailwind lg breakpoint = 1024px
   ========================================================= */

@media (min-width: 1024px) {

    .home-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .home-hero__content {
        padding-left: 64px;
        padding-right: 64px;
    }


    .home-hero__title {
        font-size: 72px;
    }


    .home-operations__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .home-hero {
        min-height: auto;
    }


    .home-hero__content {
        padding-top: 72px;
        padding-bottom: 72px;
    }


    .home-hero__title {
        font-size: 44px;
    }


    .home-hero__description {
        font-size: 17px;
    }


    .home-stats,
    .home-pillars,
    .home-operations,
    .home-cta,
    .home-partners {
        padding-left: 20px;
        padding-right: 20px;
    }


    .home-pillar {
        padding: 32px;
    }


    .home-operations {
        padding-top: 96px;
        padding-bottom: 96px;
    }


    .home-cta {
        padding-top: 96px;
        padding-bottom: 96px;
    }


    .home-cta__title {
        font-size: 40px;
    }


    .home-partners__grid {
        grid-template-columns: repeat(2, 1fr);

        row-gap: 32px;
    }

}