/*
 * nu-legacy-modern.css
 * Bridge stylesheet: nu-modern components for use inside nu-legacy page layout.
 * Colors and typography inherited from nu-common.css.
 * Layout (grid, section wrappers) provided by nu-legacy.css.
 *
 * Contents:
 *   - Section headers (.nu-section__header, .nu-section__title, .nu-section__subtitle)
 *   - Eyebrow label (.nu-eyebrow)
 *   - Fade override (.nu-fade — disabled, no JS in legacy)
 *   - Cards (.nu-card, .nu-card--icon)
 *   - Comparison table (.nu-comparison-table)
 *   - CTA block (.nu-cta)
 *   - Feature list (.nu-feature-list)
 *   - Metrics (.nu-metrics, .nu-metric)
 *   - OSS banner (.nu-oss-banner)
 *   - Tabs (.nu-tabs, .nu-tab, .nu-tab-panel)
 *   - Testimonials (.nu-testimonial)
 *   - Trust logos (.nu-trust-logos, .nu-trust-bar)
 *   - Video embed (.nu-video-embed, .nu-video-card)
 *   - Tags (.nu-tags, .nu-tag)
 *   - Text link (.nu-text-link)
 *   - Link hover (dark/light sections)
 *   - Tiled grid (.nu-grid-tiled)
 *   - Split layout (.nu-split)
 *   - Text utilities (.nu-text-center)
 *   - Spacing utilities (.nu-mt-*, .nu-mb-*)
 *   - Dark context (.bg-dark-grey, .bg-black — bg color classes as context triggers)
 *   - Hero (.nu-hero__*)
 *   - Tech badges (.nu-tech-strip, .nu-tech-badge)
 *   - Color utilities (.nu-color-primary)
 *   - Legacy context overrides
 */

/* =====================================================
   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,
.custom-html-block.layout-centered .nu-section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

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

/* =====================================================
   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 2px 0;
}

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

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

/* Fade animations disabled in legacy — no JS to trigger .nu-visible */
.nu-fade {
    opacity: 1;
    transform: none;
}

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

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

.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;
}

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

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

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

.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: 16px;
    align-self: start;
}

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

/* =====================================================
   ICON CARD
   ===================================================== */

.nu-card--icon {
    background: var(--nu-white-color);
    padding: 36px 32px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    row-gap: 0;
}

.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;
}

.bg-dark-grey .nu-card--icon .nu-card__title {
    color: var(--nu-grey-dark-color);
}

.bg-dark-grey .nu-card--icon .nu-card__text {
    color: var(--nu-grey-dark-medium-color);
}

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

.nu-comparison-table {
    overflow-x: auto;
    max-width: clamp(680px, 76%, 1250px);
    margin: 2rem auto 0;
}

.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 {
    max-width: clamp(680px, 76%, 1250px);
    margin: 0.75rem auto 0;
    font-size: 0.8rem;
    color: var(--nu-grey-color);
    opacity: 0.7;
}

/* =====================================================
   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;
    }
}

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

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

.nu-cta__text a:hover {
    opacity: 0.65;
    text-decoration: none;
}

/* =====================================================
   FEATURE LIST
   ===================================================== */

.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);
    border-bottom: 1px solid var(--nu-grey-medium-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;
}

.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;
}

.bg-dark-grey .nu-feature-list__item,
.bg-black .nu-feature-list__item {
    padding: 14px 0;
    gap: 14px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

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

/* =====================================================
   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;
}

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

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

/* =====================================================
   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);
}

/* =====================================================
   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-primary-color);
}

.bg-dark-grey .nu-tab:hover,
.bg-black .nu-tab:hover {
    color: var(--nu-white-color);
}

.bg-dark-grey .nu-tabs,
.bg-black .nu-tabs {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.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;
}

.nu-tabs--split .nu-tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media screen and (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: 300px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.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;
}

.nu-testimonial--light {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--nu-grey-medium-color);
    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;
    font-family: inherit;
    color: var(--nu-grey-dark-medium-color);
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
    flex: 1;
}

.nu-testimonial--light cite {
    display: block;
    font-size: 12px;
    font-family: SpaceMono-Regular, monospace;
    color: var(--nu-grey-dark-light-color);
    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;
}

/* =====================================================
   TRUST LOGOS
   ===================================================== */

.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;
}

.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;
}

/* =====================================================
   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;
}

.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;
}

.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;
}

.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;
}

.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;
}

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

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

/* =====================================================
   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);
}

/* =====================================================
   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;
    transition: opacity 0.2s ease;
}

.nu-text-link:hover {
    opacity: 0.65;
    text-decoration: none;
}

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

/* Dark section text links: permanent dim on hover */
.bg-dark-grey a:not([class*="button"]),
.bg-black a:not([class*="button"]) {
    transition: opacity 0.2s ease;
}

.bg-dark-grey a:not([class*="button"]):hover,
.bg-black a:not([class*="button"]):hover {
    opacity: 0.65;
    text-decoration: none;
}

/* Light section text links: underline
   bg-black and bg-dark-* are excluded; hero links are outside .page-section */
.page-section:not([class*="bg-black"]):not([class*="bg-dark"]) a:not([class*="button"]):not(.nu-text-link):hover {
    text-decoration: underline;
}

/* =====================================================
   TILED GRID
   ===================================================== */

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

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

/* =====================================================
   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;
    }

    .nu-split--wide {
        gap: 60px;
    }
}

/* =====================================================
   TEXT UTILITIES
   ===================================================== */

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

/* =====================================================
   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; }

/* =====================================================
   DARK CONTEXT
   ===================================================== */

.bg-dark-grey,
.bg-black {
    color: var(--nu-white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.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__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;
}

.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);
}

/* Hero description fades in after the hero lead, matching HeroAnimation timing.
   HeroAnimation only animates .hero__lead; .content is handled here via CSS. */
.hero-section .content {
    animation: nu-hero-content-in 0.5s ease-out 0.3s both;
}

@keyframes nu-hero-content-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* =====================================================
   TECH 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)); }

/* =====================================================
   COLOR UTILITIES
   ===================================================== */

.nu-color-primary { color: var(--nu-primary-color); }

/* =====================================================
   LEGACY CONTEXT OVERRIDES
   — adjustments for nu-modern components inside the
     legacy page-section / custom-html-block wrapper
   ===================================================== */

/* GSAP SectionAnimation sets transform: translateY(50px) on .content elements.
   Override transform to prevent displacement — opacity fade-in still works. */
.custom-html-block.content {
    transform: none !important;
}

/* Page-section already provides top/bottom margin via :first-child/:last-child rules.
   Remove the cta's own padding to avoid double spacing. */
.main-container .page-section .nu-cta {
    padding: 0;
}

/* layout-centered passes text-align: center down to nu-modern components
   that need to override their default left-align */
.custom-html-block.layout-centered .nu-section__header,
.custom-html-block.layout-centered .nu-metrics,
.custom-html-block.layout-centered .nu-trust-logos,
.custom-html-block.layout-centered .nu-oss-banner {
    text-align: center;
}


/* Two-column grid — matches nu-modern.css grid-2 (missing from legacy) */
.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;
    }
}

/* nu-common.css adds `ul li::before { content:"–"; position:absolute; transform:translateX(-.9em) }`
   to ALL <ul> list items. Reset that for nu-feature-list so circles don't bleed into adjacent content. */
.custom-html-block .nu-feature-list__item::before {
    content: none;
    position: static;
    transform: none;
}

/* Checkmark circle fallback when .nu-feature-list__check span is absent.
   Overrides the reset above due to higher specificity. */
.custom-html-block .nu-feature-list__item:not(:has(.nu-feature-list__check))::before {
    content: '';
    position: static;
    transform: none;
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--nu-primary-color);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='2 6 5 9 10 3' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    margin-top: 2px;
}
