/* ==========================================================================
   NexEase marketing site
   Shared tokens + components used across frontend pages, then the
   homepage sections (prefixed .nx-).
   ========================================================================== */

:root {
    --navy: #273A54;          /* Nexease logo navy */
    --navy-dark: #1E2D43;
    --ink: #273A54;
    --body: #4F6075;
    --muted: #607085;
    --teal: #009F9B;          /* Nexease logo teal — buttons, links, accents */
    --teal-dark: #008A87;
    --teal-bright: #00AAA6;
    --mint: #E6F7F6;
    --mist: #F5F8FA;
    --line: #DCE4EA;
    --gold: #f5b84b;
    --radius: 16px;
    --shadow-sm: 0 2px 8px rgba(39, 58, 84, .05);
    --shadow: 0 18px 44px rgba(39, 58, 84, .09);
    --shadow-lg: 0 24px 60px rgba(39, 58, 84, .14);
    --header-h: 72px;
    --focus: 0 0 0 3px #fff, 0 0 0 5px var(--teal);
}

/* Bootstrap 5.3 hooks so plain Bootstrap markup (auth cards, alerts, forms) follows the brand */
:root {
    --bs-primary: #009F9B;
    --bs-primary-rgb: 0, 159, 155;
    --bs-primary-text-emphasis: #008A87;
    --bs-primary-bg-subtle: #E6F7F6;
    --bs-primary-border-subtle: #BFE6E4;
    --bs-dark: #273A54;
    --bs-dark-rgb: 39, 58, 84;
    --bs-body-color: #273A54;
    --bs-body-color-rgb: 39, 58, 84;
    --bs-emphasis-color: #1E2D43;
    --bs-secondary-color: #607085;
    --bs-border-color: #DCE4EA;
    --bs-light-rgb: 245, 248, 250;
    --bs-link-color: #009F9B;
    --bs-link-color-rgb: 0, 159, 155;
    --bs-link-hover-color: #008A87;
    --bs-link-hover-color-rgb: 0, 138, 135;
    --bs-focus-ring-color: rgba(0, 159, 155, 0.25);
    --bs-info-rgb: 0, 159, 155;
    --bs-info-text-emphasis: #008A87;
    --bs-info-bg-subtle: #F1FAF9;
    --bs-info-border-subtle: #BFE6E4;
}
.text-muted { color: #607085 !important; }
.form-control, .form-select { border-color: var(--line); color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 159, 155, .14); }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-check-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 159, 155, .14); }
.btn-outline-secondary { --bs-btn-color: var(--body); --bs-btn-border-color: var(--line); --bs-btn-hover-bg: var(--mint); --bs-btn-hover-color: var(--teal-dark); --bs-btn-hover-border-color: #BFE6E4; --bs-btn-active-bg: var(--mint); --bs-btn-active-color: var(--teal-dark); }
.brand-icon { display: grid; place-items: center; border-radius: 14px; background: var(--mint); color: var(--teal); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-family: 'DM Sans', system-ui, sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: Manrope, system-ui, sans-serif; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
img { max-width: 100%; }
main { overflow-x: clip; } /* contain Bootstrap .g-5 negative gutters on narrow screens */
a, button, input, [tabindex] { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { box-shadow: var(--focus); border-radius: 8px; }

.nx-skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.nx-skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.nx-header { z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.nx-header.is-scrolled { box-shadow: 0 6px 24px rgba(39, 58, 84, .07); }
.navbar-custom { padding: 0; min-height: var(--header-h); }
.navbar-custom > .container { min-height: var(--header-h); }
.brand-logo img { display: block; width: 172px; height: 36px; object-fit: contain; object-position: left center; }
.navbar-custom .navbar-nav { gap: 6px; margin-right: 28px; }
.navbar-custom .nav-link { position: relative; font-weight: 600; font-size: 14.5px; color: var(--body); padding: 10px 14px !important; border-radius: 8px; transition: color .2s; }
.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active { color: var(--teal); }
.navbar-custom .nav-link.active { font-weight: 700; }
.navbar-custom .nav-link.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--teal-bright); }
.navbar-toggler { border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; padding: 0; color: var(--navy); font-size: 18px; box-shadow: none !important; }
.navbar-toggler .nx-icon-close, .navbar-toggler[aria-expanded="true"] .nx-icon-open { display: none; }
.navbar-toggler[aria-expanded="true"] .nx-icon-close { display: inline-block; }
.nx-nav-compact { display: flex; align-items: center; gap: 10px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nx-btn-login { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid #cfdadf; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; background: #fff; transition: border-color .2s, color .2s, transform .2s; }
.nx-btn-login i, .btn-sm-brand i { font-size: 10px; }
.nx-btn-login:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Buttons (shared) ---------- */
.btn-brand, .btn-outline-brand { border-radius: 10px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-brand { background: linear-gradient(135deg, #009F9B 0%, #00AAA6 100%); border: 1px solid var(--teal); color: #fff; padding: 13px 22px; box-shadow: 0 6px 18px rgba(0, 159, 155, .20); }
.btn-brand:hover { color: #fff; background: linear-gradient(135deg, #008A87 0%, #009F9B 100%); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 159, 155, .28); }
.btn-brand i { font-size: 11px; }
.btn-sm-brand { padding: 9px 16px; border-radius: 10px; font-size: 14px; box-shadow: none; }
.btn-outline-brand { padding: 12px 22px; border: 1px solid #cfdadf; color: var(--navy); background: #fff; }
.btn-outline-brand:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ---------- Shared inner-page components ---------- */
.hero-wrapper-light { padding: 80px 0 90px; background: radial-gradient(circle at 86% 20%, #dff4f1 0, transparent 30%), linear-gradient(180deg, #fafdfd, #f1f8f8); }
.badge-pill-light { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #BFE6E4; background: #E6F7F6; color: var(--teal-dark); border-radius: 99px; padding: 7px 14px; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.pulse-dot { height: 7px; width: 7px; border-radius: 50%; background: #10b8a5; box-shadow: 0 0 0 4px #d9f5ee; }
.hero-title-light { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; margin: 20px 0; color: var(--navy); max-width: 680px; }
.hero-title-light span { color: var(--teal-bright); }
.hero-subtitle-light { font-size: 18px; line-height: 1.7; color: var(--body); max-width: 600px; margin-bottom: 30px; }

/* Inner-page banner (Features, Pricing, About, Contact): photo on the right,
   copy left-aligned over a light fade so it stays readable. */
.page-hero-banner {
    position: relative; isolation: isolate; display: flex; align-items: center;
    min-height: 460px; padding: 80px 0 !important;
    background-color: #f5f9f9;
    background-image:
        linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .9) 36%, rgba(250, 253, 253, .35) 58%, rgba(250, 253, 253, 0) 72%),
        url('../images/page-banner-1600.jpg?v=2');
    background-image:
        linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .9) 36%, rgba(250, 253, 253, .35) 58%, rgba(250, 253, 253, 0) 72%),
        image-set(url('../images/page-banner-1600.webp?v=2') type('image/webp'), url('../images/page-banner-1600.jpg?v=2') type('image/jpeg'));
    background-size: cover; background-position: right 32%; background-repeat: no-repeat;
}
.page-hero-banner .container { position: relative; }
.page-hero-banner .hero-title-light { max-width: 620px; }
.page-hero-banner .hero-subtitle-light { max-width: 560px; }

@media (min-width: 1600px) {
    .page-hero-banner {
        min-height: 520px;
        background-image:
            linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .9) 36%, rgba(250, 253, 253, .35) 58%, rgba(250, 253, 253, 0) 72%),
            image-set(url('../images/page-banner-2400.webp?v=2') type('image/webp'), url('../images/page-banner-1600.jpg?v=2') type('image/jpeg'));
    }
}

@media (max-width: 991.98px) {
    .page-hero-banner {
        min-height: 400px; padding: 64px 0 !important;
        background-image:
            linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .92) 48%, rgba(250, 253, 253, .5) 66%, rgba(250, 253, 253, 0) 82%),
            url('../images/page-banner-1600.jpg?v=2');
        background-image:
            linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .92) 48%, rgba(250, 253, 253, .5) 66%, rgba(250, 253, 253, 0) 82%),
            image-set(url('../images/page-banner-1600.webp?v=2') type('image/webp'), url('../images/page-banner-1600.jpg?v=2') type('image/jpeg'));
        background-position: 88% 30%;
    }
    .page-hero-banner .hero-title-light { max-width: 520px; }
    .page-hero-banner .hero-subtitle-light { max-width: 460px; }
}

@media (max-width: 575.98px) {
    .page-hero-banner {
        min-height: 0; padding: 48px 0 56px !important;
        background-image:
            linear-gradient(180deg, rgba(250, 253, 253, .9) 0%, rgba(250, 253, 253, .82) 55%, rgba(250, 253, 253, .94) 100%),
            url('../images/page-banner-960.jpg?v=2');
        background-image:
            linear-gradient(180deg, rgba(250, 253, 253, .9) 0%, rgba(250, 253, 253, .82) 55%, rgba(250, 253, 253, .94) 100%),
            image-set(url('../images/page-banner-960.webp?v=2') type('image/webp'), url('../images/page-banner-960.jpg?v=2') type('image/jpeg'));
        background-position: 78% 30%;
    }
    .page-hero-banner .hero-subtitle-light { font-size: 16px; }
}

/* Book a Demo: artwork fills the right ~65%, so the image is pinned right at
   full banner height and the copy column is kept narrower. */
.page-hero-banner--demo {
    background-color: #f7fbfb;
    background-image:
        linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .9) 26%, rgba(250, 253, 253, .3) 40%, rgba(250, 253, 253, 0) 50%),
        url('../images/demo-banner-1600.jpg');
    background-image:
        linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .9) 26%, rgba(250, 253, 253, .3) 40%, rgba(250, 253, 253, 0) 50%),
        image-set(url('../images/demo-banner-1600.webp') type('image/webp'), url('../images/demo-banner-1600.jpg') type('image/jpeg'));
    background-size: 100% 100%, auto 100%;
    background-position: 0 0, right center;
}
.page-hero-banner--demo .hero-title-light { max-width: 460px; }
.page-hero-banner--demo .hero-subtitle-light { max-width: 440px; }

@media (min-width: 1600px) {
    .page-hero-banner--demo {
        background-image:
            linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .9) 26%, rgba(250, 253, 253, .3) 40%, rgba(250, 253, 253, 0) 50%),
            image-set(url('../images/demo-banner-full.webp') type('image/webp'), url('../images/demo-banner-1600.jpg') type('image/jpeg'));
    }
}

@media (max-width: 1199.98px) {
    .page-hero-banner--demo {
        background-image:
            linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .92) 46%, rgba(250, 253, 253, .5) 62%, rgba(250, 253, 253, 0) 78%),
            url('../images/demo-banner-1600.jpg');
        background-image:
            linear-gradient(90deg, rgba(250, 253, 253, .97) 0%, rgba(250, 253, 253, .92) 46%, rgba(250, 253, 253, .5) 62%, rgba(250, 253, 253, 0) 78%),
            image-set(url('../images/demo-banner-1600.webp') type('image/webp'), url('../images/demo-banner-1600.jpg') type('image/jpeg'));
        background-size: cover; background-position: 80% center;
    }
}

@media (max-width: 575.98px) {
    .page-hero-banner--demo {
        background-image:
            linear-gradient(180deg, rgba(250, 253, 253, .9) 0%, rgba(250, 253, 253, .82) 55%, rgba(250, 253, 253, .94) 100%),
            url('../images/demo-banner-960.jpg');
        background-image:
            linear-gradient(180deg, rgba(250, 253, 253, .9) 0%, rgba(250, 253, 253, .82) 55%, rgba(250, 253, 253, .94) 100%),
            image-set(url('../images/demo-banner-960.webp') type('image/webp'), url('../images/demo-banner-960.jpg') type('image/jpeg'));
        background-position: 70% center;
    }
}
.card-custom { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px 27px; height: 100%; transition: transform .25s, box-shadow .25s; }
.card-custom:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-custom h3 { font-size: 20px; }
.card-custom p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-custom a { font-weight: 700; text-decoration: none; color: var(--teal); font-size: 13px; }
.icon-box-light { height: 42px; width: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--teal); margin-bottom: 14px; }
.pricing-card-light { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; position: relative; background: #fff; }
.pricing-card-light.recommended { border: 2px solid var(--teal-bright); box-shadow: 0 15px 35px rgba(0, 138, 135, .12); }
.price { font: 800 34px Manrope, sans-serif; color: var(--navy); margin: 20px 0; }
.price small { font: 500 12px 'DM Sans', sans-serif; color: var(--muted); }
.accordion-item { border: 1px solid var(--line) !important; border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-button { font: 700 15px Manrope, sans-serif; color: var(--navy); padding: 19px 22px; background: #fff; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--teal-dark); background: #fff; }
.accordion-button:focus-visible { box-shadow: inset 0 0 0 2px var(--teal) !important; }
.accordion-body { color: var(--muted); line-height: 1.7; font-size: 14.5px; padding: 0 22px 20px; }

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* ---------- Hero ---------- */
.nx-hero { position: relative; isolation: isolate; min-height: clamp(560px, 46vw, 700px); display: flex; align-items: center; padding: 56px 0 64px; background: #f7f3ee; overflow: hidden; }
.nx-hero__inner { position: relative; z-index: 2; }
.nx-hero__content { max-width: 560px; }
.nx-hero__visual { position: absolute; inset: 0; z-index: 0; }
.nx-hero__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 247, 243, .94) 0%, rgba(250, 247, 243, .82) 30%, rgba(250, 247, 243, 0) 54%); pointer-events: none; }
.nx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 30%; }
.nx-hero__eyebrow { display: inline-block; margin: 0 0 18px; padding: 7px 14px; border-radius: 99px; background: rgba(0, 159, 155, .12); border: 1px solid rgba(0, 159, 155, .22); color: var(--teal-dark); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nx-hero__title { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.08; margin: 0 0 18px; }
.nx-hero__title span { display: block; color: var(--teal-bright); }
.nx-hero__lead { font-size: 17px; line-height: 1.65; color: var(--body); margin: 0 0 20px; max-width: 520px; }
.nx-hero__checks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 520px; }
.nx-hero__checks li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.nx-hero__checks i { color: var(--teal-bright); }
.nx-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.nx-link-demo { display: inline-flex; align-items: center; gap: 8px; padding: 12px 6px; font-weight: 700; font-size: 15px; color: var(--teal); text-decoration: none; }
.nx-link-demo:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.nx-hero__trust { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.nx-hero__trust p { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--body); }
.nx-avatars { display: flex; }
.nx-avatars i { height: 32px; width: 32px; margin-left: -9px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font: 800 10px Manrope, sans-serif; font-style: normal; color: #fff; background: #5b7b93; box-shadow: 0 2px 6px rgba(39, 58, 84, .12); }
.nx-avatars i:first-child { margin-left: 0; background: #c7875a; }
.nx-avatars i:nth-child(2) { background: #009F9B; }
.nx-avatars i:nth-child(3) { background: #6b72c9; }
.nx-stars { display: block; color: var(--gold); font-size: 11px; letter-spacing: 2px; }

/* Hero monitoring widget */
.nx-hero__monitor-wrap { position: relative; height: 100%; z-index: 1; }
.nx-monitor { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 196px; display: grid; gap: 10px; animation: nx-float 6s ease-in-out infinite; }
.nx-monitor__head { text-align: right; padding: 0 2px 2px; }
.nx-monitor__live { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 11px; font-weight: 700; color: #0b7d52; }
.nx-monitor__group { margin: 2px 0 0; font: 800 14px Manrope, sans-serif; color: var(--navy); }
.nx-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #18b26b; box-shadow: 0 0 0 0 rgba(24, 178, 107, .5); animation: nx-pulse 2s infinite; }
.nx-monitor__card { background: rgba(255, 255, 255, .96); border: 1px solid rgba(227, 234, 238, .9); border-radius: 12px; padding: 11px 14px; box-shadow: 0 12px 30px rgba(39, 58, 84, .14); display: flex; flex-direction: column; gap: 2px; }
.nx-monitor__card > span:first-child { font-size: 11px; font-weight: 600; color: var(--muted); }
.nx-monitor__card strong { font: 800 17px Manrope, sans-serif; color: var(--navy); }
.nx-monitor__card.is-ok strong { color: #12884f; }
.nx-monitor__card.is-score { align-items: center; text-align: center; gap: 8px; }
.nx-ring { --value: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#009F9B calc(var(--value) * 1%), #e5ecf5 0); }
.nx-ring b { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 14px Manrope, sans-serif; color: #009F9B; }

/* ---------- Platform preview card ---------- */
.nx-platform { padding: 28px 0 0; }
.nx-app-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.nx-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.nx-tabs::-webkit-scrollbar { display: none; }
.nx-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 14px; border: 0; background: none; white-space: nowrap; font-weight: 600; font-size: 14px; color: var(--body); transition: color .2s, background-color .2s; }
.nx-tab + .nx-tab { border-left: 1px solid var(--line); }
.nx-tab i { font-size: 13px; color: #7d8ea1; transition: color .2s; }
.nx-tab:hover { color: var(--teal); background: var(--mist); }
.nx-tab.active { color: var(--navy); font-weight: 700; }
.nx-tab.active i { color: var(--teal-bright); }
.nx-tab.active::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--teal-bright); }
.nx-tab--cloud i { color: #18a05e; }
.nx-tab:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); border-radius: 0; }

.nx-panel { padding: 26px 30px 30px; }
.nx-panel:focus-visible { box-shadow: inset 0 0 0 2px var(--teal); border-radius: 0; }
.nx-panel[hidden] { display: none; }
.nx-panel:not([hidden]) { animation: nx-fade .35s ease both; }
.nx-panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.nx-panel__head h2 { font-size: 20px; margin: 0 0 3px; letter-spacing: -.02em; }
.nx-panel__head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.nx-panel__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--teal); color: #fff; font-size: 18px; }

.nx-table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.nx-table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: 13px; }
.nx-table td:first-child { min-width: 250px; }
.nx-person strong, .nx-person span span { white-space: nowrap; }
.nx-table th { padding: 13px 16px; background: var(--mist); color: #74859a; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; white-space: nowrap; }
.nx-table td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--body); }
.nx-table tbody tr { transition: background-color .2s; }
.nx-table tbody tr:hover { background: #fbfdfd; }
.nx-table td > strong, .nx-person strong, .nx-date strong { display: block; color: var(--navy); font-weight: 700; }
.nx-table td > span:not(.nx-badge):not(.nx-status):not(.nx-person):not(.nx-date), .nx-person span span, .nx-date span span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.nx-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.nx-badge i { font-size: 11px; }
.nx-badge--blue { background: #eaf2ff; color: #2c63c4; border-color: #d6e4fb; }
.nx-badge--violet { background: #EEF2F6; color: #273A54; border-color: #DCE4EA; }
.nx-badge--red { background: #fff0ef; color: #c93a33; border-color: #fbd9d6; }
.nx-badge--amber { background: #fff6e5; color: #a3620a; border-color: #fbe6bd; }
.nx-status { display: inline-block; padding: 5px 13px; border-radius: 7px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.nx-status--open { background: #009F9B; color: #fff; }
.nx-status--done { background: #e7f7ee; color: #127443; }
.nx-status--soft { background: #fff6e5; color: #9a5c09; }
.nx-person, .nx-date { display: flex; align-items: center; gap: 10px; }
.nx-person > i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #dfe8f4; color: #2c4d72; font: 800 11px Manrope, sans-serif; font-style: normal; }
.nx-person > i.is-teal { background: #d9f2ee; color: var(--teal-dark); }
.nx-date > i { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.nx-date strong { white-space: nowrap; }

.nx-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nx-checklist li { display: grid; grid-template-columns: auto 1fr; gap: 12px 12px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.nx-checklist__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--mint); color: var(--teal); }
.nx-checklist__text strong { display: block; font-size: 14px; color: var(--navy); }
.nx-checklist__text span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.nx-checklist .nx-status { grid-column: 2; justify-self: start; }

/* ---------- Stats ---------- */
.nx-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; padding: 20px 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.nx-stats__item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 16px; }
.nx-stats__item + .nx-stats__item { border-left: 1px solid var(--line); }
.nx-stats__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--teal); font-size: 17px; }
.nx-stats__text { display: flex; flex-direction: column-reverse; }
.nx-stats dd { margin: 0; font: 800 24px/1.15 Manrope, sans-serif; color: var(--navy); letter-spacing: -.02em; }
.nx-stats dt { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Generic section ---------- */
.nx-section { padding: 96px 0 0; }
.nx-section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.nx-section__head h2 { font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 12px; }
.nx-section__head p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.nx-section__head a { color: var(--teal); font-weight: 700; }

/* ---------- Features ---------- */
.nx-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.nx-feature { display: flex; flex-direction: column; padding: 14px 14px 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.nx-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.nx-feature__media { position: relative; margin-bottom: 22px; border-radius: 12px; overflow: hidden; aspect-ratio: 1552 / 648; }
.nx-feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nx-feature:hover .nx-feature__media img { transform: scale(1.03); }
.nx-feature__icon { position: absolute; top: 14px; left: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 16px; box-shadow: 0 6px 16px rgba(39, 58, 84, .1); }
.nx-feature__icon.is-blue { color: #009F9B; }
.nx-feature__icon.is-green { color: #16a36a; }
.nx-feature__icon.is-violet { color: #273A54; }
.nx-feature h3 { font-size: 20px; margin: 0 12px 10px; letter-spacing: -.02em; }
.nx-feature p { margin: 0 12px 20px; font-size: 14.5px; line-height: 1.65; color: var(--muted); flex: 1; }
.nx-link-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 0 12px; font-weight: 700; font-size: 14px; color: var(--teal); text-decoration: none; }
.nx-link-arrow i { transition: transform .2s; }
.nx-link-arrow:hover { color: var(--teal-dark); }
.nx-link-arrow:hover i { transform: translateX(4px); }

/* ---------- Pricing ---------- */
.nx-section--pricing { padding-top: 72px; }
.nx-section--pricing .nx-section__head { margin-bottom: 36px; }
/* 2x2 on tablet, 4-up on desktop, stacked on mobile (see breakpoints below).
   Row gap leaves room for the "Popular choice" flag above the card. */
.nx-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; max-width: 820px; margin: 0 auto; }
@media (min-width: 1200px) {
    .nx-section--pricing .container { max-width: 1320px; }
    .nx-pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nx-pricing-grid .nx-plan { padding: 26px 20px 22px; }
    .nx-pricing-grid .nx-plan__price { font-size: 28px; }
}
.nx-plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.nx-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nx-plan.is-popular { border-color: #9ed8d2; box-shadow: 0 16px 40px rgba(0, 138, 135, .12); }
.nx-plan__flag { position: absolute; top: -1px; right: 22px; transform: translateY(-100%); padding: 7px 16px; border-radius: 10px 10px 0 0; background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; }
.nx-plan__head { display: flex; align-items: center; gap: 14px; }
.nx-plan__head h3 { font-size: 19px; margin: 0 0 2px; letter-spacing: -.02em; }
.nx-plan__head p { margin: 0; font-size: 13px; color: var(--muted); }
.nx-plan__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--mint); color: var(--teal); font-size: 18px; }
.nx-plan__price { margin: 24px 0 18px; font: 800 32px Manrope, sans-serif; letter-spacing: -.03em; color: var(--navy); }
.nx-plan__price small { font: 500 14px 'DM Sans', sans-serif; letter-spacing: 0; color: var(--muted); }
.nx-plan__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; }
.nx-plan__list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--body); }
.nx-plan__list li::before { content: '\f00c'; font: 900 11px 'Font Awesome 6 Free'; position: absolute; left: 0; top: 3px; color: var(--teal-bright); }
/* Plan-card checklist (SubscriptionPlan::cardHighlights): negative state + sub-heading, shared by Home, Pricing and Register */
.plan-check-no, .plan-check-no i { color: #B42318 !important; }
.plan-check-heading { margin-top: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); list-style: none; }
.nx-plan__list li.plan-check-heading { padding-left: 0; font-size: 11px; color: var(--navy); }
.nx-plan__list li.plan-check-heading::before { content: none; }
.nx-plan__list li.is-unavailable { color: #B42318; }
.nx-plan__list li.is-unavailable::before { content: '\f00d'; color: #B42318; }
.nx-plan__annual { margin: -12px 0 22px; padding: 10px 12px; border-radius: 10px; background: rgba(20, 184, 166, .08); font-size: 13px; font-weight: 600; color: var(--navy); }
.nx-plan__annual i { color: var(--teal-bright); margin-right: 6px; }
.nx-plan__cta { display: flex; align-items: center; justify-content: center; padding: 13px 16px; border: 1.5px solid var(--teal); border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--teal); text-decoration: none; transition: background-color .2s, color .2s; }
.nx-plan__cta:hover, .nx-plan.is-popular .nx-plan__cta { background: var(--teal); color: #fff; }
.nx-plan.is-popular .nx-plan__cta:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.nx-pricing-note { margin: 22px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.nx-faq { max-width: 960px; margin: 0 auto; }
.nx-faq .accordion-item { margin-bottom: 14px; border-radius: 14px !important; box-shadow: var(--shadow-sm); transition: box-shadow .25s; }
.nx-faq .accordion-item:has(.accordion-button:not(.collapsed)) { box-shadow: var(--shadow); }
.nx-faq .accordion-button { padding: 20px 24px; font-size: 16px; }
.nx-faq .accordion-button:not(.collapsed) { color: var(--navy); }
.nx-faq .accordion-button::after { width: 22px; height: 22px; background-size: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f7a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.nx-faq .accordion-button:not(.collapsed)::after { transform: rotate(90deg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fa197' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.nx-faq .accordion-body { padding: 0 24px 22px; font-size: 15px; }

/* ---------- CTA banner ---------- */
.nx-cta { padding: 110px 0 96px; }
.nx-cta__banner { position: relative; border-radius: 16px; background: linear-gradient(100deg, #213f5b 0%, #185d6c 42%, #07968f 100%); color: #fff; }
.nx-cta__art { display: none; }
.nx-cta__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 40px 36px; }
.nx-cta h2 { font-size: clamp(22px, 2.4vw, 28px); color: #fff; margin: 0 0 8px; letter-spacing: -.02em; }
.nx-cta p { margin: 0; max-width: 460px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.6; }
.nx-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nx-btn-white, .nx-btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.nx-btn-white i, .nx-btn-ghost i { font-size: 10px; }
.nx-btn-white { background: #fff; color: var(--navy); border: 1px solid #fff; }
.nx-btn-white:hover { color: var(--teal-dark); transform: translateY(-2px); }
.nx-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.nx-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.nx-cta a:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px #fff; }

@media (min-width: 1200px) {
    /* The artwork contains the banner gradient + a laptop that overhangs the
       bottom edge: the banner occupies ~74% of the image height, starting ~4% down. */
    .nx-cta__banner { min-height: 200px; display: flex; align-items: center; }
    .nx-cta__art { display: block; position: absolute; left: 0; right: 0; top: -5.4%; height: 135%; overflow: hidden; border-radius: 0 16px 0 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 55%); mask-image: linear-gradient(90deg, transparent 20%, #000 55%); }
    .nx-cta__art img { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; }
    .nx-cta__content { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; width: calc(100% - 420px); padding: 36px 0 36px 48px; }
    .nx-cta__content > div:first-child { flex: 1 1 auto; min-width: 0; }
    .nx-cta__actions { flex: none; flex-wrap: nowrap; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nx-cta__content { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- Footer + CTA strip ---------- */
.nx-footer { background: #1E2D43; color: #aeb7c2; border-radius: 28px 28px 0 0; padding: 56px 0 24px; }
.nx-footer a { color: #aeb7c2; text-decoration: none; transition: color .2s; }
.nx-footer a:hover { color: #fff; }
.nx-footer a:focus-visible { box-shadow: 0 0 0 2px #5fd3c8; }
.nx-footer-cta { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nx-footer .nx-footer-cta h2 { color: #fff; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; }
.nx-footer .nx-footer-cta p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 560px; }
.nx-footer-cta__points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 18px 0 0; padding: 0; font-size: 14px; color: #d7dde4; }
.nx-footer-cta__points i { margin-right: 6px; color: #5fd3c8; }
.nx-footer-cta__actions { display: flex; gap: 12px; }
.nx-footer .nx-footer-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .2s, border-color .2s, transform .2s; }
.nx-footer .nx-footer-cta__btn:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: #fff; transform: translateY(-1px); }
.nx-footer .nx-footer-cta__btn--primary { border-color: #009F9B; background: #009F9B; }
.nx-footer .nx-footer-cta__btn--primary:hover { border-color: #0c8c83; background: #0c8c83; }
.nx-footer .nx-footer-cta__btn:focus-visible { box-shadow: 0 0 0 3px #1E2D43, 0 0 0 5px #5fd3c8; }
.nx-footer__grid { display: grid; grid-template-columns: 1.3fr .95fr 1.45fr 1.05fr; gap: 0; padding: 44px 0 36px; }
.nx-footer__grid > * { padding: 0 28px; }
.nx-footer__grid > * + * { border-left: 1px solid rgba(255, 255, 255, .1); }
.nx-footer__grid > :first-child { padding-left: 0; }
.nx-footer__logo { width: 150px; height: auto; margin-bottom: 8px; filter: brightness(0) invert(1); }
.nx-footer__tagline { margin: 0 0 16px; font-size: 12.5px; color: #d7dde4; }
.nx-footer p { font-size: 13.5px; line-height: 1.7; margin: 0; }
.nx-footer h2 { margin: 0 0 18px; color: #fff; font: 700 15px Manrope, sans-serif; letter-spacing: 0; }
.nx-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nx-footer__links--split { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 26px; }
.nx-footer__links li { font-size: 13.5px; white-space: nowrap; }
.nx-footer__links a::before { content: '\f0da'; font: 900 10px 'Font Awesome 6 Free'; margin-right: 8px; color: #6b7682; }
.nx-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13.5px; }
.nx-footer__contact i { width: 18px; margin-right: 8px; color: #5fd3c8; }
.nx-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.nx-footer__bottom p { font-size: 12.5px; }
.nx-footer__bottom a + a { margin-left: 18px; }

/* ---------- Motion ---------- */
.js .nx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .nx-reveal.is-visible { opacity: 1; transform: none; }
@keyframes nx-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 8px)); } }
@keyframes nx-pulse { 0% { box-shadow: 0 0 0 0 rgba(24, 178, 107, .5); } 70% { box-shadow: 0 0 0 7px rgba(24, 178, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 178, 107, 0); } }
@keyframes nx-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .nx-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
    .nx-hero__content { max-width: 480px; }
    .nx-hero__title { font-size: clamp(34px, 4.4vw, 48px); }
    .nx-hero__visual::after { background: linear-gradient(90deg, rgba(250, 247, 243, .96) 0%, rgba(250, 247, 243, .86) 36%, rgba(250, 247, 243, 0) 60%); }
    .nx-monitor { width: 176px; }
    .nx-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .nx-footer__grid > * { padding: 0 28px 0 0; border-left: 0 !important; }
    .nx-footer__grid > :nth-child(even) { padding: 0 0 0 28px; border-left: 1px solid rgba(255, 255, 255, .1) !important; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 64px; }
    .navbar-custom .navbar-collapse { margin: 0 -12px; padding: 8px 12px 18px; border-top: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .navbar-custom .navbar-nav { margin: 6px 0 12px; gap: 2px; }
    .navbar-custom .nav-link { padding: 12px 12px !important; font-size: 16px; }
    .navbar-custom .nav-link.active { background: var(--mint); }
    .navbar-custom .nav-link.active::after { display: none; }
    .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .nav-actions > a { justify-content: center; padding: 12px 16px; font-size: 15px; }

    /* Hero stacks: copy, then photo with the monitor widget overlapping its base */
    .nx-hero { display: block; min-height: 0; padding: 44px 0 0; background: linear-gradient(180deg, #faf7f3, #fff); }
    .nx-hero__content { max-width: 640px; }
    .nx-hero__visual { position: relative; inset: auto; margin: 40px 12px 0; }
    .nx-hero__visual::after { display: none; }
    .nx-hero__visual picture { display: block; position: relative; height: clamp(300px, 56vw, 460px); border-radius: 20px; overflow: hidden; }
    .nx-hero__img { object-position: 68% 22%; }
    .nx-hero__monitor-wrap { height: auto; padding: 0; }
    .nx-monitor { position: relative; right: auto; top: auto; transform: none; width: auto; max-width: 620px; margin: -44px auto 0; padding: 14px; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); animation: none; }
    .nx-monitor__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; text-align: left; padding: 0 2px; }
    .nx-monitor__group { margin: 0; }
    .nx-monitor__card { box-shadow: none; background: var(--mist); border-color: var(--line); }
    .nx-monitor__card.is-score { flex-direction: row; justify-content: space-between; text-align: left; }
    .nx-ring { width: 46px; height: 46px; flex: none; }
    .nx-ring b { width: 36px; height: 36px; font-size: 11px; }

    .nx-tabs { grid-template-columns: repeat(5, auto); }
    .nx-panel { padding: 22px 20px 24px; }
    .nx-checklist { grid-template-columns: 1fr; }
    .nx-stats { grid-template-columns: repeat(2, 1fr); padding: 8px; }
    .nx-stats__item { justify-content: flex-start; padding: 16px; }
    .nx-stats__item + .nx-stats__item { border-left: 0; }
    .nx-stats__item:nth-child(even) { border-left: 1px solid var(--line); }
    .nx-stats__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .nx-feature-grid { grid-template-columns: 1fr 1fr; }
    .nx-feature-grid > :last-child { grid-column: 1 / -1; max-width: calc(50% - 13px); justify-self: center; }
    .nx-section { padding-top: 80px; }
    .nx-footer-cta { grid-template-columns: 1fr; gap: 24px; }
    .nx-cta { padding: 80px 0; }
}

@media (max-width: 767.98px) {
    /* Work-order table becomes stacked cards */
    .nx-table-wrap { border: 0; border-radius: 0; overflow: visible; }
    .nx-table { min-width: 0; }
    .nx-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .nx-table, .nx-table tbody, .nx-table tr, .nx-table td { display: block; width: 100%; }
    .nx-table tbody { display: grid; gap: 14px; }
    .nx-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
    .nx-table td { padding: 0; border: 0; }
    .nx-table td:first-child { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
    .nx-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8392a4; }

    .nx-feature-grid { grid-template-columns: 1fr; }
    .nx-feature-grid > :last-child { max-width: none; }
    .nx-pricing-grid { grid-template-columns: 1fr; max-width: 460px; gap: 40px; }
    .nx-section--pricing { padding-top: 64px; }
    .nx-footer__grid { grid-template-columns: 1fr; }
    .nx-footer__grid > *, .nx-footer__grid > :nth-child(even) { padding: 0 !important; border-left: 0 !important; }
    .nx-footer__bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
    .brand-logo img { width: 142px; height: 30px; }
    .nx-hero { padding-top: 32px; }
    .nx-hero__eyebrow { font-size: 10px; letter-spacing: .04em; }
    .nx-hero__title { font-size: 34px; }
    .nx-hero__lead { font-size: 16px; }
    .nx-hero__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
    .nx-hero__checks li { font-size: 12.5px; align-items: flex-start; }
    .nx-hero__checks i { margin-top: 3px; }
    .nx-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .nx-hero__actions .btn-brand { grid-column: 1 / -1; }
    .nx-hero__actions > a { justify-content: center; }
    .nx-hero__visual { margin: 32px 0 0; }
    .nx-hero__visual picture { border-radius: 0; height: 300px; }
    .nx-hero__img { object-position: 70% 20%; }
    .nx-monitor { margin: -36px 12px 0; padding: 12px; gap: 8px; grid-template-columns: 1fr 1fr; }
    .nx-monitor__card { padding: 10px 12px; }
    .nx-monitor__card strong { font-size: 15px; }
    .nx-monitor__card.is-score { grid-column: 1 / -1; }
    .nx-tab { padding: 15px 14px; font-size: 13px; }
    .nx-panel { padding: 20px 14px; }
    .nx-panel__head { align-items: flex-start; }
    .nx-panel__head h2 { font-size: 17px; }
    .nx-panel__icon { width: 40px; height: 40px; font-size: 16px; }
    .nx-table tr { grid-template-columns: 1fr 1fr; padding: 14px; }
    .nx-stats { grid-template-columns: 1fr 1fr; }
    .nx-stats__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
    .nx-stats dd { font-size: 21px; }
    .nx-stats dt { font-size: 12px; }
    .nx-section { padding-top: 64px; }
    .nx-section__head { margin-bottom: 32px; }
    .nx-section__head p { font-size: 15px; }
    .nx-plan { padding: 26px 20px 22px; }
    .nx-faq .accordion-button { padding: 18px; font-size: 15px; }
    .nx-faq .accordion-body { padding: 0 18px 18px; font-size: 14.5px; }
    .nx-cta { padding: 64px 0; }
    .nx-cta__content { padding: 30px 22px; }
    .nx-cta__actions { display: grid; width: 100%; }
    .nx-cta__actions > a { justify-content: center; }
    .nx-footer { border-radius: 20px 20px 0 0; padding-top: 44px; }
    .nx-footer-cta__actions { flex-direction: column; }
}
