/* Marketing landing (index) — monochrome editorial */

.nn-landing-body {
    --nn-landing-display: "Instrument Sans", Inter, system-ui, sans-serif;
    --nn-landing-max: 72rem;
    --nn-landing-pad: clamp(1.25rem, 4vw, 2.5rem);
    background: var(--nn-bg);
    color: var(--nn-text);
}

.nn-landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--nn-border);
    background: color-mix(in srgb, var(--nn-bg) 90%, transparent);
    backdrop-filter: blur(12px);
}

.nn-landing-nav-inner {
    max-width: var(--nn-landing-max);
    margin: 0 auto;
    padding: 0.65rem var(--nn-landing-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nn-landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--nn-text);
    font-family: var(--nn-landing-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.nn-landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nn-landing-nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nn-muted);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: var(--nn-radius);
    border: 1px solid transparent;
    transition: color var(--nn-transition), background var(--nn-transition), border-color var(--nn-transition);
}

.nn-landing-nav-link:hover {
    color: var(--nn-hover-fg);
    border-color: var(--nn-border);
    background: var(--nn-hover-bg);
}

.nn-landing-nav-link--primary {
    color: var(--nn-accent-fg);
    background: var(--nn-accent-bg);
    border-color: var(--nn-accent-border);
}

.nn-landing-nav-link--primary:hover {
    color: var(--nn-accent-hover-fg);
    background: var(--nn-accent-hover-bg);
}

.nn-landing {
    overflow-x: hidden;
}

.nn-landing-kicker {
    font-family: var(--nn-font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--nn-muted-2);
    margin: 0 0 0.75rem;
}

.nn-landing-title {
    font-family: var(--nn-landing-display);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0 0 1.25rem;
    max-width: 14ch;
}

.nn-landing-lead,
.nn-landing-band-lead,
.nn-landing-cta-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--nn-muted);
    margin: 0;
    max-width: 42ch;
}

.nn-landing-h2 {
    font-family: var(--nn-landing-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
}

.nn-landing-h3 {
    font-family: var(--nn-landing-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
}

.nn-landing-hero {
    max-width: var(--nn-landing-max);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) var(--nn-landing-pad) 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
}

.nn-landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--nn-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--nn-border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 20% 30%, #000 15%, transparent 70%);
    opacity: 0.45;
    pointer-events: none;
}

.nn-landing-hero-copy {
    position: relative;
    z-index: 1;
    animation: nnLandingIn 0.8s ease-out both;
}

@media (min-width: 960px) {
    .nn-landing-hero {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 3rem;
    }

    .nn-landing-title {
        max-width: 12ch;
    }
}

.nn-landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.75rem 0 1rem;
}

.nn-landing-btn-lg {
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.nn-landing-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--nn-text);
    background: transparent;
    border: 1px solid var(--nn-border);
    border-radius: var(--nn-radius);
    text-decoration: none;
    transition: background var(--nn-transition), border-color var(--nn-transition);
}

.nn-landing-btn-ghost:hover {
    background: var(--nn-hover-bg);
    border-color: var(--nn-border-hover);
    color: var(--nn-hover-fg);
}

.nn-landing-note {
    font-size: 0.8125rem;
    color: var(--nn-muted-2);
    margin: 0;
    max-width: 40ch;
}

.nn-landing-shot {
    position: relative;
    z-index: 1;
    margin: 0;
    border: 1px solid var(--nn-border);
    border-radius: calc(var(--nn-radius) + 4px);
    overflow: hidden;
    background: var(--nn-surface);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--nn-text) 4%, transparent),
        0 24px 48px color-mix(in srgb, #000 35%, transparent);
    animation: nnLandingIn 0.9s ease-out 0.1s both;
}

.nn-landing-shot img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.nn-landing-shot-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.45rem 0.75rem;
    font-size: 0.6875rem;
    font-family: var(--nn-font-mono);
    color: var(--nn-muted);
    background: color-mix(in srgb, var(--nn-bg) 82%, transparent);
    border-top: 1px solid var(--nn-border);
}

.nn-landing-shot--hero {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

@media (max-width: 959px) {
    .nn-landing-shot--hero {
        transform: none;
    }
}

.nn-landing-band {
    border-top: 1px solid var(--nn-border);
    background: var(--nn-surface);
    padding: clamp(3rem, 7vw, 5rem) var(--nn-landing-pad);
}

.nn-landing-band-head,
.nn-landing-compare-head {
    max-width: var(--nn-landing-max);
    margin: 0 auto 3rem;
}

.nn-landing-feature {
    max-width: var(--nn-landing-max);
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
}

.nn-landing-feature:last-child {
    margin-bottom: 0;
}

@media (min-width: 900px) {
    .nn-landing-feature {
        grid-template-columns: 1fr 1.1fr;
        gap: 2.5rem;
    }

    .nn-landing-feature--flip .nn-landing-feature-copy {
        order: 2;
    }

    .nn-landing-feature--flip .nn-landing-shot {
        order: 1;
    }
}

.nn-landing-feature-copy p {
    margin: 0 0 1rem;
    color: var(--nn-muted);
    line-height: 1.55;
    font-size: 0.9375rem;
    max-width: 46ch;
}

.nn-landing-feature-copy code {
    font-family: var(--nn-font-mono);
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: var(--nn-hover-bg);
    color: var(--nn-text);
}

.nn-landing-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.nn-landing-tags li {
    font-size: 0.6875rem;
    font-family: var(--nn-font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--nn-border);
    border-radius: var(--nn-radius);
    color: var(--nn-muted);
}

.nn-landing-compare {
    max-width: var(--nn-landing-max);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) var(--nn-landing-pad);
}

.nn-landing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--nn-border);
    border-radius: calc(var(--nn-radius) + 2px);
    background: var(--nn-surface-2);
    margin-bottom: 1.5rem;
}

.nn-landing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.nn-landing-table th,
.nn-landing-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--nn-border);
}

.nn-landing-table thead th {
    font-family: var(--nn-font-mono);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nn-muted-2);
    background: var(--nn-surface);
}

.nn-landing-table tbody th {
    font-weight: 600;
    color: var(--nn-text);
    white-space: nowrap;
    width: 1%;
}

.nn-landing-table tbody td {
    color: var(--nn-muted);
    line-height: 1.45;
}

.nn-landing-table tbody tr:last-child th,
.nn-landing-table tbody tr:last-child td {
    border-bottom: none;
}

.nn-landing-table td:first-of-type,
.nn-landing-table thead th:nth-child(2) {
    color: var(--nn-text);
    background: color-mix(in srgb, var(--nn-hover-bg) 50%, transparent);
}

.nn-landing-compare-note {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--nn-muted);
    max-width: 58ch;
    margin: 0;
}

.nn-landing-cta {
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) var(--nn-landing-pad);
    border-top: 1px solid var(--nn-border);
    background: radial-gradient(ellipse 80% 60% at 50% 100%, var(--nn-hover-bg), transparent 65%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nn-landing-cta-title {
    font-family: var(--nn-landing-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
    max-width: 20ch;
}

.nn-landing-cta .nn-landing-cta-lead {
    margin-inline: auto;
    max-width: 40ch;
}

.nn-landing-cta .nn-landing-hero-cta {
    justify-content: center;
    margin-top: 1.5rem;
}

.nn-landing-footer {
    border-top: 1px solid var(--nn-border);
    padding: 1.5rem var(--nn-landing-pad) 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--nn-muted);
}

.nn-landing-footer a {
    color: var(--nn-link);
    text-decoration: none;
}

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

.nn-landing-footer-copy {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--nn-muted-2);
}

@keyframes nnLandingIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .nn-landing-hero-copy,
    .nn-landing-shot {
        animation: none;
    }

    .nn-landing-shot--hero {
        transform: none;
    }
}