/* =========================================================================
   Actuator Security - site.css
   Single source of truth for design tokens + shared components.
   Every page links ONLY this file for chrome/layout. Edit here once.
   ========================================================================= */

/* ---- Design tokens ----------------------------------------------------- */
:root {
    /* Canonical brand palette (previously drifted: blog used #58a6ff/#3b82f6) */
    --bg: #030712;
    --panel: #0a0f1c;
    --panel-dark: #060915;
    --panel-2: #0b1222;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #e8eef7;
    --text-muted: #8b93a3;
    --muted: var(--text-muted);
    /* back-compat alias */

    --accent: #58a6ff;
    --accent2: #3b82f6;
    --accent-soft: rgba(88, 166, 255, 0.12);

    /* Severity scale (CVE feed) */
    --sev-critical: #ff4e4e;
    --sev-high: #ff9f3f;
    --sev-med: #f7d23e;
    --sev-low: #2ee39d;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 7px 18px rgba(0, 0, 0, 0.30);

    --maxw: 1120px;
    --font: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

/* ---- Base / reset (low specificity via :where) ------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:where(html) {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at 20% -10%, #0f172a 0%, #030712 40%, #000 100%) no-repeat fixed;
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

:where(a) {
    color: inherit;
    text-decoration: none;
}

:where(img) {
    max-width: 100%;
    display: block;
}

:where(hr) {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

:where(:focus-visible) {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link for keyboard / screen-reader users */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--accent);
    color: #041426;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* =========================================================================
   HEADER / NAV  (rendered from partials/header.html)
   ========================================================================= */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(3, 7, 18, 0.85);
    border-bottom: 1px solid var(--border);
    /* Reserve height so the page does not jump while the partial loads */
    min-height: 57px;
}

nav.site-nav {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 0.8rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.logo-img {
    height: 34px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.25);
}

.logo-text-main {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.logo-text-sub {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 1.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    align-items: center;
}

.nav-links a {
    position: relative;
    transition: color 0.18s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Active page (set by include.js) */
.nav-links a[aria-current="page"] {
    color: var(--accent);
}

.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.btn-mini-jsi {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #0a0f15;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.22);
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-mini-jsi:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.32);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    line-height: 1;
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--panel-dark);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

.mobile-menu a {
    padding: 0.5rem 0.25rem;
    color: var(--text-muted);
}

.mobile-menu a:hover {
    color: var(--text);
}

.mobile-menu.open {
    display: flex;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-block;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .btn-mini-jsi {
        order: 2;
        margin-inline: auto;
    }
}

@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }
}

/* =========================================================================
   LAYOUT
   ========================================================================= */
main.page {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 1.35rem 1.25rem 3rem;
}

.page-title {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    letter-spacing: -0.02em;
    margin: 0.5rem 0 1.4rem;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr);
    gap: 1.55rem;
    margin-bottom: 1.75rem;
    align-items: center;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.74rem;
    color: var(--text-muted);
    background: var(--panel-dark);
}

.hero-eyebrow::before {
    content: "*";
    font-size: 0.85rem;
    color: var(--accent);
    opacity: 0.85;
}

.hero-title {
    margin: 0.7rem 0 0.5rem;
    font-size: clamp(2.3rem, 4.5vw, 3.1rem);
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    margin-top: 0.4rem;
    color: var(--text-muted);
    max-width: 38rem;
    line-height: 1.55;
}

.hero-badges {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hero-badge {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    background: var(--panel-dark);
}

.hero-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.9rem;
    flex-wrap: wrap;
}

/* Hero right panel (Selected Disclosures) */
.hero-panel {
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel-dark);
    box-shadow: var(--shadow);
}

.hero-panel-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    padding: 0.58rem 1.25rem;
    border-radius: 999px;
    font-size: 0.83rem;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #0a0f15;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text);
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
.section {
    margin-top: 1.65rem;
}

.section-header {
    margin-bottom: 0.42rem;
}

.section-kicker {
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.16em;
}

.section-title {
    margin: 0.12rem 0 0;
    font-size: 1.26rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 30rem;
}

.prose {
    color: var(--text-muted);
    max-width: 40rem;
    line-height: 1.55;
}

.prose a {
    color: var(--accent);
}

/* =========================================================================
   TALKS
   ========================================================================= */
.talks-list {
    margin-top: 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel-dark);
}

.talk-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.62rem 0.85rem;
    border-bottom: 1px solid var(--border);
    cursor: default;
}

.talk-row.expandable {
    cursor: pointer;
}

.talk-row:hover {
    background: rgba(255, 255, 255, 0.025);
}

.talk-title {
    font-size: 0.9rem;
    line-height: 1.3;
}

.talk-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.expand-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    padding-left: 0.75rem;
    align-self: center;
}

.talk-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--panel-2);
    padding: 0 1rem;
    border-top: 1px solid var(--border);
    transition: max-height 0.38s ease, opacity 0.28s ease, padding 0.28s ease;
    white-space: pre-line;
    line-height: 1.48;
    font-size: 0.88rem;
    color: var(--text);
}

.talk-details.open {
    padding: 0.9rem 1rem;
    opacity: 1;
}

.talk-details a {
    color: var(--accent);
}

/* =========================================================================
   CVE TABLE
   ========================================================================= */
.cve-table-wrapper {
    margin-top: 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow-x: hidden;
    overflow-y: auto;
    max-height: clamp(290px, 38vh, 350px);
    background: var(--panel-dark);
    scrollbar-width: thin;
    scrollbar-color: rgba(88, 166, 255, 0.32) transparent;
    overscroll-behavior: contain;
}

.cve-table-wrapper::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.cve-table-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.cve-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(88, 166, 255, 0.24);
    border-radius: 999px;
}

.cve-table-wrapper:hover::-webkit-scrollbar-thumb {
    background: rgba(88, 166, 255, 0.42);
}

/* Continuous disclosure crawl. The tbody is compositor-animated so motion
   remains sub-pixel smooth instead of stepping a pixel at a time. */
.cve-table-wrapper.cve-auto-scroll {
    overflow-y: hidden;
}

.cve-table-wrapper.cve-auto-scroll .cve-table tbody {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: cve-table-crawl var(--cve-scroll-duration, 28s) linear infinite;
}

@keyframes cve-table-crawl {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, calc(-1 * var(--cve-cycle-height, 420px)), 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cve-table-wrapper.cve-auto-scroll .cve-table tbody {
        animation: none;
    }
}

.cve-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
}

.cve-table th,
.cve-table td {
    padding: 0.40rem 0.62rem;
    border-bottom: 1px solid var(--border);
}

.cve-table th {
    text-transform: uppercase;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 3;
    background: rgba(6, 9, 21, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border);
}

.cve-table tbody tr {
    transition: background 0.16s ease;
}

.cve-table tbody tr:hover {
    background: rgba(88, 166, 255, 0.035);
}

.cve-table tr:last-child td {
    border-bottom: none;
}

.cve-chip-id {
    font-family: var(--mono);
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.cve-chip-id a {
    color: var(--accent);
}

.impact-pill {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
    display: inline-block;
    line-height: 1.3;
    color: #fff;
}

.sev-critical {
    background: rgba(255, 78, 78, 0.15);
    border: 1px solid rgba(255, 78, 78, 0.5);
    box-shadow: 0 0 6px rgba(255, 78, 78, 0.3);
}

.sev-high {
    background: rgba(255, 159, 63, 0.15);
    border: 1px solid rgba(255, 159, 63, 0.5);
    box-shadow: 0 0 6px rgba(255, 159, 63, 0.3);
}

.sev-med {
    background: rgba(247, 210, 62, 0.15);
    border: 1px solid rgba(247, 210, 62, 0.5);
    box-shadow: 0 0 6px rgba(247, 210, 62, 0.25);
}

.sev-low {
    background: rgba(46, 227, 157, 0.15);
    border: 1px solid rgba(46, 227, 157, 0.5);
    box-shadow: 0 0 6px rgba(46, 227, 157, 0.3);
}

@media (max-width: 640px) {
    .cve-table-wrapper {
        overflow-x: auto;
        max-height: 310px;
    }

    .cve-table {
        min-width: 720px;
    }

    .cve-table td,
    .cve-table th {
        padding: 0.45rem 0.5rem;
    }

    .cve-table th:first-child,
    .cve-table td:first-child {
        width: 1%;
        white-space: nowrap;
    }

    .cve-chip-id {
        font-size: 0.7rem;
        padding: 0.15rem 0.35rem;
    }

    .impact-pill {
        font-size: 0.66rem;
        padding: 0.12rem 0.4rem;
    }
}

/* =========================================================================
   CONTACT / CTA
   ========================================================================= */
.cta {
    margin-top: 0.85rem;
    padding: 1.1rem 1.05rem;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.26), rgba(15, 23, 42, 0.85));
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 38rem;
}

.cta h2 {
    margin: 0;
}

.cta p {
    color: var(--text-muted);
    max-width: 32rem;
    line-height: 1.5;
}

/* =========================================================================
   CONTENT PANELS (disclosure / compliance / whitepapers)
   ========================================================================= */
.panel {
    background: var(--panel-dark);
    border: 1px solid var(--border);
    padding: 1.4rem;
    border-radius: var(--radius);
    margin: 1.2rem 0;
    line-height: 1.58;
}

.citation {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* =========================================================================
   BLOG  (listing grid + "recent" card on home)
   ========================================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.4rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 166, 255, 0.25);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.blog-thumb {
    aspect-ratio: 16 / 9;
    background: #020617;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 1.1rem 1.2rem 1.3rem;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.recent-blog-wrap {
    margin-top: 0.8rem;
    max-width: 720px;
}

.recent-blog-card {
    display: flex;
    gap: 1rem;
    padding: 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: inherit;
    align-items: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.recent-blog-card:hover {
    transform: translateY(-2px);
    border-color: rgba(88, 166, 255, 0.25);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.recent-blog-thumb {
    width: 96px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #020617;
}

.recent-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-blog-content {
    display: flex;
    flex-direction: column;
}

.recent-blog-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.recent-blog-card:hover .recent-blog-title {
    text-decoration: underline;
    text-decoration-color: rgba(88, 166, 255, 0.4);
}

.recent-blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.recent-blog-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

@media (max-width: 600px) {
    .recent-blog-card {
        flex-direction: column;
        align-items: stretch;
    }

    .recent-blog-thumb {
        width: 100%;
        height: 140px;
    }
}

/* =========================================================================
   FOOTER  (rendered from partials/footer.html)
   ========================================================================= */
footer.site-footer {
    max-width: var(--maxw);
    margin: 1.35rem auto 0;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.9);
    transition: border-color 0.25s ease;
}

.footer-socials a:hover {
    border-color: var(--accent);
}

.footer-socials a svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 1.8;
    fill: none;
    transition: transform 0.25s ease, filter 0.25s ease, stroke 0.25s ease;
}

.footer-socials a[aria-label="YouTube"] svg path:first-child {
    fill: rgba(88, 166, 255, 0.1);
}

.footer-socials a:hover svg {
    stroke: var(--accent2);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(88, 166, 255, 0.35));
}

/* =========================================================================
   MOTION PREFERENCES
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    :where(html) {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================================
   SECURITY RESEARCH IMPACT
   ========================================================================= */
.impact-strip {
    margin: 0.25rem 0 0;
    padding: 1.55rem 1.25rem 1.35rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(8, 15, 18, .38), rgba(4, 10, 13, .16));
    text-align: center;
}

.impact-heading-row {
    max-width: 760px;
    margin: 0 auto .65rem;
    display: grid;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
    align-items: center;
    gap: 1.4rem;
}

.impact-heading-row span {
    height: 1px;
    background: rgba(148, 163, 184, .35);
}

.impact-heading-row h2 {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: .79rem;
    font-weight: 500;
    letter-spacing: .34em;
    text-transform: uppercase;
    white-space: nowrap;
}

.impact-intro,
.impact-disclaimer {
    margin: 0 auto;
    color: var(--text-muted);
    font-size: .73rem;
    line-height: 1.45;
}

.impact-brands {
    max-width: 1040px;
    margin: 1.35rem auto 1rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 2rem;
}

.impact-brand {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: rgba(242, 245, 250, .94);
    filter: grayscale(1);
    opacity: 1;
    transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

.impact-brand:hover {
    color: #fff;
    transform: translateY(-2px);
}

.impact-brand .brand-name {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: .025em;
    line-height: 1;
    color: inherit;
    text-shadow: 0 0 22px rgba(126, 231, 194, .055);
}

.impact-brand:hover .brand-name {
    color: var(--accent);
    text-shadow: 0 0 18px rgba(126, 231, 194, .13);
}

.impact-disclaimer {
    font-size: .66rem;
    opacity: .7;
}

@media (max-width: 800px) {
    .impact-brands {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.35rem 1rem;
    }

    .impact-brand:nth-child(4),
    .impact-brand:nth-child(5) {
        transform: none;
    }
}

@media (max-width: 520px) {
    .impact-strip {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .impact-heading-row {
        gap: .65rem;
    }

    .impact-heading-row h2 {
        font-size: .67rem;
        letter-spacing: .22em;
    }

    .impact-brands {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-brand:last-child {
        grid-column: 1 / -1;
    }

    .impact-brand .brand-name {
        font-size: 1.35rem;
    }
}


/* Security research impact attribution */
.impact-brand .brand-name sup {
    color: var(--accent);
    font-size: .42em;
    font-weight: 600;
    margin-left: 2px;
    vertical-align: super;
}

.impact-legal {
    width: min(100% - 48px, 1620px);
    margin: 0 auto;
    padding: 4px 0 10px;
    color: var(--muted);
    opacity: .48;
    font-size: .64rem;
    line-height: 1.4;
    text-align: center;
}

/* =========================================================
   SECURITY RESEARCH IMPACT — MOBILE
   Desktop remains unchanged.
   ========================================================= */

@media (max-width: 700px) {

    .impact-strip {
        padding: 32px 14px 26px;
    }

    .impact-heading-row {
        gap: 12px;
        margin-bottom: 26px;
    }

    .impact-heading-row h2 {
        font-size: 0.78rem;
        letter-spacing: 0.22em;
        white-space: nowrap;
    }

    .impact-heading-row>span {
        min-width: 20px;
    }

    .impact-brands {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: stretch;
    }

    .impact-brand {
        min-height: 68px;
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 14px 8px;

        border: 1px solid rgba(126, 231, 194, 0.18);
        border-radius: 10px;

        background:
            linear-gradient(145deg,
                rgba(126, 231, 194, 0.055),
                rgba(255, 255, 255, 0.018));
    }

    .impact-brand .brand-name,
    .impact-brand .impact-name {
        font-size: 1.35rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: rgba(245, 247, 250, 0.96);
        text-shadow: 0 0 18px rgba(126, 231, 194, .06);
        text-align: center;
    }

    /* Center the fifth organization */
    .impact-brand:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 6px);
        justify-self: center;
    }

    /* Small accent on the final item keeps the grid balanced */
    .impact-brand:last-child {
        border-color: rgba(126, 231, 194, 0.20);
    }

    .impact-title-note {
        font-size: 0.55em;
    }
}
/* =========================================================================
   MODERNIZATION LAYER (2026) — refinements layered on top of the base.
   Keyed to existing classes; no markup changes. Safe for every page.
   ========================================================================= */
:root {
    /* Softer, larger modern geometry + elevation */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.55);
    --elev-hover: 0 28px 64px -24px rgba(0, 0, 0, 0.62);
    --ring: rgba(88, 166, 255, 0.55);
    --accent-grad: linear-gradient(100deg, var(--accent), var(--accent2));
    --hairline: rgba(255, 255, 255, 0.06);
}

/* Subtle second light source for depth, layered under existing bg */
body {
    background:
        radial-gradient(1200px 520px at 85% -8%, rgba(59, 130, 246, 0.10), transparent 60%),
        radial-gradient(circle at 20% -10%, #0f172a 0%, #030712 40%, #000 100%) no-repeat fixed;
    background-attachment: fixed;
}

::selection {
    background: rgba(88, 166, 255, 0.28);
    color: #fff;
}

/* ---- Focus: consistent modern ring ------------------------------------ */
:where(:focus-visible) {
    outline: 2px solid transparent;
    box-shadow: 0 0 0 3px var(--ring);
    border-radius: 8px;
}
.btn:focus-visible,
.btn-mini-jsi:focus-visible {
    box-shadow: 0 0 0 3px var(--ring);
}

/* ---- Vertical rhythm: more air between sections ------------------------ */
.section {
    margin-top: 2.6rem;
}
.section-header {
    margin-bottom: 0.75rem;
}

/* ---- Section kicker: gradient text + leading accent tick --------------- */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    font-weight: 600;
}
.section-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-grad);
    flex: none;
}
.section-title {
    letter-spacing: -0.015em;
    font-size: 1.32rem;
}

/* ---- Hero: more generous, modern spacing ------------------------------ */
.hero {
    gap: 2.2rem;
    margin-bottom: 2.4rem;
}
.hero-title {
    letter-spacing: -0.03em;
    line-height: 1.04;
}
.hero-title span {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-eyebrow {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ---- Panels / cards: glassy depth, unified geometry ------------------- */
.hero-panel,
.panel,
.talks-list,
.cve-table-wrapper {
    border-color: var(--hairline);
    box-shadow: var(--shadow);
}
.hero-panel {
    padding: 1rem 1.05rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 42%),
        var(--panel-dark);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.blog-card,
.recent-blog-card {
    border-radius: var(--radius-lg);
    border-color: var(--hairline);
}
.blog-card:hover,
.recent-blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--ring);
    box-shadow: var(--elev-hover);
}

/* ---- Buttons: crisper primary, friendlier ghost ----------------------- */
.btn {
    font-weight: 600;
    letter-spacing: 0.01em;
}
.btn-primary {
    box-shadow: 0 10px 26px -10px rgba(59, 130, 246, 0.55);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px -12px rgba(59, 130, 246, 0.7);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-ghost:hover {
    border-color: var(--ring);
    background: rgba(88, 166, 255, 0.08);
}

/* ---- CTA: richer gradient, inner highlight ---------------------------- */
.cta {
    padding: 1.4rem 1.35rem;
    border-radius: var(--radius-lg);
    border-color: var(--hairline);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 40%),
        linear-gradient(135deg, rgba(88, 166, 255, 0.22), rgba(59, 130, 246, 0.10) 55%, rgba(15, 23, 42, 0.9));
    box-shadow: var(--shadow);
}

/* ---- Impact strip: cleaner dividers ----------------------------------- */
.impact-strip {
    border-color: var(--hairline);
}
.impact-heading-row span {
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.4), transparent);
}

/* ---- Talks rows: smoother hover --------------------------------------- */
.talk-row {
    transition: background 0.18s ease;
}
.talk-row:last-child {
    border-bottom: none;
}

/* ---- Prose links: modern underline ------------------------------------ */
.prose a,
.article-body a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

/* ---- Footer: align to the new rhythm ---------------------------------- */
footer.site-footer {
    margin-top: 3rem;
    border-top-color: var(--hairline);
}

/* =========================================================================
   BOLD REDESIGN (2026) — "operational console" direction.
   Homepage-forward; shared pieces (footer, reveal) apply site-wide.
   ========================================================================= */

/* ---- Scroll reveal: one-time, subtle, reduced-motion safe --------------- */
/* Hidden only when JS is present (reveal.js adds .js-reveal to <html>), so the
   page is fully visible without JS. */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.js-reveal [data-reveal].is-in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- HERO: live console ------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;              /* clip backdrop; prevents horizontal page scroll */
    padding: 2.4rem 0 0.6rem;
    align-items: start;
}
.hero > div:not(.hero-fx),
.hero-panel { position: relative; z-index: 1; }

.hero-fx {
    position: absolute;
    inset: -2.4rem 0 0;              /* clipped by .hero; no horizontal bleed */
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(120% 90% at 60% 0%, #000 55%, transparent 100%);
            mask-image: radial-gradient(120% 90% at 60% 0%, #000 55%, transparent 100%);
}
.hero-fx::before {                    /* drifting technical grid */
    content: "";
    position: absolute;
    inset: -60px;
    background-image:
        linear-gradient(rgba(88,166,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(88,166,255,0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    animation: grid-drift 14s linear infinite;
}
.hero-fx::after {                     /* breathing blue glow */
    content: "";
    position: absolute;
    top: -10%; right: 8%;
    width: 640px; height: 420px;
    background: radial-gradient(closest-side, rgba(59,130,246,0.22), transparent 72%);
    filter: blur(6px);
    animation: glow-breathe 9s ease-in-out infinite;
}
@keyframes grid-drift { to { transform: translateY(46px); } }
@keyframes glow-breathe {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-fx::before, .hero-fx::after { animation: none; }
}

.hero-eyebrow {
    position: relative;
    padding-left: 1.5rem;
}
.hero-eyebrow::after {               /* live pulse dot */
    content: "";
    position: absolute;
    left: 0.7rem; top: 50%;
    width: 7px; height: 7px; margin-top: -3.5px;
    border-radius: 50%;
    background: #58a6ff;
    box-shadow: 0 0 0 0 rgba(88,166,255,0.6);
    animation: pulse-dot 2.4s ease-out infinite;
}
.hero-eyebrow::before { content: none; }
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(88,166,255,0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(88,166,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(88,166,255,0); }
}
@media (prefers-reduced-motion: reduce) { .hero-eyebrow::after { animation: none; } }

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.98;
    margin: 0.9rem 0 0.7rem;
}

/* Hero disclosures -> monospace live feed card */
.hero-panel {
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), transparent 46%),
        var(--panel-dark);
    border-color: var(--hairline);
}
.hero-panel-label {
    display: flex; align-items: center; gap: 0.5rem;
    margin: 0;
    padding: 0.7rem 0.95rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--hairline);
    background: rgba(255,255,255,0.015);
}

/* ---- IMPACT: hairline logo wall ---------------------------------------- */
.impact-brands {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    gap: 0 !important;
    margin-top: 1.1rem !important;
}
.impact-brand {
    padding: 1.1rem 0.5rem;
    border-left: 1px solid var(--hairline);
}
.impact-brand:first-child { border-left: none; }
@media (max-width: 760px) {
    .impact-brands { grid-template-columns: repeat(2, 1fr) !important; }
    .impact-brand:nth-child(odd) { border-left: none; }
    .impact-brand:nth-child(n+3) { border-top: 1px solid var(--hairline); }
}

/* ---- CVE FEED: severity meter + severity-bordered rows ------------------ */
.sev-meter {
    margin: 0.2rem 0 0.75rem;
}
.sev-track {
    display: flex;
    gap: 2px;                          /* 2px surface gap between segments */
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}
.sev-seg { height: 100%; border-radius: 3px; }
.sev-track .sev-seg { flex: 1 1 0; }
.sev-seg.critical { background: var(--sev-critical); }
.sev-seg.high     { background: var(--sev-high); }
.sev-seg.med      { background: var(--sev-med); }
.sev-seg.low      { background: var(--sev-low); }
.sev-legend {
    display: flex; flex-wrap: wrap; gap: 0.35rem 1rem;
    margin-top: 0.55rem;
    font-size: 0.74rem;
    color: var(--text-muted);
}
.sev-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.sev-legend i {
    width: 9px; height: 9px; border-radius: 2px; display: inline-block;
}
.sev-legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Severity as a colored left edge on each row */
.cve-row.sevrow-critical td:first-child { box-shadow: inset 3px 0 0 var(--sev-critical); }
.cve-row.sevrow-high     td:first-child { box-shadow: inset 3px 0 0 var(--sev-high); }
.cve-row.sevrow-med      td:first-child { box-shadow: inset 3px 0 0 var(--sev-med); }
.cve-row.sevrow-low      td:first-child { box-shadow: inset 3px 0 0 var(--sev-low); }

/* ---- FOOTER: columned ---------------------------------------------------- */
footer.site-footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 1.5rem 2rem;
    align-items: start;
    padding: 2.4rem 1.25rem 2.2rem;
}
.footer-brand { max-width: 20rem; }
.footer-brand .fb-name { color: var(--text); font-weight: 600; letter-spacing: 0.02em; }
.footer-brand .fb-tag { margin-top: 0.4rem; line-height: 1.5; }
.footer-col h4 {
    margin: 0 0 0.7rem;
    font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-muted); font-weight: 600;
}
.footer-col a { display: block; padding: 0.22rem 0; color: var(--text-muted); transition: color 0.16s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-end {
    grid-column: 1 / -1;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
    margin-top: 0.6rem; padding-top: 1.1rem;
    border-top: 1px solid var(--hairline);
}
@media (max-width: 760px) {
    footer.site-footer { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================================
   SECTION FILL + RESPONSIVE PASS (2026)
   ========================================================================= */

/* ---- Focus: narrative + side panel ------------------------------------- */
.focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 1.6rem 2.4rem;
    align-items: start;
}
.focus-grid .prose { max-width: none; }
.focus-aside { display: grid; gap: 1rem; }
.fa-block {
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 60%),
        var(--panel-dark);
    padding: 1rem 1.15rem;
}
.fa-block h4 {
    margin: 0 0 0.65rem;
    font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-muted); font-weight: 600;
}
.fa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.fa-list li {
    position: relative; padding-left: 1.05rem;
    font-size: 0.9rem; color: var(--text); line-height: 1.35;
}
.fa-list li::before {
    content: ""; position: absolute; left: 0; top: 0.55em;
    width: 6px; height: 6px; border-radius: 2px; background: var(--accent-grad);
}

/* ---- Blog: fixed 3-up on homepage; stacks straight to 1 (no orphan) ----- */
#recent-blog.blog-grid {
    margin-top: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 720px) {
    #recent-blog.blog-grid { grid-template-columns: 1fr; }
}

/* ---- Contact: full-width band ------------------------------------------ */
.cta {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.2rem 2.4rem;
}
.cta-copy h2 { margin: 0 0 0.5rem; }
.cta-copy p { margin: 0; max-width: 48rem; }
.cta-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---- Responsive breakpoints -------------------------------------------- */
/* Tablet: collapse the two-column content sections */
@media (max-width: 860px) {
    .focus-grid { grid-template-columns: 1fr; }
    .cta { grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }
}
/* Mid: 3-col vendor wall instead of a cramped 5-up */
@media (max-width: 1000px) and (min-width: 761px) {
    .impact-brands { grid-template-columns: repeat(3, 1fr) !important; }
    .impact-brand:nth-child(3n+1) { border-left: none; }
    .impact-brand:nth-child(n+4) { border-top: 1px solid var(--hairline); }
}
/* Hero stacks a touch earlier so the console card never gets too narrow */
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; gap: 1.6rem; }
    .hero-fx { inset: -2.4rem 0 0; }
}

/* ---- CVE table: keep IDs intact; scroll table on small screens ---------- */
.cve-chip-id { white-space: nowrap; }
.cve-table td:first-child, .cve-table th:first-child { white-space: nowrap; }
@media (max-width: 760px) {
    .cve-table-wrapper { overflow-x: auto; overscroll-behavior-x: contain; }
    .cve-table { min-width: 680px; }
}

/* =========================================================================
   TALKS (rebuilt) — polished accordion; expandable where an abstract exists
   ========================================================================= */
.talks { display: grid; gap: 0.8rem; margin-top: 0.85rem; }
.talk {
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02), transparent 55%),
        var(--panel-dark);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.talk.is-expandable:hover { border-color: rgba(88,166,255,0.28); box-shadow: var(--shadow); }

.talk-head {
    display: flex; align-items: center; gap: 1rem;
    width: 100%; text-align: left;
    padding: 1rem 1.15rem;
    background: none; border: 0; color: inherit; font: inherit;
}
button.talk-head { cursor: pointer; }
.talk-head.static { cursor: default; }
.talk-head:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ring); border-radius: var(--radius); }

.talk-main { flex: 1 1 auto; min-width: 0; }
.talk-badges { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.45rem; }
.talk-conf {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem; border-radius: 999px;
    color: var(--accent);
    background: rgba(88,166,255,0.1);
    border: 1px solid rgba(88,166,255,0.22);
}
.talk-when { font-size: 0.76rem; color: var(--text-muted); }
.talk-title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--text); }

.talk-toggle { display: inline-flex; align-items: center; gap: 0.45rem; flex: none; color: var(--text-muted); font-size: 0.78rem; }
.talk-chevron { width: 15px; height: 15px; transition: transform 0.28s cubic-bezier(.2,.7,.2,1); }
.talk-head[aria-expanded="true"] .talk-chevron { transform: rotate(90deg); }
.talk-head[aria-expanded="true"] .talk-toggle { color: var(--accent); }

.talk-body { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(.2,.7,.2,1); }
.talk-body-inner { padding: 1rem 1.15rem 1.15rem; border-top: 1px solid var(--hairline); }
.talk-body p { margin: 0 0 0.7rem; color: var(--text-muted); line-height: 1.55; font-size: 0.9rem; max-width: 72ch; }
.talk-body p:last-of-type { margin-bottom: 0.3rem; }
.talk-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.talk-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.78rem;
    color: var(--accent);
    border: 1px solid var(--hairline); background: rgba(255,255,255,0.02);
    transition: border-color 0.16s ease, background 0.16s ease;
}
.talk-link:hover { border-color: rgba(88,166,255,0.35); background: rgba(88,166,255,0.06); }

@media (prefers-reduced-motion: reduce) {
    .talk-chevron, .talk-body { transition: none; }
}
@media (max-width: 560px) {
    .talk-head { align-items: flex-start; }
    .talk-toggle .talk-toggle-label { display: none; }
}

/* Actual emblem logo (text removed) in the header */
.logo-emblem {
    height: 44px;
    width: auto;
    display: block;
    flex: none;
    filter: drop-shadow(0 0 8px rgba(88, 166, 255, 0.25));
}
.logo:hover .logo-emblem { filter: drop-shadow(0 0 11px rgba(88, 166, 255, 0.4)); }
@media (max-width: 900px) { .logo-emblem { height: 46px; } }



/* Mobile header: JSI moves into the dropdown; emblem + full wordmark fit cleanly */
@media (max-width: 900px) {
    .btn-mini-jsi { display: none; }
    .logo-emblem { height: 42px; }
}
.mobile-menu a.mobile-menu-cta {
    margin-top: 0.7rem;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #04101f;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 22px -10px rgba(59, 130, 246, 0.55);
}
.mobile-menu a.mobile-menu-cta:hover { color: #04101f; }

/* =========================================================================
   MOBILE: modern vendor chips + single most-recent blog post
   ========================================================================= */
@media (max-width: 760px) {
    /* --- Security Impact: pretty technical chips (replaces boxy tiles) --- */
    .impact-strip { padding: 1.9rem 1.15rem 1.8rem !important; }
    .impact-heading-row { margin-bottom: 0.8rem !important; }
    .impact-intro { max-width: 30rem !important; margin: 0 auto 1.25rem !important; }
    .impact-brands {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.6rem !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
    }
    .impact-brand,
    .impact-brand:first-child,
    .impact-brand:nth-child(odd),
    .impact-brand:nth-child(n+3),
    .impact-brand:last-child {
        min-height: 0 !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0.55rem 1rem !important;
        border: 1px solid rgba(88, 166, 255, 0.28) !important;
        border-radius: 11px !important;
        background: linear-gradient(150deg, rgba(88, 166, 255, 0.14), rgba(88, 166, 255, 0.02) 70%), rgba(10, 15, 28, 0.6) !important;
        box-shadow: 0 6px 16px -8px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        grid-column: auto !important;
        justify-self: auto !important;
        filter: none !important;
        transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
    }
    .impact-brand::before {
        content: "" !important;
        width: 6px !important; height: 6px !important; border-radius: 50% !important;
        background: radial-gradient(circle at 35% 35%, #bcd8ff, var(--accent)) !important;
        box-shadow: 0 0 8px rgba(88, 166, 255, 0.7) !important;
        flex: none !important;
    }
    .impact-brand:hover {
        border-color: rgba(88, 166, 255, 0.5) !important;
        box-shadow: 0 10px 22px -8px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
        transform: translateY(-1px) !important;
    }
    .impact-brand .brand-name,
    .impact-brand .impact-name {
        font-family: var(--mono) !important;
        font-size: 0.84rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em !important;
        line-height: 1 !important;
        color: #eaf1fb !important;
        text-shadow: none !important;
    }

    /* --- Blog: show only the most recent post on mobile --- */
    #recent-blog .blog-card:nth-child(n+2) { display: none !important; }
    #recent-blog.blog-grid { grid-template-columns: 1fr !important; }
}

/* =========================================================================
   SECURITY IMPACT — disclosure constellation
   actuator.sh hub + vendor nodes with energy flowing along the links.
   ========================================================================= */
.impact-constellation {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 1.6rem auto 0.4rem;
    aspect-ratio: 1 / 0.84;
}
.cx-links {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    overflow: visible; z-index: 0;
}
.cx-link { stroke: rgba(88, 166, 255, 0.16); stroke-width: 0.5; }
.cx-flow {
    stroke: var(--accent); stroke-width: 0.7;
    stroke-dasharray: 2.5 8;
    filter: drop-shadow(0 0 1px var(--accent));
    animation: cx-flow 1.9s linear infinite;
}
@keyframes cx-flow { to { stroke-dashoffset: -10.5; } }

.cx-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.46rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(88, 166, 255, 0.3);
    background: linear-gradient(150deg, rgba(88, 166, 255, 0.15), rgba(10, 15, 28, 0.72) 75%);
    box-shadow: 0 6px 16px -7px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    white-space: nowrap; z-index: 2;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.cx-node .brand-name {
    font-family: var(--mono); font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.01em; color: #eaf1fb; text-shadow: none; line-height: 1;
}
.cx-node:hover {
    border-color: rgba(88, 166, 255, 0.55);
    box-shadow: 0 10px 22px -8px rgba(59, 130, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translate(-50%, -50%) scale(1.04);
}
.cx-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #bcd8ff, var(--accent));
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.7); flex: none;
}

.cx-hub {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.cx-core {
    width: 58px; height: 58px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #cfe4ff;
    background: radial-gradient(circle at 42% 36%, rgba(88, 166, 255, 0.45), rgba(59, 130, 246, 0.14) 62%, rgba(10, 15, 28, 0.6) 78%);
    border: 1px solid rgba(88, 166, 255, 0.45);
    box-shadow: 0 0 26px rgba(88, 166, 255, 0.45), inset 0 0 14px rgba(88, 166, 255, 0.25);
    position: relative;
}
.cx-core svg { width: 26px; height: 26px; filter: drop-shadow(0 0 4px rgba(88,166,255,0.6)); }
.cx-core::after {
    content: ""; position: absolute; inset: -7px; border-radius: 50%;
    border: 1px solid rgba(88, 166, 255, 0.4);
    animation: cx-ring 3.2s ease-out infinite;
}
@keyframes cx-ring {
    0% { transform: scale(0.92); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}
.cx-hub-label {
    font-family: var(--mono); font-size: 0.82rem; color: var(--accent);
    letter-spacing: 0.04em; text-shadow: 0 0 10px rgba(88, 166, 255, 0.5);
}

@media (max-width: 560px) {
    .impact-constellation { max-width: 340px; aspect-ratio: 1 / 0.95; }
    .cx-node { padding: 0.4rem 0.7rem; }
    .cx-node .brand-name { font-size: 0.76rem; }
    .cx-core { width: 50px; height: 50px; }
    .cx-core svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .cx-flow { animation: none; stroke-dasharray: none; opacity: 0.5; }
    .cx-core::after { animation: none; opacity: 0.3; }
}

/* ===== Security Impact — HONEYCOMB (lit lattice) ===== */
.impact-comb{position:relative;display:flex;flex-direction:column;align-items:center;margin:2rem auto .6rem}
/* soft pool of light the comb sits in */
.impact-comb::before{content:"";position:absolute;left:50%;top:52%;width:460px;height:340px;transform:translate(-50%,-50%);
  background:radial-gradient(60% 60% at 50% 50%,rgba(56,120,220,.20),transparent 70%);filter:blur(6px);pointer-events:none;z-index:0}
.comb-row{display:flex;justify-content:center;gap:.55rem;position:relative;z-index:1}
.comb-row.r2{margin-top:-33px}
.chx{width:126px;height:140px;display:flex;align-items:center;justify-content:center;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  /* beveled rim: light catches the top-left and bottom-right edges */
  background:linear-gradient(150deg,rgba(150,200,255,.95) 0%,rgba(80,140,235,.42) 36%,rgba(44,92,180,.18) 60%,rgba(104,168,255,.72) 100%);
  padding:1.5px;filter:drop-shadow(0 10px 20px rgba(28,70,150,.32));
  transition:filter .2s ease,transform .2s ease;animation:comb-float 6s ease-in-out infinite;will-change:transform}
.chx:hover{filter:drop-shadow(0 14px 30px rgba(59,130,246,.6)) brightness(1.08);animation-play-state:paused}
/* staggered, alternating drift so the comb breathes, not bobs in unison */
.comb-row.r1 .chx:nth-child(1){animation-delay:0s;animation-duration:6.2s}
.comb-row.r1 .chx:nth-child(2){animation-delay:-1.6s;animation-duration:5.6s}
.comb-row.r1 .chx:nth-child(3){animation-delay:-3.1s;animation-duration:6.6s}
.comb-row.r2 .chx:nth-child(1){animation-delay:-2.4s;animation-duration:5.9s}
.comb-row.r2 .chx:nth-child(2){animation-delay:-4.2s;animation-duration:6.4s}
@keyframes comb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.chx-in{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.46rem;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
  /* glassy depth: top-left highlight over a deep vertical gradient */
  background:radial-gradient(135% 95% at 28% 10%,rgba(84,128,205,.40),transparent 56%),linear-gradient(165deg,#13203c 0%,#0b1427 55%,#080d1a 100%)}
/* halo behind the lock */
.chx-in::before{content:"";position:absolute;top:34%;left:50%;width:58px;height:58px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle,rgba(88,166,255,.30),transparent 66%);pointer-events:none}
.chx-in svg{position:relative;width:20px;height:20px;color:#9fc7ff;
  filter:drop-shadow(0 0 5px rgba(88,166,255,.6));animation:lock-pulse 4.5s ease-in-out infinite}
.comb-row.r1 .chx:nth-child(2) .chx-in svg{animation-delay:-1.2s}
.comb-row.r1 .chx:nth-child(3) .chx-in svg{animation-delay:-2.4s}
.comb-row.r2 .chx:nth-child(1) .chx-in svg{animation-delay:-1.8s}
.comb-row.r2 .chx:nth-child(2) .chx-in svg{animation-delay:-3s}
@keyframes lock-pulse{0%,100%{filter:drop-shadow(0 0 4px rgba(88,166,255,.45))}50%{filter:drop-shadow(0 0 10px rgba(120,185,255,.95))}}
.chx-in b{position:relative;font:600 .84rem/1 var(--font);letter-spacing:.015em;color:#f1f6ff;text-shadow:0 1px 6px rgba(0,0,0,.35)}
@media (max-width:560px){
  .chx{width:98px;height:110px}.comb-row{gap:.4rem}.comb-row.r2{margin-top:-27px}
  .chx-in b{font-size:.72rem}.chx-in svg{width:16px;height:16px}
}
@media (prefers-reduced-motion:reduce){
  .chx{animation:none}.chx-in svg{animation:none}
}

/* ===== Security Impact — SINGLE-ROW ALTERNATING MARQUEE ===== */
.impact-solo{position:relative;overflow:hidden;margin:1.5rem 0 .5rem;padding:.3rem 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.solo-track{display:inline-flex;align-items:center;gap:2.6rem;white-space:nowrap;padding:.5rem 1.3rem;
  animation:solo-scroll 88s linear infinite;will-change:transform}
.impact-solo:hover .solo-track{animation-play-state:paused}
@keyframes solo-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.solo-track b{font-size:1.75rem;font-weight:700;letter-spacing:-.01em;font-family:var(--font);line-height:1}
.solo-track b.fill{color:#e6edf8;text-shadow:0 1px 10px rgba(30,70,150,.35)}
.solo-track b.ghost{color:transparent;-webkit-text-stroke:1.1px rgba(132,178,255,.55)}
.solo-track i{color:var(--accent);opacity:.85;font-style:normal;font-size:.78rem;transform:translateY(-1px)}
@media (max-width:560px){ .solo-track b{font-size:1.45rem} .solo-track{gap:1.9rem} }
@media (prefers-reduced-motion:reduce){ .solo-track{animation:none} }

/* Security Impact: single-row marquee (honeycomb kept but hidden) */
.impact-comb{display:none}
.impact-solo{display:block}

/* ===== Conference logo marquee (Focus) — monochrome, scrolling ===== */
.conf-kicker{margin:2.4rem 0 1.1rem;text-align:center;font:500 .7rem/1 var(--mono);letter-spacing:.26em;text-transform:uppercase;color:var(--muted)}
.conf-marquee{position:relative;overflow:hidden;width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.conf-track{display:inline-flex;align-items:center;gap:4.5rem;white-space:nowrap;padding:.5rem 2.25rem;
  animation:conf-scroll 34s linear infinite;will-change:transform}
.conf-marquee:hover .conf-track{animation-play-state:paused}
@keyframes conf-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.conf-logo{height:42px;width:auto;flex:none;opacity:.78;transition:opacity .2s ease}
.conf-logo:hover{opacity:1}
.conf-logo-roc{height:58px}
@media (max-width:560px){ .conf-logo{height:34px}.conf-logo-roc{height:46px}.conf-track{gap:3rem} }
@media (prefers-reduced-motion:reduce){ .conf-track{animation:none} }

/* =========================================================================
   PILL SYSTEM v2 — glass, gradient hairline, glow-dot (overrides)
   ========================================================================= */
.hero-badges{gap:.5rem}
.hero-badge{
  position:relative;display:inline-flex;align-items:center;gap:.5rem;
  padding:.36rem .82rem .36rem .72rem;border-radius:999px;border:1px solid transparent;
  font:600 .64rem/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#cdd8ea;
  background:
    linear-gradient(#0e1829,#0b111e) padding-box,
    linear-gradient(135deg,rgba(88,166,255,.55),rgba(255,255,255,.07) 55%,rgba(88,166,255,.32)) border-box;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 20px -14px rgba(20,60,140,.9);
  transition:transform .18s ease,color .18s ease,box-shadow .18s ease}
.hero-badge svg{flex:none;width:13px;height:13px;color:var(--accent);opacity:.95}
.hero-badge:hover{transform:translateY(-1px);color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 12px 24px -12px rgba(50,110,210,.95)}

/* Talk conference pill — accent, with leading dot */
.talk-conf{
  position:relative;display:inline-flex;align-items:center;gap:.46rem;
  padding:.28rem .72rem;border-radius:999px;border:1px solid transparent;
  font:600 .62rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:#bcd6ff;
  background:
    linear-gradient(#0c1a33,#0a1326) padding-box,
    linear-gradient(135deg,rgba(88,166,255,.75),rgba(88,166,255,.2)) border-box;
  box-shadow:0 0 14px -5px rgba(88,166,255,.6)}
.talk-conf svg{flex:none;width:12px;height:12px;color:var(--accent)}

/* Severity pills — colored glass, gradient edge, glow-dot */
.impact-pill{
  position:relative;display:inline-flex;align-items:center;gap:.42rem;
  padding:.24rem .62rem .24rem .52rem;border-radius:999px;border:1px solid transparent;
  font:600 .68rem/1.2 var(--mono);letter-spacing:.02em;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.impact-pill::before{content:"";flex:none;width:13px;height:13px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4 1.8 18.5A2 2 0 0 0 3.5 21.5h17a2 2 0 0 0 1.7-3L13.7 4a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 4 1.8 18.5A2 2 0 0 0 3.5 21.5h17a2 2 0 0 0 1.7-3L13.7 4a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E") center/contain no-repeat}
.sev-critical{color:#ff9a9a;background:
  linear-gradient(rgba(34,11,14,.92),rgba(26,9,12,.92)) padding-box,
  linear-gradient(135deg,rgba(255,78,78,.85),rgba(255,78,78,.25)) border-box}
.sev-high{color:#ffc089;background:
  linear-gradient(rgba(33,20,8,.92),rgba(26,16,7,.92)) padding-box,
  linear-gradient(135deg,rgba(255,159,63,.8),rgba(255,159,63,.22)) border-box}
.sev-med{color:#f6e08a;background:
  linear-gradient(rgba(30,27,9,.92),rgba(24,21,8,.92)) padding-box,
  linear-gradient(135deg,rgba(247,210,62,.75),rgba(247,210,62,.2)) border-box}
.sev-low{color:#8df0c6;background:
  linear-gradient(rgba(9,28,21,.92),rgba(8,22,17,.92)) padding-box,
  linear-gradient(135deg,rgba(46,227,157,.75),rgba(46,227,157,.22)) border-box}

/* CVE id chip — quiet glass */
.cve-chip-id{
  font-family:var(--mono);padding:.14rem .5rem;border-radius:999px;border:1px solid transparent;
  background:
    linear-gradient(rgba(14,22,38,.9),rgba(11,17,30,.9)) padding-box,
    linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.04)) border-box}

@media (prefers-reduced-motion:reduce){
  .hero-badge{transition:none}
}

/* =========================================================================
   CTA BUTTONS v2 — glossy depth, lit edge, hover sheen (highlighted items)
   ========================================================================= */
.btn-primary,.btn-mini-jsi{
  position:relative;overflow:hidden;color:#061018;
  background:linear-gradient(135deg,#7cc0ff 0%,#3b82f6 52%,#2f6fe0 100%);
  border:1px solid rgba(135,192,255,.65);
  box-shadow:0 10px 26px -10px rgba(59,130,246,.6),inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(10,30,70,.35);
}
.btn-primary::after,.btn-mini-jsi::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(115deg,transparent 22%,rgba(255,255,255,.38) 48%,transparent 60%);
  transform:translateX(-130%);transition:transform .6s ease}
.btn-primary:hover::after,.btn-mini-jsi:hover::after{transform:translateX(130%)}
.btn-primary:hover,.btn-mini-jsi:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 34px -12px rgba(59,130,246,.78),inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(10,30,70,.4)}
.btn-primary:active,.btn-mini-jsi:active{transform:translateY(0)}
@media (prefers-reduced-motion:reduce){
  .btn-primary::after,.btn-mini-jsi::after{display:none}
}

/* =========================================================================
   HERO DISCLOSURE GRAPH (Obsidian-style) + cross-linked CVE list
   ========================================================================= */
.hero-panel{padding:0;overflow:hidden}
.hero-panel-label{display:flex;align-items:center;gap:.55rem;margin:0;padding:.8rem .95rem;
  border-bottom:1px solid rgba(255,255,255,.06);
  font:500 .72rem/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted)}
@media (max-width:560px){.hero-panel-label{letter-spacing:.06em;font-size:.68rem}}
.hero-graph{position:relative;height:216px}
#hero-graph-canvas{display:block;width:100%;height:100%}
.hero-graph-hint{position:absolute;right:12px;bottom:8px;font:500 .58rem/1 var(--mono);
  letter-spacing:.06em;color:#49566b;pointer-events:none}
.hero-cve-list{border-top:1px solid rgba(255,255,255,.06);padding:.5rem .5rem .6rem}
.hero-cve-list .cve-row{display:grid;grid-template-columns:auto 1fr;gap:.55rem;align-items:start;
  padding:.42rem .5rem;border-radius:9px;text-decoration:none;color:inherit;
  border-left:2px solid transparent;transition:background .15s ease}
.hero-cve-list .cve-row:hover,.hero-cve-list .cve-row.active{background:rgba(88,166,255,.08)}
.hero-cve-list .cve-row.active{background:rgba(88,166,255,.16);box-shadow:inset 0 0 0 1px rgba(88,166,255,.28)}
.hero-cve-list .cve-row.crit{border-left-color:#ff6b6b}
.hero-cve-list .cve-row.high{border-left-color:#ff9f4a}
.hero-cve-list .cve-row.med{border-left-color:#f1c84b}
.hero-cve-list .cve-row.low{border-left-color:#54d6a0}
.hero-cve-list .cve-id{font:600 .68rem/1.4 var(--mono);white-space:nowrap}
.hero-cve-list .cve-row.crit .cve-id{color:#ff8a8a}
.hero-cve-list .cve-row.high .cve-id{color:#ffb570}
.hero-cve-list .cve-row.med .cve-id{color:#f3d26a}
.hero-cve-list .cve-row.low .cve-id{color:#7fe3bd}
.hero-cve-list .cve-desc{font-size:.76rem;line-height:1.35;color:#c4cede}
.hero-cve-list .cve-desc .cat{font:600 .6rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);margin-right:.4rem}
@media (prefers-reduced-motion:reduce){.hero-graph-hint{display:none}}

/* =========================================================================
   CVE FEED — card redesign + reverse (downward) auto-scroll
   ========================================================================= */
.cve-feed-wrapper{margin:.65rem auto 0;max-width:760px;border:1px solid var(--border);border-radius:var(--radius);
  background:var(--panel-dark);max-height:clamp(300px,40vh,360px);overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 6%,#000 94%,transparent);
          mask-image:linear-gradient(180deg,transparent,#000 6%,#000 94%,transparent)}
.cve-cards{display:flex;flex-direction:column;gap:.5rem;padding:.6rem}
.cve-card{display:block;text-decoration:none;color:inherit;border:1px solid var(--border);
  border-left:3px solid var(--border);border-radius:12px;padding:.58rem .75rem;
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 60%),rgba(10,16,30,.55);
  transition:border-color .16s ease,background .16s ease,transform .16s ease}
.cve-card:hover{transform:translateX(2px);background:rgba(88,166,255,.05);border-color:rgba(88,166,255,.3)}
.cve-card.sev-row-critical{border-left-color:#ff5f5f}
.cve-card.sev-row-high{border-left-color:#ff9f3f}
.cve-card.sev-row-med{border-left-color:#f7d23e}
.cve-card.sev-row-low{border-left-color:#2ee39d}
.cvc-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.34rem}
.cvc-id{font:600 .74rem/1 var(--mono);letter-spacing:.01em;color:var(--accent)}
.cvc-right{display:flex;align-items:center;gap:.5rem;flex:none}
.cvc-cvss{font:600 .62rem/1 var(--mono);letter-spacing:.03em;padding:.16rem .42rem;border-radius:999px;border:1px solid transparent}
.cvc-cvss.sev-critical{color:#ff9a9a;border-color:rgba(255,78,78,.4);background:rgba(255,78,78,.1)}
.cvc-cvss.sev-high{color:#ffc089;border-color:rgba(255,159,63,.4);background:rgba(255,159,63,.1)}
.cvc-cvss.sev-med{color:#f6e08a;border-color:rgba(247,210,62,.4);background:rgba(247,210,62,.1)}
.cvc-cvss.sev-low{color:#8df0c6;border-color:rgba(46,227,157,.4);background:rgba(46,227,157,.1)}
.cvc-year{font:500 .68rem/1 var(--mono);color:#5f6b7e}
.cvc-target{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin-bottom:.42rem}
.cvc-target-name{font-size:.82rem;font-weight:600;color:var(--text)}
.cvc-cat{font:600 .56rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);
  border:1px solid rgba(88,166,255,.25);border-radius:999px;padding:.14rem .45rem}
.cvc-installs{font:500 .68rem/1 var(--mono);color:#5f6b7e}
.cvc-impact .impact-pill{font-size:.66rem}
.cve-feed-wrapper.cve-auto-scroll .cve-cards{will-change:transform;
  animation:cve-cards-crawl var(--cve-scroll-duration,28s) linear infinite}
.cve-feed-wrapper.cve-auto-scroll:hover .cve-cards{animation-play-state:paused}
@keyframes cve-cards-crawl{
  from{transform:translate3d(0,calc(-1 * var(--cve-cycle-height,420px)),0)}
  to{transform:translate3d(0,0,0)}}
@media (prefers-reduced-motion:reduce){
  .cve-feed-wrapper.cve-auto-scroll .cve-cards{animation:none}
  .cve-feed-wrapper{overflow-y:auto}}

/* Hero disclosure panel — spinnable molecule centerpiece */
.hero-graph{height:250px}
.hero-cve-list{padding:.4rem .4rem .45rem}
.hero-cve-list .cve-row{padding:.32rem .45rem;gap:.5rem}
.hero-cve-list .cve-desc{font-size:.72rem;line-height:1.3}
.hero-cve-list .cve-id{font-size:.64rem}
/* ~50% size on mobile: short graph + single-line list rows */
@media (max-width:560px){
  .hero-graph{height:240px}
  .hero-panel-label{padding:.44rem .7rem;font-size:.62rem}
  .hero-cve-list{padding:.26rem .28rem .32rem}
  .hero-cve-list .cve-row{padding:.2rem .36rem;gap:.36rem;border-left-width:2px}
  .hero-cve-list .cve-id{font-size:.56rem}
  .hero-cve-list .cve-desc{font-size:.63rem;line-height:1.2;
    display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .hero-cve-list .cve-desc .cat{font-size:.52rem;margin-right:.3rem}
  .hero-graph-hint{display:none}
}

/* Blog — smaller cards on desktop and mobile */
.blog-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}
.blog-card{border-radius:14px}
.blog-thumb{aspect-ratio:16/9;max-height:150px}
.blog-thumb img{object-position:center}
.blog-body{padding:.7rem .85rem .85rem}
.blog-title{font-size:.9rem;line-height:1.3;margin-bottom:.22rem}
.blog-meta{font-size:.68rem;margin-bottom:.3rem}
.blog-excerpt{font-size:.76rem;line-height:1.42;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:560px){ .blog-thumb{max-height:170px} }

/* =========================================================================
   CONTACT CTA — glass panel to match the top sections
   ========================================================================= */
.cta{
  max-width:none;margin-top:.9rem;padding:1.5rem 1.6rem;border-radius:16px;border:1px solid transparent;
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:1.2rem 2.4rem;
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,0) 44%) padding-box,
    linear-gradient(135deg,#101c33,#0a111f) padding-box,
    linear-gradient(135deg,rgba(88,166,255,.5),rgba(255,255,255,.07) 55%,rgba(88,166,255,.3)) border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 24px 60px -34px rgba(0,0,0,.75);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.cta-copy p{margin:0;max-width:46rem;color:var(--text-muted);line-height:1.55}
.cta-actions{display:flex;gap:.7rem;flex-wrap:wrap}
@media (max-width:860px){ .cta{grid-template-columns:1fr;padding:1.25rem 1.3rem} .cta-actions{justify-content:flex-start} }

/* =========================================================================
   CVE FEED — orb constellation (replaces the scrolling cards)
   ========================================================================= */
.cve-feed-graph{position:relative;margin-top:.7rem;border:1px solid var(--border);border-radius:var(--radius);
  background:radial-gradient(60% 70% at 50% 42%,rgba(56,120,220,.07),transparent 70%),var(--panel-dark);
  height:clamp(360px,52vh,520px);overflow:hidden}
#cve-graph-canvas{display:block;width:100%;height:100%}
.cve-graph-detail{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;
  padding:.55rem .85rem;min-height:2.4rem;pointer-events:none;font-size:.78rem;
  background:linear-gradient(0deg,rgba(6,10,20,.94),rgba(6,10,20,.4) 72%,transparent);
  border-top:1px solid rgba(255,255,255,.05)}
.cve-graph-detail .cgd-hint{color:#5f6b7e;font:500 .7rem/1 var(--mono);letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:560px){.cve-graph-detail .cgd-hint{font-size:.6rem}}
.cgd-id{font:600 .72rem/1 var(--mono)}
.cgd-id.sev-critical,.cgd-id.sev-crit{color:#ff8a8a}.cgd-id.sev-high{color:#ffc089}
.cgd-id.sev-med{color:#f3d26a}.cgd-id.sev-low{color:#7fe3bd}
.cgd-cat{font:600 .56rem/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--accent);
  border:1px solid rgba(88,166,255,.3);border-radius:999px;padding:.14rem .45rem}
.cgd-txt{color:#c4cede;flex:1 1 auto;min-width:160px}
.cgd-txt b{color:var(--text)}
.cgd-cvss{font:600 .62rem/1 var(--mono);padding:.16rem .42rem;border-radius:999px;border:1px solid transparent}
.cgd-cvss.sev-critical,.cgd-cvss.sev-crit{color:#ff9a9a;border-color:rgba(255,78,78,.4);background:rgba(255,78,78,.1)}
.cgd-cvss.sev-high{color:#ffc089;border-color:rgba(255,159,63,.4);background:rgba(255,159,63,.1)}
.cgd-cvss.sev-med{color:#f6e08a;border-color:rgba(247,210,62,.4);background:rgba(247,210,62,.1)}
.cgd-cvss.sev-low{color:#8df0c6;border-color:rgba(46,227,157,.4);background:rgba(46,227,157,.1)}
.cgd-year{font:500 .66rem/1 var(--mono);color:#5f6b7e}
.cgd-installs{font:600 .62rem/1 var(--mono);padding:.16rem .42rem;border-radius:999px;color:#bcd0ea;
  border:1px solid rgba(88,166,255,.32);background:rgba(88,166,255,.1);white-space:nowrap}
.cgd-open{pointer-events:auto;margin-left:auto;flex:0 0 auto;cursor:pointer;font:600 .64rem/1 var(--mono);letter-spacing:.04em;
  color:#cfe3ff;padding:.34rem .6rem;border-radius:999px;border:1px solid rgba(88,166,255,.5);
  background:linear-gradient(180deg,rgba(88,166,255,.26),rgba(59,130,246,.18));-webkit-tap-highlight-color:transparent}
.cgd-open:active{background:linear-gradient(180deg,rgba(88,166,255,.4),rgba(59,130,246,.3))}
.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}
@media (max-width:560px){ .cve-feed-graph{height:clamp(240px,46vh,310px)} .cgd-txt{min-width:120px} }
.sev-legend .sev-count{color:var(--text-muted);font-weight:600;font-family:var(--mono);font-size:.78em;margin-left:.1em}

/* ===== External-link confirm (prevents fat-finger redirects) ===== */
.cve-link-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem}
.cve-link-modal[hidden]{display:none}
.clm-backdrop{position:absolute;inset:0;background:rgba(4,8,16,.72);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.clm-card{position:relative;max-width:410px;width:100%;border:1px solid transparent;border-radius:16px;padding:1.25rem 1.3rem 1.1rem;text-align:left;
  background:linear-gradient(#0e1829,#0b1120) padding-box,linear-gradient(135deg,rgba(88,166,255,.5),rgba(255,255,255,.07) 55%,rgba(88,166,255,.3)) border-box;
  box-shadow:0 30px 80px -30px rgba(0,0,0,.85)}
.clm-ico{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.05rem;color:var(--accent);
  background:rgba(88,166,255,.12);border:1px solid rgba(88,166,255,.3);margin-bottom:.7rem}
.clm-card h3{margin:0 0 .4rem;font-size:1.02rem;color:var(--text)}
.clm-body{margin:0 0 1.15rem;font-size:.85rem;line-height:1.5;color:var(--text-muted)}
.clm-body b{color:var(--text)}
.clm-cve{font-family:var(--mono);color:var(--accent)}
.clm-actions{display:flex;gap:.6rem;justify-content:flex-end;flex-wrap:wrap}
.clm-cancel,.clm-go{font:600 .82rem/1 var(--font);padding:.62rem 1.05rem;border-radius:999px;cursor:pointer;border:1px solid transparent}
.clm-cancel{background:rgba(255,255,255,.04);border:1px solid var(--border);color:var(--text)}
.clm-cancel:hover,.clm-cancel:focus-visible{border-color:var(--accent);outline:none}
.clm-go{background:linear-gradient(135deg,#7cc0ff,#3b82f6);color:#061018;box-shadow:0 8px 20px -8px rgba(59,130,246,.6)}
.clm-go:hover{filter:brightness(1.06)}

/* =========================================================================
   RESEARCH BLOG INDEX — single newest feature + compact archive
   ========================================================================= */
.blog-index-page { padding-top: 1.35rem; }
.blog-index-hero { margin-top: 0; }
.blog-index-title { font-size: clamp(1.45rem, 2.5vw, 1.9rem); line-height: 1.18; }
.blog-index-intro {
  max-width: 47rem;
  margin: .35rem 0 1rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.blog-feature-shell {
  position: relative;
  overflow: hidden;
  margin-top: .85rem;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(65% 120% at 0% 0%, rgba(88,166,255,.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)),
    var(--panel-dark);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.blog-feature-shell::before,
.blog-feature-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.blog-feature-shell::before {
  width: 290px;
  height: 290px;
  right: -105px;
  top: -145px;
  border: 1px solid rgba(88,166,255,.10);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(88,166,255,.025),
    0 0 0 88px rgba(88,166,255,.015);
}
.blog-feature-shell::after {
  inset: 0;
  opacity: .28;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(190,215,255,.7) 0 1px, transparent 1.3px),
    radial-gradient(circle at 78% 16%, rgba(190,215,255,.45) 0 1px, transparent 1.3px),
    radial-gradient(circle at 91% 72%, rgba(190,215,255,.4) 0 1px, transparent 1.3px),
    linear-gradient(112deg, transparent 0 78%, rgba(88,166,255,.06) 78.2% 78.5%, transparent 78.7%);
}
.blog-feature-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .05rem .15rem .65rem;
}
.blog-feature-label,
.blog-feature-note {
  font: 600 .62rem/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.blog-feature-label { color: #a9ceff; }
.blog-feature-note { color: #667991; letter-spacing: .07em; }

.blog-feature-grid {
  position: relative;
  z-index: 1;
}
.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
  min-height: 245px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: calc(var(--radius) - 3px);
  background: rgba(6,12,22,.72);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.blog-feature-card:hover {
  border-color: rgba(88,166,255,.28);
  background: rgba(8,16,29,.86);
}
.blog-feature-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.blog-feature-image {
  min-height: 0;
  overflow: hidden;
  background: #07111f;
}
.blog-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.02);
  transition: transform .25s ease, filter .25s ease;
}
.blog-feature-card:hover .blog-feature-image img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.04);
}
.blog-feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.2rem;
}
.blog-feature-meta {
  margin-bottom: .45rem;
  color: #72839b;
  font: 500 .63rem/1.45 var(--mono);
}
.blog-feature-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 1.65vw, 1.24rem);
  line-height: 1.28;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.blog-feature-card:hover .blog-feature-title { color: #c4ddff; }
.blog-feature-excerpt {
  display: -webkit-box;
  margin: .65rem 0 0;
  overflow: hidden;
  color: #9cabbe;
  font-size: .78rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.blog-feature-cta {
  margin-top: auto;
  padding-top: .8rem;
  color: var(--accent);
  font-size: .71rem;
  font-weight: 600;
}

.blog-index-articles { margin-top: 2rem; }
.blog-index-articles-header { display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; }
.blog-index-count { color: var(--text-muted); font: 500 .68rem/1.5 var(--mono); white-space: nowrap; }
.blog-index-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: .95rem; }
.blog-index-grid .blog-card { height: 100%; min-width: 0; }
.blog-index-grid .blog-thumb { max-height: none; aspect-ratio: 16 / 8.5; overflow: hidden; }
.blog-index-grid .blog-thumb img { transition: transform .25s ease; }
.blog-index-grid .blog-card:hover .blog-thumb img { transform: scale(1.025); }
.blog-index-grid .blog-body { flex: 1; display: flex; flex-direction: column; }
.blog-index-grid .blog-title { color: var(--text); font-size: .94rem; line-height: 1.35; margin: .1rem 0 .42rem; }
.blog-index-grid .blog-card:hover .blog-title { color: #b9d8ff; }
.blog-index-grid .blog-meta { font-size: .69rem; line-height: 1.45; }
.blog-index-grid .blog-excerpt { font-size: .77rem; -webkit-line-clamp: 3; line-height: 1.52; }
.blog-index-grid .blog-read-more { margin-top: auto; padding-top: .75rem; color: var(--accent); font-size: .74rem; font-weight: 600; }
.blog-index-grid .blog-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.blog-index-loading, .blog-index-noscript { color: var(--text-muted); font-size: .85rem; }
.blog-index-noscript a { color: var(--accent); text-decoration: underline; }

@media (max-width: 880px) {
  .blog-feature-card {
    grid-template-columns: minmax(190px, 38%) minmax(0, 1fr);
    min-height: 225px;
  }
  .blog-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .blog-index-intro { font-size: .84rem; }
  .blog-feature-shell { padding: .58rem; }
  .blog-feature-note { display: none; }
  .blog-feature-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 118px;
  }
  .blog-feature-copy { padding: .75rem .8rem; }
  .blog-feature-title { font-size: .84rem; line-height: 1.32; }
  .blog-feature-excerpt { display: none; }
  .blog-feature-meta { margin-bottom: .35rem; font-size: .58rem; }
  .blog-feature-cta { padding-top: .45rem; font-size: .64rem; }
  .blog-index-articles { margin-top: 1.65rem; }
  .blog-index-grid { grid-template-columns: 1fr; }
  .blog-index-grid .blog-thumb { aspect-ratio: 16 / 7.5; max-height: 190px; }
  .blog-index-grid .blog-body { padding: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-feature-card,
  .blog-feature-image img,
  .blog-index-grid .blog-thumb img { transition: none; }
  .blog-feature-card:hover .blog-feature-image img,
  .blog-index-grid .blog-card:hover .blog-thumb img { transform: none; }
}



/* ===== Six discrete app-install reach tiers for disclosure constellations =====
   Fill color in the canvases still encodes CVSS severity. The rings and size
   distinguish high-reach disclosures; missing installs are not the <1M tier. */
.cve-reach-legend{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .85rem;
  margin:.65rem 0 .25rem;padding:.55rem .8rem;border:1px solid rgba(88,166,255,.14);
  border-radius:11px;background:rgba(8,17,31,.52);color:#d3dff0}
.reach-legend-title{font:700 .66rem/1.3 var(--mono);letter-spacing:.085em;text-transform:uppercase;
  color:#a9ceff;white-space:nowrap;margin-right:.18rem}
.reach-legend-title small{font-weight:500;letter-spacing:0;text-transform:none;color:#7890ac}
.reach-legend-item{display:inline-flex;align-items:center;gap:.32rem;
  font:600 .64rem/1 var(--mono);white-space:nowrap;color:#b7cae2}
.reach-dot{--dot:10px;display:inline-block;flex:0 0 42px;width:42px;height:38px;position:relative}
.reach-dot::before{content:"";position:absolute;top:50%;left:50%;width:var(--dot);height:var(--dot);
  transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(186,220,255,.72);
  background:radial-gradient(circle at 33% 28%,#a4cdff 0%,#337dd6 58%,#15315b 100%);
  box-shadow:0 0 8px rgba(88,166,255,.36)}
.reach-dot::after{content:none}
.reach-dot.reach-b1{--dot:28px}
.reach-dot.reach-m100{--dot:20px}
.reach-dot.reach-m50{--dot:15px}
.reach-dot.reach-m10{--dot:11px}
.reach-dot.reach-m1{--dot:7px}
.reach-dot.reach-subm{--dot:4px}
.reach-dot.reach-m50::after,.reach-dot.reach-m100::after,.reach-dot.reach-b1::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;pointer-events:none}
.reach-dot.reach-m50::after{width:calc(var(--dot) + 7px);height:calc(var(--dot) + 7px);border:1px solid rgba(142,197,255,.55)}
.reach-dot.reach-m100::after{width:calc(var(--dot) + 7px);height:calc(var(--dot) + 7px);border:1px solid rgba(142,197,255,.62);box-shadow:0 0 0 5px rgba(142,197,255,.42)}
.reach-dot.reach-b1::after{width:calc(var(--dot) + 7px);height:calc(var(--dot) + 7px);border:1px solid rgba(142,197,255,.68);box-shadow:0 0 0 5px rgba(142,197,255,.48),0 0 0 10px rgba(142,197,255,.35)}
.reach-legend-note{margin-left:auto;font:500 .6rem/1.3 var(--mono);color:#7189a9}
.cgd-installs.reach-b1,.cgd-installs.reach-m100{color:#dceaff;border-color:rgba(142,197,255,.63);
  background:rgba(88,166,255,.22)}
.cgd-installs.reach-m50{border-color:rgba(142,197,255,.48);background:rgba(88,166,255,.16)}
.cve-row-reach{font:600 .59rem/1.25 var(--mono);color:#9ac9ff;white-space:nowrap;margin-left:.28rem}
@media (max-width:660px){
  .cve-reach-legend{gap:.25rem .48rem;padding:.5rem .55rem}
  .reach-legend-title{flex:1 0 100%;margin-bottom:.16rem}
  .reach-legend-item{gap:.12rem;font-size:.57rem}
  .reach-dot{flex-basis:34px;width:34px;height:30px}
  .reach-dot.reach-b1{--dot:23px}
  .reach-dot.reach-m100{--dot:17px}
  .reach-dot.reach-m50{--dot:13px}
  .reach-dot.reach-m10{--dot:10px}
  .reach-dot.reach-m1{--dot:6.5px}
  .reach-dot.reach-subm{--dot:4px}
  .reach-legend-note{margin-left:0;flex-basis:100%;font-size:.56rem}
}

/* Disclosure constellation locator controls. */
.cve-graph-toolbar{position:absolute;top:10px;left:12px;right:12px;z-index:3;display:flex;align-items:center;
  justify-content:flex-end;flex-wrap:wrap;gap:.42rem .55rem;pointer-events:none}
.cve-graph-latest-label{font:600 .6rem/1.2 var(--mono);text-transform:uppercase;letter-spacing:.12em;color:#728bab}
.cve-graph-find{pointer-events:auto;cursor:pointer;border:1px solid rgba(112,162,231,.4);color:#d6e4f7;
  font:600 .67rem/1.2 var(--mono);padding:.38rem .64rem;border-radius:999px;
  background:rgba(13,24,44,.92);box-shadow:0 4px 18px rgba(0,0,0,.18);transition:border-color .2s,background .2s}
.cve-graph-find:hover,.cve-graph-find:focus-visible,.cve-graph-find[aria-pressed="true"]{
  background:rgba(35,73,118,.95);border-color:rgba(162,209,255,.9);outline-offset:2px}
@media (max-width:650px){
  /* Keep the Latest heading visible; place its locators on the next row. */
  .cve-graph-toolbar{left:8px;right:8px;top:7px;gap:.32rem;justify-content:flex-start}
  .cve-graph-latest-label{display:block;flex:1 0 100%;font-size:.61rem;line-height:1.3;color:#a9c9f1}
  .cve-graph-find{font-size:.59rem;padding:.35rem .48rem}
}


/* =========================================================================
   INSTITUTIONAL RESEARCH LAB / HOMEPAGE HERO — 2026-10-14
   The hero uses the existing disclosure-graph canvas and data-driven list.
   Restrict layout overrides to .home-page so secondary pages stay intact.
   ========================================================================= */
:root {
  --lab-surface: #080e19;
  --lab-surface-raised: #0d1727;
  --lab-line: rgba(155,182,216,.15);
  --lab-ink: #f0f4fa;
  --lab-subtle: #a8b9ce;
}
/* A controlled, understated shared wordmark and navigation. */
header.site-header {
  background: rgba(6,12,22,.94);
  border-bottom: 1px solid rgba(146,179,218,.14);
}
nav.site-nav { min-height: 72px; gap: 1.2rem; }
.logo { gap: .72rem; min-width: 0; }
.logo-emblem {
  height: 45px;
  width: auto;
  max-width: 58px;
  object-fit: contain;
  filter: none;
}
.logo:hover .logo-emblem { filter: none; }
.logo-text-main {
  display: inline-block;
  font-size: .89rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: .035em;
  color: #f1f5fb;
  white-space: nowrap;
}
.logo-text-sub {
  display: inline-block;
  margin-top: .3rem;
  color: #98abc2;
  font: 600 .59rem/1.15 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav-links { gap: clamp(.65rem,1.25vw,1.15rem); font-size: .78rem; }
.nav-links a { white-space: nowrap; }
.mobile-menu-btn {
  border-radius: 10px;
  border: 1px solid rgba(138,180,233,.38);
  background: rgba(115,163,229,.045);
  color: #b5d5fa;
  width: 43px;
  height: 41px;
  padding: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex: none;
}
.mobile-menu.open { border-color: var(--lab-line); }
@media (max-width: 900px) {
  nav.site-nav { min-height: 67px; padding: .6rem 1.2rem; }
  .mobile-menu-btn { display: inline-flex; }
  .logo-emblem { height: 43px; }
}
@media (max-width: 360px) {
  nav.site-nav { padding-inline: .82rem; gap: .4rem; }
  .logo { gap: .42rem; }
  .logo-emblem { height: 36px; }
  .logo-text-main { font-size: .77rem; }
  .logo-text-sub { font-size: .52rem; }
}

.home-page main.page { padding-top: 0; }
.home-page .hero {
  grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr);
  gap: clamp(1.8rem,4vw,3.35rem);
  align-items: center;
  padding: clamp(2rem,5vw,4.3rem) 0 1.9rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.home-page .hero-fx {
  inset: 0 -1rem 0;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg,#000 10%,transparent 87%);
  mask-image: linear-gradient(90deg,#000 10%,transparent 87%);
}
.home-page .hero-fx::before {
  inset: 0;
  background-image: linear-gradient(rgba(110,154,208,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(110,154,208,.045) 1px,transparent 1px);
  background-size: 72px 72px;
  animation: none;
}
.home-page .hero-fx::after {
  top: 4%; right: 25%;
  width: 530px; height: 480px;
  background: radial-gradient(circle,rgba(51,99,153,.11),transparent 70%);
  animation: none;
}
.home-page .hero-content { min-width: 0; }
.home-page .hero-eyebrow {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: .65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9fb9d5;
  font: 600 .69rem/1.35 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.home-page .hero-eyebrow::before {
  content: "";
  display: block;
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #91baf0;
  box-shadow: none;
  opacity: 1;
}
.home-page .hero-eyebrow::after { display: none; }
.home-page .hero-title {
  color: var(--lab-ink);
  font-size: clamp(2.55rem,4.75vw,4.05rem);
  line-height: 1.09;
  letter-spacing: -.048em;
  font-weight: 650;
  text-wrap: balance;
  margin: 0;
  max-width: 14.5ch;
}
.home-page .hero-subtitle {
  margin: 1.2rem 0 0;
  max-width: 38rem;
  color: #b9c7d8;
  line-height: 1.65;
  font-size: clamp(.93rem,1.35vw,1.06rem);
}
.home-page .hero-actions { gap: .7rem; margin-top: 1.6rem; }
.home-page .hero-actions .btn {
  min-height: 46px;
  border-radius: 9px;
  padding: .72rem 1.18rem;
  font-size: .87rem;
  letter-spacing: 0;
  box-shadow: none;
  justify-content: center;
  transition: background .2s ease,border-color .2s ease,transform .2s ease;
}
.home-page .hero-actions .btn::after { display: none; }
.home-page .hero-actions .btn span { font-size: 1.05rem; font-weight: 500; margin-left:.18rem; }
.home-page .hero-actions .btn-primary {
  background: #e3ebf7;
  color: #0c1728;
  border: 1px solid #e3ebf7;
}
.home-page .hero-actions .btn-primary:hover { background: #fff; border-color:#fff; transform:translateY(-1px); }
.home-page .hero-actions .btn-ghost {
  background: rgba(18,30,48,.38);
  border: 1px solid rgba(156,182,215,.35);
  color: #e4ebf5;
}
.home-page .hero-actions .btn-ghost:hover { border-color: #c0d6f0; background:rgba(33,53,81,.54); transform:translateY(-1px); }
.home-page .hero-domains {
  margin-top: 2.3rem;
  border-top: 1px solid var(--lab-line);
  padding-top: 1.18rem;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .65rem;
}
.home-page .hero-domain { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.home-page .hero-domain-name {
  font: 600 .67rem/1.3 var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #cfe0f5;
}
.home-page .hero-domain-desc { font-size: .74rem; color: #889bb2; line-height: 1.35; }
.home-page .hero-panel {
  background: linear-gradient(180deg,rgba(18,32,54,.7),rgba(6,11,22,.98) 45%);
  border: 1px solid rgba(139,172,215,.23);
  border-radius: 15px;
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
  overflow: hidden;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-page .hero-panel-heading {
  padding: 1rem 1.05rem .85rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--lab-line);
}
.home-page .hero-panel-label {
  padding: 0;
  display: block;
  margin: 0 0 .38rem;
  border: none;
  background: transparent;
  color: #f1f5fb;
  font: 600 .86rem/1.3 var(--font);
  text-transform: none;
  letter-spacing: -.005em;
}
.home-page .hero-panel-note { margin: 0; font-size: .72rem; line-height:1.3; color:#93a8bf; }
.home-page .hero-panel-marker { font-size: 1.1rem; line-height: 1; color: #94bff3; }
.home-page .hero-graph { height: 228px; }
.home-page .hero-cve-list { padding: .5rem; border-top:1px solid var(--lab-line); }
.home-page .hero-cve-list .cve-row { border-radius: 6px; padding: .36rem .45rem; }
.home-page .hero-cve-list .cve-row:hover { background: rgba(105,160,225,.075); }
.home-page .hero-cve-list .cve-desc { color: #aebfd3; }
.home-page .hero-graph-hint { color: #8097b4; }
@media (max-width: 980px) {
  .home-page .hero { grid-template-columns: 1fr; gap: 1.75rem; align-items: stretch; }
  .home-page .hero-title { max-width: 18ch; }
}
@media (max-width: 600px) {
  .home-page main.page { padding:0 1.05rem 2rem; }
  .home-page .hero { padding: 2.2rem 0 .4rem; margin-bottom: 1.8rem; gap:1.55rem; }
  .home-page .hero-eyebrow { font-size:.59rem; letter-spacing:.075em; margin-bottom: .9rem; }
  .home-page .hero-title { font-size: clamp(2.12rem,9.1vw,2.75rem); line-height:1.11; letter-spacing:-.048em; max-width:15ch; }
  .home-page .hero-subtitle { font-size: .88rem; line-height:1.6; margin-top: .93rem; }
  .home-page .hero-actions { margin-top:1.25rem; gap:.55rem; }
  .home-page .hero-actions .btn { font-size:.79rem; padding:.72rem .95rem; min-height:44px; }
  .home-page .hero-domains { margin-top: 1.65rem; padding-top:.9rem; gap:.45rem; }
  .home-page .hero-domain-name { font-size:.62rem; }
  .home-page .hero-domain-desc { font-size:.65rem; }
  .home-page .hero-panel-heading { padding:.83rem .9rem .77rem; }
  .home-page .hero-panel-label { font-size:.83rem; margin-bottom:.26rem; }
  .home-page .hero-panel-note { font-size:.68rem; }
  .home-page .hero-graph { height: 216px; }
  .home-page .hero-cve-list { padding:.3rem; }
  .home-page .hero-cve-list .cve-row { padding:.26rem .35rem; }
}
@media (max-width: 370px) {
  .home-page .hero-title { font-size:2.03rem; }
  .home-page .hero-domains { gap:.32rem; }
  .home-page .hero-domain-desc { font-size:.59rem; }
}
@media (prefers-reduced-motion:reduce) {
  .home-page .hero-actions .btn { transition:none; }
}

/* Keep the utility in the navigation, but do not compete with the research CTA. */
.btn-mini-jsi {
  background: rgba(121,157,203,.08);
  color: #c0d4ee;
  border: 1px solid rgba(141,177,223,.29);
  border-radius: 9px;
  box-shadow: none;
}
.btn-mini-jsi::after { display:none; }
.btn-mini-jsi:hover {
  background: rgba(121,157,203,.15);
  border-color: rgba(161,201,246,.55);
  box-shadow:none;
}

/* Auto-synced CVEs without an NVD CVSS score use a neutral, non-judgmental status. */
.cve-card.sev-row-unknown { border-left-color: #78879b; }
.cgd-id.sev-unknown { color: #a9b6c9; }
.cve-row.unknown .cve-id { color: #a9b6c9; }
