:root {
    --ink: #101112;
    --muted: #4c4d50;
    --glass: rgba(255, 255, 255, 0.28);
    --line: rgba(255, 255, 255, 0.72);
    --purple: #6f3fe7;
    --purple-dark: #44219d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #f9eeea;
    font-family: "Lalezar", Tahoma, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.page-shell {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 179, 114, 0.78), transparent 34%),
        radial-gradient(circle at 66% 26%, rgba(255, 198, 207, 0.8), transparent 38%),
        radial-gradient(circle at 91% 53%, rgba(192, 240, 255, 0.78), transparent 33%),
        linear-gradient(145deg, #fff2e7 0%, #fee7e7 48%, #eefaff 100%);
}

.page-shell::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: 0.16;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

.ambient {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.72;
    animation: drift 12s ease-in-out infinite alternate;
}

.ambient--peach {
    top: -14rem;
    left: -8rem;
    width: 38rem;
    height: 38rem;
    background: #ffa96f;
}

.ambient--pink {
    top: 8rem;
    right: 18%;
    width: 32rem;
    height: 32rem;
    background: #ffc3d1;
    animation-delay: -4s;
}

.ambient--blue {
    right: -10rem;
    bottom: -8rem;
    width: 38rem;
    height: 38rem;
    background: #b7edff;
    animation-delay: -8s;
}

.site-header {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: calc(100% - 3rem);
    max-width: 1540px;
    min-height: 92px;
    margin: 24px auto 0;
    padding: 14px 26px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 12px;
    font-size: clamp(1.5rem, 2vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -1.5px;
}

.brand__mark {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    font-size: 1.05rem;
    font-weight: 700;
}

.site-nav a {
    position: relative;
    padding: 12px 0;
}

.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--ink);
    transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

.header-cta {
    justify-self: end;
    padding: 16px 30px;
    border: 2px solid var(--ink);
    border-radius: 17px;
    font-size: 1rem;
    font-weight: 800;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
    color: white;
    background: var(--ink);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr);
    align-items: center;
    width: min(1420px, calc(100% - 5rem));
    min-height: calc(100svh - 154px);
    margin: 0 auto;
    gap: clamp(3rem, 7vw, 8rem);
}

.hero__content {
    z-index: 2;
    max-width: 790px;
    padding: 5rem 0 6rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    color: #38383a;
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.eyebrow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #55c800;
    box-shadow: 0 0 0 5px rgba(85, 200, 0, 0.12);
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(3.2rem, 6.2vw, 6.8rem);
    font-weight: 950;
    line-height: 1.18;
    letter-spacing: -5px;
}

.hero h1 span {
    white-space: nowrap;
}

.hero__content > p {
    max-width: 680px;
    margin: 30px 0 0;
    color: #29292b;
    font-size: clamp(1.25rem, 2.1vw, 2rem);
    line-height: 1.85;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
}

.bazaar-button {
    display: inline-flex;
    align-items: center;
    min-width: 320px;
    padding: 18px 26px;
    gap: 19px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 45px rgba(84, 54, 43, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease;
    backdrop-filter: blur(20px);
}

.bazaar-button:hover,
.bazaar-button:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(84, 54, 43, 0.18);
}

.bazaar-bag {
    position: relative;
    width: 66px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 8px 8px 24px 24px;
    background: linear-gradient(165deg, #68d000 0%, #33b600 48%, #008f74 100%);
    transform: perspective(80px) rotateX(-4deg);
}

.bazaar-bag__handle {
    position: absolute;
    top: -22px;
    left: 19px;
    width: 29px;
    height: 29px;
    border: 7px solid #5ac600;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
}

.bazaar-button__label {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.bazaar-button__label small {
    font-size: 1rem;
    font-weight: 800;
}

.bazaar-button__label strong {
    font-size: 2.6rem;
    font-weight: 950;
    letter-spacing: -3px;
}

.availability {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 30px;
    color: #434346;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero__features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__features span::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    content: "";
    background: currentColor;
}

.device-stage {
    position: relative;
    align-self: end;
    justify-self: center;
    width: min(100%, 500px);
    height: min(790px, calc(100svh - 150px));
    min-height: 620px;
    direction: ltr;
}

.device-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 92%;
    height: 70%;
    border-radius: 50%;
    background: rgba(105, 63, 231, 0.19);
    filter: blur(70px);
    transform: translateX(-50%);
}

.phone {
    position: absolute;
    top: 36px;
    left: 50%;
    width: min(410px, 88%);
    aspect-ratio: 863 / 1822;
    padding: 11px;
    border: 2px solid #3a3c3f;
    border-radius: 62px 62px 0 0;
    background: linear-gradient(110deg, #08090a, #303236 52%, #08090a);
    box-shadow:
        0 34px 70px rgba(22, 20, 24, 0.23),
        inset 0 0 0 2px #050505,
        inset 0 0 0 4px #53555a;
    transform: translateX(-50%);
}

.phone__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 4px solid #050505;
    border-radius: 50px 50px 0 0;
    background: #080b0d;
}

.phone__screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone__speaker {
    position: absolute;
    top: 19px;
    left: 50%;
    z-index: 3;
    width: 32%;
    height: 27px;
    border-radius: 999px;
    background: #020202;
    transform: translateX(-50%);
}

.phone__side {
    position: absolute;
    z-index: -1;
    width: 5px;
    border-radius: 3px;
    background: #24262a;
}

.phone__side--left-one {
    top: 155px;
    left: -5px;
    height: 55px;
}

.phone__side--left-two {
    top: 225px;
    left: -5px;
    height: 78px;
}

.phone__side--right {
    top: 220px;
    right: -5px;
    height: 96px;
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 16px 35px rgba(45, 41, 57, 0.12);
    font-size: 0.82rem;
    font-weight: 800;
    backdrop-filter: blur(16px);
}

.floating-card--top {
    top: 19%;
    right: -28px;
}

.floating-card--bottom {
    bottom: 16%;
    left: -30px;
}

.floating-card__icon {
    padding: 5px 7px;
    border-radius: 7px;
    color: white;
    background: #121315;
    font-size: 0.68rem;
    letter-spacing: 1px;
}

.spark {
    color: var(--purple);
    font-size: 1.3rem;
}

.site-footer {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    width: min(1420px, calc(100% - 5rem));
    margin: 0 auto;
    padding: 18px 0;
    color: rgba(17, 17, 17, 0.56);
    font-size: 0.78rem;
}

.site-footer div {
    display: flex;
    gap: 22px;
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-nav {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
        width: min(100% - 3rem, 1000px);
        gap: 2rem;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .bazaar-button {
        min-width: 285px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 760px) {
    .page-shell {
        overflow: clip;
    }

    .site-header {
        width: calc(100% - 1.5rem);
        min-height: 70px;
        margin-top: 12px;
        padding: 9px 14px;
        border-radius: 24px;
    }

    .brand {
        gap: 8px;
        font-size: 1.22rem;
    }

    .brand__mark {
        width: 36px;
        height: 36px;
    }

    .header-cta {
        padding: 11px 15px;
        border-width: 1.5px;
        border-radius: 13px;
        font-size: 0.78rem;
    }

    .hero {
        grid-template-columns: 1fr;
        width: calc(100% - 2rem);
        min-height: auto;
        gap: 0;
    }

    .hero__content {
        max-width: none;
        padding: 4rem 0 2.5rem;
        text-align: center;
    }

    .eyebrow {
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
        line-height: 1.25;
        letter-spacing: -3px;
    }

    .hero__content > p {
        margin-top: 20px;
        font-size: 1.15rem;
        line-height: 1.85;
    }

    .hero__actions {
        flex-direction: column;
        margin-top: 28px;
    }

    .bazaar-button {
        justify-content: center;
        width: min(100%, 330px);
        min-width: 0;
    }

    .hero__features {
        justify-content: center;
    }

    .device-stage {
        width: min(100%, 430px);
        height: 720px;
        min-height: 0;
    }

    .phone {
        top: 15px;
        width: min(350px, 88%);
    }

    .site-footer {
        position: relative;
        width: calc(100% - 2rem);
        padding: 24px 0;
    }
}

@media (max-width: 420px) {
    .hero__content {
        padding-top: 3rem;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .device-stage {
        height: 650px;
    }

    .phone {
        width: 310px;
        border-radius: 50px 50px 0 0;
    }

    .phone__screen {
        border-radius: 39px 39px 0 0;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .ambient {
        animation: none;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
