﻿/* extracted verbatim 2026-08-28 estate speed sweep. New content = new filename. */

        /* ============================================================
           NNN = NBA News namespace. Built on the GLOBAL design system
           tokens from Site.Master (--void/--panel/--ink/--accent-grad/
           --model/--book/--mono ...). No token redefinition here.
           ============================================================ */

        /* Compatibility alias: the PRO tier badge is rendered from a
           server-bound expression that references --nnn-green (which we
           may not edit). Map it to the global money/value green so the
           verified PRO badge keeps its intended look + black-on-green
           contrast. */
        .nnn-wrapper { --nnn-green: var(--model); }

        .nnn-wrapper {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: 1.75rem clamp(1rem, 5vw, 2.5rem) 0;
            box-sizing: border-box;
        }

        .nnn-wrapper :where(a):focus-visible,
        .nnn-email-section :where(a, button, input):focus-visible {
            outline: 2px solid var(--action-hi);
            outline-offset: 2px;
            border-radius: 4px;
        }

        /* --- BREADCRUMB --- */
        .nnn-breadcrumb {
            display: flex; flex-wrap: wrap; gap: 0.4em; align-items: center;
            margin-bottom: 1.25rem; font-family: var(--mono);
            font-size: 0.72rem; color: var(--ink-faint);
            text-transform: uppercase; letter-spacing: 0.06em;
        }
        .nnn-breadcrumb a       { color: var(--ink-dim); text-decoration: none; transition: color 0.15s; }
        .nnn-breadcrumb a:hover  { color: var(--action-hi); }
        .nnn-breadcrumb .sep    { color: var(--line-strong); }

        /* --- POPULARITY WIDGET --- */
        .nnn-pop-wrap {
            background: var(--panel); padding: 0.4em;
            border-radius: 12px; border: 1px solid var(--line);
            margin-bottom: 1.5rem;
        }

        /* --- HERO HEADER --- */
        .nnn-hero {
            position: relative; overflow: hidden;
            background: var(--panel);
            border: 1px solid var(--card-edge);
            border-radius: 18px;
            padding: clamp(1.5rem, 4vw, 2.5rem);
            margin-bottom: 1.5rem;
            box-shadow: 0 20px 42px -24px var(--accent-glow);
        }
        .nnn-hero::after {
            content: ""; position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(120% 90% at 12% -20%, rgba(70,140,255,0.16), transparent 60%);
        }
        .nnn-hero > * { position: relative; z-index: 1; }
        .nnn-badges { display: flex; flex-wrap: wrap; gap: 0.5em; margin-bottom: 1rem; }
        .nnn-badge {
            display: inline-flex; align-items: center; gap: 0.45em;
            background: rgba(70,140,255,0.10); color: var(--accent-ink);
            font-family: var(--mono); font-size: 0.66rem; font-weight: 600;
            padding: 0.34em 0.8em; border-radius: 2em;
            border: 1px solid var(--card-edge);
            text-transform: uppercase; letter-spacing: 0.07em;
        }
        .nnn-h1 {
            font-family: var(--display);
            font-size: clamp(1.85rem, 4.6vw, 2.85rem); font-weight: 800; color: var(--ink);
            letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 0.55em;
            max-width: 18ch;
        }
        .nnn-h1 .nnn-accent { color: var(--action-hi); }
        .nnn-desc { font-size: 1.02rem; color: var(--ink-dim); max-width: 60ch; line-height: 1.6; margin: 0; }
        .nnn-desc strong { color: var(--ink); font-weight: 600; }

        /* --- HERO ACTION ROW: primary CTA + proof at intent peak --- */
        .nnn-hero-cta {
            display: flex; flex-wrap: wrap; align-items: center;
            gap: 0.7rem 0.9rem; margin-top: 1.5rem;
        }
        .nnn-hero-cta .btn-grad { font-size: 1rem; padding: 0.85em 1.4em; }
        .nnn-hero-link {
            display: inline-flex; align-items: center; gap: 0.4em;
            font-family: var(--ui); font-weight: 600; font-size: 0.95rem;
            color: var(--action-hi); text-decoration: none;
            min-height: 44px; padding: 0 0.35em;
            transition: color 0.15s;
        }
        .nnn-hero-link .arr { transition: transform 0.16s ease; }
        .nnn-hero-link:hover { color: var(--accent-ink); }
        .nnn-hero-link:hover .arr { transform: translateX(3px); }
        .nnn-hero-proof {
            display: inline-flex; align-items: center; gap: 8px;
            font-family: var(--mono); font-size: 0.78rem; color: var(--ink-dim);
            text-decoration: none; min-height: 44px;
            border-left: 1px solid var(--line); padding-left: 0.95rem;
        }
        .nnn-hero-proof:hover { color: var(--ink); }
        .nnn-hero-proof .pdot { width: 6px; height: 6px; border-radius: 50%; background: var(--model); box-shadow: 0 0 8px var(--model); flex-shrink: 0; }
        .nnn-hero-proof .u { color: var(--model); font-weight: 600; }
        @media (max-width: 560px) {
            .nnn-hero-cta .btn-grad { width: 100%; }
            .nnn-hero-proof { border-left: none; padding-left: 0; }
        }

        /* --- SECTION HEADINGS --- */
        .nnn-section-head {
            display: flex; align-items: baseline; justify-content: space-between;
            flex-wrap: wrap; gap: 0.5rem 1rem;
            margin: 2.5rem 0 1.1rem;
        }
        .nnn-section-head:first-child { margin-top: 0; }
        .nnn-eyebrow {
            font-family: var(--mono); font-size: 0.7rem; font-weight: 600;
            letter-spacing: 0.1em; text-transform: uppercase;
            color: var(--action-hi); display: block; margin-bottom: 0.5rem;
        }
        .nnn-section-head h2 {
            font-family: var(--display);
            margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800;
            color: var(--ink); letter-spacing: -0.02em;
        }
        .nnn-section-head .nnn-sub { color: var(--ink-dim); font-size: 0.9rem; margin: 0.2rem 0 0; }
        .nnn-head-link {
            font-family: var(--mono); font-size: 0.78rem; color: var(--action-hi);
            text-decoration: none; white-space: nowrap; transition: color 0.15s;
        }
        .nnn-head-link:hover { color: var(--accent-ink); }

        /* --- NEWS GRID (ambient-lift cards) --- */
        #news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.1rem; margin-bottom: 1rem;
        }
        @media (max-width: 640px) { #news-grid { grid-template-columns: 1fr; } }

        .nnn-news-card {
            position: relative; overflow: hidden;
            background: var(--panel); border: 1px solid var(--card-edge);
            border-radius: 16px; padding: 1.1rem;
            display: flex; flex-direction: column; height: 100%;
            box-shadow: 0 20px 42px -28px var(--accent-glow);
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
        }
        .nnn-news-card::after {
            content: ""; position: absolute; inset: 0 0 auto; height: 120px; pointer-events: none;
            background: radial-gradient(80% 100% at 50% 0%, rgba(70,140,255,0.10), transparent 70%);
        }
        .nnn-news-card > * { position: relative; z-index: 1; }
        .nnn-news-card:hover {
            transform: translateY(-3px);
            border-color: var(--accent-glow);
            box-shadow: 0 28px 50px -24px var(--accent-glow);
        }
        .nnn-news-meta {
            display: flex; justify-content: space-between; align-items: center;
            font-size: 0.78rem; color: var(--ink-dim);
            border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; margin-bottom: 0.75rem; gap: 0.65em;
        }
        .nnn-news-cat  { font-family: var(--mono); font-weight: 600; color: var(--action-hi); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }
        .nnn-news-time { font-family: var(--mono); color: var(--ink-faint); white-space: nowrap; font-size: 0.72rem; }
        .nnn-news-title { font-family: var(--display); font-size: 1.02rem; font-weight: 700; margin: 0; color: var(--ink); line-height: 1.35; }
        .nnn-news-title a { color: inherit; text-decoration: none; }
        .nnn-news-title a:hover { color: var(--action-hi); }
        .nnn-news-image {
            width: 100%; height: 172px; background-size: cover; background-position: center;
            border-radius: 12px; margin-bottom: 0.85rem;
            border: 1px solid var(--line); display: block;
        }
        .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

        /* --- PAGINATION --- */
        .nnn-pagination { display: flex; justify-content: center; gap: 0.5em; margin: 1.75rem 0 0.5rem; flex-wrap: wrap; }
        .nnn-pagination a, .nnn-pagination span {
            font-family: var(--mono);
            min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
            padding: 0.5em 0.85em; background: var(--panel-2);
            border: 1px solid var(--line); border-radius: 10px;
            color: var(--ink-dim); transition: all 0.18s; font-size: 0.85rem;
        }
        .nnn-pagination a:hover { background: rgba(70,140,255,0.10); color: var(--ink); border-color: var(--card-edge); }
        .nnn-pagination .current-page { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -10px var(--accent-glow); }
        .nnn-pagination .disabled { opacity: 0.4; pointer-events: none; }

        /* --- FORWARD CTA RAIL --- */
        .nnn-tool-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 0.85rem; margin: 0 0 0.5rem;
        }
        .nnn-tool {
            position: relative; overflow: hidden;
            display: flex; flex-direction: column; gap: 0.3rem;
            background: var(--panel); border: 1px solid var(--card-edge);
            border-radius: 14px; padding: 1rem 1.1rem;
            text-decoration: none; min-height: 44px;
            box-shadow: 0 20px 42px -30px var(--accent-glow);
            transition: transform 0.16s ease, border-color 0.16s ease;
        }
        .nnn-tool:hover { transform: translateY(-2px); border-color: var(--accent-glow); }
        .nnn-tool .nnn-tool-name { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1rem; display: flex; align-items: center; gap: 0.4em; }
        .nnn-tool .nnn-tool-name .arr { color: var(--action-hi); transition: transform 0.16s ease; }
        .nnn-tool:hover .nnn-tool-name .arr { transform: translateX(3px); }
        .nnn-tool .nnn-tool-desc { color: var(--ink-dim); font-size: 0.82rem; line-height: 1.5; }

        /* --- AEO / CONTEXT PANEL --- */
        .nnn-aeo-panel {
            position: relative; overflow: hidden;
            background: var(--panel);
            border: 1px solid var(--card-edge);
            border-radius: 16px;
            padding: clamp(1.1rem, 3vw, 1.6rem); margin: 0 0 0.5rem;
            box-shadow: 0 20px 42px -30px var(--accent-glow);
        }
        .nnn-aeo-grid {
            display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.5rem; align-items: start;
        }
        @media (max-width: 860px) { .nnn-aeo-grid { grid-template-columns: 1fr; } }

        .nnn-aeo-title { margin: 0 0 0.6em; font-family: var(--display); font-size: 1.1rem; font-weight: 800; color: var(--ink); }
        .nnn-aeo-summary { color: var(--ink-dim); line-height: 1.7; margin: 0; font-size: 0.95rem; }

        /* Pills */
        .nnn-pill-row { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 1rem; }
        .nnn-pill {
            display: inline-flex; align-items: center; gap: 0.4em;
            padding: 0.4em 0.8em; border-radius: 99px;
            border: 1px solid var(--line); background: var(--panel-2);
            color: var(--ink-dim); font-size: 0.82rem;
        }
        .nnn-pill strong { color: var(--ink); font-weight: 600; }
        .nnn-tag {
            display: inline-block; font-family: var(--mono);
            font-size: 0.68rem; padding: 2px 7px; border-radius: 99px;
            border: 1px solid var(--line);
            color: var(--ink-dim); background: var(--panel-2);
            margin-right: 4px;
        }

        /* QA cards */
        .nnn-qa-grid { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
        @media (max-width: 640px) { .nnn-qa-grid { grid-template-columns: 1fr; } }
        .nnn-qa-card {
            background: var(--panel-2); border: 1px solid var(--line);
            border-radius: 12px; padding: 1rem;
        }
        .nnn-qa-card h3 { margin: 0 0 0.5em; font-family: var(--display); font-size: 0.95rem; color: var(--ink); }
        .nnn-qa-card p  { margin: 0; color: var(--ink-dim); line-height: 1.65; font-size: 0.88rem; }
        .nnn-qa-card a  { color: var(--action-hi); text-decoration: underline; text-decoration-color: var(--card-edge); }
        .nnn-qa-card a:hover { color: var(--accent-ink); }
        .nnn-hint { margin-top: 0.7em; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-faint); }

        /* AEO aside */
        .nnn-aeo-aside {
            border-left: 1px solid var(--line); padding-left: 1.25rem;
        }
        @media (max-width: 860px) {
            .nnn-aeo-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
        }
        .nnn-aeo-aside h3 { margin: 0 0 0.6em; font-family: var(--display); font-size: 0.95rem; color: var(--ink); }
        .nnn-aeo-aside ul { margin: 0 0 0.85em; padding-left: 1.1em; color: var(--ink-dim); line-height: 1.6; font-size: 0.88rem; }
        .nnn-aeo-aside li { margin-bottom: 0.4em; }
        .nnn-aeo-aside a { color: var(--action-hi); text-decoration: underline; text-decoration-color: var(--card-edge); }
        .nnn-aeo-aside a:hover { color: var(--accent-ink); }

        /* Impact table */
        .nnn-impact-table {
            width: 100%; border-collapse: collapse; margin-top: 1.25rem;
            overflow: hidden; border-radius: 12px;
            border: 1px solid var(--line);
        }
        .nnn-impact-table th, .nnn-impact-table td {
            text-align: left; padding: 0.7em 0.85em;
            border-bottom: 1px solid var(--line); vertical-align: top;
        }
        .nnn-impact-table th {
            background: var(--panel-2); color: var(--ink);
            font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
            text-transform: uppercase; letter-spacing: 0.05em;
        }
        .nnn-impact-table td { color: var(--ink-dim); font-size: 0.88rem; line-height: 1.6; }
        .nnn-impact-table tr:last-child td { border-bottom: none; }

        /* --- SEO CONTENT --- */
        .nnn-seo { color: var(--ink-dim); margin-bottom: 1rem; max-width: 78ch; }
        .nnn-seo h2 { font-family: var(--display); color: var(--ink); margin-top: 2rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
        .nnn-seo h3 { font-family: var(--display); color: var(--ink); margin-top: 1.4rem; font-size: 1.08rem; font-weight: 700; }
        .nnn-seo p  { margin-bottom: 1em; line-height: 1.75; }
        .nnn-seo strong { color: var(--ink); font-weight: 600; }
        .nnn-seo ul { margin: 0.65em 0 1.1em; padding-left: 1.15em; }
        .nnn-seo li { margin-bottom: 0.6em; line-height: 1.7; }
        .nnn-seo a  { color: var(--action-hi); }
        .nnn-seo a:hover { color: var(--accent-ink); }

        /* FAQ */
        .nnn-faq-item {
            border: 1px solid var(--line); border-radius: 12px;
            padding: 0; margin: 0.6rem 0;
            background: var(--panel); overflow: hidden; transition: border-color 0.15s;
        }
        .nnn-faq-item[open] { border-color: var(--card-edge); }
        .nnn-faq-item summary {
            padding: 1em 1.15em; cursor: pointer; font-family: var(--display); font-weight: 700;
            color: var(--ink); display: flex; justify-content: space-between;
            align-items: center; list-style: none; gap: 1em; font-size: 0.95rem; min-height: 44px; box-sizing: border-box;
        }
        .nnn-faq-item summary::-webkit-details-marker { display: none; }
        .nnn-faq-item summary::after { content: '+'; font-family: var(--mono); color: var(--action-hi); flex-shrink: 0; font-size: 1.2em; }
        .nnn-faq-item[open] summary::after { content: '−'; }
        .nnn-faq-answer {
            padding: 0 1.15em 1em; font-size: 0.9rem;
            color: var(--ink-dim); line-height: 1.75;
            border-top: 1px solid var(--line);
        }
        .nnn-faq-answer p { margin-top: 0.85em; margin-bottom: 0; }

        /* Email section */
        .nnn-email-section {
            position: relative; overflow: hidden;
            background: var(--panel); border-top: 1px solid var(--line);
            padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 5vw, 2.5rem); margin-top: 3.5rem;
        }
        .nnn-email-section::after {
            content: ""; position: absolute; inset: 0; pointer-events: none;
            background: radial-gradient(80% 120% at 50% 0%, rgba(70,140,255,0.12), transparent 60%);
        }
        .nnn-email-inner { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; text-align: center; }
        .nnn-email-eyebrow { font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--action-hi); display: block; margin-bottom: 0.6rem; }
        .nnn-email-inner h3 { font-family: var(--display); color: var(--ink); font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 800; margin: 0 0 0.5em; letter-spacing: -0.02em; }
        .nnn-email-inner p  { color: var(--ink-dim); font-size: 0.95rem; margin: 0 0 1.4em; line-height: 1.6; }
        .nnn-email-input {
            background: var(--panel-2); border: 1px solid var(--line);
            color: var(--ink); padding: 0.9em 1em; border-radius: 12px;
            width: 100%; font-size: 1rem; box-sizing: border-box; margin-bottom: 0.6em; min-height: 48px;
            font-family: var(--ui);
        }
        .nnn-email-input:focus-visible { outline: 2px solid var(--action-hi); outline-offset: 1px; border-color: var(--card-edge); }
        .nnn-email-input::placeholder { color: var(--ink-faint); }
        .nnn-email-btn {
            background: var(--accent-grad); color: #fff; border: none;
            font-family: var(--display);
            padding: 0.9em 1em; border-radius: 12px;
            font-weight: 800; font-size: 1rem; width: 100%; letter-spacing: 0.02em;
            cursor: pointer; min-height: 48px;
            box-shadow: 0 10px 28px -10px var(--accent-glow); transition: box-shadow 0.15s, filter 0.15s, transform 0.1s;
        }
        .nnn-email-btn:hover { filter: brightness(1.08); box-shadow: 0 14px 34px -10px var(--accent-glow); }
        .nnn-email-btn:active { transform: translateY(1px); }
        .nnn-email-disclaimer { font-size: 0.74rem; color: var(--ink-faint); margin-top: 0.7em; line-height: 1.5; }
        .nnn-email-disclaimer a { color: var(--ink-faint); text-decoration: underline; }

        @media (prefers-reduced-motion: reduce) {
            .nnn-news-card, .nnn-tool, .nnn-email-btn, .nnn-tool-name .arr,
            .nnn-pagination a, .nnn-breadcrumb a, .nnn-head-link { transition: none; }
            .nnn-news-card:hover, .nnn-tool:hover { transform: none; }
        }
    