/* bestlink - landing page */

/* clip (not hidden) so the rotated marquee and the blurred hero blobs
   never widen the page while position: sticky keeps working on the nav */
.page {
    overflow-x: clip;
}

/* ---------- navigation ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 0;
    background: rgba(255, 253, 248, .78);
    backdrop-filter: blur(14px);
    transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(22, 21, 26, .06);
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.045em;
}

.logo__mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--violet), var(--pink) 60%, var(--peach));
    display: grid;
    place-items: center;
    color: var(--white);
    box-shadow: 0 6px 16px rgba(91, 77, 245, .32);
}

.nav__links {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
}

.nav__links a:hover {
    color: var(--ink);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    padding: 74px 0 96px;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    z-index: -1;
}

.hero::before {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle, rgba(91, 77, 245, .55), transparent 68%);
}

.hero::after {
    width: 560px;
    height: 560px;
    top: 40px;
    right: -200px;
    background: radial-gradient(circle, rgba(255, 107, 176, .5), transparent 68%);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 56px;
    align-items: center;
}

.hero h1 {
    margin: 20px 0 0;
    font-size: clamp(42px, 5.6vw, 70px);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--violet), var(--pink) 55%, var(--peach));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    margin-top: 20px;
    max-width: 30ch;
    font-size: 19px;
    color: var(--ink-soft);
}

.claim {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 8px 8px 8px 20px;
    max-width: 470px;
    background: var(--white);
    border: var(--border-hard);
    border-radius: var(--radius-pill);
    box-shadow: 0 12px 0 rgba(22, 21, 26, .08);
}

.claim__prefix {
    font-weight: 700;
    color: var(--ink-mute);
}

.claim input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    background: transparent;
    font-weight: 700;
    letter-spacing: -.01em;
}

.claim input:focus {
    outline: none;
}

.claim input::placeholder {
    color: var(--ink-mute);
    font-weight: 500;
}

.claim__hint {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-mute);
    min-height: 21px;
}

.claim__hint.is-error {
    color: #d63b6a;
}

.proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
}

.proof__avatars {
    display: flex;
}

.proof__avatars span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid var(--paper);
    margin-left: -12px;
    box-shadow: var(--shadow-s);
}

.proof__avatars span:first-child {
    margin-left: 0;
}

.proof p {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

.proof strong {
    color: var(--ink);
}

/* ---------- phone mockup ---------- */

.phone {
    position: relative;
    width: 320px;
    margin-inline: auto;
    padding: 12px;
    background: var(--ink);
    border-radius: 46px;
    box-shadow: var(--shadow-l);
    transform: rotate(2deg);
}

.phone::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    border-radius: var(--radius-pill);
    background: #000;
    z-index: 2;
}

.phone__screen {
    padding: 42px 18px 24px;
    border-radius: 36px;
    background: linear-gradient(170deg, #fff0f6, #f0ecff 55%, #e9fbff);
    min-height: 560px;
}

.phone__avatar {
    width: 78px;
    height: 78px;
    margin: 8px auto 0;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-m);
}

.phone__name {
    margin-top: 12px;
    text-align: center;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.phone__bio {
    margin-top: 4px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
}

.phone__links {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.phone__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--white);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-s);
    font-size: 14px;
    font-weight: 700;
}

.phone__link i {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--paper-2);
    flex: none;
}

.phone__link:nth-child(1) i {
    background: linear-gradient(135deg, var(--pink), var(--peach));
}

.phone__link:nth-child(2) i {
    background: linear-gradient(135deg, var(--violet), var(--sky));
}

.phone__link:nth-child(3) i {
    background: linear-gradient(135deg, var(--mint), var(--lime));
}

.phone__link:nth-child(4) i {
    background: linear-gradient(135deg, var(--sky), var(--violet));
}

.sticker {
    position: absolute;
    padding: 9px 15px;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: var(--border-hard);
    font-size: 13px;
    font-weight: 800;
    box-shadow: var(--shadow-m);
    animation: float 5s ease-in-out infinite;
}

.sticker--tl {
    top: 54px;
    left: -46px;
    background: var(--lime);
    transform: rotate(-8deg);
}

.sticker--br {
    bottom: 84px;
    right: -42px;
    background: var(--pink);
    color: var(--white);
    transform: rotate(7deg);
    animation-delay: 1.4s;
}

@keyframes float {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

/* ---------- marquee band ---------- */

.marquee {
    padding: 16px 0;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
    transform: rotate(-1.2deg);
    margin: 10px 0 90px;
}

.marquee__track {
    display: flex;
    gap: 44px;
    width: max-content;
    animation: slide 26s linear infinite;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: 44px;
}

.marquee__track span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- generic section ---------- */

.section {
    padding: 0 0 100px;
}

.section__head {
    max-width: 620px;
    margin-bottom: 44px;
}

.section__head h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 48px);
}

.section__head p {
    margin-top: 16px;
    font-size: 17px;
    color: var(--ink-soft);
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--violet);
}

/* ---------- features ---------- */

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

.feature {
    padding: 28px 24px 30px;
    border-radius: var(--radius-l);
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}

.feature__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.feature:nth-child(1) .feature__icon {
    background: var(--violet-soft);
    color: var(--violet);
}

.feature:nth-child(2) .feature__icon {
    background: var(--pink-soft);
    color: #d63b6a;
}

.feature:nth-child(3) .feature__icon {
    background: #eafff2;
    color: #14a06c;
}

.feature:nth-child(4) .feature__icon {
    background: #fff3e2;
    color: #c9741a;
}

.feature h3 {
    font-size: 19px;
}

.feature p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--ink-soft);
}

/* ---------- steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--radius-l);
    background: var(--paper-2);
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
    font-weight: 800;
}

.step h3 {
    font-size: 18px;
}

.step p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--ink-soft);
}

/* ---------- cta ---------- */

.cta {
    position: relative;
    overflow: hidden;
    padding: 66px 54px;
    border-radius: var(--radius-xl);
    background: linear-gradient(125deg, #5b4df5, #a24df5 45%, #ff6bb0);
    color: var(--white);
    text-align: center;
    margin-bottom: 90px;
}

.cta::after {
    content: "";
    position: absolute;
    inset: auto -10% -60% -10%;
    height: 260px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, .35), transparent 62%);
}

.cta h2 {
    position: relative;
    font-size: clamp(30px, 4.4vw, 52px);
}

.cta p {
    position: relative;
    margin: 16px auto 30px;
    max-width: 52ch;
    font-size: 17px;
    opacity: .92;
}

.cta .btn {
    position: relative;
}

/* ---------- footer ---------- */

.footer {
    padding: 40px 0 56px;
    border-top: 1px solid var(--line);
}

.footer__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__inner p {
    font-size: 14px;
    color: var(--ink-mute);
}

.footer nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 48px;
    }

    .hero__lead {
        max-width: 46ch;
    }

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

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

    .nav__links {
        display: none;
    }
}

@media (max-width: 620px) {
    .hero {
        padding-top: 48px;
    }

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

    .claim {
        padding: 6px 6px 6px 14px;
    }

    .claim__prefix {
        font-size: 13px;
    }

    .claim input {
        height: 42px;
        font-size: 15px;
    }

    .claim .btn {
        height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }

    .sticker--tl {
        left: -14px;
    }

    .sticker--br {
        right: -10px;
    }

    .cta {
        padding: 48px 24px;
    }
}
