:root {
    --nle-green: #39a91e;
    --nle-green-dark: #1f7f16;
    --nle-black: #060707;
    --nle-ink: #121817;
    --nle-muted: #5f6b66;
    --nle-soft: #f7faf5;
    --nle-line: #dfe8dc;
}

.nle-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    color: var(--nle-ink);
    line-height: 1;
}

.nle-brand-symbol {
    display: inline-flex;
    width: 3.1rem;
    height: 2.15rem;
    flex: 0 0 auto;
}

.nle-brand-symbol svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.nle-swoosh-dark,
.nle-hand,
.nle-arc {
    fill: var(--nle-black);
}

.nle-swoosh-green,
.nle-leaf {
    fill: var(--nle-green);
}

.nle-stem,
.nle-leaf-cut {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.nle-arc {
    stroke: var(--nle-black);
    stroke-width: 5;
    stroke-linecap: round;
    fill: none;
}

.nle-brand-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.nle-brand-name {
    font-size: 1.62rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: var(--nle-black);
}

.nle-brand-subtitle {
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--nle-black);
    white-space: nowrap;
}

.nle-brand-mark--light .nle-brand-name,
.nle-brand-mark--light .nle-brand-subtitle {
    color: #ffffff;
}

.nle-brand-mark--light .nle-swoosh-dark,
.nle-brand-mark--light .nle-hand {
    fill: #ffffff;
    stroke: #ffffff;
}

.nle-brand-mark--light .nle-arc {
    fill: none;
    stroke: #ffffff;
}

.nle-brand-mark--compact {
    gap: 0.45rem;
}

.nle-brand-mark--compact .nle-brand-symbol {
    width: 2.35rem;
    height: 1.7rem;
}

.nle-brand-mark--compact .nle-brand-name {
    font-size: 1.05rem;
}

.nle-brand-mark--compact .nle-brand-subtitle {
    font-size: 0.48rem;
    letter-spacing: 0.16em;
}

.nle-brand-mark--hero {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    text-align: center;
}

.nle-brand-mark--hero .nle-brand-symbol {
    width: clamp(5.8rem, 18vw, 9rem);
    height: auto;
    aspect-ratio: 96 / 64;
}

.nle-brand-mark--hero .nle-brand-name {
    font-size: clamp(2.8rem, 11vw, 6rem);
}

.nle-brand-mark--hero .nle-brand-subtitle {
    font-size: clamp(0.8rem, 3vw, 1.35rem);
    letter-spacing: 0.32em;
}

.nle-brand-mark--login-hero {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    text-align: center;
    width: min(100%, 440px);
}

.nle-brand-mark--login-hero .nle-brand-symbol {
    width: clamp(8rem, 19vw, 12.5rem);
    height: auto;
    aspect-ratio: 96 / 64;
}

.nle-brand-mark--login-hero .nle-brand-name {
    font-size: clamp(3.1rem, 8vw, 5.9rem);
    letter-spacing: 0.04em;
}

.nle-brand-mark--login-hero .nle-brand-subtitle {
    font-size: clamp(0.78rem, 1.8vw, 1.2rem);
    letter-spacing: 0.28em;
}

.nle-brand-mark--login-simple {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
}

.nle-brand-mark--login-simple .nle-brand-symbol {
    width: clamp(6.5rem, 21vw, 10rem);
    height: auto;
    aspect-ratio: 96 / 64;
}

.nle-brand-mark--login-simple .nle-brand-name {
    font-size: clamp(2.7rem, 9vw, 4.9rem);
    letter-spacing: 0.04em;
}

.nle-brand-mark--login-simple .nle-brand-subtitle {
    font-size: clamp(0.68rem, 2.1vw, 1rem);
    letter-spacing: 0.24em;
}

@media (max-width: 900px) {
    .nle-brand-mark--login-hero .nle-brand-symbol {
        width: clamp(6.8rem, 30vw, 10rem);
    }

    .nle-brand-mark--login-hero .nle-brand-name {
        font-size: clamp(2.5rem, 13vw, 4.3rem);
    }
}

@media (max-width: 420px) {
    .nle-brand-mark--login-hero .nle-brand-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.2em;
    }

    .nle-brand-mark--login-simple .nle-brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }
}

.nle-nav-brand {
    text-decoration: none;
}

.nle-nav-brand .nle-brand-mark {
    color: #ffffff;
}

.nle-nav-brand .nle-brand-symbol {
    width: 2.45rem;
    height: 1.8rem;
}

.nle-nav-brand .nle-brand-name {
    color: #ffffff;
    font-size: 1.05rem;
}

.nle-nav-brand .nle-brand-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.48rem;
    letter-spacing: 0.16em;
}

.landing-page {
    min-height: 100dvh;
    background:
        radial-gradient(circle at top right, rgba(57, 169, 30, 0.12), transparent 34rem),
        linear-gradient(180deg, #ffffff 0%, var(--nle-soft) 100%);
    color: var(--nle-ink);
}

.landing-shell {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 18px clamp(16px, 4vw, 34px) 28px;
}

.landing-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 58px;
}

.landing-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--nle-black);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.landing-signin:hover,
.landing-signin:focus {
    color: #ffffff;
    background: #1c1f1f;
}

.landing-hero {
    min-height: calc(100dvh - 104px);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
    align-items: center;
    gap: clamp(24px, 5vw, 62px);
    padding: clamp(22px, 6vw, 72px) 0 34px;
}

.landing-copy {
    max-width: 620px;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 14px;
    color: var(--nle-green-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.landing-kicker::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--nle-green);
}

.landing-title {
    margin: 0;
    max-width: 12ch;
    color: var(--nle-black);
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(2.35rem, 8vw, 5.6rem);
    font-weight: 900;
    line-height: 0.96;
}

.landing-subtitle {
    margin: 20px 0 0;
    max-width: 54ch;
    color: var(--nle-muted);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.65;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 28px;
}

.landing-primary,
.landing-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 50px;
    padding: 0 1.1rem;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
}

.landing-primary {
    background: var(--nle-green);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(57, 169, 30, 0.24);
}

.landing-primary:hover,
.landing-primary:focus {
    color: #ffffff;
    background: var(--nle-green-dark);
}

.landing-secondary {
    border: 1px solid var(--nle-line);
    color: var(--nle-ink);
    background: rgba(255, 255, 255, 0.72);
}

.landing-secondary:hover,
.landing-secondary:focus {
    color: var(--nle-ink);
    background: #ffffff;
}

.landing-brand-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(48vw, 430px);
    border-radius: 24px;
    background:
        linear-gradient(150deg, #ffffff 0%, #f7fbf5 64%, #edf6e9 100%);
    border: 1px solid var(--nle-line);
    box-shadow: 0 26px 70px rgba(18, 24, 23, 0.12);
    overflow: hidden;
}

.landing-brand-stage::before,
.landing-brand-stage::after {
    content: "";
    position: absolute;
    width: 72%;
    height: 24px;
    border-radius: 999px;
    border-top: 9px solid var(--nle-black);
    border-bottom: 8px solid var(--nle-green);
    opacity: 0.92;
    transform: rotate(-16deg);
}

.landing-brand-stage::before {
    top: -3px;
    right: -22%;
}

.landing-brand-stage::after {
    left: -22%;
    bottom: 10px;
}

.landing-brand-stage .nle-brand-mark {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
}

.landing-mobile-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 10px;
}

.landing-mobile-strip span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid var(--nle-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    color: #2d3833;
    font-size: 0.84rem;
    font-weight: 800;
}

@media (max-width: 820px) {
    .landing-shell {
        padding-top: 12px;
    }

    .landing-topbar {
        min-height: 54px;
    }

    .landing-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 18px;
    }

    .landing-brand-stage {
        order: -1;
        min-height: 250px;
        border-radius: 18px;
    }

    .landing-title {
        max-width: 11ch;
    }

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

@media (max-width: 560px) {
    .nle-nav-brand .nle-brand-symbol {
        width: 2rem;
        height: 1.45rem;
    }

    .nle-nav-brand .nle-brand-name {
        font-size: 0.92rem;
    }

    .nle-nav-brand .nle-brand-subtitle {
        display: none;
    }

    .landing-signin {
        min-height: 40px;
        padding: 0 0.85rem;
        font-size: 0.84rem;
    }

    .landing-brand-stage {
        min-height: 220px;
    }

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