/* ==========================================================================
   Awayly Homepage
   Page-specific styles only
   ========================================================================== */


/* ==========================================================================
   Hero
   ========================================================================== */

.home-hero {
    position: relative;
    overflow: hidden;
}

.home-hero .hero-grid {
    position: relative;
    z-index: 2;
}

.home-hero .hero-copy {
    position: relative;
    z-index: 3;
}

.home-hero .hero-copy h1 {
    max-width: 720px;
}

.home-hero .hero-copy h1 span {
    display: block;
}

.home-hero .hero-lead {
    max-width: 700px;
}

.home-hero-price-line {
    margin: 18px 0 0;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.5;
}

.home-hero strong {
    color: var(--navy);
}


/* ==========================================================================
   Desktop hero product preview
   ========================================================================== */

.home-hero-product {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 35px 0 35px 28px;
}

.home-hero-product::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 520px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(37, 99, 235, .15) 0%,
            rgba(37, 99, 235, .06) 42%,
            transparent 70%);
    pointer-events: none;
}


/* ==========================================================================
   Hero product window
   ========================================================================== */

.home-hero-window {
    position: relative;
    width: min(100%, 650px);
    overflow: visible;
    border: 1px solid rgba(15, 42, 73, .13);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 30px 70px rgba(15, 42, 73, .16),
        0 8px 25px rgba(15, 42, 73, .06);
    transform: rotate(1deg);
}

.home-hero-window__top {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 16px;
    border-bottom: 1px solid #e6edf5;
    border-radius: 22px 22px 0 0;
    background: #f8fafc;
}

.home-hero-window__top i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d2dce8;
}

.home-hero-window__top span {
    margin-left: 8px;
    color: #8594a7;
    font-size: .62rem;
    font-weight: 750;
}

.home-hero-window__screen {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 21px 21px;
    background: #eef4fb;
}

.home-hero-window__screen img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================================
   Hero floating cards
   ========================================================================== */

.home-hero-float {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border: 1px solid rgba(15, 42, 73, .1);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(15, 42, 73, .13);
}

.home-hero-float__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: #eaf9f5;
    color: #0b927f;
    font-size: .92rem;
    font-weight: 900;
}

.home-hero-float__copy {
    min-width: 0;
}

.home-hero-float__copy strong {
    display: block;
    margin: 0 0 2px;
    color: var(--navy);
    font-size: .74rem;
    line-height: 1.2;
}

.home-hero-float__copy span {
    display: block;
    color: #78889b;
    font-size: .61rem;
    font-weight: 650;
    line-height: 1.35;
}

.home-hero-float--approved {
    top: 2%;
    right: -28px;
}

.home-hero-float--allowance {
    bottom: 10%;
    left: -42px;
}

.home-hero-float--allowance .home-hero-float__icon {
    background: #edf4ff;
    color: var(--blue);
}


/* ==========================================================================
   Hero price badge
   ========================================================================== */

.home-hero-price-card {
    position: absolute;
    z-index: 6;
    right: -16px;
    bottom: -28px;
    min-width: 170px;
    padding: 16px 18px;
    border-radius: 17px;
    background: var(--navy);
    box-shadow: 0 18px 40px rgba(11, 35, 66, .22);
}

.home-hero-price-card small {
    display: block;
    margin-bottom: 3px;
    color: #aebfd2;
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-hero-price-card strong {
    display: block;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.15;
}

.home-hero-price-card span {
    display: block;
    margin-top: 4px;
    color: #a8e8df;
    font-size: .62rem;
    font-weight: 750;
}


/* ==========================================================================
   Hero decorative background
   ========================================================================== */

.home-hero-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.home-hero-orb--one {
    top: 80px;
    right: 7%;
    width: 260px;
    height: 260px;
    background: rgba(80, 142, 255, .07);
    filter: blur(2px);
}

.home-hero-orb--two {
    right: 30%;
    bottom: 80px;
    width: 160px;
    height: 160px;
    background: rgba(95, 226, 211, .1);
    filter: blur(3px);
}


/* ==========================================================================
   Mobile hero visual
   ========================================================================== */

.hero-visual--mobile-only {
    display: none;
}


/* ==========================================================================
   Desktop hero layout
   ========================================================================== */

@media(min-width:901px) {

    .home-hero .hero-grid {
        display: grid;
        grid-template-columns:
            minmax(0, 1.04fr) minmax(430px, .96fr);
        gap: 55px;
        align-items: center;
    }

    .home-hero .hero-copy {
        max-width: 800px;
    }

    .home-hero .hero-copy h1 {
        max-width: 760px;
    }

    .home-hero .hero-lead {
        max-width: 690px;
    }

}

@media(min-width:901px) and (max-width:1200px) {

    .home-hero .hero-grid {
        grid-template-columns:
            minmax(0, 1fr) minmax(390px, .8fr);
        gap: 35px;
    }

    .home-hero-window {
        width: 100%;
    }

    .home-hero-float--approved {
        right: -10px;
    }

    .home-hero-float--allowance {
        left: -20px;
    }

    .home-hero-price-card {
        right: -5px;
    }

}


/* ==========================================================================
   Trust strip
   ========================================================================== */

.home-trust-strip {
    padding: 18px 0;
    background: #fff;
    border-top: 1px solid rgba(15, 42, 73, .06);
    border-bottom: 1px solid rgba(15, 42, 73, .08);
}

.home-trust-scroller {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e1e9f2;
    border-radius: 18px;
    background: #fff;
}

.home-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 18px 20px;
}

.home-trust-item+.home-trust-item {
    border-left: 1px solid #e6edf5;
}

.home-trust-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1ca7e8;
}

.home-trust-item div {
    min-width: 0;
}

.home-trust-item strong,
.home-trust-item div>span {
    display: block;
}

.home-trust-item strong {
    margin-bottom: 2px;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 850;
}

.home-trust-item div>span {
    color: #7b8ca1;
    font-size: .7rem;
    font-weight: 650;
    line-height: 1.35;
}


/* ==========================================================================
   Product image switching
   ========================================================================== */

.product-shot {
    display: block;
    width: 100%;
    height: auto;
}

.product-shot--mobile {
    display: none;
}


/* ==========================================================================
   Value cards
   ========================================================================== */

.home-value-cards .feature-card {
    display: flex;
    flex-direction: column;
}

.home-value-cards .feature-card p {
    flex: 1;
}

.home-value-cards .feature-card>a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    margin-top: 18px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 800;
}

.home-value-cards .feature-card>a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==========================================================================
   Spreadsheet comparison
   ========================================================================== */

.home-comparison-section {
    background: #f5f8fc;
}

.home-comparison-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 64px;
    align-items: center;
}

.home-comparison-copy p {
    max-width: 600px;
    margin: 0 0 25px;
    color: #66778d;
    line-height: 1.75;
}

.home-comparison-table {
    overflow: hidden;
    border: 1px solid #dce6f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(20, 44, 78, .07);
}

.home-comparison-head,
.home-comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.home-comparison-head {
    background: var(--navy);
    color: #fff;
}

.home-comparison-head span {
    padding: 17px 20px;
    font-size: .76rem;
    font-weight: 850;
}

.home-comparison-head span:last-child {
    background: rgba(95, 226, 211, .1);
    color: #a4eee6;
}

.home-comparison-row>* {
    min-width: 0;
    padding: 17px 20px;
}

.home-comparison-row+.home-comparison-row {
    border-top: 1px solid #e7edf4;
}

.home-comparison-row span {
    color: #7b8999;
    font-size: .82rem;
}

.home-comparison-row strong {
    border-left: 1px solid #e7edf4;
    color: var(--navy);
    font-size: .82rem;
}

.home-comparison-row strong::before {
    content: "✓";
    margin-right: 9px;
    color: #0ca48d;
    font-weight: 900;
}


/* ==========================================================================
   Product showcase
   ========================================================================== */

.home-product-showcase {
    overflow: hidden;
}

.home-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--blue);
    font-size: .82rem;
    font-weight: 800;
}

.home-inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==========================================================================
   Holiday + absence
   ========================================================================== */

.home-two-sides {
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, .07), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(22, 163, 139, .08), transparent 28%),
        #f8fbff;
}

.home-two-sides-head {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.home-two-sides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-side-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid #dfe8f3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 42, 73, .06);
}

.home-side-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    pointer-events: none;
}

.home-side-card--holiday::after {
    background: rgba(37, 99, 235, .07);
}

.home-side-card--absence::after {
    background: rgba(12, 164, 141, .08);
}

.home-side-label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eff5ff;
    color: var(--blue);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.home-side-card--absence .home-side-label {
    background: #eafaf7;
    color: #087f70;
}

.home-side-card h3 {
    max-width: 560px;
    margin: 0 0 13px;
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1.25;
}

.home-side-card>p {
    margin: 0 0 20px;
    color: #697a8e;
    line-height: 1.72;
}

.home-side-card>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--blue);
    font-size: .82rem;
    font-weight: 850;
}

.home-side-card>a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==========================================================================
   Roles
   ========================================================================== */

.home-roles-heading {
    max-width: 790px;
    margin-bottom: 34px;
}

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

.home-role-grid article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.home-role-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    margin-bottom: 19px;
    border-radius: 11px;
    background: #edf4ff;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
}

.home-role-grid h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.1rem;
}

.home-role-grid p {
    margin: 0;
    color: #6d7d90;
    font-size: .84rem;
    line-height: 1.65;
}

.home-audience {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
    padding: 30px 32px;
    border: 1px solid #dce6f2;
    border-radius: 21px;
    background: #f6f9fd;
}

.home-audience h3 {
    margin: 6px 0 0;
    color: var(--navy);
    font-size: 1.25rem;
    line-height: 1.35;
}

.home-audience p {
    margin: 0;
    color: #68798e;
    line-height: 1.7;
}


/* ==========================================================================
   Feature band
   ========================================================================== */

.home-feature-band .feature-mini-grid>div {
    min-height: 108px;
}


/* ==========================================================================
   Steps
   ========================================================================== */

.home-steps {
    background: #f8fbff;
}

.home-steps-heading {
    max-width: 780px;
    margin: 0 auto 35px;
    text-align: center;
}

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

.home-step-grid article {
    position: relative;
    padding: 25px 23px;
    border: 1px solid #dee7f1;
    border-radius: 19px;
    background: #fff;
}

.home-step-grid article>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: .72rem;
    font-weight: 850;
}

.home-step-grid h3 {
    margin: 0 0 9px;
    color: var(--navy);
    font-size: 1rem;
}

.home-step-grid p {
    margin: 0;
    color: #718094;
    font-size: .79rem;
    line-height: 1.62;
}


/* ==========================================================================
   Pricing
   ========================================================================== */

.home-pricing .pricing-copy .section-title span {
    color: var(--blue);
}

.home-price-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 24px 0 8px;
}

.home-price-points span {
    color: #4e6179;
    font-size: .82rem;
    font-weight: 720;
}

.home-price-card {
    position: relative;
}


/* ==========================================================================
   Operator
   ========================================================================== */

/* ==========================================================================
   Operator
   ========================================================================== */

.home-operator-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
}

.home-operator-links a {
    color: var(--blue);
    font-size: .76rem;
    font-weight: 800;
}

.home-operator-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* Trustpilot review collector */

.home-trustpilot-review {
    width: 240px;
    max-width: 100%;
    margin-top: 18px;
}

.home-trustpilot-review .trustpilot-widget {
    width: 100%;
    min-height: 52px;
}


@media(max-width:700px) {

    .home-trustpilot-review {
        width: 100%;
        max-width: 260px;
    }

}

/* ==========================================================================
   FAQ
   ========================================================================== */

.home-faq .section-lead {
    margin-bottom: 26px;
}


/* ==========================================================================
   Explore SEO landing pages
   ========================================================================== */

.home-explore {
    padding-top: 35px;
}

.home-explore-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.home-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.home-explore-grid>a {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 18px;
    padding: 23px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.home-explore-grid>a:hover {
    transform: translateY(-2px);
    border-color: #c8d9ee;
    box-shadow: 0 14px 35px rgba(15, 42, 73, .07);
}

.home-explore-grid strong {
    color: var(--navy);
    font-size: .92rem;
}

.home-explore-grid span {
    grid-column: 1;
    color: #738196;
    font-size: .76rem;
    line-height: 1.55;
}

.home-explore-grid i {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    color: var(--blue);
    font-style: normal;
    font-weight: 900;
}


/* ==========================================================================
   Final CTA
   ========================================================================== */

.home-final-cta {
    padding: 28px 0 88px;
}

.home-final-cta-card {
    position: relative;
    overflow: hidden;
    padding: 58px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(95, 226, 211, .16), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(63, 132, 255, .19), transparent 35%),
        #0c2d54;
    text-align: center;
    box-shadow: 0 28px 70px rgba(12, 45, 84, .18);
}

.home-final-cta-card h2 {
    max-width: 800px;
    margin: 10px auto 15px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.home-final-cta-card>p {
    max-width: 680px;
    margin: 0 auto;
    color: #c7d5e6;
    line-height: 1.7;
}

.home-final-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-final-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 23px;
}

.home-final-proof span {
    position: relative;
    color: #aebed1;
    font-size: .72rem;
    font-weight: 700;
}

.home-final-proof span::before {
    content: "✓";
    margin-right: 7px;
    color: #86e4d8;
    font-weight: 900;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media(min-width:701px) {

    .product-shot--desktop {
        display: block !important;
    }

    .product-shot--mobile {
        display: none !important;
    }

}


@media(max-width:1050px) {

    .home-comparison-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-role-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-role-grid article:last-child {
        grid-column: 1 / -1;
    }

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

}


@media(max-width:900px) {

    .home-hero .hero-grid {
        display: block;
    }

    .home-hero-product {
        display: none;
    }

    .hero-visual--mobile-only {
        display: block;
        margin-top: 30px;
    }

    .hero-visual--mobile-only picture,
    .hero-visual--mobile-only img {
        display: block;
        width: 100%;
    }

    .hero-visual--mobile-only img {
        width: min(100%, 430px);
        height: auto;
        margin-inline: auto;
        border: 1px solid rgba(15, 42, 73, .1);
        border-radius: 22px;
        box-shadow: 0 18px 42px rgba(15, 42, 73, .12);
    }

    .home-two-sides-grid {
        grid-template-columns: 1fr;
    }

    .home-audience {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}


@media(max-width:700px) {

    .home-trust-strip {
        padding: 14px 0;
    }

    .home-trust-strip .container {
        padding-right: 0;
    }

    .home-trust-scroller {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0 18px 4px 0;
    }

    .home-trust-scroller::-webkit-scrollbar {
        display: none;
    }

    .home-trust-item {
        flex: 0 0 78%;
        justify-content: flex-start;
        scroll-snap-align: start;
        min-height: 74px;
        padding: 16px 18px;
        border: 1px solid #e1e9f2 !important;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(15, 42, 73, .04);
    }

    .home-trust-item strong {
        font-size: .84rem;
    }

    .home-trust-item div>span {
        font-size: .72rem;
    }

    .product-shot--desktop {
        display: none !important;
    }

    .product-shot--mobile {
        display: block !important;
        width: min(100%, 430px);
        margin-inline: auto;
    }

    .home-hero-price-line {
        font-size: .76rem;
    }

    .hero-visual--mobile-only {
        display: block;
        margin-top: 28px;
    }

    .hero-visual--mobile-only picture,
    .hero-visual--mobile-only img {
        display: block;
        width: 100%;
    }

    .hero-visual--mobile-only img {
        width: min(100%, 430px);
        height: auto;
        margin-inline: auto;
        border: 1px solid rgba(15, 42, 73, .1);
        border-radius: 22px;
        box-shadow: 0 18px 42px rgba(15, 42, 73, .12);
    }

    .home-comparison-head span,
    .home-comparison-row>* {
        padding: 14px 13px;
    }

    .home-comparison-head span {
        font-size: .66rem;
    }

    .home-comparison-row span,
    .home-comparison-row strong {
        font-size: .72rem;
        line-height: 1.45;
    }

    .home-side-card {
        padding: 25px 21px;
        border-radius: 20px;
    }

    .home-side-card h3 {
        font-size: 1.25rem;
    }

    .home-role-grid {
        grid-template-columns: 1fr;
    }

    .home-role-grid article:last-child {
        grid-column: auto;
    }

    .home-step-grid {
        grid-template-columns: 1fr;
    }

    .home-price-points {
        grid-template-columns: 1fr;
    }

    .home-explore-grid {
        grid-template-columns: 1fr;
    }

    .home-final-cta {
        padding-bottom: 55px;
    }

    .home-final-cta-card {
        padding: 40px 20px;
        border-radius: 22px;
    }

    .home-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-final-actions .btn {
        width: 100%;
    }

    .home-final-proof {
        align-items: flex-start;
        flex-direction: column;
        width: max-content;
        max-width: 100%;
        margin-inline: auto;
    }

}