.NB-welcome .NB-body-inner {
    overflow: auto;
    height: 100%;
    width: 100%;
    position: absolute;
}

.NB-welcome .NB-splash-info.NB-splash-top .NB-splash-title {
    display: none;
}

.NB-welcome .NB-splash-info.NB-splash-top,
.NB-welcome .NB-splash-info.NB-splash-bottom {
    height: 6px;
    position: absolute;
    top: 0;
    border-top: none;
    border-bottom: none;
    background: none;
    background-color: rgba(0, 0, 0, .4);
}

.NB-welcome .NB-splash-info.NB-splash-bottom {
    position: relative;
    height: auto;
    float: left;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, .4);
}

.NB-welcome .NB-splash-info .NB-splash-links {
    position: relative;
    left: 50%;
    width: auto;
    float: left;
}

.NB-welcome .NB-splash-info .NB-splash-links li {
    position: relative;
    right: 50%;
}

.NB-welcome .NB-splash-info .NB-splash-links a {
    color: rgba(255, 255, 255, .7);
    text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
}

.NB-welcome .NB-splash-info .NB-splash-links a:hover {
    color: #F4DD43;
}

/* ========== */
/* = Common = */
/* ========== */

.NB-welcome .NB-inner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    box-sizing: border-box;
}


.NB-button {
    border: 1px solid #07360F;
    font-size: 12px;
    padding: 4px 12px;
    margin: 2px 4px 2px;
    -moz-box-shadow: 2px 2px 0 rgba(35, 35, 35, 0.4);
    -webkit-box-shadow: 2px 2px 0 rgba(35, 35, 35, 0.4);
    box-shadow: 2px 2px 0 rgba(35, 35, 35, 0.4);
    border-radius: 4px;
    -moz-border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #404040;
}

.NB-button:active {
    -moz-box-shadow: 1px 1px 0 rgba(35, 35, 35, 0.6);
    -webkit-box-shadow: 1px 1px 0 rgba(35, 35, 35, 0.6);
    box-shadow: 1px 1px 0 rgba(35, 35, 35, 0.6);
}

.NB-welcome-container.NB-welcome-tryout {
    overflow-x: hidden;
}

/* ========================== */
/* = Tryout Signup Banner   = */
/* ========================== */

/* Light mode (default) */
.NB-tryout-signup-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f5f0e6 0%, #ece5d5 100%);
    border-bottom: 1px solid rgba(217, 166, 33, 0.25);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    position: sticky;
    top: 0;
    z-index: 5;
}

.NB-tryout-signup-banner:hover {
    background: linear-gradient(135deg, #efe9d8 0%, #e6dece 100%);
}

.NB-tryout-signup-banner:hover .NB-tryout-signup-banner-button {
    background: #C4941B;
}

.NB-tryout-signup-banner-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: url(/media/img/logo_512.png) no-repeat center center;
    background-size: 28px;
    filter: drop-shadow(0 1px 4px rgba(217, 166, 33, 0.3));
}

.NB-tryout-signup-banner-content {
    flex: 1;
    min-width: 0;
}

.NB-tryout-signup-banner-text {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3a3226;
    line-height: 1.2;
}

.NB-tryout-signup-banner-subtext {
    font-size: 11px;
    color: rgba(58, 50, 38, 0.55);
    margin-top: 2px;
    line-height: 1.3;
}

.NB-tryout-signup-banner-button {
    flex-shrink: 0;
    background: #D9A621;
    color: white;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 8px;
    transition: background 0.2s ease;
    letter-spacing: 0.3px;
}

/* Dark mode */
.NB-dark .NB-tryout-signup-banner {
    background: linear-gradient(135deg, #1a1f1f 0%, #242b2b 100%);
    border-bottom-color: rgba(217, 166, 33, 0.2);
}

.NB-dark .NB-tryout-signup-banner:hover {
    background: linear-gradient(135deg, #1f2626 0%, #2a3232 100%);
}

.NB-dark .NB-tryout-signup-banner-text {
    color: white;
}

.NB-dark .NB-tryout-signup-banner-subtext {
    color: rgba(255, 255, 255, 0.45);
}

/* ================================ */
/* = Back to Login Banner          = */
/* ================================ */

/* If both tryfeed and tryout signup banners exist, hide the duplicate */
.NB-tryfeed-signup-banner ~ .NB-tryout-signup-banner {
    display: none !important;
}

/* Hide the feed list login banner on desktop - signup link lives in story titles instead */
@media (min-width: 769px) {
    .NB-tryout-back-banner {
        display: none !important;
    }
}

/* Full-bleed images in tryout/anonymous story view.
   Must beat reader.css specificity (0,4,1) for .NB-table-image.NB-large-image
   and .NB-large-image.NB-large-image-widen rules, so target .NB-large-image
   to reach specificity (0,4,2). */
body.NB-is-anonymous .NB-feed-story .NB-feed-story-content img.NB-large-image {
    max-width: calc(100% + 56px) !important;
    width: calc(100% + 56px) !important;
    margin-left: -28px !important;
    margin-right: -28px !important;
    border-radius: 0 !important;
}

.NB-tryout-back-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #3d5a52 0%, #2d4a42 100%);
    border-bottom: 1px solid rgba(217, 166, 33, 0.2);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.NB-tryout-back-banner:hover {
    background: linear-gradient(135deg, #4a6a60 0%, #3a5a50 100%);
}

.NB-tryout-back-banner:active {
    background: linear-gradient(135deg, #345048 0%, #264038 100%);
}

.NB-tryout-back-banner-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    position: relative;
}

.NB-tryout-back-banner-arrow::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
}

.NB-tryout-back-banner-content {
    flex: 1;
    min-width: 0;
}

.NB-tryout-back-banner-text {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.NB-tryout-back-banner-cta {
    flex-shrink: 0;
    background: #D9A621;
    color: white;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 7px;
    transition: background 0.2s ease;
    letter-spacing: 0.2px;
}

.NB-tryout-back-banner:hover .NB-tryout-back-banner-cta {
    background: #C4941B;
}

/* Dark mode */
.NB-dark .NB-tryout-back-banner {
    background: linear-gradient(135deg, #1a2525 0%, #141e1e 100%);
    border-bottom-color: rgba(217, 166, 33, 0.15);
}

.NB-dark .NB-tryout-back-banner:hover {
    background: linear-gradient(135deg, #1f2e2e 0%, #192626 100%);
}

/* ============================================= */
/* = Mobile Single-Pane Layout (Reusable)       = */
/* = Applied via body.NB-mobile-single-pane      = */
/* = Used by: tryout (unauth), mobile (auth)     = */
/* ============================================= */

@media (max-width: 768px) {
    /* Feed list: full-width overlay */
    body.NB-mobile-single-pane .NB-layout .left-pane {
        position: absolute !important;
        width: 100% !important;
        z-index: 10;
        top: 0;
        left: 0;
        bottom: 0;
    }

    /* Story titles: full-width overlay on top of feed list */
    body.NB-mobile-single-pane.NB-show-reader .NB-layout .right-pane {
        position: absolute !important;
        width: 100% !important;
        z-index: 20 !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
    }

    /* Story titles: full-width, always on top */
    body.NB-mobile-single-pane.NB-show-reader .right-pane #story_titles {
        display: block !important;
        width: 100% !important;
        right: 0 !important;
        height: auto !important;
        bottom: 0 !important;
    }

    /* Sticky toolbar and signup banner at top of story titles */
    body.NB-mobile-single-pane.NB-show-reader #story_titles > .NB-mobile-back-toolbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
    }

    /* Re-show tryfeed signup banner on mobile (hidden on desktop above) */
    body.NB-mobile-single-pane.NB-show-reader #story_titles > .NB-tryfeed-signup-banner {
        display: flex !important;
        position: sticky !important;
        top: 38px !important;
        z-index: 9 !important;
    }

    /* Story detail pane: hidden by default, shown as third overlay when story is open */
    body.NB-mobile-single-pane.NB-show-reader .right-pane #story_pane {
        display: none !important;
    }

    body.NB-mobile-single-pane.NB-mobile-story-open .right-pane #story_pane {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 30 !important;
        background: #f4f4f4;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Sticky toolbar at top of scrolling story pane */
    body.NB-mobile-single-pane.NB-mobile-story-open #story_pane > .NB-mobile-back-toolbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 40 !important;
    }

    /* Sticky signup banner below toolbar */
    body.NB-mobile-single-pane.NB-mobile-story-open #story_pane > .NB-tryout-signup-banner {
        display: flex !important;
        position: sticky !important;
        top: 38px !important;
        z-index: 39 !important;
    }

    /* Story pane container flows naturally (not absolute) */
    body.NB-mobile-single-pane.NB-mobile-story-open .NB-story-pane-container {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Hide iframe (page view) - mobile uses feed/text views only */
    body.NB-mobile-single-pane.NB-mobile-story-open .NB-feed-iframe {
        display: none !important;
    }

    /* Only show the feed story view, hide text/page views
       (needs #story_pane ID to beat reader.css specificity) */
    body.NB-mobile-single-pane.NB-mobile-story-open #story_pane .NB-feed-story-view {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    body.NB-mobile-single-pane.NB-mobile-story-open #story_pane .NB-text-view,
    body.NB-mobile-single-pane.NB-mobile-story-open #story_pane .NB-story-view {
        display: none !important;
    }

    /* Stories container flows naturally for scrolling */
    body.NB-mobile-single-pane.NB-mobile-story-open .NB-feed-stories-container {
        height: auto !important;
        overflow: visible !important;
    }

    /* Full-bleed story content on mobile */
    body.NB-mobile-single-pane.NB-mobile-story-open .NB-feed-story .NB-story-content-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.NB-mobile-single-pane.NB-mobile-story-open .NB-feed-story .NB-story-content-positioning-wrapper {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.NB-mobile-single-pane.NB-mobile-story-open .NB-feed-story .NB-feed-story-content {
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.NB-mobile-single-pane.NB-mobile-story-open .NB-feed-story .NB-feed-story-content img {
        max-width: calc(100% + 24px) !important;
        width: calc(100% + 24px) !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
    }

    body.NB-dark.NB-mobile-single-pane.NB-mobile-story-open .right-pane #story_pane {
        background: #303030;
    }

    /* Hide layout divider borders that leak through on mobile */
    body.NB-mobile-single-pane .ui-layout-resizer,
    body.NB-mobile-single-pane .ui-layout-toggler {
        display: none !important;
    }

    /* Hide desktop feedbar nav and bottom taskbar */
    body.NB-mobile-single-pane.NB-show-reader .right-pane .content-north {
        display: none !important;
    }

    body.NB-mobile-single-pane.NB-show-reader .right-pane #story_taskbar {
        display: none !important;
    }

    /* Override layout plugin offsets so content-pane fills the right-pane */
    body.NB-mobile-single-pane.NB-show-reader .right-pane .content-pane {
        top: 0 !important;
        bottom: 0 !important;
        height: auto !important;
    }
}

/* ============================================= */
/* = Welcome Tryout Overrides (Unauth-only)     = */
/* ============================================= */

@media (max-width: 768px) {
    /* Keep splash/welcome hidden while tryout is active */
    body.NB-welcome-tryout-active .NB-splash,
    body.NB-welcome-tryout-active #NB-splash,
    body.NB-welcome-tryout-active #NB-splash-overlay,
    body.NB-welcome-tryout-active .NB-welcome-footer {
        display: none !important;
    }

    /* Hide the welcome.js signup banner when story view is showing (reader.js has its own) */
    body.NB-welcome-tryout-active.NB-show-reader .NB-tryout-signup-banner {
        display: none !important;
    }
}

/* ============================================= */
/* = Back to Feeds Toolbar (Mobile)             = */
/* ============================================= */

.NB-mobile-back-toolbar {
    display: none;
}

@media (max-width: 768px) {
    body.NB-mobile-single-pane.NB-show-reader .NB-mobile-back-toolbar {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 10px;
        padding: 10px 14px;
        background: linear-gradient(135deg, #3d5a52 0%, #2d4a42 100%);
        border-bottom: 1px solid rgba(217, 166, 33, 0.2);
        cursor: pointer;
        user-select: none;
        transition: background 0.2s ease;
    }

    body.NB-mobile-single-pane.NB-show-reader .NB-mobile-back-toolbar:hover {
        background: linear-gradient(135deg, #4a6a60 0%, #3a5a50 100%);
    }

    body.NB-mobile-single-pane.NB-show-reader .NB-mobile-back-toolbar:active {
        background: linear-gradient(135deg, #345048 0%, #264038 100%);
    }
}

.NB-mobile-back-toolbar-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    position: relative;
}

.NB-mobile-back-toolbar-arrow::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
}

.NB-mobile-back-toolbar-text {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.NB-mobile-back-toolbar-action {
    flex-shrink: 0;
    background: #D9A621;
    color: white;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
    letter-spacing: 0.2px;
}

.NB-mobile-back-toolbar:hover .NB-mobile-back-toolbar-action {
    background: #C4941B;
}

/* Dark mode */
@media (max-width: 768px) {
    body.NB-dark.NB-mobile-single-pane.NB-show-reader .NB-mobile-back-toolbar {
        background: linear-gradient(135deg, #1a2525 0%, #141e1e 100%);
        border-bottom-color: rgba(217, 166, 33, 0.15);
    }

    body.NB-dark.NB-mobile-single-pane.NB-show-reader .NB-mobile-back-toolbar:hover {
        background: linear-gradient(135deg, #1f2e2e 0%, #192626 100%);
    }
}

/* ========== */
/* = Header = */
/* ========== */

.NB-welcome-hero-wrap {
    position: relative;
    background: linear-gradient(180deg, #5a7a7b 0%, #334848 50%, #243636 100%);
    overflow: hidden;
}

.NB-welcome-header-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.NB-welcome-header {
    position: relative;
    z-index: 1;
    color: white;
}

/* Split hero: branding left, form right */
.NB-welcome-header-hero {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 72px 48px 64px;
    display: flex;
    align-items: center;
    gap: 64px;
}

.NB-welcome-header-branding {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.NB-welcome-header .NB-welcome-header-logo {
    margin: 0 0 8px;
}

.NB-welcome-header .NB-welcome-header-logo img {
    height: 88px;
    width: 88px;
    filter: drop-shadow(0 2px 16px rgba(217, 166, 33, 0.4));
    transition: opacity .15s ease-in-out;
    opacity: .9;
}

.NB-welcome-header .NB-welcome-header-logo img:hover {
    opacity: 1;
}

.NB-welcome-header-title {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    margin: 0 0 12px;
    line-height: 1.1;
}

.NB-welcome-header .NB-welcome-header-tagline {
    font-family: 'Chronicle Display A', 'Chronicle Display B', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #FBDB9B;
    margin: 0 0 32px;
    line-height: 1.5;
    max-width: 400px;
}

/* ==================== */
/* = Frosted Formcard = */
/* ==================== */

.NB-welcome-header-formcard {
    width: 340px;
    flex-shrink: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.15);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
}

@supports not (backdrop-filter: blur(20px)) {
    .NB-welcome-header-formcard {
        background: rgba(50, 70, 70, 0.85);
    }
}

/* Segmented control */
.NB-welcome-header-segment {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2px;
    margin: 0 0 20px;
    position: relative;
}

/* Sliding glass pill */
.NB-welcome-header-segment::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    border-radius: 8px;
    background:
        linear-gradient(
            170deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.12) 40%,
            rgba(255, 255, 255, 0.06) 60%,
            rgba(255, 255, 255, 0.15) 100%
        );
    box-shadow:
        0 0.5px 0 0 rgba(255, 255, 255, 0.25) inset,
        0 1px 3px rgba(0, 0, 0, 0.2),
        0 0 12px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateX(0%);
    transition: transform 0.45s cubic-bezier(0.4, 0.0, 0.1, 1.0);
    z-index: 0;
}

.NB-welcome-header-segment.NB-segment-right::before {
    transform: translateX(100%);
}

.NB-segment-option {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
    position: relative;
    z-index: 1;
}

.NB-segment-option:hover {
    color: rgba(255, 255, 255, 0.65);
}

.NB-segment-option.NB-active {
    color: white;
}

/* Form panels */
.NB-formcard-panel {
    display: none;
}

.NB-formcard-panel.NB-active {
    display: block;
}

/* Form field wrappers */
.NB-formcard-field {
    margin: 0 0 12px;
}

.NB-formcard-field label {
    display: none;
}

/* Form inputs */
.NB-welcome-header-formcard input[type=text],
.NB-welcome-header-formcard input[type=password],
.NB-welcome-header-formcard input[type=email] {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    font-family: 'Whitney SSm A', 'Whitney SSm B', sans-serif;
    font-size: 15px;
    color: white;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.NB-welcome-header-formcard input[type=text]::placeholder,
.NB-welcome-header-formcard input[type=password]::placeholder,
.NB-welcome-header-formcard input[type=email]::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.NB-welcome-header-formcard input[type=text]:focus,
.NB-welcome-header-formcard input[type=password]:focus,
.NB-welcome-header-formcard input[type=email]:focus {
    border-color: rgba(217, 166, 33, 0.5);
    background: rgba(255, 255, 255, 0.13);
}

.NB-welcome-header-formcard input[type=hidden] {
    display: none;
}

/* Submit button */
.NB-welcome-submit-button {
    width: 100%;
    background: #D9A621;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-transform: capitalize;
    transition: background 0.2s ease;
    box-sizing: border-box;
    margin: 4px 0 0;
}

.NB-welcome-submit-button:hover {
    background: #C4941B;
}

.NB-welcome-submit-button:active {
    background: #B08518;
}

/* Forgot password */
.NB-welcome-forgot {
    display: block;
    text-align: center;
    margin: 14px 0 0;
    color: #FBDB9B;
    font-size: 13px;
    text-decoration: none;
}

.NB-welcome-forgot:hover {
    color: #fff;
}

/* Error display */
.NB-formcard-errors {
    margin: 12px 0 0;
}

.NB-formcard-errors .errorlist {
    list-style: none;
    font-size: 13px;
    color: #F5A87A;
    font-weight: 600;
    padding: 0;
    margin: 0;
    text-align: center;
}

/* ================================ */
/* = Header Try-out / Actions     = */
/* ================================ */

.NB-welcome-header .NB-welcome-header-actions {
    margin: 0;
    float: none;
    background: none;
    border-radius: 0;
    overflow: visible;
}

.NB-welcome-header .NB-welcome-header-actions .NB-button-tryout {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    text-shadow: none;
    box-shadow: none;
    float: none;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.NB-welcome-header .NB-welcome-header-actions .NB-button-tryout:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.NB-welcome-header .NB-welcome-header-actions .NB-button-tryout:active {
    background: rgba(255, 255, 255, 0.18);
}

.NB-welcome-header .NB-welcome-header-actions .NB-button-tryout img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.NB-welcome-header .NB-welcome-header-actions .NB-button-tryout:hover img {
    opacity: 1;
}

/* Tryout chevron hint */
.NB-tryout-chevrons {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 0;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease,
                margin 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.NB-tryout-chevron {
    display: block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
}

/* Left chevrons: point left, visible by default */
.NB-tryout-chevrons-left {
    width: 26px;
    opacity: 1;
    margin-right: -2px;
}

.NB-tryout-chevrons-left .NB-tryout-chevron {
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.15;
    animation: chevron-wave-left 2.4s ease-in-out infinite;
}

.NB-tryout-chevrons-left .NB-tryout-chevron:nth-child(1) { animation-delay: 0.3s; }
.NB-tryout-chevrons-left .NB-tryout-chevron:nth-child(2) { animation-delay: 0.15s; }
.NB-tryout-chevrons-left .NB-tryout-chevron:nth-child(3) { animation-delay: 0s; }

@keyframes chevron-wave-left {
    0%, 100% { opacity: 0.15; transform: rotate(45deg) translateX(0); }
    30% { opacity: 0.7; transform: rotate(45deg) translateX(-2px); }
    60% { opacity: 0.15; transform: rotate(45deg) translateX(0); }
}


/* Right chevrons: point right, collapsed by default */
.NB-tryout-chevrons-right {
    width: 0;
    opacity: 0;
    margin-left: 0;
}

.NB-tryout-chevrons-right .NB-tryout-chevron {
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.15;
}

/* Opening: left collapses first, then right expands */
.NB-welcome-tryout .NB-tryout-chevrons-left {
    width: 0;
    opacity: 0;
    margin-right: 0;
    transition-delay: 0s;
}

.NB-welcome-tryout .NB-tryout-chevrons-left .NB-tryout-chevron {
    animation: none;
}

.NB-welcome-tryout .NB-tryout-chevrons-right {
    width: 26px;
    opacity: 1;
    margin-left: -2px;
    transition-delay: 0.3s;
}

.NB-welcome-tryout .NB-tryout-chevrons-right .NB-tryout-chevron {
    animation: chevron-wave-right 2.4s ease-in-out infinite;
}

.NB-welcome-tryout .NB-tryout-chevrons-right .NB-tryout-chevron:nth-child(1) { animation-delay: 0.3s; }
.NB-welcome-tryout .NB-tryout-chevrons-right .NB-tryout-chevron:nth-child(2) { animation-delay: 0.15s; }
.NB-welcome-tryout .NB-tryout-chevrons-right .NB-tryout-chevron:nth-child(3) { animation-delay: 0s; }

@keyframes chevron-wave-right {
    0%, 100% { opacity: 0.15; transform: rotate(-45deg) translateX(0); }
    30% { opacity: 0.7; transform: rotate(-45deg) translateX(2px); }
    60% { opacity: 0.15; transform: rotate(-45deg) translateX(0); }
}


/* Closing: right collapses first, then left re-expands */
.NB-tryout-chevrons-left {
    transition-delay: 0.3s;
}

.NB-tryout-chevrons-right {
    transition-delay: 0s;
}

/* ======================== */
/* = Platform Showcase    = */
/* ======================== */

.NB-welcome-platforms {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0px,
        rgba(255, 255, 255, 0.2) 100px,
        rgba(255, 255, 255, 0.4) 300px,
        rgba(255, 255, 255, 0.6) 600px);
    padding: 80px 0 0;
    overflow: hidden;
}

/* Section header */
.NB-welcome-platforms-header {
    text-align: center;
    margin: 0 0 72px;
    padding: 24px 24px 0;
}

.NB-platforms-heading {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #FFF5E0;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    text-shadow:
        0 0 40px rgba(217, 166, 33, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.12);
}

.NB-platforms-subheading {
    font-family: 'Chronicle Display A', 'Chronicle Display B', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #FBDB9B;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Each platform row */
.NB-welcome-platform {
    padding: 0 0 96px;
}

.NB-platform-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 64px;
}

/* Reversed layout (screenshot on left) */
.NB-platform-reversed .NB-platform-inner {
    flex-direction: row-reverse;
}

/* Text column */
.NB-platform-text {
    flex: 0 0 320px;
}

.NB-platform-badge {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FBDB9B;
    margin: 0 0 16px;
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(251, 219, 155, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    background: rgba(217, 166, 33, 0.12);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.NB-platform-title {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFF5E0;
    line-height: 1.2;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(50, 70, 70, 0.4);
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.NB-platform-description {
    font-size: 16px;
    color: rgba(58, 46, 30, 0.75);
    line-height: 1.65;
}

/* Screenshot column */
.NB-platform-screenshot {
    flex: 1;
    min-width: 0;
}

.NB-platform-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Web platform: slightly larger screenshot area */
.NB-platform-web .NB-platform-screenshot {
    flex: 1.2;
}

/* Android image is nearly square, cap its height to match the others */
.NB-platform-android .NB-platform-screenshot img {
    max-height: 420px;
    width: auto;
    max-width: 100%;
}

/* ======================= */
/* = Responsive          = */
/* ======================= */

@media (max-width: 900px) {
    .NB-welcome-header-hero {
        flex-direction: column;
        padding: 48px 24px 48px;
        gap: 36px;
        align-items: stretch;
        text-align: center;
    }
    .NB-welcome-header .NB-welcome-header-tagline {
        max-width: none;
    }
    .NB-welcome-header-branding {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .NB-welcome-header-formcard {
        width: 100%;
        max-width: 380px;
        align-self: center;
    }
    .NB-welcome-header .NB-welcome-header-actions {
        text-align: center;
    }
}

@media (max-width: 430px) {
    .NB-welcome-header-formcard {
        width: calc(100% - 24px);
    }
}

@media (max-width: 768px) {
    .NB-welcome-platforms {
        padding: 56px 0 0;
    }
    .NB-welcome-platforms-header {
        margin: 0 0 48px;
    }
    .NB-platforms-heading {
        font-size: 30px;
    }
    .NB-welcome-platform {
        padding: 0 0 56px;
    }
    .NB-platform-inner,
    .NB-platform-reversed .NB-platform-inner {
        flex-direction: column;
        padding: 0 24px;
        gap: 32px;
        text-align: center;
    }
    .NB-platform-text {
        flex: none;
        width: 100%;
    }
    .NB-platform-title {
        font-size: 26px;
    }
}



/* ============ */
/* = Features = */
/* ============ */

.NB-welcome-features-header {
    text-align: center;
    padding: 64px 24px 0;
}

.NB-features-heading {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #3a2e1e;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.NB-features-subheading {
    font-family: 'Chronicle Display A', 'Chronicle Display B', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #8a7a5a;
    line-height: 1.5;
}

.NB-welcome-features {
    margin: 64px 0;
    overflow: hidden;
}

.NB-welcome-features .NB-feature {
    float: left;
    width: 204px;
    margin: 0 36px 0 0;
    text-align: center;
}

.NB-welcome-features img {
    width: 200px;
    height: 175px;
    object-fit: cover;
    box-shadow: 0 0 3px rgba(30, 30, 30, 0.3);
}

.NB-welcome-features .NB-feature-caption {
    font-weight: bold;
    font-size: 22px;
    margin: 24px 0 0;
}

.NB-welcome-features .NB-feature-text {
    color: #808080;
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 22px;
}

.NB-welcome-subfeatures {
    margin: 48px 0;
    overflow: hidden;
}

.NB-welcome-subfeatures .NB-inner {
    display: flex;
    flex-wrap: wrap;
}

.NB-welcome-subfeatures .NB-feature {
    width: 46%;
    margin: 0 4% 48px 0;
    text-align: left;
}

.NB-welcome-subfeatures img {
    float: left;
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    margin: 0 24px 0 0;
    object-fit: cover;
    object-position: left top;
    box-shadow: 0 0 3px rgba(30, 30, 30, 0.3);
}

/* Remove shadows from right column images (screenshots) */
.NB-welcome-subfeatures .NB-feature:nth-child(even) img {
    box-shadow: none;
}

.NB-welcome-subfeatures .NB-feature-caption {
    font-weight: bold;
    font-size: 22px;
    margin: 0px 0 0;
}

.NB-welcome-subfeatures .NB-feature-text {
    color: #808080;
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 22px;
}

/* =========== */
/* = Pricing = */
/* =========== */

.NB-welcome-pricing {
    overflow: hidden;
    clear: both;
    margin: 48px 0 0;
    padding: 48px 0;
    background: linear-gradient(180deg, #f5f3f0 0%, #eee9e2 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.NB-welcome-pricing h2 {
    text-align: center;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #3a2e1e;
    letter-spacing: -0.5px;
}

.NB-welcome-pricing>.NB-inner>p {
    text-align: center;
    line-height: 26px;
    font-size: 16px;
    color: rgba(58, 46, 30, 0.6);
    margin: 0 auto 24px;
    max-width: 750px;
}

.NB-pricing-trial-callout {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    padding: 14px 20px;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 15px;
    color: #0d7c5a;
    max-width: 580px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.05);
}

.NB-pricing-trial-callout strong {
    color: #0a6b4d;
    font-weight: 600;
}

/* Tier Card Layout */
.NB-pricing-tiers {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
}

.NB-pricing-tier {
    flex: 1;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.NB-pricing-tier:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Premium tier proportions: 34-38-28 */
.NB-pricing-tier-premium {
    flex: 34;
}

.NB-pricing-tier-archive {
    flex: 38;
}

.NB-pricing-tier-pro {
    flex: 28;
}

/* Bottom row: Free and Self-Hosted side by side */
.NB-pricing-tiers-bottom {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
}

.NB-pricing-tiers-bottom .NB-pricing-tier {
    flex: 1;
}

/* Tier Headers */
.NB-pricing-tier-header {
    padding: 20px 16px;
    text-align: center;
}

/* Free tier header */
.NB-pricing-tier-free .NB-pricing-tier-header {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    padding: 16px;
}

.NB-pricing-tier-free .NB-pricing-tier-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.NB-pricing-tier-free .NB-pricing-tier-features {
    background: rgba(0, 0, 0, 0.02);
    padding: 16px 20px;
    flex: 1;
}

.NB-pricing-tier-free .NB-pricing-tier-features li {
    color: rgba(58, 46, 30, 0.7);
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.NB-pricing-tier-free .NB-pricing-tier-features li span {
    flex: 1;
}

.NB-pricing-tier-free .NB-pricing-bullet {
    width: 18px;
    height: 18px;
    background-image: url('/media/embed/icons/nouns/accept.svg');
    background-size: 18px;
    background-repeat: no-repeat;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(95%) contrast(100%);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Self-hosted tier */
.NB-pricing-tier-selfhosted .NB-pricing-tier-header {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    padding: 14px 16px;
}

.NB-pricing-tier-selfhosted .NB-pricing-tier-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
}

.NB-pricing-tier-selfhosted .NB-pricing-tier-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.NB-pricing-tier-selfhosted .NB-pricing-tier-features {
    background: rgba(0, 0, 0, 0.02);
    padding: 16px 20px;
    flex: 1;
}

.NB-pricing-tier-selfhosted .NB-pricing-tier-features li {
    color: rgba(58, 46, 30, 0.7);
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.NB-pricing-tier-selfhosted .NB-pricing-bullet {
    width: 18px;
    height: 18px;
    background-image: url('/media/embed/icons/nouns/accept.svg');
    background-size: 18px;
    background-repeat: no-repeat;
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(95%) contrast(100%);
    flex-shrink: 0;
    margin-top: 1px;
}

.NB-pricing-tier-actions {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.NB-pricing-github-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: #24292e;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.NB-pricing-github-button:hover {
    background: #000;
    color: white;
}

.NB-pricing-github-button .NB-github-icon {
    width: 16px;
    height: 16px;
    filter: invert(1);
}

/* Premium tier header - Green gradient */
.NB-pricing-tier-premium .NB-pricing-tier-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Archive tier header - Teal gradient */
.NB-pricing-tier-archive .NB-pricing-tier-header {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

/* Pro tier header - Orange gradient */
.NB-pricing-tier-pro .NB-pricing-tier-header {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.NB-pricing-tier-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.NB-pricing-tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.NB-pricing-tier-price-amount {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.NB-pricing-tier-price-period {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* Feature lists for paid tiers */
.NB-pricing-tier-features {
    padding: 16px 20px;
    list-style: none;
    margin: 0;
    flex: 1;
}

.NB-pricing-tier-premium .NB-pricing-tier-features,
.NB-pricing-tier-archive .NB-pricing-tier-features,
.NB-pricing-tier-pro .NB-pricing-tier-features {
    background: rgba(0, 0, 0, 0.02);
}

.NB-pricing-tier-features li {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(58, 46, 30, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.NB-pricing-tier-features li:last-child {
    padding-bottom: 0;
}

/* "Everything in X, plus:" header */
.NB-pricing-tier-features li.NB-pricing-tier-includes {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: block;
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-pricing-tier-includes {
    color: #16a34a;
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-pricing-tier-includes {
    color: #0d9488;
}

.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-pricing-tier-includes {
    color: #ea580c;
}

/* Bullet icons */
.NB-pricing-bullet {
    width: 18px;
    height: 18px;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Premium tier bullets with vivid colors */
.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-1 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-sheets-100.png');
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(95%) contrast(100%);
    /* green */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-2 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-lightning-bolt-100.png');
    filter: invert(57%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(103%) contrast(105%);
    /* orange */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-3 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-comics-magazine-100.png');
    filter: invert(36%) sepia(87%) saturate(2000%) hue-rotate(310deg) brightness(95%) contrast(100%);
    /* pink */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-4 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-search-100.png');
    filter: invert(37%) sepia(93%) saturate(2000%) hue-rotate(200deg) brightness(95%) contrast(100%);
    /* blue */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-5 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-tags-100.png');
    filter: invert(30%) sepia(90%) saturate(2500%) hue-rotate(260deg) brightness(90%) contrast(100%);
    /* purple */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-6 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-security-wi-fi-100.png');
    filter: invert(55%) sepia(75%) saturate(1500%) hue-rotate(140deg) brightness(95%) contrast(95%);
    /* teal */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-7 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-rss-100.png');
    filter: invert(35%) sepia(95%) saturate(2500%) hue-rotate(350deg) brightness(95%) contrast(105%);
    /* red */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-8 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-activity-history-100.png');
    filter: invert(55%) sepia(80%) saturate(2000%) hue-rotate(170deg) brightness(95%) contrast(95%);
    /* cyan */
}

.NB-pricing-tier-premium .NB-pricing-tier-features li.NB-9 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/direction_black.svg');
    filter: invert(25%) sepia(85%) saturate(2500%) hue-rotate(280deg) brightness(85%) contrast(105%);
    /* violet */
}

/* Archive tier bullets with vivid colors */
.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-1 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-bursts-100.png');
    filter: invert(35%) sepia(95%) saturate(2500%) hue-rotate(350deg) brightness(95%) contrast(105%);
    /* red */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-2 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-relax-with-book-100.png');
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(95%) contrast(100%);
    /* green */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-3 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/mark-read.svg');
    filter: invert(55%) sepia(80%) saturate(2000%) hue-rotate(170deg) brightness(95%) contrast(95%);
    /* cyan */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-4 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-filing-cabinet-100.png');
    filter: invert(45%) sepia(70%) saturate(1200%) hue-rotate(10deg) brightness(95%) contrast(100%);
    /* brown-orange */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-5 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-quadcopter-100.png');
    filter: invert(37%) sepia(93%) saturate(2000%) hue-rotate(200deg) brightness(95%) contrast(100%);
    /* blue */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-6 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/train.svg');
    filter: invert(37%) sepia(93%) saturate(2000%) hue-rotate(200deg) brightness(95%) contrast(100%);
    /* blue */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-7 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/direction_black.svg');
    filter: invert(25%) sepia(85%) saturate(2500%) hue-rotate(280deg) brightness(85%) contrast(105%);
    /* violet */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-8 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-rss-100.png');
    filter: invert(57%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(103%) contrast(105%);
    /* orange */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-9 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/history.svg');
    filter: invert(45%) sepia(90%) saturate(1500%) hue-rotate(330deg) brightness(95%) contrast(95%);
    /* pink/magenta */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-10 .NB-pricing-bullet {
    background-image: url('/media/img/icons/nouns/prompt.svg');
    filter: invert(30%) sepia(90%) saturate(2500%) hue-rotate(260deg) brightness(90%) contrast(100%);
    /* purple */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-11 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-calendar-100.png');
    filter: invert(55%) sepia(80%) saturate(2000%) hue-rotate(170deg) brightness(95%) contrast(95%);
    /* cyan */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-12 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/folder-open.svg');
    filter: invert(45%) sepia(70%) saturate(1200%) hue-rotate(10deg) brightness(95%) contrast(100%);
    /* brown-orange */
}

.NB-pricing-tier-archive .NB-pricing-tier-features li.NB-13 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/world.svg');
    filter: invert(35%) sepia(95%) saturate(2500%) hue-rotate(350deg) brightness(95%) contrast(105%);
    /* red */
}

/* Pro tier bullets with vivid colors */
.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-1 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/stack.svg');
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(95%) contrast(100%);
    /* green */
}

.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-2 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-lightning-bolt-100.png');
    filter: invert(57%) sepia(98%) saturate(1000%) hue-rotate(360deg) brightness(103%) contrast(105%);
    /* orange */
}

.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-3 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/train.svg');
    filter: invert(65%) sepia(90%) saturate(1200%) hue-rotate(15deg) brightness(100%) contrast(100%);
    /* gold */
}

.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-4 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-pyramids-100.png');
    filter: invert(65%) sepia(90%) saturate(1200%) hue-rotate(15deg) brightness(100%) contrast(100%);
    /* gold */
}

.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-5 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/nouns/train.svg');
    filter: invert(65%) sepia(90%) saturate(1200%) hue-rotate(15deg) brightness(100%) contrast(100%);
    /* gold */
}

.NB-pricing-tier-pro .NB-pricing-tier-features li.NB-6 .NB-pricing-bullet {
    background-image: url('/media/embed/icons/icons8/icons8-search-100.png');
    filter: invert(65%) sepia(90%) saturate(1200%) hue-rotate(15deg) brightness(100%) contrast(100%);
    /* gold */
}

/* Coming soon header */
.NB-pricing-tier-features li.NB-pricing-tier-upcoming-header {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9ca3af;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    display: block;
}

/* Upcoming features - muted */
.NB-pricing-tier-features li.NB-upcoming {
    opacity: 0.6;
}

.NB-pricing-tier-features li.NB-upcoming .NB-pricing-bullet {
    filter: grayscale(100%) opacity(50%);
}

/* Lyric section */
.NB-pricing-lyric {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    padding: 20px 24px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.NB-pricing-lyric .NB-lyric-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.NB-pricing-lyric .NB-lyric-text {
    flex: 1;
}

.NB-pricing-lyric .NB-lyric-title {
    font-size: 16px;
    font-weight: 600;
    color: #3a2e1e;
    margin-bottom: 4px;
}

.NB-pricing-lyric .NB-lyric-description {
    font-size: 14px;
    color: rgba(58, 46, 30, 0.6);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 960px) {
    .NB-pricing-tiers {
        flex-direction: column;
    }

    .NB-pricing-tier {
        flex: none;
        width: 100%;
    }

    .NB-pricing-tiers-bottom {
        flex-direction: row;
    }

    .NB-pricing-tiers-bottom .NB-pricing-tier {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .NB-pricing-tiers-bottom {
        flex-direction: column;
    }

    .NB-pricing-tiers-bottom .NB-pricing-tier {
        flex: none;
        width: 100%;
    }
}

/* ================== */
/* = Bottom Actions = */
/* ================== */

.NB-welcome-bottomactions {
    clear: both;
    margin: 0;
    padding: 64px 0;
    background: linear-gradient(180deg, #eee9e2 0%, #f5f3f0 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.NB-welcome-bottomactions-heading {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #3a2e1e;
    margin: 0 0 28px;
    letter-spacing: -0.3px;
}

.NB-welcome-bottomactions-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Shared button base */
.NB-welcome-bottomactions .NB-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: none;
    box-shadow: none;
    float: none;
    margin: 0;
    text-decoration: none;
}

/* Ghost / outline style — try out */
.NB-welcome-bottomactions .NB-bottomaction-tryout {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #3a2e1e;
}

.NB-welcome-bottomactions .NB-bottomaction-tryout:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.25);
    color: #1a1408;
}

.NB-welcome-bottomactions .NB-bottomaction-tryout:active {
    background: rgba(255, 255, 255, 0.85);
}

.NB-welcome-bottomactions .NB-bottomaction-tryout img {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.NB-welcome-bottomactions .NB-bottomaction-tryout:hover img {
    opacity: 1;
}

/* Gold primary — sign up */
.NB-welcome-bottomactions .NB-bottomaction-signup {
    background: #D9A621;
    border: 1px solid transparent;
    color: white;
}

.NB-welcome-bottomactions .NB-bottomaction-signup:hover {
    background: #C4941B;
}

.NB-welcome-bottomactions .NB-bottomaction-signup:active {
    background: #B08518;
}

@media (max-width: 500px) {
    .NB-welcome-bottomactions-buttons {
        flex-direction: column;
        align-items: center;
    }
    .NB-welcome-bottomactions-heading {
        font-size: 22px;
        padding: 0 24px;
    }
}

/* ============ */
/* = Activity = */
/* ============ */

.NB-welcome-activity {
    overflow: hidden;
    clear: both;
    padding: 36px 0;
}

.NB-welcome-activity h2 {
    font-family: 'Gotham Narrow A', 'Gotham Narrow B', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #3a2e1e;
    margin: 0 0 16px;
}

.NB-welcome-activity .NB-module {
    width: 47%;
}

.NB-welcome-activity .NB-module-features {
    float: right;
}

.NB-welcome-activity .NB-module-stats {
    float: left;
    margin-right: 3%;
}

.NB-welcome-activity .NB-module .NB-module-header {
    display: none;
}

.NB-welcome-activity .NB-module .NB-module-stats-counts {
    overflow: hidden;
}

.NB-welcome-activity .NB-module-stats .NB-module-content-header-hour {
    margin-top: 36px;
}

.NB-welcome-activity .NB-module-stats-count-graph {
    margin-left: 4px;
}

.NB-welcome-activity .NB-graph-bar {
    width: 4px;
}

.NB-welcome-activity .NB-graph-value {
    width: 4px;
}

.NB-welcome-activity .NB-module-stats-count {
    float: left;
    width: 33%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.NB-welcome-activity .NB-module-stats-count-graph {
    width: auto;
    margin-left: 16px;
}

/* ========== */
/* = Footer = */
/* ========== */

.NB-welcome-footer {
    overflow: hidden;
    clear: both;
    padding: 42px 0 0;
    color: #363C53;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
    line-height: 24px;
    background-color: #FAFAFA;
    background: #F1E0D0 url(/media/img/welcome/footer_background.jpg) repeat center top;
    background-size: 1438px 150px;

    border-top: 2px solid rgba(0, 0, 0, .1);
}

.NB-welcome-footer .NB-welcome-footer-content {
    margin-bottom: 46px;
}

.NB-welcome-footer .NB-footer-logo {
    vertical-align: text-bottom;
    position: relative;
    bottom: -4px;
}

.NB-welcome-footer .NB-splash-link {
    color: #363C53;
    font-weight: bold;
    text-shadow: 0 1px 0 rgba(245, 245, 245, 0.7);
}

.NB-welcome-footer .NB-splash-link:hover {
    color: #822216;
}

.NB-welcome-footer .NB-footer-icons {
    float: right;
}

.NB-welcome-footer .NB-footer-icons a {
    line-height: 0;
    margin: 0 12px 0 0;
    float: right;
}

.NB-welcome-footer .NB-footer-icons a img {
    vertical-align: middle;
    width: 32px;
    height: 32px;
    position: relative;
    bottom: -4px;
    opacity: .5;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
}

.NB-welcome-footer .NB-footer-icons a img:hover {
    opacity: 1;
}

.NB-welcome-footer .NB-twitter-avatar {
    width: 24px;
    height: 24px;
    border: none;
    box-shadow: 0 0 1px #C0C0C0;
    vertical-align: bottom;
    position: relative;
    bottom: 0;
    margin: 0 2px 0 4px;
    border-radius: 2px;
}


/* ================================= */
/* = Responsive — all sections     = */
/* ================================= */

@media (max-width: 960px) {
    .NB-welcome .NB-inner {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    /* Features: 4-across → 2 columns */
    .NB-welcome-features {
        margin: 48px 0;
    }
    .NB-welcome-features .NB-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 32px 0;
    }
    .NB-welcome-features .NB-feature {
        float: none;
        width: 50%;
        margin: 0;
        box-sizing: border-box;
        padding: 0 16px;
    }
    .NB-welcome-features img {
        width: 100%;
        height: auto;
        max-width: 200px;
    }

    /* Subfeatures: keep 2-col, stack image above text in each card */
    .NB-welcome-subfeatures .NB-inner {
        display: flex;
        flex-wrap: wrap;
    }
    .NB-welcome-subfeatures .NB-feature {
        float: none;
        width: 50%;
        margin: 0 0 36px 0;
        box-sizing: border-box;
        padding: 0 12px;
        text-align: center;
    }
    .NB-welcome-subfeatures img {
        float: none;
        width: 100%;
        height: auto;
        max-width: 120px;
        margin: 0 auto 12px;
        display: block;
    }

    /* Pricing: reduce heading and padding */
    .NB-welcome-pricing {
        padding: 36px 0;
    }
    .NB-welcome-pricing h2 {
        font-size: 26px;
    }
    .NB-welcome-pricing > .NB-inner > p {
        font-size: 15px;
        padding: 0 12px;
    }

    /* Bottom actions: reduce vertical padding */
    .NB-welcome-bottomactions {
        padding: 48px 0;
    }

    /* Activity/Stats: stack columns */
    .NB-welcome-activity .NB-module {
        width: 100%;
        float: none;
    }
    .NB-welcome-activity .NB-module-stats {
        float: none;
        margin-right: 0;
        margin-bottom: 32px;
    }
    .NB-welcome-activity .NB-module-features {
        float: none;
    }

    /* Footer: center content, stack icons above text */
    .NB-welcome-footer .NB-welcome-footer-content {
        text-align: center;
        line-height: 28px;
    }
    .NB-welcome-footer .NB-footer-icons {
        float: none;
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    .NB-welcome-footer .NB-footer-icons a {
        float: none;
        margin: 0;
    }

    /* Footer links bar */
    .NB-welcome .NB-splash-info.NB-splash-bottom {
        float: none;
    }
    .NB-welcome .NB-splash-info .NB-splash-links {
        float: none;
        left: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 12px;
    }
    .NB-welcome .NB-splash-info .NB-splash-links li {
        right: auto;
        position: static;
    }
}

@media (max-width: 500px) {
    /* Features: keep 2 columns, tighten padding */
    .NB-welcome-features .NB-feature {
        padding: 0 8px;
    }

    /* Pricing: Lyric section stacks */
    .NB-pricing-lyric {
        flex-direction: column;
        text-align: center;
    }

    /* Footer: tighter padding */
    .NB-welcome-footer {
        padding: 32px 0 0;
    }
    .NB-welcome-footer .NB-welcome-footer-content {
        margin-bottom: 24px;
    }
}

/* ================================= */
/* = Dark Mode Overrides           = */
/* ================================= */

/* Hero / Header — darker teal in dark mode */
.NB-dark .NB-welcome-hero-wrap {
    background: linear-gradient(180deg, #3F5354 0%, #1B2424 50%, #111919 100%);
}

/* Platforms */
.NB-dark .NB-welcome-platforms {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0.35) 60px,
        rgba(0, 0, 0, 0.5) 150px,
        rgba(0, 0, 0, 0.6) 400px);
}

.NB-dark .NB-platforms-heading {
    color: white;
}

.NB-dark .NB-platforms-subheading {
    color: #FBDB9B;
}

.NB-dark .NB-platform-badge {
    color: #D9A621;
    border-color: rgba(217, 166, 33, 0.3);
    background: rgba(217, 166, 33, 0.15);
}

.NB-dark .NB-platform-title {
    color: white;
}

.NB-dark .NB-features-heading {
    color: white;
}

.NB-dark .NB-features-subheading {
    color: rgba(255, 255, 255, 0.55);
}

.NB-dark .NB-welcome-activity h2 {
    color: white;
}

.NB-dark .NB-platform-description {
    color: rgba(255, 255, 255, 0.55);
}

/* Pricing */
.NB-dark .NB-welcome-pricing {
    background: linear-gradient(180deg, #1a2222 0%, #141c1c 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.NB-dark .NB-welcome-pricing h2 {
    color: #ffffff;
}

.NB-dark .NB-welcome-pricing>.NB-inner>p {
    color: rgba(255, 255, 255, 0.55);
}

.NB-dark .NB-pricing-tier {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.2);
}

.NB-dark .NB-pricing-tier:hover {
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 16px 40px rgba(0, 0, 0, 0.3);
}

.NB-dark .NB-pricing-tier-free .NB-pricing-tier-features,
.NB-dark .NB-pricing-tier-selfhosted .NB-pricing-tier-features {
    background: rgba(255, 255, 255, 0.03);
}

.NB-dark .NB-pricing-tier-free .NB-pricing-tier-features li,
.NB-dark .NB-pricing-tier-selfhosted .NB-pricing-tier-features li {
    color: rgba(255, 255, 255, 0.7);
}

.NB-dark .NB-pricing-tier-premium .NB-pricing-tier-features,
.NB-dark .NB-pricing-tier-archive .NB-pricing-tier-features,
.NB-dark .NB-pricing-tier-pro .NB-pricing-tier-features {
    background: rgba(255, 255, 255, 0.03);
}

.NB-dark .NB-pricing-tier-features li {
    color: rgba(255, 255, 255, 0.7);
}

.NB-dark .NB-pricing-tier-features li.NB-pricing-tier-includes {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.NB-dark .NB-pricing-tier-features li.NB-pricing-tier-upcoming-header {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.NB-dark .NB-pricing-tier-actions {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Lyric */
.NB-dark .NB-pricing-lyric {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.NB-dark .NB-pricing-lyric .NB-lyric-photo {
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.NB-dark .NB-pricing-lyric .NB-lyric-title {
    color: rgba(255, 255, 255, 0.9);
}

.NB-dark .NB-pricing-lyric .NB-lyric-description {
    color: rgba(255, 255, 255, 0.55);
}

/* Bottom Actions */
.NB-dark .NB-welcome-bottomactions {
    background: linear-gradient(180deg, #111919 0%, #1a2222 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.NB-dark .NB-welcome-bottomactions-heading {
    color: white;
}

.NB-dark .NB-welcome-bottomactions .NB-bottomaction-tryout {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.8);
}

.NB-dark .NB-welcome-bottomactions .NB-bottomaction-tryout:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.NB-dark .NB-welcome-bottomactions .NB-bottomaction-tryout:active {
    background: rgba(255, 255, 255, 0.18);
}

.NB-dark .NB-welcome-bottomactions .NB-bottomaction-tryout img {
    filter: brightness(0) invert(1);
}

/* Trial callout */
.NB-dark .NB-pricing-trial-callout {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(110, 231, 183, 0.3);
    color: #6ee7b7;
}

.NB-dark .NB-pricing-trial-callout strong {
    color: #a7f3d0;
}

/* Footer */
.NB-dark .NB-welcome-footer {
    background-color: #2a3030;
    background-blend-mode: overlay;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.NB-dark .NB-welcome-footer .NB-splash-link {
    color: #FBDB9B;
    text-shadow: none;
}

.NB-dark .NB-welcome-footer .NB-splash-link:hover {
    color: #fff;
}

.NB-dark .NB-welcome-footer .NB-footer-icons a img {
    filter: invert(1);
    opacity: 0.5;
}

.NB-dark .NB-welcome-footer .NB-footer-icons a img:hover {
    opacity: 0.9;
}

.NB-dark .NB-welcome-footer .NB-twitter-avatar {
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}
