.public-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================
   HEADER CONTAINER
========================= */

.public-header-container {
    width: min(
        calc(100% - 40px),
        1180px
    );

    height: 76px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================
   BRAND
========================= */

.public-brand {
    display: inline-flex;

    align-items: center;

    gap: 11px;

    flex-shrink: 0;

    color: #111111;
}

.public-brand-mark {
    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #111111;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 21px;

    font-weight: 700;
}

.public-brand-name {
    max-width: 210px;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 17px;

    font-weight: 800;

    letter-spacing: -0.3px;
}


/* =========================
   DESKTOP NAVIGATION
========================= */

.public-desktop-nav {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;
}

.public-nav-link {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 8px 0;

    border: 0;

    background: transparent;

    color: #5a5a5a;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.public-nav-link:hover,
.public-nav-link.active {
    color: #111111;
}


/* =========================
   DESKTOP HOME DROPDOWN
========================= */

.public-dropdown-trigger svg {
    transition:
        transform 0.2s ease;
}

.public-nav-dropdown {
    position: relative;
}

.public-nav-dropdown:hover .public-dropdown-menu,
.public-nav-dropdown:focus-within .public-dropdown-menu,
.public-nav-dropdown.open .public-dropdown-menu {
    opacity: 1;

    visibility: visible;

    transform: translate(
        -50%,
        0
    );
}

.public-nav-dropdown:hover .public-dropdown-trigger svg,
.public-nav-dropdown:focus-within .public-dropdown-trigger svg,
.public-nav-dropdown.open .public-dropdown-trigger svg {
    transform: rotate(180deg);
}

.public-dropdown-menu {
    position: absolute;

    top: calc(100% + 13px);

    left: 50%;

    width: 260px;

    padding: 9px;

    transform: translate(
        -50%,
        8px
    );

    opacity: 0;

    visibility: hidden;

    border: 1px solid #e8e8e8;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 18px 45px rgba(17, 17, 17, 0.12);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.public-dropdown-menu::before {
    content: "";

    position: absolute;

    top: -7px;

    left: 50%;

    width: 13px;

    height: 13px;

    transform:
        translateX(-50%)
        rotate(45deg);

    border-top: 1px solid #e8e8e8;

    border-left: 1px solid #e8e8e8;

    background: #ffffff;
}

.public-dropdown-menu a {
    position: relative;

    z-index: 1;

    display: block;

    padding: 12px 13px;

    border-radius: 9px;

    transition:
        background 0.2s ease;
}

.public-dropdown-menu a:hover {
    background: #fafafa;
}

.public-dropdown-menu strong {
    display: block;

    color: #111111;

    font-size: 13px;
}

.public-dropdown-menu span {
    display: block;

    margin-top: 3px;

    color: #737373;

    font-size: 11px;

    line-height: 1.4;
}


/* =========================
   HEADER ACTIONS
========================= */

.public-header-actions {
    display: flex;

    align-items: center;

    gap: 9px;
}

.public-sign-in {
    padding: 10px 14px;

    color: #111111;

    font-size: 14px;

    font-weight: 700;
}

.public-get-started {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 17px;

    border-radius: 10px;

    background: #111111;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.public-get-started:hover {
    background: #f97316;

    transform: translateY(-1px);
}


/* =========================
   FOOTER
========================= */

.public-footer {
    padding: 55px 0 25px;

    border-top: 1px solid #e8e8e8;

    background: #ffffff;
}

.public-footer-container {
    width: min(
        calc(100% - 40px),
        1180px
    );

    margin: 0 auto;
}

.public-footer-top {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 45px;
}

.public-footer-brand {
    max-width: 350px;
}

.public-footer-brand p {
    margin: 14px 0 0;

    color: #737373;

    font-size: 12px;

    line-height: 1.75;
}

.public-footer-links {
    display: flex;

    gap: 70px;
}

.public-footer-column strong {
    display: block;

    margin-bottom: 14px;

    color: #111111;

    font-size: 12px;
}

.public-footer-column a {
    display: block;

    margin-bottom: 10px;

    color: #737373;

    font-size: 12px;
}

.public-footer-column a:hover {
    color: #111111;
}

.public-footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid #e8e8e8;

    color: #737373;

    font-size: 11px;
}


/* =========================
   TABLET / SMALL DESKTOP
========================= */

@media (max-width: 900px) {

    .public-header-container {
        width: min(
            calc(100% - 28px),
            1180px
        );
    }

    .public-desktop-nav {
        gap: 20px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .public-header-container {
        width: min(
            calc(100% - 28px),
            1180px
        );

        height: 68px;
    }

    .public-brand-name {
        max-width: 155px;

        font-size: 15px;
    }

    .public-header-actions {
        display: none;
    }

    .public-footer-container {
        width: min(
            calc(100% - 28px),
            1180px
        );
    }

    .public-footer-top {
        display: block;
    }

    .public-footer-links {
        margin-top: 35px;

        gap: 45px;
    }

    .public-footer-bottom {
        display: block;
    }

    .public-footer-bottom span {
        display: block;

        margin-top: 7px;
    }

}