@font-face{
  font-family:'ChakraPetch';
  src:url('../fonts/ChakraPetch-Medium.ttf') format('truetype');
  font-display:swap;
}


:root {
    --plum: #2e1f4a;
    --lav: #ece7f7;
    --violet: #6b4fb3;
    --sand: #faf8f4;
    --ink: #1c1630;
    --mute: #5d5675;
    --line: #d9d2ea;
    --offer-green: #44d62c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font: 16px/1.65 'ChakraPetch', sans-serif;
    color: var(--ink);
    background: var(--sand);
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin: 0 0 .5em;
    color: var(--plum);
}

a {
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
}

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
        text-align: center;    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ==============================
   GREEN ANNOUNCEMENT HEADER
================================ */

.offers {
    background: var(--offer-green);
    color: #000;
    font-size: 15px;
    line-height: 1.3;
    padding: 10px 2vw;
}

.offers a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
}


.offer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
        align-items: end;
    gap: 20px;
}

.offer-main a {
    font-size: 18px !important;
}

.offer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 15px;
}

.offer-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

.offer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
}

.offer-main {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.offer-code {
    font-weight: 600;
}

.offer-shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.offer-shipping svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ==============================
   LOGO HEADER
================================ */

header .hwrap {
        display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 48px;
    background: #ece7f7;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.btn {
    display: inline-block;
    background: #ed6817;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 999px;
    text-align: center;
    transition: background .15s;
}


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

.hero {
    background: var(--lav);
    padding: 72px 0 80px;
}



.hero .wrap {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: 1.1fr .9fr;
}

.hero h1 {
    font-size: clamp(34px, 6vw, 56px);
    max-width: 14ch;
}

.hero p {
    font-size: 18px;
    color: var(--mute);
    max-width: 54ch;
    margin: 0 0 28px;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #d9d2ea;
}

.hero img {
    aspect-ratio: 4/5;
    border-radius: 24px;
        height: 60vh;
}

/* ==============================
   IDEAS SECTION
================================ */

section {
    padding: 64px 0;
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
}

.lead {
    color: var(--mute);
    max-width: 60ch;
    margin-bottom: 36px;
}

.ideas {
    display: grid;
    gap: 40px;
}

.idea {
    display: grid;
    gap: 32px;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

.idea:nth-child(even) img {
    order: 2;
}

.idea img {
    aspect-ratio: 4/3;
    border-radius: 20px;
        height: 60vh;
}

.idea h3 {
    font-size: 26px;
}

.idea p {
    color: var(--mute);
    margin: 0;
    max-width: 52ch;
}

/* ==============================
   ABOUT SECTION
================================ */

.about {
    background: var(--plum);
    color: #fff;
    text-align: center;
}

.about h2 {
    color: #fff;
}

.about p {
    color: #cfc6e8;
    max-width: 62ch;
    margin: 0 auto 26px;
}

.about .btn {
    background: #fff;
    color: var(--plum);
}

.about .btn:hover {
    background: var(--lav);
}

/* ==============================
   FOOTER
================================ */

footer {
    padding: 40px 0;
    font-size: 13px;
    color: #fff;
        background: #323232;
}

footer nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

footer nav a{
        text-decoration: none;
}

.disc {
    max-width: 90ch;
}

/* ==============================
   MOBILE STICKY BUTTON
================================ */

.sticky {
    display: none;
}

/* ==============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .offers {
        padding: 10px 15px;
    }

    .offer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .offer-center {
        order: -1;
    }

    .offer-main {
        font-size: 20px;
    }

    .offer-item {
        font-size: 14px;
    }

    .offer-shipping {
        font-size: 14px;
    }

}

@media (max-width: 768px) {
    
    header .hwrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

    .hero {
        padding: 40px 0 48px;
    }

    .hero .wrap,
    .idea {
        grid-template-columns: 1fr;
    }

    .hero img {
        aspect-ratio: 16/10;
        order: -1;
    }

    .hero h1 {
        max-width: none;
    }

    .idea:nth-child(even) img {
        order: 0;
    }

    section {
        padding: 48px 0;
    }

    .sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 10;
    }

    .sticky .btn {
        display: block;
    }
    
    footer nav {
    justify-content: center;
}

}

@media (max-width: 480px) {

    .offers {
        padding: 12px 10px;
        font-size: 12px;
    }

    .offer-inner {
        gap: 10px;
    }

    .offer-main {
        font-size: 17px;
    }

    .offer-shipping {
        font-size: 11px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .offer-shipping svg {
        width: 17px;
        height: 17px;
    }

    .offer-item {
        font-size: 12px;
        gap: 7px;
    }

    .offer-item svg {
        width: 17px;
        height: 17px;
    }

}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}