/*
 * Nussknacker Static Framework
 * Mobile-first CSS framework for static HTML pages.
 * Colors and typography are inherited from nu-common.css.
 *
 * Breakpoints:
 *   - sm: 768px  (tablet portrait)
 *   - md: 1024px (tablet landscape)
 *   - lg: 1280px (desktop)
 *
 * Contents:
 *   - Layout (.container, .grid)
 *   - Sections (.nu-section)
 *   - Hero (.nu-hero)
 *   - Cards (.nu-card)
 *   - CTA (.nu-cta)
 *   - Trust bar (.nu-trust-bar)
 *   - Spacing utilities
 *   - Visibility utilities
 *   - Comparison table (.nu-comparison-table)
 *   - Text link utility (.nu-text-link)
 *   - Steps flow (.nu-steps)
 *   - Video card (.nu-video-card)
 *   - Split layout modifiers (.nu-split--reverse)
 *   - Image frame (.nu-image-frame)
 *   - Feature body (.nu-feature-body)
 *   - Integration badges grid (.nu-integration-grid)
 *   - Header CTA buttons (.header-cta-buttons)
 */

/* =====================================================
   BASE
   ===================================================== */

body {
    padding-top: 80px;
}

/* =====================================================
   LAYOUT
   ===================================================== */

.container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media screen and (min-width: 1280px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.grid {
    display: grid;
    gap: 24px;
}

@media screen and (min-width: 768px) {
    .grid {
        gap: 32px;
    }
}

.grid-2 {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.grid-3 {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media screen and (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4 {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media screen and (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   SECTIONS
   ===================================================== */

.nu-section {
    padding: 48px 0;
}

@media screen and (min-width: 768px) {
    .nu-section {
        padding: 64px 0;
    }
}

@media screen and (min-width: 1280px) {
    .nu-section {
        padding: 80px 0;
    }
}

.nu-section--light {
    background-color: var(--nu-white-color);
}

.nu-section--grey {
    background-color: var(--nu-grey-light-color);
}

.nu-section--dark,
.nu-section.bg-dark-grey {
    background-color: var(--nu-grey-dark-color);
    color: var(--nu-white-color);
}

.nu-section--dark a:not([class*="button"]),
.nu-section.bg-dark-grey a:not([class*="button"]) {
    color: var(--nu-primary-light-color);
}

.nu-section--dark .nu-section__subtitle,
.nu-section.bg-dark-grey .nu-section__subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.nu-section--accent {
    background-color: var(--nu-yellow-color);
}

.nu-section--purple {
    background-color: var(--nu-primary-color);
    color: var(--nu-white-color);
}

.nu-section--purple a {
    color: var(--nu-yellow-color);
}

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

.nu-hero {
    padding: 48px 0;
}

@media screen and (min-width: 768px) {
    .nu-hero {
        padding: 64px 0;
    }
}

@media screen and (min-width: 1280px) {
    .nu-hero {
        padding: 80px 0;
    }
}

.nu-hero .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 1024px) {
    .nu-hero .container {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
}

.nu-hero__content {
    flex: 1;
}

.nu-hero__title {
    font-family: SpaceGrotesk-Light;
    font-size: 36px;
    line-height: 1.15em;
    margin-bottom: 0.5em;
}

@media screen and (min-width: 768px) {
    .nu-hero__title {
        font-size: 48px;
    }
}

@media screen and (min-width: 1280px) {
    .nu-hero__title {
        font-size: 60px;
    }
}

.nu-hero__lead {
    font-size: 18px;
    line-height: 1.5em;
    color: var(--nu-grey-dark-medium-color);
    margin-bottom: 1.5em;
}

@media screen and (min-width: 768px) {
    .nu-hero__lead {
        font-size: 20px;
    }
}

.nu-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media screen and (min-width: 768px) {
    .nu-hero__actions {
        flex-direction: row;
        gap: 16px;
    }
}

.nu-hero__media {
    flex: 1;
}

.nu-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   CARDS
   ===================================================== */

.nu-card {
    background-color: var(--nu-white-color);
    border-radius: 4px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.nu-section--dark .nu-card,
.nu-section.bg-dark-grey .nu-card {
    background-color: var(--nu-grey-dark-medium-color);
}

.nu-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.nu-card__icon img,
.nu-card__icon svg {
    width: 100%;
    height: 100%;
}

.nu-card__title {
    font-family: SpaceGrotesk-Bold;
    font-size: 20px;
    line-height: 1.3em;
    margin-bottom: 0.5em;
    color: var(--nu-grey-dark-color);
}

.nu-card__text {
    font-size: 16px;
    line-height: 1.5em;
    color: var(--nu-grey-dark-medium-color);
    margin-bottom: 16px;
}

.nu-section--dark .nu-card__text,
.nu-section.bg-dark-grey .nu-card__text {
    color: var(--nu-grey-color);
}

/* =====================================================
   CTA BLOCK
   ===================================================== */

.nu-cta {
    text-align: center;
    padding: 48px 0;
}

@media screen and (min-width: 768px) {
    .nu-cta {
        padding: 64px 0;
    }
}

.nu-cta__title {
    font-family: SpaceGrotesk-Medium;
    font-size: 28px;
    line-height: 1.2em;
    margin-bottom: 0.75em;
}

@media screen and (min-width: 768px) {
    .nu-cta__title {
        font-size: 36px;
    }
}

.nu-cta__text {
    font-size: 18px;
    line-height: 1.5em;
    color: var(--nu-grey-dark-medium-color);
    margin-bottom: 1.5em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.nu-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media screen and (min-width: 768px) {
    .nu-cta__actions {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
}

/* =====================================================
   TRUST BAR
   ===================================================== */

.nu-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
}

@media screen and (min-width: 768px) {
    .nu-trust-bar {
        gap: 40px;
        padding: 32px 0;
    }
}

.nu-trust-bar__logo {
    height: 24px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

@media screen and (min-width: 768px) {
    .nu-trust-bar__logo {
        height: 32px;
    }
}

.nu-trust-bar__logo:hover {
    opacity: 1;
}

.nu-trust-bar__logo img,
.nu-trust-bar__logo svg {
    height: 100%;
    width: auto;
}

/* =====================================================
   SPACING UTILITIES
   ===================================================== */

.nu-mt-0 { margin-top: 0; }
.nu-mt-1 { margin-top: 8px; }
.nu-mt-2 { margin-top: 16px; }
.nu-mt-3 { margin-top: 24px; }
.nu-mt-4 { margin-top: 32px; }
.nu-mt-5 { margin-top: 48px; }
.nu-mt-6 { margin-top: 64px; }

.nu-mb-0 { margin-bottom: 0; }
.nu-mb-1 { margin-bottom: 8px; }
.nu-mb-2 { margin-bottom: 16px; }
.nu-mb-3 { margin-bottom: 24px; }
.nu-mb-4 { margin-bottom: 32px; }
.nu-mb-5 { margin-bottom: 48px; }
.nu-mb-6 { margin-bottom: 64px; }

.nu-py-0 { padding-top: 0; padding-bottom: 0; }
.nu-py-1 { padding-top: 8px; padding-bottom: 8px; }
.nu-py-2 { padding-top: 16px; padding-bottom: 16px; }
.nu-py-3 { padding-top: 24px; padding-bottom: 24px; }
.nu-py-4 { padding-top: 32px; padding-bottom: 32px; }
.nu-py-5 { padding-top: 48px; padding-bottom: 48px; }
.nu-py-6 { padding-top: 64px; padding-bottom: 64px; }

.nu-px-0 { padding-left: 0; padding-right: 0; }
.nu-px-1 { padding-left: 8px; padding-right: 8px; }
.nu-px-2 { padding-left: 16px; padding-right: 16px; }
.nu-px-3 { padding-left: 24px; padding-right: 24px; }
.nu-px-4 { padding-left: 32px; padding-right: 32px; }

/* =====================================================
   VISIBILITY UTILITIES
   ===================================================== */

.nu-hide-mobile {
    display: none;
}

@media screen and (min-width: 768px) {
    .nu-hide-mobile {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .nu-hide-desktop {
        display: none;
    }
}

/* =====================================================
   TEXT ALIGNMENT
   ===================================================== */

.nu-text-center { text-align: center; }
.nu-color-primary { color: var(--nu-primary-color); }
.nu-text-left { text-align: left; }
.nu-text-right { text-align: right; }

/* =====================================================
   SECTION HEADERS
   ===================================================== */

.nu-section__header {
    margin-bottom: 40px;
}

.nu-section__title {
    font-family: SpaceGrotesk-Medium;
    font-size: 32px;
    line-height: 1.2em;
    margin-bottom: 12px;
}

@media screen and (min-width: 768px) {
    .nu-section__title {
        font-size: 40px;
    }
}

.nu-section__subtitle {
    font-size: 18px;
    line-height: 1.5em;
    color: var(--nu-grey-dark-color);
    max-width: 640px;
}

.nu-text-center .nu-section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   CARD NUMBER (for numbered problem cards)
   ===================================================== */

.nu-card__number {
    font-family: SpaceGrotesk-Bold;
    font-size: 48px;
    line-height: 1;
    color: var(--nu-primary-color);
    margin-bottom: 12px;
    opacity: 0.2;
}

.nu-section--dark .nu-card__number,
.nu-section.bg-dark-grey .nu-card__number {
    color: var(--nu-primary-light-color);
    opacity: 0.3;
}

/* =====================================================
   HERO EXTRAS (persona bridge, microcopy)
   ===================================================== */

.nu-hero__persona {
    font-size: 14px;
    color: var(--nu-grey-dark-medium-color);
    font-family: SpaceGrotesk-Medium;
    border-top: 1px solid var(--nu-grey-medium-color);
    padding-top: 12px;
    margin-top: -0.5em;
    margin-bottom: 1.5em;
}

.nu-hero__no-cc {
    font-size: 0.78rem;
    color: var(--nu-grey-dark-light-color);
    margin-top: -0.25rem;
    margin-bottom: 0;
}

.nu-hero__microcopy {
    font-size: 14px;
    color: var(--nu-grey-dark-light-color);
    margin-top: 12px;
}

.nu-hero__microcopy a {
    color: var(--nu-primary-color);
    text-decoration: underline;
}

.nu-hero__microcopy a:hover {
    text-decoration: none;
}

/* =====================================================
   TECH BADGES (trust strip inline badges)
   ===================================================== */

.nu-tech-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.nu-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--nu-grey-medium-color);
    font-size: 14px;
    color: var(--nu-grey-dark-color);
    background: var(--nu-white-color);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

a.nu-tech-badge:hover {
    border-color: var(--nu-primary-color);
    text-decoration: none;
}

.nu-tech-badge__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nu-tech-badge__icon--flink { background-color: #E91E63; }
.nu-tech-badge__icon--kafka { background-color: #231F20; }
.nu-tech-badge__icon--ai    { background: linear-gradient(135deg, #6C63FF, var(--nu-primary-color)); }
.nu-tech-badge__icon--k8s   { background-color: #326CE5; }

/* =====================================================
   CUSTOMER STRIP (trusted-by logos row)
   ===================================================== */

.nu-customer-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.nu-customer-strip__label {
    font-size: 13px;
    font-family: SpaceMono-Regular, monospace;
    color: var(--nu-grey-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nu-customer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-family: SpaceGrotesk-Bold;
    font-size: 18px;
    color: var(--nu-grey-dark-light-color);
    opacity: 0.5;
}

/* =====================================================
   FEATURE CHECKLIST
   ===================================================== */

.nu-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nu-feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.5em;
    color: var(--nu-grey-dark-color);
}

.nu-feature-list__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--nu-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.nu-feature-list__check svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: var(--nu-white-color);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =====================================================
   TWO-COLUMN SPLIT LAYOUT
   ===================================================== */

.nu-split {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .nu-split {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* =====================================================
   VIDEO EMBED
   ===================================================== */

.nu-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--nu-grey-dark-color);
}

.nu-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =====================================================
   BLOCKQUOTE
   ===================================================== */

.nu-quote {
    border-left: 3px solid var(--nu-primary-color);
    padding: 16px 24px;
    margin-top: 24px;
    font-size: 16px;
    font-style: italic;
    color: var(--nu-grey-dark-medium-color);
    line-height: 1.6em;
}

/* =====================================================
   USE-CASE CARD VARIANT
   ===================================================== */

.nu-card--usecase {
    border-top: 3px solid var(--nu-primary-color);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nu-card--usecase:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* =====================================================
   METRICS ROW
   ===================================================== */

.nu-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

@media screen and (min-width: 768px) {
    .nu-metrics {
        gap: 64px;
    }
}

.nu-metric {
    text-align: center;
}

.nu-metric__value {
    font-family: SpaceGrotesk-Bold;
    font-size: 40px;
    line-height: 1.1em;
    color: var(--nu-primary-color);
}

@media screen and (min-width: 768px) {
    .nu-metric__value {
        font-size: 52px;
    }
}

.nu-metric__label {
    font-size: 14px;
    color: var(--nu-grey-dark-light-color);
    margin-top: 4px;
    font-family: SpaceMono-Regular, monospace;
}

.nu-section--dark .nu-metric__value,
.nu-section.bg-dark-grey .nu-metric__value {
    color: var(--nu-yellow-color);
}

.nu-section--dark .nu-metric__label,
.nu-section.bg-dark-grey .nu-metric__label {
    color: var(--nu-grey-color);
}

/* =====================================================
   TRUST LOGOS (larger placeholder row)
   ===================================================== */

.nu-trust-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px 0;
}

.nu-trust-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: SpaceGrotesk-Bold;
    font-size: 20px;
    opacity: 0.5;
}

/* =====================================================
   TESTIMONIAL CARDS
   ===================================================== */

.nu-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 24px 28px;
    border-left: 3px solid var(--nu-primary-light-color);
}

.nu-testimonial__text {
    font-size: 16px;
    line-height: 1.6em;
    font-style: italic;
    margin-bottom: 12px;
}

.nu-testimonial__author {
    font-size: 13px;
    font-family: SpaceMono-Regular, monospace;
    opacity: 0.6;
}

/* =====================================================
   ECOSYSTEM BADGES
   ===================================================== */

.nu-ecosystem {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 16px 0;
}

.nu-ecosystem__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-family: SpaceMono-Regular, monospace;
    color: var(--nu-white-color);
}

.nu-ecosystem__badge svg {
    width: 18px;
    height: 18px;
}

/* =====================================================
   OPEN SOURCE BANNER
   ===================================================== */

.nu-oss-banner {
    text-align: center;
    padding: 16px 0;
    font-size: 15px;
    color: var(--nu-grey-dark-light-color);
}

.nu-oss-banner a {
    color: var(--nu-primary-light-color);
}

/* =====================================================
   EYEBROW LABEL
   ===================================================== */

.nu-eyebrow {
    display: block;
    font-family: SpaceMono-Regular, monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nu-primary-color);
    margin: 0 0 8px 0;
}

.nu-section--dark .nu-eyebrow,
.nu-section.bg-dark-grey .nu-eyebrow {
    color: var(--nu-primary-light-color);
    opacity: 0.9;
}

/* =====================================================
   CARD SOLUTION CALLOUT (problem/benefit cards)
   ===================================================== */

.nu-card__solution {
    font-size: 14px;
    line-height: 1.6em;
    font-style: italic;
    color: var(--nu-primary-color);
    padding-top: 16px;
    border-top: 1px solid var(--nu-grey-medium-color);
    margin-top: auto;
}

.nu-section--dark .nu-card__solution,
.nu-section.bg-dark-grey .nu-card__solution {
    color: var(--nu-primary-light-color);
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   FEATURE LIST — TITLE + SUB-TEXT VARIANT
   ===================================================== */

.nu-feature-list__item-title {
    font-family: SpaceGrotesk-Medium;
    font-size: 15px;
    line-height: 1.4em;
    color: var(--nu-grey-dark-color);
}

.nu-feature-list__item-sub {
    font-size: 13px;
    line-height: 1.5em;
    color: var(--nu-grey-dark-light-color);
    margin-top: 2px;
    font-style: italic;
}

.nu-section--dark .nu-feature-list__item-title,
.nu-section.bg-dark-grey .nu-feature-list__item-title {
    color: var(--nu-white-color);
}

.nu-section--dark .nu-feature-list__item-sub,
.nu-section.bg-dark-grey .nu-feature-list__item-sub {
    color: var(--nu-grey-color);
}

/* =====================================================
   SECTION VARIANT — DEEP DARK
   ===================================================== */

.nu-section--deep-dark,
.nu-section.bg-black {
    background-color: var(--nu-near-black-color);
    color: var(--nu-white-color);
}

.nu-section--deep-dark a:not([class*="button"]),
.nu-section.bg-black a:not([class*="button"]) {
    color: var(--nu-primary-light-color);
}

.nu-section--dark .nu-cta__title,
.nu-section--deep-dark .nu-cta__title,
.nu-section.bg-dark-grey .nu-cta__title,
.nu-section.bg-black .nu-cta__title {
    color: var(--nu-white-color);
}

.nu-section--dark .nu-cta__text,
.nu-section--deep-dark .nu-cta__text,
.nu-section.bg-dark-grey .nu-cta__text,
.nu-section.bg-black .nu-cta__text {
    color: rgba(255, 255, 255, 0.45);
}

.nu-cta__text a:hover {
    animation: nu-flash 0.4s ease-out;
    text-decoration: none;
}

/* Remove double padding when .nu-cta sits inside .nu-section */
.nu-section .nu-cta {
    padding: 0;
}

/* =====================================================
   FADE-IN ANIMATION
   ===================================================== */

.nu-fade {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.nu-fade.nu-visible {
    opacity: 1;
    transform: none;
}

.nu-delay-1 { transition-delay: 0.1s; }
.nu-delay-2 { transition-delay: 0.2s; }
.nu-delay-3 { transition-delay: 0.3s; }
.nu-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   TABS
   ===================================================== */

.nu-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.nu-tab {
    font-family: SpaceGrotesk-Medium, sans-serif;
    font-size: 15px;
    color: var(--nu-grey-dark-light-color);
    padding: 14px 24px;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.nu-tab:hover {
    color: var(--nu-grey-dark-color);
}

.nu-tab.active {
    color: var(--nu-primary-color);
    border-bottom-color: var(--nu-primary-color);
}

.nu-tab-panel {
    display: none;
    padding-top: 48px;
}

.nu-tab-panel.active {
    display: block;
}

/* Split variant: text left + visual right */
.nu-tabs--split .nu-tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .nu-tabs--split .nu-tab-panel.active {
        grid-template-columns: 1fr;
    }

    .nu-tab-visual {
        display: none;
    }
}

.nu-tab-content h3 {
    font-family: SpaceGrotesk-Bold, sans-serif;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--nu-grey-dark-color);
}

.nu-tab-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--nu-grey-dark-medium-color);
    margin-bottom: 20px;
}

.nu-tab-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.nu-tab-visual svg {
    width: 100%;
    max-width: 360px;
}

/* =====================================================
   TAGS
   ===================================================== */

.nu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nu-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(160, 70, 220, 0.08);
    color: var(--nu-primary-color);
    border: 1px solid rgba(160, 70, 220, 0.2);
}

/* =====================================================
   VIDEO THUMBNAIL (thumbnail + play button overlay)
   ===================================================== */

.nu-video-embed__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.nu-video-embed__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nu-video-embed__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.nu-video-embed__thumb:hover .nu-video-embed__play {
    background: #ff0000;
}

.nu-video-embed__play svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}

/* =====================================================
   HERO TRUST STRIP
   ===================================================== */

.nu-hero__trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid var(--nu-grey-medium-color);
}

.nu-hero__trust-label {
    font-family: SpaceMono-Regular, monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--nu-grey-dark-light-color);
    white-space: nowrap;
}

.nu-hero__trust-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nu-hero__trust-logo {
    font-family: SpaceGrotesk-Bold;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.45);
}

.nu-hero__trust-sep {
    width: 1px;
    height: 22px;
    background: var(--nu-grey-medium-color);
    display: inline-block;
}

.nu-hero__trust-metric {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.nu-hero__trust-metric-val {
    font-family: SpaceGrotesk-Bold;
    font-size: 18px;
    color: var(--nu-primary-color);
}

.nu-hero__trust-metric-lbl {
    font-family: SpaceMono-Regular, monospace;
    font-size: 11px;
    color: var(--nu-grey-dark-light-color);
}

/* =====================================================
   TILED GRID (2px gap separator pattern)
   ===================================================== */

.nu-grid-tiled {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--nu-grey-medium-color);
}

@media (max-width: 768px) {
    .nu-grid-tiled {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   ICON CARD (problem/feature cards with icon)
   ===================================================== */

.nu-card--icon {
    background: var(--nu-white-color);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.nu-card__icon-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(160, 70, 220, 0.08);
    margin-bottom: 18px;
}

.nu-card__icon-box svg {
    width: 20px;
    height: 20px;
    stroke: var(--nu-primary-color);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Dark section override — icon card has white bg so text stays dark */
.nu-section--dark .nu-card--icon .nu-card__title,
.nu-section.bg-dark-grey .nu-card--icon .nu-card__title {
    color: var(--nu-grey-dark-color);
}
.nu-section--dark .nu-card--icon .nu-card__text,
.nu-section.bg-dark-grey .nu-card--icon .nu-card__text {
    color: var(--nu-grey-dark-medium-color);
}

/* =====================================================
   TESTIMONIAL — LIGHT VARIANT
   ===================================================== */

.nu-testimonial--light {
    background: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--nu-primary-color);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.nu-testimonial--light blockquote {
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
    color: var(--nu-grey-dark-medium-color);
    margin-top: 0;
    margin-bottom: 12px;
    flex: 1;
    display: flex;
    align-items: center;
}

.nu-testimonial--light cite {
    display: block;
    font-size: 12px;
    font-family: SpaceMono-Regular, monospace;
    color: #999;
    font-style: normal;
    margin-top: auto;
}

.nu-testimonial__result {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nu-primary-color);
    margin-bottom: 0.75rem;
}

/* =====================================================
   DARK SECTION — FEATURE LIST OVERRIDES
   ===================================================== */

.nu-section--dark .nu-feature-list__item,
.nu-section.bg-dark-grey .nu-feature-list__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 14px 0;
    gap: 14px;
}

.nu-section--dark .nu-feature-list__item:last-child,
.nu-section.bg-dark-grey .nu-feature-list__item:last-child {
    border-bottom: none;
}

/* =====================================================
   SPLIT LAYOUT — WIDE GAP MODIFIER
   ===================================================== */

@media screen and (min-width: 1024px) {
    .nu-split--wide {
        gap: 60px;
    }
}

/* =====================================================
   COMPARISON TABLE
   ===================================================== */

.nu-comparison-table {
    overflow-x: auto;
    margin-top: 2rem;
}

.nu-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.nu-comparison-table th,
.nu-comparison-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}

.nu-comparison-table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

.nu-comparison-table td:first-child {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.nu-comparison-table__highlight {
    color: var(--nu-white-color);
    background: rgba(160, 70, 220, 0.08);
    border-left: 2px solid var(--nu-primary-color);
    border-right: 2px solid var(--nu-primary-color);
    font-weight: 500;
}

.nu-comparison-table thead .nu-comparison-table__highlight {
    border-top: 2px solid var(--nu-primary-color);
    color: var(--nu-primary-light-color);
}

.nu-comparison-table tbody tr:last-child .nu-comparison-table__highlight {
    border-bottom: 2px solid var(--nu-primary-color);
}

.nu-comparison-table__footnote {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--nu-grey-color);
    opacity: 0.7;
}

/* =====================================================
   TEXT LINK UTILITY
   ===================================================== */

.nu-text-link {
    font-size: 0.9rem;
    color: var(--nu-primary-light-color);
    text-decoration: none;
    font-family: SpaceGrotesk-Medium, sans-serif;
}

.nu-text-link:hover {
    animation: nu-flash 0.4s ease-out;
    text-decoration: none;
}

/* =====================================================
   LINK HOVER — dark vs light sections
   ===================================================== */

/* Dark section text links: flash */
.nu-section--dark a:not([class*="button"]):hover,
.nu-section--deep-dark a:not([class*="button"]):hover,
.nu-section.bg-dark-grey a:not([class*="button"]):hover,
.nu-section.bg-black a:not([class*="button"]):hover {
    animation: nu-flash 0.4s ease-out;
    text-decoration: none;
}

/* Light section text links: underline
   Excludes bg-black and bg-dark-* sections; hero links are outside .page-section so unaffected */
.page-section:not([class*="bg-black"]):not([class*="bg-dark"]) a:not([class*="button"]):hover,
.nu-section:not(.nu-section--dark):not(.nu-section--deep-dark):not(.bg-dark-grey):not(.bg-black) a:not([class*="button"]):hover {
    text-decoration: underline;
}

/* =====================================================
   STEPS FLOW (numbered workflow steps)
   ===================================================== */

.nu-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media screen and (min-width: 768px) {
    .nu-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.nu-step {
    position: relative;
    padding: 28px 20px 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Vertical connector on mobile */
.nu-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 42px;
    top: 72px;
    bottom: 0;
    width: 1px;
    background: var(--nu-grey-medium-color);
    z-index: 0;
}

/* Horizontal connector on tablet+ — runs from center of this step to center of next */
@media screen and (min-width: 768px) {
    .nu-step:not(:last-child)::after {
        left: 50%;
        top: 22px;
        bottom: auto;
        width: 100%;
        height: 1px;
    }
}

.nu-step__number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(160, 70, 220, 0.08);
    border: 1.5px solid var(--nu-primary-color);
    color: var(--nu-primary-color);
    font-family: SpaceGrotesk-Bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.nu-step__title {
    font-family: SpaceGrotesk-Bold;
    font-size: 15px;
    line-height: 1.35em;
    color: var(--nu-grey-dark-color);
    margin: 0;
}

.nu-step__text {
    font-size: 14px;
    line-height: 1.6em;
    color: var(--nu-grey-dark-light-color);
    margin: 0;
}

/* Dark section overrides */
.nu-section--dark .nu-step__number,
.nu-section.bg-dark-grey .nu-step__number {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--nu-primary-light-color);
    color: var(--nu-primary-light-color);
}

.nu-section--dark .nu-step:not(:last-child)::after,
.nu-section.bg-dark-grey .nu-step:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.1);
}

.nu-section--dark .nu-step__title,
.nu-section.bg-dark-grey .nu-step__title {
    color: var(--nu-white-color);
}

.nu-section--dark .nu-step__text,
.nu-section.bg-dark-grey .nu-step__text {
    color: rgba(255, 255, 255, 0.55);
}

/* =====================================================
   VIDEO CARD (video embed + title + description + CTA)
   ===================================================== */

.nu-video-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nu-video-card__label {
    display: block;
    font-family: SpaceMono-Regular, monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nu-primary-color);
    margin-bottom: -4px;
}

.nu-section--dark .nu-video-card__label,
.nu-section.bg-dark-grey .nu-video-card__label {
    color: var(--nu-primary-light-color);
    opacity: 0.7;
}

.nu-video-card__title {
    font-family: SpaceGrotesk-Bold;
    font-size: 20px;
    line-height: 1.3em;
    color: var(--nu-grey-dark-color);
    margin: 0;
}

.nu-section--dark .nu-video-card__title,
.nu-section.bg-dark-grey .nu-video-card__title {
    color: var(--nu-white-color);
}

.nu-video-card__text {
    font-size: 15px;
    line-height: 1.65em;
    color: var(--nu-grey-dark-light-color);
    margin: 0;
}

.nu-section--dark .nu-video-card__text,
.nu-section.bg-dark-grey .nu-video-card__text {
    color: rgba(255, 255, 255, 0.55);
}

.nu-video-card__actions {
    margin-top: 4px;
}

/* =====================================================
   SPLIT LAYOUT — REVERSE MODIFIER
   Flips column order on tablet+ so image/text can alternate
   ===================================================== */

@media screen and (min-width: 1024px) {
    .nu-split--reverse > *:first-child {
        order: 2;
    }
    .nu-split--reverse > *:last-child {
        order: 1;
    }
}

/* =====================================================
   IMAGE FRAME
   Styled wrapper for feature screenshots / SVG illustrations
   ===================================================== */

.nu-image-frame {
    border-radius: 4px;
    overflow: hidden;
    background: var(--nu-grey-light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.nu-image-frame img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}

.nu-image-frame--flush {
    padding: 0;
}

.nu-section--dark .nu-image-frame,
.nu-section.bg-dark-grey .nu-image-frame {
    background: rgba(255, 255, 255, 0.04);
}

.nu-section--grey .nu-image-frame {
    background: var(--nu-white-color);
}

/* =====================================================
   FEATURE BODY
   Text side of a split section: eyebrow + heading + prose + list
   ===================================================== */

.nu-feature-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.nu-feature-body__title {
    font-family: SpaceGrotesk-Bold;
    font-size: 32px;
    line-height: 1.25em;
    color: var(--nu-grey-dark-color);
    margin: 0;
}

@media screen and (min-width: 1280px) {
    .nu-feature-body__title {
        font-size: 38px;
    }
}

.nu-feature-body__text {
    font-size: 16px;
    line-height: 1.75em;
    color: var(--nu-grey-dark-medium-color);
    margin: 0;
}

.nu-section--dark .nu-feature-body__title,
.nu-section.bg-dark-grey .nu-feature-body__title {
    color: var(--nu-white-color);
}

.nu-section--dark .nu-feature-body__text,
.nu-section.bg-dark-grey .nu-feature-body__text {
    color: rgba(255, 255, 255, 0.65);
}

/* =====================================================
   INTEGRATION BADGES GRID
   Row of tech/partner logos with name labels
   ===================================================== */

.nu-integration-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.nu-integration-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--nu-grey-medium-color);
    border-radius: 4px;
    font-size: 13px;
    font-family: SpaceGrotesk-Medium, sans-serif;
    color: var(--nu-grey-dark-medium-color);
    background: var(--nu-white-color);
    text-decoration: none;
}

.nu-integration-badge__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nu-integration-badge__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nu-section--dark .nu-integration-badge,
.nu-section.bg-dark-grey .nu-integration-badge {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.75);
}

/* =====================================================
   HEADER CTA BUTTONS
   ===================================================== */

.header-cta-buttons .button-cta {
    font-weight: 400;
}

