.app-public .public-shell:has(> .landing-page) {
    align-items: start;
    padding: 0;
}

.app-public .public-shell:has(> .landing-page) > * {
    max-width: none;
}

.landing-page {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    background: #f7f6f0;
}

.landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url("images/branding/landing_trades_crew.webp");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.36;
    filter: saturate(1.02) contrast(1.08) brightness(0.86);
    pointer-events: none;
}

.landing-page::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(rgba(31, 92, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 92, 76, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 246, 240, 0.7) 0%, rgba(247, 246, 240, 0.58) 48%, rgba(247, 246, 240, 0.76) 100%);
    background-size: 36px 36px, 36px 36px, auto;
    pointer-events: none;
}

.landing-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 74px) clamp(32px, 5vw, 52px);
    align-content: start;
    align-items: start;
    isolation: isolate;
    border-bottom: 1px solid rgba(31, 92, 76, 0.16);
    background: transparent;
}

.landing-hero::before {
    content: none;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(247, 246, 240, 0.92) 0%, rgba(247, 246, 240, 0.8) 42%, rgba(247, 246, 240, 0.44) 74%, rgba(247, 246, 240, 0.64) 100%),
    linear-gradient(180deg, rgba(247, 246, 240, 0.24) 0%, rgba(247, 246, 240, 0.66) 100%);
    pointer-events: none;
}

.landing-nav,
.landing-hero-copy {
    position: relative;
    z-index: 1;
}

.landing-nav {
    display: flex;
    width: min(100%, 1180px);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.landing-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.landing-brand img {
    display: block;
    width: clamp(240px, 38vw, 520px);
    height: auto;
}

.landing-nav-actions,
.landing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.landing-nav-actions {
    color: #1b312c;
    font-weight: 800;
}

.landing-nav-actions a {
    text-decoration: none;
}

.landing-nav-button {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 92, 76, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.landing-hero-copy {
    display: grid;
    width: min(100%, 1180px);
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.landing-hero-center {
    display: grid;
    width: min(100%, 1180px);
    margin: 0 auto;
    gap: 20px;
    justify-items: center;
}

.landing-kicker {
    color: var(--forest);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.landing-title {
    display: grid;
    max-width: 900px;
    margin: 0 auto;
    gap: 10px;
    color: #13251f;
    font-size: clamp(2.25rem, 4.4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.05;
    text-wrap: balance;
}

.landing-title span {
    display: block;
}

.landing-title span:nth-child(2) {
    max-width: 42ch;
    margin: 0 auto;
    color: #2f4b43;
    font-size: 0.46em;
    font-weight: 800;
    line-height: 1.28;
}

.landing-title span:nth-child(3) {
    color: var(--forest);
    font-size: 0.68em;
    line-height: 1.08;
}

.landing-actions {
    margin-top: 10px;
}

.landing-actions .button {
    min-width: 156px;
}

.landing-section {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 36px), 1180px);
    margin: 0 auto;
    padding: clamp(38px, 6vw, 72px) 0;
}

.landing-section-heading {
    display: grid;
    gap: 12px;
}

.landing-section-heading h2,
.landing-audience h2,
.landing-business-band h2,
.landing-final h2 {
    color: #172720;
    font-size: clamp(2rem, 4.4vw, 4.05rem);
    line-height: 1;
}

.landing-section-heading p:not(.landing-kicker) {
    max-width: 620px;
    color: #596864;
    margin: 0 auto;
}

.landing-positioning {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 42px);
    align-items: start;
}

.landing-positioning-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 12px;
}

.landing-positioning-grid article {
    display: grid;
    min-width: 0;
    height: 100%;
    min-height: 140px;
    padding: 16px;
    align-content: start;
    gap: 10px;
    border: 1px solid rgba(31, 92, 76, 0.2);
    border-radius: 8px;
    background: rgba(255, 251, 240, 0.92);
    box-shadow: 0 18px 38px rgba(20, 31, 27, 0.1);
    backdrop-filter: blur(3px);
}

.landing-features {
    display: grid;
    gap: 38px;
}

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

.landing-features-grid article {
    display: grid;
    min-width: 0;
    height: 100%;
    min-height: 140px;
    padding: 16px;
    align-content: start;
    gap: 10px;
    border: 1px solid rgba(31, 92, 76, 0.2);
    border-radius: 8px;
    background: rgba(255, 251, 240, 0.92);
    box-shadow: 0 18px 38px rgba(20, 31, 27, 0.1);
    backdrop-filter: blur(3px);
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-features-grid article:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(20, 31, 27, 0.15);
}

.feature-icon {
    font-size: 1.6rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-icon-wide img {
    width: auto;
    height: 60px;
    max-width: min(46%, 112px);
    object-fit: contain;
}

.feature-icon-wide {
    gap: 10px;
}

.feature-icon-group {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.feature-icon-group img {
    width: 40px;
    height: 40px;
}

.landing-features-grid h3 {
    color: #172720;
    font-size: 0.9rem;
    line-height: 1.25;
    font-weight: 700;
}

.landing-features-grid p {
    color: #5c6864;
    font-size: 0.85rem;
    line-height: 1.45;
}

.landing-positioning-grid span {
    color: #bf6d28;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
}

.landing-positioning-grid h3 {
    color: #172720;
    font-size: 0.95rem;
    line-height: 1.15;
    font-weight: 700;
}

.landing-positioning-grid p {
    color: #5c6864;
    line-height: 1.45;
    font-size: 0.85rem;
}

.landing-flow-band {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 24px;
    padding: clamp(32px, 4vw, 48px) clamp(18px, 5vw, 74px);
    background: linear-gradient(110deg, rgba(19, 37, 31, 0.98), rgba(24, 61, 52, 0.45)),
    #17332d;
}

.landing-flow-band > * {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.landing-flow-band .landing-kicker {
    color: #f4c53e;
}

.landing-flow-band h2 {
    color: #fbfaf5;
}

.landing-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(251, 250, 245, 0.16);
    border-radius: 8px;
    background: rgba(251, 250, 245, 0.16);
}

.landing-flow article {
    display: grid;
    min-width: 0;
    min-height: 160px;
    padding: 20px;
    align-content: start;
    gap: 10px;
    background: rgba(255, 251, 240, 0.92);
    box-shadow: 0 18px 38px rgba(20, 31, 27, 0.12);
}

.landing-flow span {
    color: #bf6d28;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-flow h3 {
    color: #172720;
    font-size: 1.05rem;
    line-height: 1.12;
    font-weight: 700;
}

.landing-flow p {
    color: #5c6864;
    font-size: 0.9rem;
}

.landing-audience {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 42px);
    align-items: start;
}

.landing-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.landing-audience-grid article {
    min-width: 0;
    min-height: 140px;
    padding: 16px;
    border: 1px solid rgba(31, 92, 76, 0.2);
    border-radius: 8px;
    background: rgba(255, 251, 240, 0.92);
    box-shadow: 0 18px 38px rgba(20, 31, 27, 0.1);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.landing-audience-grid h3 {
    color: #172720;
    font-size: 0.95rem;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.landing-audience-grid p {
    color: #5c6864;
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
}

.landing-business-band {
    position: relative;
    z-index: 1;
    padding: clamp(20px, 3vw, 34px) clamp(18px, 5vw, 74px);
    border-top: 1px solid rgba(31, 92, 76, 0.12);
    border-bottom: 1px solid rgba(31, 92, 76, 0.12);
    background: rgba(255, 251, 240, 0.94);
    backdrop-filter: blur(3px);
}

.landing-business-inner {
    display: grid;
    width: min(100%, 1180px);
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(16px, 3vw, 32px);
    align-items: center;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid rgba(31, 92, 76, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 38px rgba(20, 31, 27, 0.08);
}

.landing-business-copy {
    display: grid;
    min-width: 0;
    gap: 8px;
}

.landing-business-band h2 {
    max-width: 18ch;
    font-size: clamp(1.55rem, 2.8vw, 2.6rem);
    line-height: 1.06;
}

.landing-business-inner p:not(.landing-kicker) {
    max-width: 620px;
    color: #566660;
    font-size: 0.98rem;
    line-height: 1.55;
}

.landing-business-panel {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding-left: clamp(16px, 2vw, 24px);
    border-left: 1px solid rgba(31, 92, 76, 0.18);
}

.landing-business-panel ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-business-panel li {
    position: relative;
    min-width: 0;
    padding-left: 20px;
    color: #263c35;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.landing-business-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #bf6d28;
    box-shadow: 0 0 0 4px rgba(191, 109, 40, 0.14);
}

.landing-business-inner .button {
    width: 100%;
    min-width: 0;
}

.landing-final {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 20px;
    align-items: end;
    overflow: hidden;
    margin-bottom: 12px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 8px;
    background: linear-gradient(100deg, rgba(23, 51, 45, 0.97), rgba(45, 74, 91, 0.9)),
    #17332d;
}

.landing-final .landing-kicker,
.landing-final h2,
.landing-final .landing-actions {
    position: relative;
    z-index: 1;
}

.landing-final .landing-kicker {
    color: #f4c53e;
}

.landing-final h2 {
    max-width: 12ch;
    color: #fbfaf5;
}

.landing-final .landing-actions {
    justify-content: end;
}

.landing-page + .public-legal-links {
    padding: 18px;
}

@media (max-width: 1020px) {
    .landing-positioning,
    .landing-audience,
    .landing-business-inner,
    .landing-final {
        grid-template-columns: 1fr;
    }

    .landing-final .landing-actions {
        justify-content: start;
    }

    .landing-business-panel {
        padding-left: 0;
        padding-top: 16px;
        border-left: 0;
        border-top: 1px solid rgba(31, 92, 76, 0.18);
    }

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

    .landing-audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .landing-hero {
        min-height: auto;
        padding: 18px clamp(16px, 5vw, 28px) 34px;
    }

    .landing-nav {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 16px;
    }

    .landing-nav-actions {
        justify-content: center;
        gap: 8px;
        font-size: 0.92rem;
    }

    .landing-nav-button {
        min-height: 38px;
        padding: 0 12px;
    }

    .landing-brand img {
        width: min(82vw, 320px);
    }

    .landing-hero-copy {
        margin-top: 8px;
    }

    .landing-title {
        max-width: 100%;
        gap: 8px;
        font-size: 2.15rem;
    }

    .landing-title span:nth-child(2) {
        max-width: 28ch;
        font-size: 0.52em;
    }

    .landing-title span:nth-child(3) {
        font-size: 0.7em;
    }

    .landing-page::before {
        background-position: center top;
        background-size: auto 100vh;
        opacity: 0.3;
    }

    .landing-hero::after {
        background: linear-gradient(180deg, rgba(247, 246, 240, 0.92) 0%, rgba(247, 246, 240, 0.84) 48%, rgba(247, 246, 240, 0.96) 100%);
    }

    .landing-positioning-grid,
    .landing-flow,
    .landing-audience-grid,
    .landing-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .landing-title {
        font-size: 1.95rem;
    }

    .landing-nav-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .landing-nav-actions a {
        text-align: center;
    }

    .landing-actions .button,
    .landing-business-inner .button {
        width: 100%;
    }
}
