/* ==========================================================================
   FONTS
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Regular.woff2") format("woff2");
    /* fallback */
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-Bold.woff2") format("woff2");
    /* fallback */
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}



/* ==========================================================================
   BASE STYLES (Generic + Mobile)
   ========================================================================== */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
    color: white;
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

main {
    position: relative;
}

:root {
    --container-min: 1200px;
    --container-max: 1600px;
    --primary-gradient: linear-gradient(to bottom, #1f1f50, #3a3a6f);
}

a {
    color: #ffdb15;
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    transform: translateY(-200%);
    background: #ffdb15;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font: 600 0.95rem/1 'Poppins', sans-serif;
    text-decoration: none;
    z-index: 3000;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid black;
}

#main-content {
    scroll-margin-top: 96px;
}

.main-section {
    padding: 9rem 1.5rem 8rem 1.5rem;
}

/* ==========================================================================
   HEADER (Mobile-first)
   ========================================================================== */



.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 1.3rem 1rem;
    min-height: 60px;
    box-sizing: border-box;
    width: 100vw;
    overflow-x: hidden;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 100%;
    min-height: 44px;
}

.header-logo {
    height: 40px;
    width: auto;
    margin: 0;
    display: none;
}

.mobile-logo {
    height: 50px;
    width: auto;
    margin: 0;
}

/* Mobile Navigation */
.header-buttons {
    display: flex;
    gap: clamp(0.2rem, 1vw, 0.5rem);
    flex: 1;
    justify-content: center;
    margin: 0 clamp(0.3rem, 2vw, 1rem);
}

.header-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
    color: #ffdb15;
    border: none;
    padding: clamp(0.4rem, 1.5vw, 0.7rem) clamp(0.6rem, 2.5vw, 1.2rem);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    flex: 1;
    text-align: center;
    word-break: break-word;
}

.header-btn:hover {
    background: rgba(62, 73, 137, 1);
    transform: translateY(-1px);
}

.header-btn:active {
    transform: translateY(0);
}

.header-btn.app-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    background: #00C2CB;
    color: #00151f;
    border: 6px solid white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: none;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15) inset;
}

.header-btn.app-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.header-btn.app-btn:active {
    transform: translateY(0);
}

/* Hamburger (mobile) */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
}

.hamburger-menu span {
    width: 45px;
    height: 4.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Desktop nav hidden by default (mobile-first) */
.desktop-nav {
    display: none;
}

.login-link {
    display: none;
}

.resources-dropdown {
    display: none;
}

/* ==========================================================================
   MOBILE OVERLAY MENU
   ========================================================================== */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 4vh, 3rem) 1.5rem;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.mobile-overlay::before {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    top: 260px;
    left: 0px;
    width: 400px;
    height: 400px;
    opacity: 0.15;
}

.mobile-overlay::after {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    bottom: 60px;
    right: 0px;
    width: 400px;
    height: 400px;
    transform: scaleX(-1);
    opacity: 0.15;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


.overlay-content {
    width: 100%;
    max-width: min(80%, 400px);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vh, 2rem);
    position: relative;
    height: fit-content;
    max-height: 85vh;
    justify-content: center;
}

.overlay-content::before {
    content: '';
    position: absolute;
    background: url('../images/birds3.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    top: -260px;
    right: -180px;
    width: 400px;
    height: 400px;
    opacity: 0.05;
}

.overlay-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(0.5rem, 2vh, 1rem);
}

.overlay-logo {
    height: clamp(86px, 6vh, 90px);
    width: auto;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vh, 1.5rem);
}

.overlay-link {
    background: #ffdb15;
    color: black;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 3.5vh, 1.5rem);
    padding: clamp(0.8rem, 2.5vh, 1.4rem) clamp(1.2rem, 4vh, 2rem);
    border: 3px solid white;
    border-radius: 38px;
    text-align: center;
    display: block;
    transition: transform .2s ease;
}

.overlay-link:hover {
    transform: translateY(-2px);
}

.overlay-link.active {
    background: #ffdb15;
    color: #1f1f50;
}

.overlay-login-wrapper {
    display: flex;
    justify-content: center;
    gap: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-top: clamp(0.5rem, 2vh, 1rem);
}

.overlay-login-wrapper a {
    color: #ffdb15;
    text-decoration: underline;
    font-size: clamp(0.9rem, 2.5vh, 1rem);
}

.overlay-login-wrapper .sep {
    color: #ffdb15;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    bottom: clamp(-4rem, -8vh, -5rem);
    right: 0;
    width: clamp(45px, 8vh, 56px);
    height: clamp(45px, 8vh, 56px);
}

.circle-arrow {
    background: #ffdb15;
    border: 3px solid white;
    border-radius: 50%;
    width: clamp(45px, 8vh, 56px);
    height: clamp(45px, 8vh, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.circle-arrow .arrow {
    display: block;
    transform: rotate(90deg);
    width: clamp(24px, 5vh, 30px);
    height: clamp(24px, 5vh, 30px);
}

body.menu-open .back-to-top-container {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* ==========================================================================
   MAIN CONTENT (Generic + Mobile)
   ========================================================================== */

.gradient-box-top {
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
    padding-bottom: 2rem;
}

/* Typography */
.page-title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin: 0 0 2rem;
    color: white;
    text-align: center;
}

.page-title .highlight,
.highlight {
    color: #ffdb15;
}

.page-subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0 0 3rem;
    color: white;
    text-align: center;
    font-weight: 400;
}

.section-heading {
    font-size: 2rem;
    line-height: 1.4;
    margin: 3rem 0 1.5rem;
    color: white;
}

.section-heading .highlight {
    color: #ffdb15;
}

.content-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: white;
}

.content-text a {
    color: #ffdb15;
    text-decoration: underline;
}

.content-text a:hover {
    color: #fff;
}

h1 {
    font-size: 3.5rem;
}

/* Buttons */
.primary-button {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    background: #ffdb15;
    color: black;
    border: 3px solid white;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #ffe55c;
    color: black;
}

.primary-button:active {
    transform: translateY(0);
}

.secondary-button {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 400;
    background: transparent;
    color: #ffdb15;
    border: 2px solid #ffdb15;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0.5rem 0;
}

.secondary-button:hover {
    background: #ffdb15;
    color: black;
    transform: translateY(-1px);
}

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



.hero {
    padding-top: 7rem;
}

.hero-eyebrow,
.hero-accent,
.hero-accent-mobile,
.hero-download {
    color: #ffdb15;
}

.hero-accent {
    display: inline-block;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-accent::after {
    content: "|";
    margin-left: 5px;
    animation: blink 1s infinite;
}

.hero-accent-mobile {
    display: none;
}

.hero-title-break {
    display: none;
}


#hero-change-text {
    transition: transform 0.5s ease;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.text-fade-in {
    opacity: 1;
    transition: 1s ease;
}

.text-fade-out {
    opacity: 0;
    transition: 1s ease;
}

/* Keep hero right/visual generic so it’s fine on mobile too */
.hero-right {
    display: flex;
    justify-content: center;
}

/* Hero mini-carousel shell */
.hero-right .carousel-shell {
    width: 100%;
    max-width: clamp(320px, 48vw, 600px);
    margin-inline: auto;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: inset 0 0 0 1px #1D1D40;
}

/* Fades */
.hero-right .carousel-shell::before,
.hero-right .carousel-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(48px, 10vw, 140px);
    pointer-events: none;
    z-index: 2;
}

.hero-right .carousel-shell::before {
    left: 0;
    background: linear-gradient(to right, #1D1D40 0%, rgba(29, 29, 64, 0) 100%);
}

.hero-right .carousel-shell::after {
    right: 0;
    background: linear-gradient(to left, #1D1D40 0%, rgba(29, 29, 64, 0) 100%);
}

.hero-carousel {
    --dur: 25s;
}

.hero-carousel-container {
    --fade: clamp(56px, 11vw, 150px);
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.hero-carousel .card {
    flex: 0 0 clamp(260px, 28vw, 320px);
}

.carousel-shell {
    position: relative;
    border-radius: 70px;
    background: #1D1D40;
    overflow: hidden;
}

.hero-cta {
    display: inline-block;
    background: #ffdb15;
    color: black;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.hero-cta::before {
    content: '';
    position: absolute;
    background: url('../images/birds2.webp') no-repeat;
    background-size: cover;
    pointer-events: none;
    z-index: 11;
    top: 150px;
    left: 450px;
    width: 500px;
    height: 460px;
    opacity: 0.1;
    transform: scaleX(1);
    transform: rotate(5deg);
}

/* =========================
   HERO — MOBILE (≤767px)
   ========================= */
@media (max-width: 767px) {

    /* layout */
    .hero {
        padding: 6.25rem 1.25rem 0.5rem;
    }

    .hero-inner {
        display: block;
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-left {
        text-align: left;
        padding-top: 1rem;
    }

    /* hide the hero carousel on mobile */
    .hero-right {
        display: none !important;
    }

    /* type + spacing per design */
    .hero-eyebrow {
        color: #ffdb15;
        font-weight: 700;
        font-size: clamp(0.95rem, 2.8vw, 1.05rem);
        margin: 0 0 .5rem;
    }

    .hero-title {
        margin: .25rem 0 .75rem;
        line-height: 1.5;
        font-size: 2rem;
        letter-spacing: -0.2px;
    }

    .hero-title .hero-line,
    .hero-title {
        display: block;
    }

    /* Hide line break on mobile */
    .hero-title-break {
        display: block;
    }

    .hero-accent {
        color: #ffdb15;
        font-size: 1.8rem;
    }

    .hero-copy {
        color: #fff;
        font-weight: 700;
        font-size: 1.2rem;
        line-height: 1.5;
        margin: 0 0 1rem;
        max-width: 450px;
    }

    .hero-download {
        color: #ffdb15;
        font-weight: 700;
        font-size: 1.3rem;
        margin: 0 0 1rem;
    }

    /* big pill CTA */
    .hero-cta {
        display: block;
        width: fit-content;
        margin: 1.5rem auto;
        padding: 1rem 2rem;
        border-radius: 999px;
        border-width: 3px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    }
}


/* Decorative heading */
.why-flok-heading {
    text-align: center;
}

.why-flok-heading::before {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    right: -80px;
    top: 100px;
    width: 400px;
    height: 400px;
    transform: scaleX(-1);
    opacity: 0.4;
}

@media (min-width: 768px) {
    .why-flok-heading::before {
        top: 650px;
        left: -70px;
        width: 400px;
        height: 400px;
        transform: unset;
    }
}

/* —— Flok Compare (generic baseline; grid columns shift to desktop) —— */
.flok-compare {
    --bg: #1D1D40;
    --head: #353558;
    --text: #E9E9F6;
    --muted: #C0C0C0;
    --line: rgba(255, 255, 255, 0.08);
    --brand: #FFDB15;

    position: relative;
    display: grid;
    gap: 0;
    background: var(--bg);
    overflow: visible;
    color: var(--text);
    width: 90vw;
    margin: 32px auto;
    isolation: isolate;
}



.flok-compare::before {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    bottom: 0px;
    left: 70px;
    width: 280px;
    height: 280px;
    opacity: 0.4;
    transform: rotate(-90deg);
}

.flok-compare::after {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    bottom: 100px;
    right: -130px;
    width: 350px;
    height: 350px;
    opacity: 0.4;
    transform: scaleX(-1);
}

.flok-compare__overlay {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    left: 53%;
    width: 24%;
    top: -10px;
    bottom: 280px;
    border-radius: 50px;
    background: #3A3A6F;
    opacity: 1;
    box-shadow:
        0 8px 30px rgb(255, 255, 255),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Cells */
.flok-compare__cell {
    position: relative;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    line-height: 1.25;
    text-align: center;
}

.flok-compare__agency {
    padding-left: 30px;
}

.flok-compare__head-label {
    z-index: 2;
}

.flok-compare__cell>*,
.flok-compare__head-label,
.flok-compare__bullet::before {
    position: relative;
    z-index: 2;
}

/* Headers */
.flok-compare__head {
    background: var(--head);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.flok-compare__head--flok {
    text-align: center;
}

/* Feature column typography */
.flok-compare__feature .flok-compare__title {
    font-weight: 800;
    font-size: 20px;
}

.flok-compare__sub {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
}

.flok-compare__sub-good {
    color: white;
}

.flok-compare__strong {
    font-weight: 800;
    font-size: 20px;
    color: #ffdb15;
}

.flok-compare__strong-bad {
    color: #C0C0C0;
}

/* Tick / Cross bullets */
.flok-compare__bullet {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
}

.flok-compare__bullet::before {
    content: "✓";
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.flok-compare__bullet.is-check::before {
    color: #ffdb15;
}

.flok-compare__bullet.is-cross::before {
    content: "✗";
    color: rgba(255, 255, 255, 0.8);
}

/* CTA */
.flok-compare__cta {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 20px 50px;
    position: relative;
    z-index: 2;
}

.flok-compare__cta-text {
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.3;
    max-width: 900px;
    margin: 40px auto 24px;
}

.flok-compare__cta-btn {
    display: inline-block;
    background: var(--brand);
    color: black;
    font-weight: 900;
    font-size: 1.8rem;
    padding: 18px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px white solid;
}

.flok-compare_cta {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 20px 50px;
    position: relative;
    z-index: 2;
}

.flok-compare_cta-text {
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1.3;
    max-width: 900px;
    margin: 40px auto 24px;
}

.flok-compare_cta-btn {
    display: inline-block;
    background: var(--brand);
    color: black;
    font-weight: 900;
    font-size: 1.8rem;
    padding: 18px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px white solid;
}

/* --- Why choose Flok — mobile view (≤767px) --- */
@media (max-width: 767px) {

    /* Full width + 3 equal columns */
    .flok-compare {
        width: 100%;
        margin: 24px 0;
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 0;
    }

    .why-flok-heading {
        font-size: 2.5rem;
    }

    /* Kill off-canvas decorations on phones (prevents horizontal gap) */
    .flok-compare::before,
    .flok-compare::after {
        content: none;
    }

    /* Center highlight column */
    .flok-compare__overlay {
        left: 33.333%;
        width: 33.333%;
        top: 0px;
        /* start below header row */
        /* leave space above CTA */
        border-radius: 28px;
    }

    /* Tighten sizing + make columns feel even */
    .flok-compare__cell {
        padding: 14px 12px;
    }

    .flok-compare__head {
        font-size: 1.25rem;
        text-align: center;
    }

    .flok-compare__feature .flok-compare__title,
    .flok-compare__strong,
    .flok-compare__bullet {
        font-size: 1.05rem;
    }

    .flok-compare__agency {
        padding-left: 12px;
    }

    /* No subtext on mobile */
    .flok-compare__sub {
        display: none !important;
    }

    /* CTA spans full width */
    .flok-compare__cta {
        grid-column: 1 / -1;
        padding: 32px 16px 28px;
    }

    .flok-compare_cta {
        grid-column: 1 / -1;
        padding: 32px 16px 28px;
        order: 4;
    }

    .flok-compare__cta-text {
        font-size: 1.5rem;
        max-width: 650px;
    }

    .flok-compare__cta-btn {
        margin-bottom: 20px;
    }

    /* Hide rows on mobile:
     - Row 6: AI verification system
     - Row 8: Searchable worker profiles
     (These indices match your current markup.) */
    .flok-compare> :nth-child(20),
    .flok-compare> :nth-child(21),
    .flok-compare> :nth-child(22),
    .flok-compare> :nth-child(26),
    .flok-compare> :nth-child(27),
    .flok-compare> :nth-child(28) {
        display: none;
    }

    .gradient-box-top {
        padding-bottom: 0;
    }
}


/* —— Post. Match. Go. (generic baseline) —— */

.post-match-go {
    background: linear-gradient(135deg, #C0C0C0 0%, #B0B3C5 50%, #D6D6E0 100%);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.post-match-go::before {
    content: '';
    position: absolute;
    background: url('../images/birds3.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    top: -50px;
    right: 75vw;
    width: 400px;
    height: 400px;
    opacity: 0.8;
    transform: scaleX(-1)
}

.post-match-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.post-match-row {
    gap: 3rem;
    margin-top: 2rem;
}

/* display/align added on desktop */

.post-match-left {
    text-align: left;
    z-index: 50;
}

.post-match-title {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-size: 3.5rem;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.post-match-subtitle {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 400;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}

.post-match-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 4px solid black;
    background: transparent;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.step-item.is-active .step-number {
    background: #fff;
    color: #000;
    transform: scale(1.03);
}

.step-content {
    flex: 1;
}

.step-title {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-size: 1.8rem;
    color: #000;
    margin: 0.35rem 0;
    line-height: 1.25;
}

.step-description {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 400;
    font-size: 1.2rem;
    color: #333;
    margin: .5rem 0 0;
    line-height: 1.35;
    padding-left: 2.3rem;
}

.step-arrow {
    width: 28px;
    height: 72px;
    background: url('../images/step-arrow.png') no-repeat center/contain;
    margin: -4.5rem 0.7rem -1rem;
    border: none;
}

.step-arrow::after {
    content: none;
}

.post-match-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.post-match-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    display: grid;
    place-items: center;
    position: relative;
}

.post-match-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .25s ease;
    display: block;
}

.post-match-image .pmg-img.is-visible {
    opacity: 1;
}

.post-match-steps {
    --num: 48px;
    gap: 1rem;
}

.step-item {
    gap: 1rem;
}

.step-title::before {
    content: "—";
    font-weight: 900;
    margin-right: .55rem;
}

.gradient-box-bottom {
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
}

/* Post. Match. Go. — image first on mobile */
@media (max-width: 767px) {

    .post-match-title {
        font-size: 3.3rem;
    }

    .post-match-subtitle {
        font-size: 1.3rem;
        max-width: 75vw;
        margin: 2rem auto;
    }

    .post-match-go {
        padding-bottom: 0rem;
    }

    .post-match-go::before {
        top: unset;
        /* Stops "top: 0;" from affecting the position */
        bottom: 1px;
        right: -30px;
        width: 600px;
        height: 500px;
        opacity: 0.2;
        z-index: 0;
    }

    /* stack as a column so we can reorder */
    .post-match-row {
        display: block;
        flex-direction: column;
        gap: unset;
    }

    /* move the image block before the steps */
    .post-match-right {
        order: -1;
    }

    .post-match-left {
        order: 0;
        margin: auto;
    }

    .post-match-steps {
        gap: 0rem;
    }

    .step-description {
        max-width: 370px;
    }

    .step-arrow {
        margin: -3.5rem 0.7rem 2rem;
    }
}


/* —— FlokAI (generic baseline; grid moves to desktop) —— */
.flokai {
    padding: 4rem 1.5rem 0;
    color: #fff;
    position: relative;
}

.flokai::before {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    left: -45px;
    top: -25px;
    width: 400px;
    height: 400px;
    opacity: 0.35;
}

.flokai::after {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    right: -45px;
    transform: scaleX(-1);
    top: 320px;
    width: 400px;
    height: 400px;
    opacity: 0.35;
}

.flokai-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
    gap: 2.5rem;
    align-items: center;
}

.flokai-left {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    /* margin-top set on desktop */
}

.flokai-planet {
    animation: flokaiHue 14s ease-in-out infinite;
}

.flokai-svg {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 12vh;
}

.flokai-orbit {
    transform-origin: 200px 200px;
    transform-box: view-box;
    animation: flokaiSpin var(--dur, 36s) linear infinite;
}

@keyframes flokaiSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes flokaiHue {
    0% {
        filter: hue-rotate(0deg)
    }

    50% {
        filter: hue-rotate(30deg)
    }

    100% {
        filter: hue-rotate(0deg)
    }
}


#blob {
    width: 100%;
    height: 100%;
    display: block;
}

.flokai-title {
    margin: 0 0 1rem;
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 700;
    color: #ffdb15;
}

.flokai-eyebrow {
    margin: 1rem 0 1rem;
    font-weight: 700;
    font-style: italic;
    color: #ffdb15;
    font-size: 1.5rem;
}

.flokai-copy {
    margin: 0 0 1.25rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.flokai-subhead {
    margin: 1rem 0 1rem;
    font-size: 1.5rem;
    color: #ffdb15;
}

.flokai-list {
    margin: 0 0 1.5rem 1.15rem;
    padding: 0;
    list-style: disc;
    display: grid;
    gap: .6rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.flokai-why {
    background: #1D1D40;
    border-radius: 24px;
    padding: 1.25rem 1.25rem 2rem;
    max-width: 48rem;
    z-index: 1;
}

.flokai-why::before {
    content: '';
    position: absolute;
    background: url('../images/birds1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    bottom: -360px;
    right: 63vw;
    width: 600px;
    height: 600px;
    transform: scaleX(-1);
    opacity: 0.3;
}

@media (max-width: 767px) {
    .flokai-why::before {
        background: url('../images/dots1.webp') no-repeat;
        right: -50px;
        width: 600px;
        height: 600px;
        bottom: 150px;
        content: '';
        position: absolute;
        background-size: contain;
        pointer-events: none;
        z-index: 0;
        transform: scaleX(-1);
        opacity: 0.1;
    }
}

.flokai-why-title {
    display: block;
    color: #ffdb15;
    font-weight: 700;
    margin-bottom: .75rem;
    font-size: 1.5rem;
}

.flokai-why-chip {
    background: #343462;
    width: 90%;
    margin: auto;
    border-radius: 30px;
    padding: 0.8rem 1.25rem;
    line-height: 1.45;
    font-size: 1.1rem;
    color: #fff;
}

/* --- FlokAI — mobile fixes (≤767px) --- */

/* FlokAI — fix orbit drift (use CSS only, disable SMIL) */
.flokai-svg {
    overflow: visible;
}

/* avoids clipping on some mobiles */

.flokai-orbit {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    /* center of the 400×400 viewBox */
    animation: flokaiSpin var(--dur, 36s) linear infinite;
    will-change: transform;
}

.flokai-orbit.reverse {
    animation-direction: reverse;
}

.flokai-orbit animateTransform {
    display: none !important;
}

@media (max-width: 767px) {

    .flokai {
        padding-bottom: 1rem;
    }

    .flokai-inner {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .flokai-eyebrow,
    .flokai-subhead,
    .flokai-why-title {
        font-size: 2rem;
    }

    .flokai-copy {
        font-size: 1.3rem;
    }

    .flokai-list {
        font-size: 1.2rem;
        text-align: left;
    }

    /* Make the children of .flokai-right become direct flex items of .flokai-inner */
    .flokai-right {
        display: contents;
        /* allows .flokai-title and .flok-content to be ordered with the SVG */
    }

    /* Order the three pieces */
    .flokai-title {
        order: 1;
        font-size: 2.7rem;
        max-width: 600px;
    }

    /* 1) title */
    .flokai-left {
        order: 2;
    }

    /* 2) svg */
    .flok-content {
        order: 3;
    }

    /* 3) rest of content */

    /* Optional niceties */
    .flokai-left {
        width: 100%;
        max-width: 420px;
    }

    .flokai-svg {
        margin-top: unset;
    }
}

/* --- FlokAI orbit animation fix (must come after the mobile overrides) --- */
.flokai .flokai-orbit {
    /* rotate around the viewBox center (200,200) so children orbit the planet */
    transform-box: view-box;
    transform-origin: 200px 200px;
    animation: flokaiSpin var(--dur, 36s) linear infinite;
    will-change: transform;
}

.flokai .flokai-orbit.reverse {
    animation-direction: reverse;
}

/* keep SMIL disabled so CSS drives the animation consistently */
.flokai .flokai-orbit animateTransform {
    display: none !important;
}


/* —— Carousel (generic) —— */

.where-quality-heading {
    font-size: 3.5rem;
    text-align: center;
}

.carousel-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.carousel {
    display: flex;
    gap: 30px;
    will-change: transform;
    animation: scroll var(--dur, 60s) linear infinite;
}

.carousel .set {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
}

.carousel .card {
    flex: 0 0 400px;
}

@keyframes scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * var(--loop-distance, 0px)), 0, 0);
    }
}

.card {
    background: white;
    border-radius: 20px;
    padding: 20px 20px 0;
    padding-bottom: 0;
    width: 400px;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Card internals */
.location-info {
    position: absolute;
    top: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 12px;
    color: #666;
}

.map-pin {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.distance {
    font-weight: 400;
    font-size: 11px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-info h2 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.profile-role {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.profile-role span {
    font-size: 18px;
    color: #666;
}

.verified {
    background: #4CAF50;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.stars {
    position: relative;
    display: inline-block;
    font-size: 24px;
    line-height: 1;
}

.star {
    color: gray;
    font-size: 24px;
    position: relative;
}

.star.full {
    color: #FFD700;
}

.star.half {
    background: linear-gradient(90deg, #FFD700 50%, gray 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Advanced fractional rating system */
.stars[data-rating] {
    position: relative;
    display: inline-block;
}

.stars-bg {
    color: gray;
    position: relative;
    z-index: 1;
}

.stars-fill {
    color: #FFD700;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
}

.rating-text {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 15px;
    gap: 20px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.badges-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    height: 155px;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
}

.badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    background: #FFD700;
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.certifications {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 15px;
    height: 55%;
    align-content: center;
}

.certification {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: white;
    font-size: 14px;
}

.certification:last-child {
    margin-bottom: 0;
}

.cert-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.cert-icon.food {
    background: #FFD700;
    color: #333;
}

.experience-section {
    position: relative;
}

.experience-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.experience-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    position: relative;
}

.experience-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.card-quote {
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
}

.barista-quote {
    background-color: white;
    border-radius: 10px;
    text-align: center;
    line-height: 30px;
    justify-content: center;
    color: black;
    font-size: 16px;
}

/* —— Meets Speed —— */
.meets-speed-heading {
    font-size: 3.5rem;
    text-align: center;
}

/* Container switches to flex on desktop */
.speed-grid {
    max-width: 1200px;
    margin: 1.75rem auto 0;
}

/* Cards remain generic */
.speed-card {
    background: linear-gradient(to bottom, #C0C0C0 0%, #B0B3C5 50%, #D6D6E0 100%);
    border-radius: 60px;
    border: 8px solid #fff;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 16px 16px 1px 0 #1D2042;
}

.speed-stat {
    font-weight: 800;
    font-size: 3.5rem;
    color: #000;
    line-height: 1;
    letter-spacing: 0.5px;
    padding-top: 1rem;
    font-variant-numeric: tabular-nums;
}

.speed-copy {
    margin: 2rem auto;
    max-width: 28ch;
    color: #000;
    font-weight: 700;
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    .where-quality-heading {
        margin-top: 1rem;
    }

    .speed-grid {
        max-width: 400px;
    }

    .speed-card {
        margin-top: 1.5rem;
        border-width: 13px;
        border-radius: 80px;
    }
}

/* —— The Industry Speaks (generic) —— */
.hospitality-HIRING-heading {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 0;
}

.hospitality-hiring-list {
    font-size: 1.7em;
    margin-bottom: 3vh;
}


.hospitality-hiring-list li {
    width: 272px;
    margin: auto;
}

.hospitality-desktop {
    font-size: 1.8em;
    width: fit-content;
    margin: auto;
    margin-top: 2vh;
}

.industry-speaks-heading::before {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    left: 0px;
    width: 400px;
    height: 400px;
    opacity: 0.35;
}

.industry-speaks-heading::after {
    display: block;
    content: '';
    position: absolute;
    background: url('../images/birds2.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    opacity: 0.5;
}

.hospitality-HIRING {
    position: relative;
    overflow: hidden;
}

.industry-inner {
    max-width: 1100px;
    margin: 0 auto 8rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.quote-container {
    display: flex;
    width: 100%;
}

.quote-left {
    justify-content: flex-start;
}

.quote-right {
    justify-content: flex-end;
}

.quote-bubble {
    background: white;
    color: black;
    padding: 1.5rem 2rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.4;
    max-width: 70%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    opacity: 0;
    transform: translateY(30px);

    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--reveal-delay, 0ms);
    /* ✅ key line */
    will-change: opacity, transform;
}

.quote-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.industry-bottom {
    text-align: center;
}

.industry-bottom::before {
    content: '';
    position: absolute;
    background: url('../images/birds5.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    left: -210px;
    bottom: 160px;
    width: 600px;
    height: 400px;
    opacity: 0.15;
}

.industry-bottom::after {
    content: '';
    position: absolute;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    right: 0px;
    bottom: 50px;
    width: 400px;
    height: 400px;
    opacity: 0.15;
    transform: scaleX(-1);
}

@media (max-width: 767px) {

    .industry-speaks-heading::after,
    .industry-bottom::after {
        display: none;
    }
}

.industry-summary {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    line-height: 1.5;
    margin: 0 auto 1.5rem;
    max-width: 750px;
}

.industry-question {
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffdb15;
    margin: 0 0 2rem;
}

.industry-cta {
    display: inline-block;
    background: #ffdb15;
    color: black;
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.industry-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    filter: brightness(1.05);
}

.industry-cta:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .industry-speaks-heading {
        font-size: 3rem;
    }

    .quote-bubble {
        font-size: 1.5rem;
        padding: 0.8rem;
        border-radius: 40px;
        margin: 10px;
    }

    .industry-summary {
        max-width: 450px;
    }

    .back-to-top-label {
        display: none;
    }
}

/* Back to Top */
.back-to-top-container {
    position: absolute;
    bottom: 0;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;
}

.back-to-top {
    background-color: #ffdb15;
    color: #000;
    border: 3px solid white;
    border-radius: 50%;
    font-size: 1.8rem;
    width: 56px;
    height: 56px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.back-to-top-label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #ffdb15;
}

@media(max-width:767px) {
    .back-to-top-container {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
    }

    .hospitality-HIRING-heading {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 0;
    }

    .hospitality-hiring-list {
        font-size: 1.7em;
        margin-bottom: 4vh;
    }


    .hospitality-hiring-list li {
        width: 270px;
        margin: auto;
    }

    .hospitality-desktop {
        display: none;
    }

}

/* ==========================================================================
    FOOTER (Generic + Mobile)
    ========================================================================== */

.footer {
    background-color: #1D1D40;
    color: white;
    padding: 2rem 1.5rem 4rem;
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 400;
    position: relative;
    min-height: 200px;
}

.footer-links,
.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
}

.footer-links li {
    list-style: none;
}

@media (max-width: 767px) {
    .footer-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 3rem;
        position: relative;
        text-align: center;
        margin-bottom: 50px;
    }

    .footer-columns::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: white;
        transform: translateX(-0.5px);
    }

    .footer-col.account-col {
        display: none;
    }

    .resources-col {
        grid-column: 1;
        grid-row: 1;
    }

    .support-col {
        grid-column: 1;
        grid-row: 2;
    }

    .socials-col {
        grid-column: 2;
        grid-row: 1;
    }

    .legal-col {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-heading {
        font-size: 1.7rem;
        margin-bottom: 1rem;
        color: #ffdb15;
    }

    .footer-links li+li {
        margin-top: 1rem;
    }

    .footer-links a {
        font-size: 1.3rem;
        color: white;
    }
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0;
}

.copyright {
    font-size: 0.9rem;
    margin: 0;
    align-self: flex-end;
    font-family: 'Inter', sans-serif;
    ;
    font-weight: 400;
}

/* ==========================================================================
   DESKTOP STYLES (768px and up)
   ========================================================================== */

@media (min-width: 768px) {

    /* Shared page clamps */
    .header-content,
    .footer-columns,
    .footer-bottom {
        max-width: clamp(var(--container-min), 85vw, var(--container-max));
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .why-flok-heading::before {
        display: block;
    }

    .why-flok-heading::before {
        content: '';
        position: absolute;
        background: url('../images/dots1.webp') no-repeat;
        background-size: contain;
        pointer-events: none;
        z-index: 11;
        top: 650px;
        left: -70px;
        width: 400px;
        height: 400px;
        opacity: 0.4;
    }

    /* Header Desktop */
    .header-buttons,
    .hamburger-menu {
        display: none;
    }

    .desktop-nav {
        display: flex;
        gap: 1rem;
        margin-left: auto;
        align-items: center;
    }

    .desktop-nav .menu-group {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    .header-content {
        margin: 0 auto;
        padding: 0 2rem;
    }

    .header-logo {
        height: 60px;
        display: block;
    }

    .mobile-logo {
        display: none;
    }

    .nav-btn {
        font-family: 'Inter', sans-serif;
        ;
        font-weight: 400;
        font-size: 1rem;
        padding: 0.7rem 1.3rem;
        background: #fff;
        border-radius: 999px;
        color: #000;
        text-decoration: none;
        display: inline-block;
        border: none;
        transition: transform 0.2s ease, background 0.25s ease;
        box-shadow: none;
        position: relative;
    }

    .nav-btn-highlight {
        font-weight: 700;
    }

    .nav-btn-highlight::after {
        content: '.';
        position: absolute;
        pointer-events: none;
        color: white;
        font-size: 1.5rem;

        left: 50%;
        bottom: -25px;
        /* keep your current vertical position */
        transform: translateX(-50%);
        /* true center */

        transition: none;
        /* no independent movement */
    }

    /* Keep hover/focus identical (optional, but clean) */
    .nav-btn-highlight:hover::after,
    .nav-btn-highlight:focus-visible::after {
        transform: translateX(-50%);
    }

    .nav-btn-highlight:hover,
    .nav-btn-highlight:focus-visible {
        transform: none;
    }

    .nav-btn:hover {
        transform: translateY(-5px);
    }

    .nav-btn.cta-app {
        background: #00C2CB;
        color: #00151f;
        font-weight: 700;
        padding: 0.75rem 1.2rem;
        border: 3px solid #fff;
        border-radius: 20px;
        box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15) inset;
        font-size: 1.2rem;
        text-align: center;
    }

    .nav-btn.cta-app:hover {
        filter: brightness(1.05);
    }

    .resources-dropdown {
        display: block;
    }

    /* Auth links on the far right */
    .auth-links {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        margin-left: 0.6rem;
        font-weight: 700;
    }

    .auth-links a {
        color: #ffdb15;
        text-decoration: underline;
        font-weight: 400;
    }

    .auth-links .sep {
        opacity: 0.9;
        margin: 0 0.2rem;
    }

    .login-link {
        font-size: 1rem;
        font-family: 'Inter', sans-serif;
        ;
        font-weight: 400;
        color: #ffdb15;
        text-decoration: underline;
        margin-left: 20px;
        display: inline-block;
    }

    /* Resources dropdown behaviour */
    .resources-btn.is-open {
        background: #ffdb15;
        font-weight: 700;
    }

    .resources-dropdown {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1500;
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform .28s ease, opacity .28s ease;
    }

    .resources-dropdown.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .resources-inner {
        background: rgba(0, 0, 0, 0.9);
        padding: 3rem 0;
        position: relative;
        overflow: hidden;
        max-height: 450px;
    }

    .resources-inner,
    .resources-grid {
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }

    .resources-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 2fr;
        gap: 3.5rem;
        align-items: start;
    }

    .resources-grid h3 {
        color: #ffdb15;
        font-size: 2rem;
        margin: 0 0 1.25rem 0;
        font-weight: 700;
    }

    .links-col ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .links-col li+li {
        margin-top: 1rem;
    }

    .links-col a {
        color: #fff;
        font-weight: 400;
        font-size: 1.35rem;
    }

    .links-col-highlight {
        font-weight: 900 !important;
        text-decoration-color: #ffdb15
    }

    .image-col {
        display: flex;
        justify-content: center;
    }

    .image-col .fade-wrap {
        position: relative;
        overflow: hidden;
        max-width: 320px;
    }

    .image-col img {
        display: block;
        width: 300px;
        height: auto;
        object-fit: cover;
    }

    .fade-left {
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to right, #000 0%, rgba(29, 29, 64, 0) 60%);
    }

    .dropdown-decor-left,
    .dropdown-decor-bottom {
        position: absolute;
        opacity: .1;
        user-select: none;
        pointer-events: none;
    }

    .dropdown-decor-left {
        left: 0;
        top: 1rem;
        width: 160px;
        height: auto;
    }

    .dropdown-decor-bottom {
        bottom: -6rem;
        width: 160px;
        height: auto;
        transform: rotate(-90deg);
    }

    /* Main Content Desktop type sizing */
    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.5rem;
    }

    .section-heading {
        font-size: 2.3rem;
    }

    .content-text {
        font-size: 1.1rem;
    }

    /* Hero Desktop layout */

    .hero-title {
        margin: 0;
        line-height: 1.5;
        font-size: 3.5rem;
        max-width: fit-content;
        letter-spacing: -0.5px;
    }

    .hero-eyebrow {
        margin: 0;
        font-size: 1.2rem;
    }

    .hero-copy {
        font-size: 1.6rem;
        margin: 0;
        margin-top: 1vh;
    }

    .hero-download {
        font-size: 1.2rem;
    }


    .hero-inner {
        max-width: 90vw;
        margin: 4rem auto;
        display: grid;
        align-items: center;
        grid-template-columns: 1.05fr 1fr;
        gap: 2rem;
    }

    .hero-left {
        max-width: 80rem !important;
    }

    .hero-copy {
        max-width: 42rem !important;
    }

    /* Flok Compare desktop columns */
    .flok-compare {
        grid-template-columns: 1.6fr 0.7fr 0.7fr;
    }

    /* Post. Match. Go. desktop layout */
    .post-match-row {
        display: flex;
        align-items: center;
    }

    .post-match-left,
    .post-match-right {
        width: 50%;
    }

    /* FlokAI desktop grid + visual offset */
    .flokai-inner {
        display: grid;
        gap: 10rem;
        align-items: center;
        grid-template-columns: 2fr 3fr;
    }

    .flokai-left {
        margin-top: -10rem;
    }

    /* Industry Speaks desktop tweaks */
    .industry-inner {
        gap: 3rem;
    }

    .quote-bubble {
        font-size: 1.5rem;
        padding: 0.7rem 1rem;
        max-width: 70%;
    }

    .industry-summary {
        font-size: 1.8rem;
    }

    .industry-cta {
        font-size: 1.8rem;
        padding: 1.5rem 4rem;
    }

    /* Meets Speed desktop container */
    .speed-grid {
        display: flex;
        gap: 4rem;
    }

    /* Footer Desktop */
    .footer {
        background-color: #1D1D40;
        padding: 2.5rem 1.5rem 4.5rem;
    }

    .footer-columns {
        max-width: clamp(var(--container-min), 85vw, var(--container-max));
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem 3rem;
        text-align: center;
        align-items: start;
    }

    .footer-divider {
        display: none !important;
    }

    .footer-heading {
        color: #ffdb15;
        font-weight: 700;
        font-size: 1.6rem;
        margin: 0 0 0.8rem;
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links li+li {
        margin-top: 0.6rem;
    }

    .footer-links a {
        color: #fff;
        font-weight: 400;
        font-size: 1.1rem;
    }

    .footer-logo {
        height: 48px;
    }
}

@media (max-width: 1030px) {
    #resourcesToggle {
        display: none;
    }
}