/* ==========================================================================
   SubjectLine.com v2 "New Design" shared stylesheet.
   Design tokens + shared components reused by the public site (_Layout) and
   the authenticated app shell (_DashboardLayout). Ported from the product
   prototype (local-node-app: _homepage_v2.ejs, results.ejs, _app_sidebar.ejs).
   ========================================================================== */

:root {
    --sl2-blue: #4c9dff;
    --sl2-blue-deep: #1565C0;
    --sl2-orange: #ff9e1a;
    --sl2-orange-deep: #f97316;
    --sl2-ink: #0f172a;
    --sl2-muted: #64748b;
    --sl2-faint: #9ca3af;
    --sl2-line: #e2e8f0;
    --sl2-line-soft: #eef2f7;
    --sl2-bg: #f8faff;
    --sl2-card: #ffffff;
    --sl2-good: #10B981;
    --sl2-warn: #F57F17;
    --sl2-bad: #D32F2F;
    --sl2-radius: 16px;
    --sl2-radius-sm: 10px;
    --sl2-shadow: 0 2px 14px rgba(0,0,0,0.05);
    --sl2-shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --sl2-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --sl2-nav-mobile-height: 66px;
    /* Typography — aligned with marketing mock (thorough-hope-production) */
    --sl2-text-2xs: 10px;
    --sl2-text-xs: 11px;
    --sl2-text-sm: 12px;
    --sl2-text-base: 13px;
    --sl2-text-md: 14px;
    --sl2-text-lg: 15px;
    --sl2-text-xl: 16px;
    --sl2-text-2xl: 17px;
    --sl2-fw-regular: 400;
    --sl2-fw-medium: 500;
    --sl2-fw-semibold: 600;
    --sl2-fw-bold: 700;
    --sl2-fw-extrabold: 800;
    --sl2-fw-black: 900;
}

/* ---- Public site body theme (opt-in via body.sl-v2) --------------------- */
html {
    overflow-x: clip;
}

body.sl-v2 {
    font-family: var(--sl2-font);
    font-size: var(--sl2-text-md);
    line-height: 1.6;
    background-color: var(--sl2-bg);
    background-image: radial-gradient(circle, rgba(76,157,255,0.10) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--sl2-ink);
    overflow-x: clip;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.sl-v2 .body-content {
    padding: 0;
    overflow-x: clip;
    max-width: 100%;
}

.sl2-home {
    overflow-x: clip;
    max-width: 100%;
}

body.sl-v2 input,
body.sl-v2 select,
body.sl-v2 textarea {
    max-width: none;
}

/* Hide legacy pink chrome when the v2 theme is active */
body.sl-v2 .cc-hello-bar { display: none; }

/* ---- Newsletter (v2 light — prototype _footer.ejs #nlV2) --------------- */
.sl2-newsletter {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 52px 0;
}
.sl2-nl-inner {
    max-width: 520px; margin: 0 auto; text-align: center; padding: 0 20px;
}
.sl2-nl-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--sl2-orange); background: rgba(255,158,26,0.08);
    border: 1px solid rgba(255,158,26,0.2); border-radius: 20px;
    padding: 4px 12px; margin-bottom: 16px;
}
.sl2-newsletter h4 {
    font-size: 22px; font-weight: var(--sl2-fw-extrabold); color: var(--sl2-ink);
    letter-spacing: -0.4px; margin: 0 0 8px;
}
.sl2-nl-sub {
    font-size: var(--sl2-text-md); color: var(--sl2-muted); margin: 0 0 22px; line-height: 1.6;
}
.sl2-nl-form {
    display: flex; gap: 8px; max-width: 440px; margin: 0 auto; position: relative;
}
.sl2-nl-input {
    flex: 1; padding: 13px 16px; border: 1.5px solid var(--sl2-line); border-radius: 10px;
    font-size: 14px; color: var(--sl2-ink); outline: none; background: #fff;
    font-family: inherit; transition: border-color .15s, box-shadow .15s; min-width: 0;
}
.sl2-nl-input::placeholder { color: #b0b8c4; }
.sl2-nl-input:focus { border-color: var(--sl2-blue); box-shadow: 0 0 0 3px rgba(76,157,255,0.1); }
.sl2-nl-btn {
    padding: 13px 22px; background: var(--sl2-orange); color: #000; border: none;
    border-radius: 10px; font-size: 14px; font-weight: 700; cursor: pointer;
    font-family: inherit; white-space: nowrap; flex-shrink: 0;
    transition: background .15s; box-shadow: 0 4px 12px rgba(255,158,26,0.3);
}
.sl2-nl-btn:hover { background: #e88a00; }
.sl2-newsletter .cc-form-disclosure {
    font-size: 11px; color: #9ca3af; line-height: 1.6; margin: 12px 0 0; text-align: center;
}
.sl2-newsletter .cc-form-disclosure a { color: var(--sl2-blue); text-decoration: none; }
.sl2-newsletter .cc-form-disclosure a:hover { text-decoration: underline; }
.sl2-nl-success,
.sl2-newsletter #miniformContainer > p,
.sl2-newsletter #miniformContainer > h4 {
    font-size: 15px; font-weight: 600; color: #10b981; padding: 12px 0; margin: 0;
}
@media (max-width: 480px) {
    .sl2-nl-form { flex-direction: column; }
    .sl2-nl-btn { width: 100%; }
}

/* Privacy addon under newsletter */
.sl2-privacy-addon,
body.sl-v2 #divAddOnPrivacySection {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 28px 0 20px;
}
.sl2-privacy-inner {
    max-width: 720px; margin: 0 auto; padding: 0 24px; text-align: center;
}
.sl2-privacy-text {
    color: #9ca3af;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
}
body.sl-v2 #divAddOnPrivacySection p,
.sl2-privacy-addon p {
    color: #9ca3af !important;
    font-size: 11px !important;
    line-height: 1.6;
}
body.sl-v2 #divAddOnPrivacySection .white { color: inherit; }
body.sl-v2 #divAddOnPrivacySection .divAddOnPrivacy { margin-bottom: 0 !important; }

/* ---- Buttons ------------------------------------------------------------ */
.sl2-btn-y {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, var(--sl2-orange) 0%, var(--sl2-orange-deep) 100%);
    color: #000; border: none; border-radius: 8px;
    padding: 11px 22px; font-size: var(--sl2-text-lg); font-weight: var(--sl2-fw-medium);
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.sl2-btn-y:hover { color: #000; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.45); }
.sl2-btn-y-outline {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; color: #374151; border: 1.5px solid var(--sl2-orange);
    border-radius: 8px; padding: 11px 22px; font-size: var(--sl2-text-lg); font-weight: var(--sl2-fw-medium);
    text-decoration: none; white-space: nowrap; cursor: pointer;
    box-shadow: none; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.sl2-btn-y-outline:hover {
    background: var(--sl2-orange); border-color: var(--sl2-orange); color: #000;
    text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,158,26,0.3);
}
.sl2-btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: #374151; border: 1.5px solid #e5e7eb;
    border-radius: 12px; padding: 15px 28px; font-size: var(--sl2-text-xl); font-weight: var(--sl2-fw-bold);
    text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.sl2-btn-ghost:hover { background: #f9fafb; color: #111827; border-color: #d1d5db; text-decoration: none; }
.sl2-btn-blue {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; color: var(--sl2-blue-deep); border: 2px solid var(--sl2-blue-deep);
    border-radius: var(--sl2-radius-sm); padding: 11px 20px; font-weight: var(--sl2-fw-semibold); font-size: var(--sl2-text-md);
    text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.sl2-btn-blue:hover { background: var(--sl2-blue-deep); color: #fff; text-decoration: none; }

/* ---- Public nav (Header.cshtml) ----------------------------------------- */
.sl2-nav-shell {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--sl2-line);
}

.sl2-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 88px;
    gap: 24px;
}
.sl2-logo-block { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex-shrink: 0; }
.sl2-logo img { height: 34px; width: auto; display: block; }
.sl2-powered { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.sl2-powered-txt { font-size: 11px; font-weight: 600; color: #b0b8c4; text-transform: lowercase; }
.sl2-powered-logo { height: 15px; width: auto; filter: grayscale(100%) brightness(1.1); }
.sl2-nav-links { display: flex; gap: 4px; align-items: center; flex: 1; justify-content: center; }
.sl2-nav-links > a {
    font-size: var(--sl2-text-md); font-weight: var(--sl2-fw-medium); color: #6b7280;
    padding: 8px 14px; border-radius: 8px; text-decoration: none; white-space: nowrap;
    transition: color .15s, background .15s;
}
.sl2-nav-links > a:hover { color: #111827; background: #f3f4f6; text-decoration: none; }
.sl2-nav-dropdown { position: relative; }
.sl2-nav-dropdown-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: var(--sl2-text-md); font-weight: var(--sl2-fw-medium); color: #6b7280;
    padding: 8px 14px; border-radius: 8px; border: none; background: transparent;
    white-space: nowrap; cursor: pointer; font-family: inherit;
    transition: color .15s, background .15s;
}
.sl2-nav-dropdown:hover .sl2-nav-dropdown-trigger,
.sl2-nav-dropdown:focus-within .sl2-nav-dropdown-trigger { color: #111827; background: #f3f4f6; }
.sl2-nav-chevron { flex-shrink: 0; transition: transform .15s; }
.sl2-nav-dropdown:hover .sl2-nav-chevron,
.sl2-nav-dropdown:focus-within .sl2-nav-chevron { transform: rotate(180deg); }
.sl2-cc-mega {
    display: none; position: absolute; top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%);
    min-width: 760px; max-width: 760px; padding: 24px;
    background: #fff; border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    z-index: 600;
}
.sl2-cc-mega .cc-products-header { margin-bottom: 10px; }
.sl2-cc-mega .cc-products-headline h6 { font-size: var(--sl2-text-lg); font-weight: var(--sl2-fw-bold); color: #111827; }
.sl2-cc-mega .cc-products-headline p { font-size: var(--sl2-text-base); color: #9ca3af; }
.sl2-cc-mega .cc-products-cta { font-size: var(--sl2-text-base); padding: 7px 16px; border-radius: 8px; }
.sl2-cc-mega .cc-products-grid { margin-top: 16px; gap: 4px 16px; }
.sl2-cc-mega .cc-product-meta strong { font-size: var(--sl2-text-md); font-weight: var(--sl2-fw-semibold); }
.sl2-cc-mega .cc-product-meta span { font-size: var(--sl2-text-sm); }
.sl2-cc-mega::before {
    content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.sl2-nav-dropdown:hover .sl2-cc-mega,
.sl2-nav-dropdown:focus-within .sl2-cc-mega { display: block; }
.sl2-cc-mega .cc-products-col { display: flex; flex-direction: column; }
.sl2-nav-right { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.sl2-nav-login { font-size: var(--sl2-text-md); font-weight: var(--sl2-fw-semibold); color: #6b7280; padding: 8px 14px; border-radius: 8px; text-decoration: none; }
.sl2-nav-login:hover { color: #111827; background: #f3f4f6; text-decoration: none; }

.sl2-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1.5px solid var(--sl2-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-appearance: none;
            appearance: none;
}

.sl2-nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: #374151;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.sl2-nav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.sl2-nav-drawer-auth {
    display: none;
}

.sl2-nav-backdrop {
    display: none;
}

@media (min-width: 861px) {
    .sl2-nav-shell {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;
        padding: 0 40px;
        height: 88px;
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.97);
    }

    .sl2-nav {
        display: contents;
        padding: 0;
        height: auto;
        gap: 0;
    }

    .sl2-logo-block {
        grid-column: 1;
        grid-row: 1;
    }

    .sl2-nav-menu {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex: none;
        align-items: center;
        justify-content: center;
        min-width: 0;
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        padding: 0;
        background: transparent;
        border: none;
        overflow: visible;
    }

    .sl2-nav-right {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (max-width: 860px) {
    .sl2-nav-shell {
        position: sticky;
        top: 0;
        width: 100%;
        max-width: 100vw;
        z-index: 520;
        background: #fff;
        overflow: visible;
    }

    .sl2-nav {
        position: relative;
        z-index: 3;
        padding: 10px 14px;
        height: auto;
        min-height: 0;
        gap: 12px;
        min-width: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid transparent;
    }

    body.sl2-nav-open .sl2-nav {
        border-bottom-color: var(--sl2-line);
    }

    .sl2-logo-block {
        min-width: 0;
        flex: 1 1 auto;
    }

    .sl2-logo img {
        height: 28px;
        max-width: 100%;
    }

    .sl2-nav-toggle {
        display: inline-flex;
        order: 3;
        flex: 0 0 44px;
        margin-left: 0;
        position: relative;
        z-index: 4;
    }

    body.sl2-nav-open .sl2-nav-toggle .sl2-nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.sl2-nav-open .sl2-nav-toggle .sl2-nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    body.sl2-nav-open .sl2-nav-toggle .sl2-nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile drawer: the nav bar stays visible and the panel drops below it,
       anchored to the sticky shell (no full-screen overlay). */
    .sl2-nav-menu {
        display: none;
        position: absolute;
        top: var(--sl2-nav-drawer-top, 100%);
        left: 0;
        right: 0;
        z-index: 2;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        border-bottom: 1px solid var(--sl2-line);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
        max-height: calc(100vh - var(--sl2-nav-mobile-height));
        max-height: calc(100dvh - var(--sl2-nav-mobile-height));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .sl2-nav-menu.is-open {
        display: flex;
    }

    .sl2-nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex: 0 0 auto;
        justify-content: flex-start;
        padding: 8px 0;
    }

    .sl2-nav-links > a {
        padding: 14px 18px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 0;
    }

    .sl2-nav-drawer-auth {
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 0 0 auto;
        padding: 18px;
        border-top: 1px solid var(--sl2-line-soft);
        background: #fff;
    }

    .sl2-nav-drawer-form { margin: 0; }

    .sl2-nav-drawer-signout {
        width: 100%;
        text-align: left;
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
    }

    .sl2-nav-drawer-cta {
        justify-content: center;
        width: 100%;
    }

    .sl2-nav-right {
        order: 2;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .sl2-nav-desktop-only {
        display: none !important;
    }

    .sl2-nav-right .sl2-btn-y {
        padding: 10px 14px;
        font-size: 13px;
    }

    .sl2-nav-backdrop {
        display: none;
    }

    /* Dims the page behind the drawer. Sits one layer below the nav shell
       (z-index 520) so the bar and the panel both stay crisp on top of it.
       Keyed on [hidden] (not the body class) so it can fade out as well as in. */
    .sl2-nav-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100vw;
        z-index: 510;
        background: rgba(15, 23, 42, 0.35);
        opacity: 0;
        transition: opacity 0.2s ease;
        pointer-events: auto;
    }

    .sl2-nav-backdrop.is-open {
        opacity: 1;
    }

    /* The page is deliberately NOT scroll-locked while the drawer is open:
       overflow:hidden on html/body turns them into scroll containers, which
       breaks the sticky bar (it stops pinning and scrolls away with the page).
       The panel keeps its own scroll contained via overscroll-behavior. */
}

/* ---- Hero + tool (homepage dark hero; generic fallback for other pages) ---- */
.sl2-hero { position: relative; max-width: 900px; margin: 0 auto; padding: 60px 24px 20px; text-align: center; }
.sl2-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--sl2-line); border-radius: 999px;
    padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--sl2-muted); margin-bottom: 22px;
}
.sl2-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sl2-good); }
.sl2-h1 { font-size: clamp(32px, 4.5vw, 42px); line-height: 1.08; font-weight: var(--sl2-fw-black); letter-spacing: -1.2px; margin: 0 0 16px; color: var(--sl2-ink); }
.sl2-grad { background: linear-gradient(90deg, var(--sl2-blue) 0%, #a78bfa 55%, var(--sl2-orange) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sl2-hero-sub { font-size: var(--sl2-text-2xl); color: var(--sl2-muted); max-width: 640px; margin: 0 auto 28px; line-height: 1.6; }
@media (max-width: 640px) { .sl2-h1 { font-size: 32px; } }

/* Homepage hero — full-width dark panel (prototype _homepage_v2.ejs) */
.sl2-home .sl2-hero {
    max-width: none; width: 100%; margin: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #0f172a 0%, #1a2e4a 55%, #0f2040 100%);
    padding: 56px 24px 72px;
    border-bottom: none;
}
.sl2-home .sl2-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; --sl2-hero-stack-width: 820px; }
.sl2-home .sl2-hero-dots {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(76,157,255,0.12) 1px, transparent 1px);
    background-size: 30px 30px;
}
.sl2-home .sl2-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.sl2-home .sl2-orb-a { width: 520px; height: 520px; background: rgba(76,157,255,0.18); top: -200px; left: 50%; transform: translateX(-55%); }
.sl2-home .sl2-orb-b { width: 360px; height: 360px; background: rgba(76,157,255,0.14); top: 40px; right: -80px; }
.sl2-home .sl2-orb-c { width: 280px; height: 280px; background: rgba(255,158,26,0.12); bottom: -60px; left: -40px; }
.sl2-home .sl2-float-icons { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
@media (max-width: 768px) {
    .sl2-home .sl2-float-icons { display: none; }
    .sl2-home .sl2-hero { padding: 40px 18px 56px; }
    .sl2-home .sl2-tool { padding: 24px 18px; border-radius: 18px; }
    .sl2-input-row { flex-direction: column; align-items: stretch; }
    .sl2-score-btn { width: 100%; justify-content: center; }
    .sl2-pricing-grid { grid-template-columns: 1fr; }
    .sl2-plan { padding: 28px 22px; }
    .sl2-billing-btn { padding: 8px 16px; font-size: 13px; }
    .sl2-pills { gap: 8px; }
    .sl2-pill { font-size: 12px; padding: 7px 14px; }
}
.sl2-home .sl2-fi {
    position: absolute; opacity: 0.1; color: #fff; line-height: 1; user-select: none;
    animation: sl2FiFloat var(--dur, 8s) ease-in-out var(--d, 0s) infinite;
}
@keyframes sl2FiFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0); }
}
.sl2-home .sl2-badge {
    position: relative;
    background: rgba(76,157,255,0.15); border: 1px solid rgba(76,157,255,0.35);
    color: #7bbfff; font-size: 12px; font-weight: 700; letter-spacing: 0.8px;
    text-transform: uppercase; padding: 7px 18px; border-radius: 40px; margin-bottom: 30px;
}
.sl2-home .sl2-badge-dot {
    width: 7px; height: 7px; background: var(--sl2-blue);
    box-shadow: 0 0 8px rgba(76,157,255,0.5);
    animation: sl2pulse 2s infinite;
}
@keyframes sl2pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.sl2-home .sl2-h1 {
    font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -2px;
    color: #fff; max-width: 840px; margin: 0 auto 20px; position: relative;
}
.sl2-home .sl2-h1 .sl2-grad {
    background: linear-gradient(135deg, #4c9dff, #7dd3fc);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sl2-home .sl2-hero-sub {
    font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.68);
    max-width: 780px; margin: 0 auto 48px; line-height: 1.65; position: relative;
}
.sl2-home .sl2-tool {
    position: relative; max-width: var(--sl2-hero-stack-width, 820px); margin: 0 auto 28px;
    background: #fff; border-radius: 24px; padding: 32px 36px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 32px rgba(0,0,0,0.35), 0 32px 64px rgba(0,0,0,0.2);
}
.sl2-home .sl2-tool-label { color: #94a3b8; margin-bottom: 14px; }
.sl2-home .sl2-input-row input[type="text"] {
    background: #f8fafc; border-radius: 14px; padding: 20px 22px; font-size: 17px;
}
.sl2-home .sl2-input-row input[type="text"]:focus { background: #fff; }
.sl2-home .sl2-score-btn {
    background: var(--sl2-orange); border-radius: 14px; padding: 20px 32px; font-size: 17px;
    box-shadow: none;
}
.sl2-home .sl2-score-btn:hover { background: #e88a00; transform: none; }
.sl2-home .sl2-tool-note { text-align: center; color: #94a3b8; margin-top: 14px; }
.sl2-home .rp-results {
    margin-top: 28px;
    max-width: var(--sl2-hero-stack-width, 820px);
    width: 100%;
}

.sl2-hero-nudge {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    margin: 8px auto 36px; position: relative; max-width: 640px;
}
.sl2-hero-nudge > p { font-size: 13px; color: rgba(255,255,255,0.45); margin: 0; text-align: center; }
.sl2-hero-nudge-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.sl2-hero-nudge-fine { font-size: 11px; color: rgba(255,255,255,0.3); margin: 0; }
.sl2-google-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 1.5px solid var(--sl2-line); border-radius: 10px;
    padding: 12px 22px; font-size: var(--sl2-text-md); font-weight: var(--sl2-fw-medium); color: #374151;
    text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow .2s, border-color .2s;
}
.sl2-google-btn:hover { color: #374151; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-color: #d1d5db; }
.sl2-btn-y-hero { font-size: var(--sl2-text-lg); padding: 12px 22px; border-radius: 10px; color: #fff; border: 1.5px solid var(--sl2-orange); background: transparent; box-shadow: none; font-weight: var(--sl2-fw-medium); }
.sl2-btn-y-hero:hover { color: #000; background: linear-gradient(135deg, var(--sl2-orange) 0%, var(--sl2-orange-deep) 100%); }

.sl2-pills {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; position: relative;
}
.sl2-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 40px; padding: 8px 18px; font-size: 13px; color: rgba(255,255,255,0.6);
}
.sl2-pill strong { color: #fff; font-weight: 800; }

.sl2-tool { max-width: 720px; margin: 0 auto 14px; text-align: left; }
.sl2-tool-label { font-size: var(--sl2-text-xs); font-weight: var(--sl2-fw-bold); letter-spacing: 0.8px; text-transform: uppercase; color: var(--sl2-faint); margin: 0 0 8px; }
.sl2-input-row { display: flex; gap: 10px; align-items: center; }
.sl2-input-row input[type="text"] {
    flex: 1; padding: 15px 18px; border: 1.5px solid var(--sl2-line); border-radius: 12px;
    font-size: var(--sl2-text-lg); color: var(--sl2-ink); outline: none; background: #fff; font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    max-width: none;
    width: 100%;
    min-width: 0;
}
.sl2-input-row input[type="text"]:focus { border-color: var(--sl2-blue); box-shadow: 0 0 0 4px rgba(76,157,255,0.12); }
.sl2-score-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sl2-orange) 0%, var(--sl2-orange-deep) 100%);
    color: #000; border: none; border-radius: 12px; padding: 15px 26px;
    font-weight: var(--sl2-fw-extrabold); font-size: var(--sl2-text-lg); cursor: pointer; white-space: nowrap; flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(249,115,22,0.4); transition: transform .15s, box-shadow .15s, opacity .15s;
}
.sl2-score-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.45); }
.sl2-score-btn:disabled { opacity: .6; cursor: default; transform: none; }
.sl2-tool-note { font-size: 12px; color: var(--sl2-faint); margin: 10px 0 0; }

/* ---- Inline results cards (results.ejs "rp-" family) -------------------- */
.rp-results { max-width: 760px; margin: 22px auto 0; text-align: left; }
.rp-loading { text-align: center; padding: 40px 24px; font-size: 15px; color: var(--sl2-muted); }
.rp-spinner {
    display: inline-block; width: 28px; height: 28px; border: 3px solid var(--sl2-line);
    border-top-color: var(--sl2-blue); border-radius: 50%; animation: rpspin .8s linear infinite;
    vertical-align: middle; margin-right: 10px;
}
@keyframes rpspin { to { transform: rotate(360deg); } }
.rp-card { background: #fff; border: 1.5px solid var(--sl2-line); border-radius: var(--sl2-radius); padding: 26px; margin-bottom: 16px; box-shadow: var(--sl2-shadow); }
.rp-card-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--sl2-ink); margin-bottom: 16px; }
.rp-card-icon { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.rp-score-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rp-score-ring { width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; color: #fff; flex-shrink: 0; }
.rp-score-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--sl2-faint); margin: 0 0 3px; }
.rp-scored-sl { font-size: 17px; font-weight: 700; color: var(--sl2-ink); margin: 0 0 6px; }
.rp-verdict { font-size: 14px; color: var(--sl2-muted); margin: 0; }
.rp-score-big { font-size: 52px; font-weight: 900; line-height: 1; letter-spacing: -2px; margin: 0; }

.rp-rows { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f8fafc; border: 1.5px solid var(--sl2-line); border-radius: 10px; padding: 12px 16px; }
.rp-row .rp-row-desc { font-size: 14px; font-weight: 500; color: #374151; flex: 1; line-height: 1.4; }
.rp-row .rp-row-pts { font-size: 12px; font-weight: 800; white-space: nowrap; padding: 4px 10px; border-radius: 20px; }
.rp-row.neg { border-left: 3px solid #fca5a5; }
.rp-row.neg .rp-row-pts { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.rp-row.pos { border-left: 3px solid #86efac; }
.rp-row.pos .rp-row-pts { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

/* CC email module + AI suggestions folders */
#rpCc { width: 100%; }
.rp-folder-tab { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1.5px solid var(--sl2-line); border-bottom: none; border-radius: 12px 12px 0 0; padding: 7px 16px 10px; position: relative; z-index: 1; }
.rp-folder-tab span { font-size: 10px; font-weight: 700; color: var(--sl2-faint); text-transform: uppercase; letter-spacing: .5px; }
.rp-folder-tab img { height: 14px; width: auto; }
.rp-folder-body { width: 100%; border: 1.5px solid var(--sl2-line); border-radius: 0 16px 16px 16px; overflow: hidden; box-shadow: var(--sl2-shadow); margin-bottom: 16px; box-sizing: border-box; }
.rp-folder-header { background: linear-gradient(135deg, #1a3c8f 0%, #2563eb 55%, var(--sl2-blue) 100%); padding: 26px 24px 22px; text-align: center; color: #fff; }
.rp-folder-header h3 { margin: 0 0 6px; font-weight: 800; font-size: 19px; color: #fff; }
.rp-folder-header p { margin: 0; font-size: 13px; opacity: .88; line-height: 1.5; }
.rp-folder-inner { width: 100%; padding: 22px; background: #fff; box-sizing: border-box; }
.rp-prompt-label { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #6b7280; margin: 0 0 8px; display: block; }
.rp-prompt-textarea {
    display: block; width: 100%; max-width: 100%;
    padding: 14px 16px; border: 1.5px solid var(--sl2-line); border-radius: 10px;
    font-size: 14px; color: #1a1a1a; line-height: 1.6; resize: vertical; min-height: 76px;
    font-family: inherit; outline: none; box-sizing: border-box;
}
.rp-prompt-textarea:focus { border-color: var(--sl2-blue); }
.rp-chip { background: transparent; border: 1.5px solid var(--sl2-line); border-radius: 20px; padding: 6px 14px; font-size: 12px; font-weight: 600; color: #374151; cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.rp-chip:hover { border-color: var(--sl2-blue); color: #2563eb; }

.rp-ai-module { margin-bottom: 16px; }

.rp-ai-tab {
    gap: 6px;
    padding: 7px 14px 10px;
}

.rp-ai-tab-powered {
    font-size: 10px;
    font-weight: 700;
    color: var(--sl2-faint);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.rp-ai-tab-brand {
    font-size: 12px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -.1px;
}

.rp-ai-module .rp-folder-body {
    margin-bottom: 0;
}

.rp-ai-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #1a2332 0%, #1e293b 100%);
    padding: 20px 22px 18px;
}

.rp-ai-head-copy {
    flex: 1;
    min-width: 0;
}

.rp-ai-head-title {
    margin: 0 0 4px;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.25;
    color: #fff;
}

.rp-ai-head-sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,0.55);
}

.rp-ai-count {
    flex-shrink: 0;
    margin-top: 2px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

.rp-ai-list {
    background: #fff;
}

.rp-ai-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px;
    border-bottom: 1px solid #edf2f7;
    transition: background-color .15s;
}

.rp-ai-row:last-child {
    border-bottom: none;
}

.rp-ai-row.is-original {
    background: #f0f7ff;
}

.rp-ai-label {
    min-width: 132px;
    max-width: 132px;
    font-size: 11px;
    font-weight: 800;
    text-align: right;
    padding-right: 0;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: .35px;
    color: #a0aec0;
}

.rp-ai-label::after {
    content: ':';
}

.rp-ai-label.is-original::after {
    content: none;
}

.rp-ai-label.is-original {
    color: #3182ce;
}

.rp-ai-text {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a202c;
    word-break: break-word;
}

.rp-ai-copy {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #a0aec0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s, color .15s, border-color .15s;
}

.rp-ai-copy:hover {
    background: #f8fafc;
    color: #4a5568;
    border-color: #cbd5e0;
}

.rp-ai-copy.is-copied {
    color: #3182ce;
    border-color: #bee3f8;
    background: #ebf8ff;
}

@media (max-width: 640px) {
    .rp-ai-head {
        flex-direction: column;
        gap: 10px;
    }

    .rp-ai-count {
        align-self: flex-start;
        margin-top: 0;
    }

    .rp-ai-row {
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }

    .rp-ai-label {
        min-width: 96px;
        max-width: 96px;
        font-size: 10px;
    }

    .rp-ai-text {
        font-size: 13px;
    }
}

.rp-nudge { text-align: center; padding: 28px; background: linear-gradient(135deg, #f0f7ff 0%, #fff7ed 100%); border: 1.5px solid var(--sl2-line); border-radius: var(--sl2-radius); margin-bottom: 16px; }
.rp-nudge h4 { font-weight: 800; font-size: 17px; color: var(--sl2-ink); margin: 0 0 6px; }
.rp-nudge p { font-size: 14px; color: var(--sl2-muted); margin: 0 0 18px; }

/* ---- Predicted open-rate locked teaser (white card) --------------------- */
.rp-openrate-teaser {
    background: #fff;
    border: 1.5px solid var(--sl2-line);
    border-radius: var(--sl2-radius);
    margin-bottom: 16px;
    box-shadow: var(--sl2-shadow);
    overflow: hidden;
}

.rp-openrate-teaser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--sl2-line);
}

.rp-openrate-teaser-header-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--sl2-ink);
}

.rp-openrate-teaser-header-title i { color: #4F46E5; }

.rp-openrate-teaser-pro-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 4px 10px;
}

.rp-openrate-teaser-body {
    position: relative;
    min-height: 200px;
}

.rp-openrate-teaser-ghost {
    filter: blur(4px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
    padding: 20px 22px 24px;
}

.rp-openrate-teaser-range {
    font-size: 34px;
    font-weight: 900;
    color: #1e3a5f;
    line-height: 1.1;
    margin-bottom: 6px;
}

.rp-openrate-teaser-caption {
    margin: 0;
    font-size: 13px;
    color: var(--sl2-muted);
}

.rp-openrate-teaser-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
}

.rp-openrate-teaser-copy {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 280px;
    min-width: 0;
}

.rp-openrate-teaser-lock {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eef2f8;
    color: #1e3a5f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 48px;
}

.rp-openrate-teaser-copy-text { min-width: 0; }

.rp-openrate-teaser-title {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--sl2-ink);
    margin: 0 0 4px;
}

.rp-openrate-teaser-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--sl2-muted);
    max-width: 360px;
}

.rp-openrate-teaser-pill {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef5ff;
    font-size: 12px;
    color: #4b5563;
}

.rp-openrate-teaser-pill strong { color: #1e3a5f; }

.rp-openrate-teaser-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.rp-openrate-teaser-cta,
.rp-openrate-teaser-cta:link,
.rp-openrate-teaser-cta:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1e3a5f;
    color: #fff;
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.rp-openrate-teaser-cta:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.45);
}

.rp-openrate-teaser-fine {
    margin: 0;
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
}

@media (max-width: 720px) {
    .rp-openrate-teaser-overlay {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 20px;
    }

    .rp-openrate-teaser-copy {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rp-openrate-teaser-text { max-width: none; }

    .rp-openrate-teaser-actions { width: 100%; }
}

/* ---- Homepage marketing sections (prototype _homepage_v2) -------------- */
.sl2-btn-ind {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: transparent; color: #374151; border: 1.5px solid var(--sl2-orange);
    border-radius: 12px; padding: 14px 22px; font-size: var(--sl2-text-lg); font-weight: var(--sl2-fw-medium);
    width: 100%; line-height: 1; text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.sl2-btn-ind:hover { background: var(--sl2-orange); border-color: var(--sl2-orange); color: #000; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,158,26,0.3); }
.sl2-btn-y-lg {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: var(--sl2-orange); color: #000; border: none; border-radius: 12px;
    padding: 15px 32px; font-size: var(--sl2-text-xl); font-weight: var(--sl2-fw-medium); line-height: 1;
    text-decoration: none; cursor: pointer; width: 100%;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.sl2-btn-y-lg:hover { background: #e88a00; color: #000; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,158,26,0.3); }

.sl2-sec { padding: 88px 24px; background: #fff; }
.sl2-sec.sl2-sec-surface { background: #f8fafc; border-top: 1px solid #e9ecf4; border-bottom: 1px solid #e9ecf4; }
.sl2-sec.sl2-sec-light { background: #f1f5f9; }
.sl2-inner { max-width: 1100px; margin: 0 auto; }
.sl2-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sl2-eyebrow {
    display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
    color: var(--sl2-blue); background: rgba(76,157,255,0.08);
    border: 1px solid rgba(76,157,255,0.2); border-radius: 20px;
    padding: 5px 14px; margin-bottom: 18px;
}
.sl2-h2 {
    font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; letter-spacing: -0.8px;
    line-height: 1.15; color: var(--sl2-ink); margin: 0 0 14px;
}
.sl2-sec .sl2-sub { font-size: var(--sl2-text-2xl); line-height: 1.65; color: var(--sl2-muted); margin: 0; }

/* How it works steps */
.sl2-steps {
    display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr;
    gap: 0; align-items: stretch;
}
.sl2-step-arrow {
    display: flex; align-items: center; justify-content: center;
}
.sl2-step-arrow span {
    color: var(--sl2-orange); font-size: 22px; font-weight: 900; line-height: 1;
}
.sl2-step {
    background: #fff; border: 1.5px solid #e9ecf4; border-radius: 20px;
    padding: 32px 28px 28px; position: relative; overflow: hidden;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    display: flex; flex-direction: column;
}
.sl2-step:hover {
    border-color: var(--sl2-blue);
    box-shadow: 0 12px 32px rgba(76,157,255,0.12);
    transform: translateY(-3px);
}
.sl2-step::before {
    content: attr(data-n); position: absolute; top: -8px; right: 16px;
    font-size: 80px; font-weight: 900; color: rgba(76,157,255,0.06);
    line-height: 1; letter-spacing: -4px; pointer-events: none; user-select: none;
}
.sl2-step::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--sl2-blue), var(--sl2-orange));
    opacity: 0; transition: opacity .2s; border-radius: 20px 20px 0 0;
}
.sl2-step:hover::after { opacity: 1; }
.sl2-step-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px; flex-shrink: 0;
}
.sl2-step-icon.blue { background: rgba(76,157,255,0.1); border: 1.5px solid rgba(76,157,255,0.2); color: var(--sl2-blue); }
.sl2-step-icon.orange { background: rgba(255,158,26,0.1); border: 1.5px solid rgba(255,158,26,0.2); color: var(--sl2-orange); }
.sl2-step-icon.teal { background: rgba(16,185,129,0.1); border: 1.5px solid rgba(16,185,129,0.2); color: #10b981; }
.sl2-step h3 { font-size: var(--sl2-text-2xl); font-weight: var(--sl2-fw-extrabold); color: var(--sl2-ink); margin: 0 0 10px; line-height: 1.25; }
.sl2-step p { font-size: var(--sl2-text-md); color: var(--sl2-muted); line-height: 1.65; margin: 0; }
@media (max-width: 768px) {
    .sl2-steps { grid-template-columns: 1fr; gap: 16px; }
    .sl2-step-arrow { display: none; }
}

/* Account save strip (between How it works and Features) */
.sl2-account-band {
    background: #f8fafc;
    border-top: 1px solid #e9ecf4;
    border-bottom: 1px solid #e9ecf4;
    padding: 28px 24px;
}
.sl2-account-band-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.sl2-account-band-copy {
    display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1;
}
.sl2-account-band-ico {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,158,26,0.12); border: 1.5px solid rgba(255,158,26,0.28);
    color: var(--sl2-orange); font-size: 20px;
}
.sl2-account-band-copy h3 {
    font-size: var(--sl2-text-xl); font-weight: var(--sl2-fw-extrabold); color: var(--sl2-ink);
    margin: 0 0 4px; line-height: 1.3;
}
.sl2-account-band-copy p {
    font-size: var(--sl2-text-md); color: var(--sl2-muted); margin: 0; line-height: 1.45;
}
.sl2-account-band-actions {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0; flex-wrap: wrap;
}
.sl2-account-band-actions .sl2-btn-y,
.sl2-account-band-actions .sl2-btn-ghost { white-space: nowrap; }
@media (max-width: 768px) {
    .sl2-account-band-inner { flex-direction: column; align-items: flex-start; }
    .sl2-account-band-actions { width: 100%; }
    .sl2-account-band-actions .sl2-btn-y,
    .sl2-account-band-actions .sl2-btn-ghost { flex: 1; justify-content: center; }
}

/* Feature cards */
.sl2-feat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px;
}
.sl2-feat {
    background: #fff; border: 1.5px solid var(--sl2-line); border-radius: 16px;
    padding: 28px 26px; transition: border-color .2s, transform .18s, box-shadow .18s;
    position: relative; overflow: hidden;
}
.sl2-feat:hover {
    border-color: rgba(76,157,255,0.4); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76,157,255,0.08);
}
.sl2-feat-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px; flex-shrink: 0;
}
.sl2-feat-icon.blue { background: rgba(76,157,255,0.1); border: 1.5px solid rgba(76,157,255,0.2); color: var(--sl2-blue); }
.sl2-feat-icon.orange { background: rgba(255,158,26,0.1); border: 1.5px solid rgba(255,158,26,0.2); color: var(--sl2-orange); }
.sl2-feat-icon.teal { background: rgba(16,185,129,0.1); border: 1.5px solid rgba(16,185,129,0.2); color: #10b981; }
.sl2-feat-icon.purple { background: rgba(124,58,237,0.1); border: 1.5px solid rgba(124,58,237,0.2); color: #7c3aed; }
.sl2-feat-icon.rose { background: rgba(244,63,94,0.1); border: 1.5px solid rgba(244,63,94,0.2); color: #f43f5e; }
.sl2-feat h3 {
    font-size: var(--sl2-text-xl); font-weight: var(--sl2-fw-extrabold); color: var(--sl2-ink); margin: 0 0 8px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.sl2-feat p { font-size: var(--sl2-text-md); color: var(--sl2-muted); line-height: 1.65; margin: 0; }
.sl2-pro {
    font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
    padding: 2px 8px; border-radius: 6px; background: var(--sl2-blue); color: #fff;
}

/* Billing toggle + pricing */
.sl2-billing-toggle { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; }
.sl2-billing-seg {
    display: inline-flex; background: #f1f5f9; border: 1.5px solid var(--sl2-line);
    border-radius: 30px; padding: 4px; gap: 2px;
}
.sl2-billing-btn {
    padding: 8px 22px; border-radius: 24px; font-size: 14px; font-weight: 600;
    cursor: pointer; border: none; background: transparent; color: #6b7280;
    font-family: inherit; transition: background .2s, color .2s, box-shadow .2s;
}
.sl2-billing-btn[data-active="true"] {
    background: #fff; color: var(--sl2-ink); box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.sl2-billing-save { font-size: 11px; font-weight: 700; opacity: 0.85; }

.sl2-pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; max-width: 760px; margin: 0 auto;
}
.sl2-plan {
    background: #fff; border: 1.5px solid #e5e7eb; border-radius: 20px;
    padding: 36px 32px; position: relative;
}
.sl2-plan.sl2-plan-pro {
    border-color: var(--sl2-blue);
    box-shadow: 0 0 0 1px rgba(76,157,255,0.2), 0 12px 40px rgba(76,157,255,0.1);
}
.sl2-plan-pop {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--sl2-blue); color: #fff; font-size: 11px; font-weight: 800;
    padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.sl2-plan-name {
    font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    color: #9ca3af; margin: 0 0 16px;
}
.sl2-plan-price {
    font-size: 52px; font-weight: 900; letter-spacing: -2px; color: #0A0F1E;
    line-height: 1; margin-bottom: 8px;
}
.sl2-plan-price sup { font-size: 22px; vertical-align: super; letter-spacing: 0; }
.sl2-plan-price sub { font-size: 15px; color: #9ca3af; font-weight: 500; vertical-align: baseline; letter-spacing: 0; }
.sl2-price-billing { font-size: 13px; color: #9ca3af; margin: 0 0 20px; }
.sl2-plan-tag { font-size: 14px; color: #6b7280; margin: 20px 0 24px; line-height: 1.6; }
.sl2-price-note { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; min-height: 24px; flex-wrap: wrap; }
.sl2-price-strike { font-size: 13px; color: #9ca3af; text-decoration: line-through; }
.sl2-price-save {
    font-size: 11px; font-weight: 700; color: #10b981;
    background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
    padding: 3px 10px; border-radius: 20px;
}
.sl2-price-muted { font-size: 13px; color: #9ca3af; }
.sl2-plan-div { height: 1px; background: #e5e7eb; margin: 0 0 20px; }
.sl2-plan-feats { list-style: none; margin: 0 0 28px; padding: 0; }
.sl2-plan-feats li {
    font-size: 14px; color: #374151; padding: 7px 0; border-bottom: 1px solid #f3f4f6;
    display: flex; align-items: flex-start; gap: 10px;
}
.sl2-plan-feats li:last-child { border-bottom: none; }
.sl2-check { color: #10b981; font-weight: 800; flex-shrink: 0; }
.sl2-pricing-fine { text-align: center; margin: 20px 0 0; font-size: 13px; color: #9ca3af; }

/* Bottom CTA band */
.sl2-cta-section {
    background: linear-gradient(160deg, #0f172a 0%, #1a2e4a 55%, #0f2040 100%);
    position: relative; overflow: hidden; padding: 100px 24px; text-align: center;
}
.sl2-cta-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(76,157,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}
.sl2-cta-section::after {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: rgba(76,157,255,0.12); filter: blur(100px);
    top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.sl2-ctaband {
    position: relative; z-index: 1; max-width: 700px; margin: 0 auto;
}
.sl2-ctaband h2 {
    font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -1.5px;
    color: #fff; margin: 0 0 16px; line-height: 1.1;
}
.sl2-ctaband p {
    font-size: 16px; color: rgba(255,255,255,0.5); max-width: 400px;
    margin: 0 auto 36px;
}
.sl2-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sl2-cta-btns .sl2-btn-y-lg { width: auto; }
.sl2-ctaband .sl2-btn-ghost {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.15); border-radius: 12px; padding: 15px 28px;
    font-size: 16px; font-weight: 700;
}
.sl2-ctaband .sl2-btn-ghost:hover {
    background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3);
}

@media (max-width: 640px) {
    .sl2-sec { padding: 64px 20px; }
    .sl2-cta-section { padding: 70px 22px; }
    .sl2-plan { padding: 28px 20px; }
    .sl2-feat-grid { grid-template-columns: 1fr; }
    .sl2-home .sl2-input-row { flex-direction: column; }
    .sl2-home .sl2-score-btn { width: 100%; }
    .sl2-home .sl2-tool { padding: 22px 18px; border-radius: 18px; }
}

/* Legacy section helpers (kept for other pages that still reference them) */
.sl2-section { max-width: 1100px; margin: 0 auto; padding: 56px 24px; }
.sl2-section h2 { font-size: clamp(22px, 2.5vw, 30px); font-weight: var(--sl2-fw-black); text-align: center; letter-spacing: -.8px; margin: 0 0 8px; color: var(--sl2-ink); }
.sl2-section .sl2-sub { text-align: center; color: var(--sl2-muted); font-size: var(--sl2-text-xl); max-width: 620px; margin: 0 auto 36px; }
.sl2-section--narrow { max-width: 760px; }
.sl2-leaderboard-card { padding: 0; overflow: hidden; }
.sl2-leaderboard-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--sl2-line-soft);
}
.sl2-leaderboard-row:last-child { border-bottom: none; }
.sl2-leaderboard-rank {
    font-size: 14px;
    font-weight: 800;
    color: var(--sl2-faint);
    width: 28px;
    flex: 0 0 28px;
    line-height: 1.4;
}
.sl2-leaderboard-sl {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sl2-ink);
    line-height: 1.4;
    word-break: break-word;
}
.sl2-leaderboard-score {
    font-size: 16px;
    font-weight: 900;
    flex: 0 0 auto;
    line-height: 1.4;
}
.sl2-content-card { line-height: 1.7; color: var(--sl2-muted); }
.sl2-content-card p { margin: 0 0 1em; }
.sl2-content-card p:last-child { margin-bottom: 0; }
.sl2-content-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--sl2-ink);
    margin: 1.5em 0 0.5em;
}
.sl2-content-card h3:first-child { margin-top: 0; }
.sl2-content-card ul {
    margin: 0 0 1em;
    padding-left: 1.25em;
}
.sl2-content-card li { margin-bottom: 0.35em; }
.sl2-content-card a {
    color: var(--sl2-blue-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sl2-content-card a:hover { color: var(--sl2-orange); }

.sl2-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 6px 14px;
    line-height: 1.5;
    text-align: center;
}
.sl2-tag-cloud a {
    color: var(--sl2-blue-deep);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}
.sl2-tag-cloud a:hover {
    color: var(--sl2-orange);
    text-decoration: none;
}

.sl2-contact-card { padding: 28px 24px; }
.sl2-contact-intro {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--sl2-ink);
    line-height: 1.55;
    margin: 0 0 24px;
}
.sl2-contact-form .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--sl2-line);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--sl2-ink);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sl2-contact-form .form-control:focus {
    outline: none;
    border-color: var(--sl2-blue);
    box-shadow: 0 0 0 3px rgba(76, 157, 255, 0.15);
}
.sl2-contact-form .text-danger { font-size: 12px; }
.sl2-contact-form .sl2-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.sl2-contact-form .sl2-form-field { min-width: 0; }
.sl2-contact-form .sl2-form-disclosure { margin: 8px 0 20px; }
.sl2-contact-form .sl2-form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.sl2-contact-form .sl2-btn-y {
    min-width: 160px;
    justify-content: center;
    border: none;
    cursor: pointer;
}
.sl2-contact-footer {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--sl2-muted);
    margin-top: 28px;
}
.sl2-contact-footer a {
    color: var(--sl2-blue-deep);
    text-decoration: none;
    font-weight: 700;
}
.sl2-contact-footer a:hover { color: var(--sl2-orange); }

.sl2-mediakit-intro {
    text-align: center;
    padding: 32px 28px;
    margin-bottom: 20px;
}
.sl2-mediakit-intro h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--sl2-ink);
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}
.sl2-mediakit-intro p {
    font-size: 15px;
    color: var(--sl2-muted);
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 560px;
}
.sl2-mediakit-placements {
    padding: 28px 24px 32px;
    margin-bottom: 28px;
}
.sl2-mediakit-placements > h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--sl2-ink);
    text-align: center;
    margin: 0 0 24px;
}
.sl2-mediakit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.sl2-mediakit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--sl2-line-soft);
}
.sl2-mediakit-item img {
    width: auto;
    max-width: 140px;
    max-height: 88px;
    object-fit: contain;
}
.sl2-mediakit-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--sl2-ink);
    line-height: 1.45;
}
.sl2-mediakit-item--more {
    grid-column: 1 / -1;
    background: transparent;
    border-style: dashed;
    padding: 20px;
}
.sl2-mediakit-item--more p {
    font-size: 16px;
    color: var(--sl2-orange);
}
.sl2-mediakit-form-head {
    text-align: center;
    margin: 8px 0 20px;
}
.sl2-mediakit-form-head h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--sl2-ink);
    margin: 0 0 6px;
}
.sl2-mediakit-form-head p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--sl2-muted);
}
.sl2-contact-form .sl2-form-field--full {
    margin-bottom: 16px;
}
.sl2-contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 768px) {
    .sl2-section { padding: 40px 18px; }
    .sl2-section h2 { font-size: 26px; }
    .sl2-section .sl2-sub { font-size: 15px; margin-bottom: 28px; }
    .sl2-leaderboard-row { padding: 12px 14px; gap: 10px; }
    .sl2-leaderboard-sl { font-size: 14px; }
    .sl2-contact-form .sl2-form-row { grid-template-columns: 1fr; }
    .sl2-contact-card { padding: 22px 18px; }
    .sl2-mediakit-grid { grid-template-columns: 1fr; }
    .sl2-mediakit-intro { padding: 24px 18px; }
    .sl2-mediakit-placements { padding: 22px 18px 26px; }
}
.sl2-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 768px) { .sl2-grid3 { grid-template-columns: 1fr; } }
.sl2-feature-card { background: #fff; border: 1.5px solid var(--sl2-line); border-radius: var(--sl2-radius); padding: 26px; box-shadow: var(--sl2-shadow); }
.sl2-feature-card h3 { font-size: var(--sl2-text-xl); font-weight: var(--sl2-fw-extrabold); margin: 12px 0 8px; color: var(--sl2-ink); }
.sl2-feature-card p { font-size: var(--sl2-text-md); color: var(--sl2-muted); line-height: 1.55; margin: 0; }
.sl2-feature-ico { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(76,157,255,0.12); color: var(--sl2-blue-deep); }

/* ---- Public footer (Footer.cshtml v2) ----------------------------------- */
.sl2-footer { background: #fff; border-top: 1px solid var(--sl2-line); padding: 32px 24px; }
.sl2-footer-inner { width: 100%; }
.sl2-footer .sl2-footer-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.sl2-footer .col-logo { justify-self: start; min-width: 0; }
.sl2-footer .col-center { justify-self: center; text-align: center; min-width: 0; }
.sl2-footer .col-social { justify-self: end; min-width: 0; }
.sl2-footer p { font-size: 12px; color: var(--sl2-faint); margin: 0 0 6px; line-height: 1.6; }
.sl2-footer a { color: var(--sl2-faint); text-decoration: none; }
.sl2-footer a:hover { color: #374151; }
.sl2-footer .fa-linkedin { color: var(--sl2-faint); font-size: 22px; }
@media (max-width: 768px) {
    .sl2-footer .sl2-footer-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .sl2-footer .col-logo,
    .sl2-footer .col-center,
    .sl2-footer .col-social { justify-self: center; }
}

/* ==========================================================================
   Authenticated app shell (used with _DashboardLayout, prefix app-* / cc-*)
   Most dashboard chrome already lives in cc-dashboard.css; these are the
   shared building blocks the redesigned pages use.
   ========================================================================== */
.app-card { background: #fff; border: 1.5px solid var(--sl2-line); border-radius: var(--sl2-radius); padding: 22px; box-shadow: var(--sl2-shadow); }
.app-page-title { font-size: 26px; font-weight: 800; color: #1a1a1a; margin: 0 0 4px; }
.app-page-subtitle { color: var(--sl2-muted); font-size: 14px; margin: 0; }

/* Locked-feature teaser (free users) */
.sl2-locked { position: relative; }
.sl2-lock-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px; text-align: center;
    background: rgba(255,255,255,0.72); backdrop-filter: blur(3px); border-radius: var(--sl2-radius); padding: 20px;
}
.sl2-lock-overlay .fa-lock { font-size: 26px; color: var(--sl2-blue-deep); }
.sl2-lock-title { font-weight: 800; color: var(--sl2-ink); font-size: 16px; }
.sl2-lock-sub { font-size: 13px; color: var(--sl2-muted); max-width: 320px; }

.sl2-pro-pill { display: inline-flex; align-items: center; background: linear-gradient(135deg,#FAFF14,#FFD600); color: #000; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 8px; letter-spacing: .5px; }

/* ---- Upgrade modal ------------------------------------------------------ */
.sl2-modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(3px); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 20px; }
.sl2-modal-backdrop.is-open { display: flex; }
.sl2-modal { background: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 32px; box-shadow: var(--sl2-shadow-lg); position: relative; text-align: center; }
.sl2-modal-close { position: absolute; top: 14px; right: 16px; border: none; background: none; font-size: 22px; color: var(--sl2-faint); cursor: pointer; line-height: 1; }
.sl2-modal h3 { font-size: 22px; font-weight: 900; margin: 8px 0 6px; }
.sl2-modal p { color: var(--sl2-muted); font-size: 14px; margin: 0 0 18px; }
.sl2-modal ul { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.sl2-modal li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; color: #374151; }
.sl2-modal li .fa { color: var(--sl2-good); }
input#txtSubjectLine {
    max-width: 100%;
}