* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff4f7;
    color: #2b2226;
}

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hero {
    max-width: 560px;
    text-align: center;
    position: relative;
}

.hero-designs {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

.hero-design {
    position: absolute;
    width: 150px;
    opacity: 0;
    filter: sepia(0.25);
    animation: design-appear 9.0s ease-in-out infinite;
}

.hero-design-one {
    top: -95px;
    right: -5px;
    animation-delay: -1.8s;
}

.hero-design-two {
    top: 42%;
    left: -35px;
    width: 165px;
    animation-delay: 0.5s;
}

.hero-design-three {
    bottom: -165px;
    right: 110px;
    width: 130px;
    animation-delay: 4.5s;
}

.hero > *:not(.hero-designs) {
    position: relative;
    z-index: 1;
}

@keyframes design-appear {
    0%, 18%, 100% {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }

    24%, 58% {
        opacity: 0.22;
        transform: translateY(0) scale(1);
    }

    72% {
        opacity: 0;
        transform: translateY(-8px) scale(1.02);
    }
}

.eyebrow {
    margin-bottom: 16px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d58aa6;
}

h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
    line-height: 1.1;
}

h1 span {
    display: block;
    margin-top: 6px;
    font-size: 0.55em;
    font-weight: 600;
}

.hero-text {
    margin: 0 0 32px 0;
    font-size: 18px;
    line-height: 1.6;
    color: #6f5f65;
}

.cta-button {
    display: inline-block;
    padding: 16px 28px;
    border: 2px solid #b9916d;
    border-radius: 999px;
    color: #b9916d;
    background: rgba(199, 162, 124, 0.10);
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.4px;
}

.cta-button:hover {
    background: rgba(199, 162, 124, 0.08);
    color: #9f7655;
    border-color: #9f7655;
}

.soft-invite {
    margin-bottom: 0;
    color: #7f6b72;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

/* MOBILE VIEW — styles for phones and small screens */
@media (max-width: 768px) {
    main {
        align-items: flex-start;
        padding: 130px 20px 20px;
    }

    .hero {
        max-width: 100%;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 13px;
    }

    h1 {
        margin-bottom: 18px;
        font-size: 36px;
        line-height: 1.05;
    }

    .hero-text {
        margin-bottom: 28px;
        font-size: 17px;
        line-height: 1.55;
    }

    .cta-button {
        margin-top: 48px;
        width: 100%;
        max-width: 340px;
        padding: 16px 22px;
        font-size: 16px;
        text-align: center;
    }
}
