@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/Poppins-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/Poppins-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("assets/Poppins-ExtraBold.ttf") format("truetype");
}

@font-face {
    font-family: "Material Symbols Rounded";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("assets/MaterialSymbolsRounded.ttf") format("truetype");
}

:root {
    color-scheme: light;
    --red: #d22e2a;
    --red-strong: #ef463f;
    --ink: #211917;
    --muted: #6e625c;
    --cream: #fff8f0;
    --line: rgba(210, 46, 42, 0.16);
    --shadow: 0 22px 54px rgba(82, 48, 34, 0.16);
    --max: 1260px;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: #fffaf5;
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(20px, 5vw, 64px);
    background: rgba(255, 250, 245, 0.82);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
    font-size: clamp(24px, 2.3vw, 34px);
    font-weight: 800;
    line-height: 1;
}

.brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 30px);
    color: #332926;
    font-size: 14px;
    font-weight: 800;
}

.nav-links a:not(.nav-action):hover,
.nav-links a:not(.nav-action):focus-visible {
    color: var(--red);
}

.nav-action,
.primary-link,
.secondary-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 800;
}

.nav-action,
.primary-link {
    padding: 0 18px;
    background: linear-gradient(135deg, var(--red-strong), var(--red));
    color: #fff8f8;
    box-shadow: 0 14px 30px rgba(210, 46, 42, 0.22);
}

.secondary-link {
    padding: 0 18px;
    border: 1px solid rgba(210, 46, 42, 0.22);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
}

.hero {
    position: relative;
    display: grid;
    min-height: clamp(620px, 56.25vw, 860px);
    overflow: hidden;
    align-items: center;
    padding: 126px clamp(20px, 5vw, 70px) 58px;
    background: #f6efe8;
}

.hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(23, 29, 27, 0.78) 0%, rgba(35, 40, 36, 0.54) 38%, rgba(255, 250, 245, 0.08) 100%),
        linear-gradient(180deg, rgba(255, 250, 245, 0.04) 0%, rgba(255, 250, 245, 0.14) 56%, rgba(255, 250, 245, 0.74) 100%),
        radial-gradient(circle at 16% 70%, rgba(239, 70, 63, 0.2), rgba(239, 70, 63, 0) 34%);
    content: "";
}

.hero::after {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 250, 245, 0), #fffaf5);
    content: "";
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.04) contrast(1.03) brightness(0.9);
    transform: scale(1.01);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    animation: heroIn 560ms ease both;
}

.hero h1 {
    margin: 0;
    color: #fff8f5;
    font-size: clamp(54px, 9vw, 132px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.88;
    text-shadow: 0 18px 42px rgba(38, 11, 9, 0.36);
}

.hero-lede {
    width: min(500px, 100%);
    margin: 26px 0 0;
    color: rgba(255, 248, 245, 0.9);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    text-shadow: 0 10px 28px rgba(38, 11, 9, 0.4);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero .secondary-link {
    border-color: rgba(255, 248, 245, 0.42);
    background: rgba(255, 248, 245, 0.16);
    color: #fff8f5;
    backdrop-filter: blur(12px);
}

.product-section,
.bulk-section,
.feature-section,
.app-section {
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 88px clamp(20px, 4vw, 42px);
}

.section-copy {
    display: grid;
    max-width: 760px;
    gap: 14px;
}

.section-copy h2,
.feature-copy h2,
.app-section h2 {
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
    font-weight: 800;
    line-height: 0.98;
}

.section-copy p,
.feature-copy p,
.app-section p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.product-shelf {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px 20px;
    margin-top: 48px;
}

.product-tile {
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    outline-offset: 8px;
}

.product-tile img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 180ms ease;
}

.product-tile:hover img,
.product-tile:focus-visible img {
    transform: translateY(-5px);
}

.product-tile:focus-visible {
    outline: 2px solid rgba(210, 46, 42, 0.62);
}

.product-tile div {
    display: grid;
    gap: 6px;
    margin-top: 18px;
}

.product-tile span {
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-tile h3,
.product-tile p {
    margin: 0;
}

.product-tile h3 {
    min-height: 48px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.22;
}

.product-tile p {
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
}

.bulk-section {
    padding-top: 44px;
}

.bulk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 42px;
}

.bulk-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(190px, 0.86fr) minmax(0, 1fr);
    min-height: 340px;
    gap: clamp(18px, 3vw, 34px);
    overflow: hidden;
    align-items: center;
    border: 1px solid rgba(210, 46, 42, 0.18);
    border-radius: 8px;
    padding: clamp(22px, 3vw, 34px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.88)),
        #fffdf9;
    box-shadow: 0 20px 48px rgba(82, 48, 34, 0.1);
    outline-offset: 8px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.bulk-card::before {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 10%, rgba(239, 70, 63, 0.12), rgba(239, 70, 63, 0) 44%);
    content: "";
    opacity: 0;
    transition: opacity 180ms ease;
}

.bulk-card:hover,
.bulk-card:focus-visible {
    border-color: rgba(210, 46, 42, 0.32);
    box-shadow: 0 24px 56px rgba(82, 48, 34, 0.14);
    transform: translateY(-4px);
}

.bulk-card:hover::before,
.bulk-card:focus-visible::before {
    opacity: 1;
}

.bulk-card:focus-visible {
    outline: 2px solid rgba(210, 46, 42, 0.62);
}

.sale-ribbon {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    border-radius: 999px;
    padding: 8px 12px;
    background: linear-gradient(135deg, var(--red-strong), var(--red));
    color: #fff8f8;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(210, 46, 42, 0.2);
}

.bulk-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 270px;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 180ms ease;
}

.bulk-card:hover img,
.bulk-card:focus-visible img {
    transform: translateY(-5px) scale(1.02);
}

.bulk-card-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
}

.bulk-card-copy > span {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bulk-card-copy h3,
.bulk-card-copy p {
    margin: 0;
}

.bulk-card-copy h3 {
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.04;
}

.bulk-card-copy p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.bulk-price {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: baseline;
    margin-top: 6px;
}

.bulk-price strong {
    color: var(--red);
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1;
}

.bulk-price s {
    color: rgba(110, 98, 92, 0.72);
    font-size: 16px;
    font-weight: 800;
}

.feature-section {
    display: grid;
    padding-top: 72px;
}

.feature-copy {
    display: grid;
    gap: 42px;
    margin: 0 auto;
}

.feature-intro {
    display: grid;
    max-width: 980px;
    gap: 18px;
    margin: 0 auto;
    text-align: center;
}

.feature-intro p {
    max-width: 920px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    position: relative;
    display: grid;
    min-height: 276px;
    align-content: start;
    gap: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 240, 0.86)),
        #fffdf9;
    box-shadow: 0 16px 38px rgba(82, 48, 34, 0.08);
    outline-offset: 8px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.feature-card::before {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 24px 20px, rgba(239, 70, 63, 0.12), rgba(239, 70, 63, 0) 42%);
    content: "";
    opacity: 0;
    transition: opacity 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
    border-color: rgba(210, 46, 42, 0.28);
    box-shadow: 0 20px 46px rgba(82, 48, 34, 0.12);
    transform: translateY(-4px);
}

.feature-card:hover::before,
.feature-card:focus-visible::before {
    opacity: 1;
}

.feature-card:focus-visible {
    outline: 2px solid rgba(210, 46, 42, 0.62);
}

.material-symbols-rounded {
    font-family: "Material Symbols Rounded";
    font-size: 1em;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.feature-icon {
    position: relative;
    display: inline-grid;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-items: center;
    border-radius: 50%;
    background: rgba(210, 46, 42, 0.1);
    color: var(--red);
    font-size: 25px;
    transition:
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.feature-card:hover .feature-icon,
.feature-card:focus-visible .feature-icon {
    background: var(--red);
    color: #fff8f8;
    transform: scale(1.04);
}

.feature-card-title {
    position: relative;
    margin-top: 10px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 800;
    line-height: 1.18;
}

.feature-card-copy {
    position: relative;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.app-section {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding-top: 44px;
}

.app-art {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 8px;
    background: #fffaf5;
    object-fit: contain;
    object-position: center;
    box-shadow: var(--shadow);
}

.app-section .primary-link {
    width: max-content;
    margin-top: 26px;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes productIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1180px) {
    .product-shelf {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: 820px;
        align-items: start;
        padding-top: 120px;
    }

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

    .bulk-card,
    .feature-section,
    .app-section {
        grid-template-columns: 1fr;
    }

    .bulk-card {
        min-height: auto;
    }

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

    .feature-card {
        min-height: 238px;
    }

}

@media (max-width: 620px) {
    .site-header {
        min-height: 68px;
        padding: 14px 18px;
    }

    .brand {
        font-size: 23px;
    }

    .nav-links a:not(.nav-action) {
        display: none;
    }

    .nav-action {
        min-height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .hero {
        min-height: 760px;
        padding: 112px 18px 38px;
    }

    .hero h1 {
        font-size: clamp(48px, 18vw, 74px);
    }

    .hero-lede {
        font-size: 16px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: min(100%, 320px);
    }

    .product-section,
    .bulk-section,
    .feature-section,
    .app-section {
        padding: 62px 18px;
    }

    .product-shelf {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .product-tile img {
        height: 230px;
    }

    .product-tile h3 {
        min-height: auto;
    }

    .bulk-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bulk-card {
        padding: 24px;
    }

    .bulk-card img {
        height: 240px;
        margin-top: 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-copy {
        gap: 30px;
    }

    .feature-intro {
        text-align: left;
    }

    .feature-card {
        min-height: auto;
        padding: 24px;
    }

    .app-art {
        aspect-ratio: 2 / 1;
    }
}
