
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Palette */
    --bgBU: #0e0f11;
    --bg: #161616;
    --bg-cardBU: #16181d;
    --bg-card: #121212;
    --bg-card2: #1c1e25;
    --bg-card2trans: #1c1e2565;
    --border: #272930;
    --border-trans: #27293060;
    --border-light: #33363f;
    --text: #e8e9ed;
    --text-muted: #7e8493;
    --text-dimBU: #555a66;
    --text-dim: #7f8493;
    --text-tinted: #938d7e;

    --badgerBU: #788767;
    --badger: #879775;

    --platform-bg: #19202d;
    --platform-border: #385378;
    --platform-text: #5488d0;

    --vertical-bg: #21171f;
    --vertical-border: #3d2c38;
    --vertical-text: #894084;

    --site-bg: #151a1c;
    --site-border: #2c3b3d;
    --site-text: #3c8b8a;

    --gold: #e8a938;
    --gold-pale: rgba(232, 169, 56, .12);
    --gold-glow: rgba(232, 169, 56, .22);

    --accent: #74b42c;
    --accent-dim: #4a7319;
    --accent-glow: #74b42c25;

    --green: #4ade80;
    --green-bg: rgba(74, 222, 128, .12);
    --amber: #fbbf24;
    --amber-bg: rgba(251, 191, 36, .1);
    --red: #f87171;
    --red-bg: rgba(248, 113, 113, .12);

    --danger: #d74747;

    /* Typography */
    --font-displayBU: 'DM Serif Display', Georgia, serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-bodyBU: 'Syne', system-ui, sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-mono: 'DM Mono', 'Fira Code', monospace;

    /* Layout */
    --radius-mini: 4px;
    --radius: 10px;
    --radius-lg: 16px;
    --gap: 1.5rem;
    --content-w: 1180px;

    /* Transitions */
    --ease: cubic-bezier(.22, .68, 0, 1.2);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight:300;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Typography ─────────────────────────────────────────────────── */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
    font-size: 1.35rem;
    margin-bottom: .75rem;
}

h3 {
    font-size: 1.2rem;
}

em {
    font-style: italic;
    
}
.sp{
    color: var(--accent);
}

strong {
    color: var(--text);
}

p {
    letter-spacing: 0.4px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
/* Top menu / bar - - - - - - - - - - - - - - - - - - - - -  */
    #ruler_bar {
        width: calc(100vw);
        height: 60px;
        background-color: #111111e4;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 12;
        cursor: default;
        transition: color 200ms ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    #nav {
        margin-top: 40px;
        margin: 0px;
        margin-top: 0px;
        vertical-align: top;
        display: inline-block;
    }
    #nav a {
        color: #ffffff9d;
        text-decoration: none;
        margin: 10px auto;
        line-height: 14px;
        letter-spacing: 0.5px;
        font-size: 13px;
        padding: 18px 10px;
        transition: color 200ms ease;
    }
    #nav a:hover {
        color: #ffffff;
    }
    .top_limiter_center {
        margin: 0 auto;
        max-width: 1340px;
    }
    .top_bar_home_start {
        background-color: #11111100;
    }
    .top_bar_home_start a {
    }
    .top_bar_home_start a:hover {
    }
    .top_bar_home_start .top_active {
        font-weight: 600;
    }
    .top_bar {
        padding-left: 2px;
        width: 115px;
        height:60px;
        display: inline-block;
        margin-right:20px;
    }
    .top_logo_holder {
        width: 55px;
        height: 16px;
        margin: 18px auto;
    }
    .top_container {
        width: 1250px;
        margin: auto;
    }
    .top_link {
        color: #666;
        display: inline-block;
        margin: 12px 18px 3px 18px;
    }
    .top_active {
        font-weight: 400;
        color:#74b42c;
        
        font-weight: 600;
    }
    .top_active a {
    }
    .top_account {
        float: right;
        padding-top: 13px;
        margin-right: 15px;
    }
    .side_nav {
        padding: 22px 0px;
        margin: 0px 0px;
        min-width: 50px;
        display: inline-block;
        margin-right: 10px;
    }
    .side_nav_active {
        color: white;
    }
    .side_nav_active,
    .side_nav_active a {
        color: white !important;
    }

    .top_btn {
        display: inline-block;
        margin-left: 10px;
        border: 1px solid rgba(0, 0, 0, 0);
        padding: 20px 45px;
        font-size: 13px;
        color: #eeeeee;
        cursor: pointer;
        padding: 10px 35px;
        margin: 10px;
        background-color: #1f1f1f8f;
    }

    .top_btn:hover {
        color:white;
        background-color: #080808;
    }
    #top_nav {
        display: inline-block;
        vertical-align: top;
    }
    .top_nav_hidden {
        display: none !important;
        visibility: hidden;
        width: 0px;
        height: 0px;
        overflow: hidden;
    }
    .mh_head_left {
        padding-bottom:50px;
    }
        #top_nav {
            display: inline-block;
        }
    
        #login {
            display: block;
            float: right;
        }
    
        #menu_toggle {
            display: none;
        }
    
        @media (max-width: 949px) {
    
            #top_nav,
            #login {
                display: none;
            }
    
            #menu_toggle {
                display: block;
            }
        }
/* == */

/* ── Header ─────────────────────────────────────────────────────── */
    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.1rem 2rem;
        background: #111111e4;
        backdrop-filter: blur(12px);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .top_logo_holder {
        width: 55px;
        height: 16px;
    }
    .logo {
        font-family: var(--font-display);
        font-size: 1.5rem;
        color: var(--text);
        letter-spacing: -.01em;
    }

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

    nav {
        display: flex;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 10px;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--text-muted);
        transition: color .2s;
    }

    .nav-link:hover {
        color: var(--accent);
        text-decoration: none;
    }
/**/
.supra {
    font-size: 1.5rem;
}
.methhodology_card {
    margin-top: 5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.75rem;
    transition: border-color .2s, box-shadow .2s;
}
.methhodology_card p {
    margin: 1rem 0;
}
.methhodology_card h2 {
    margin: 3rem 0 0 0;
}

/* ── Page Wrap ──────────────────────────────────────────────────── */
    .page-wrap {
        flex: 1;
        max-width: var(--content-w);
        margin: 0 auto;
        margin-top:80px;
        padding: 2.5rem 1.5rem 4rem;
        width: 100%;
    }

/* ── Eyebrow ────────────────────────────────────────────────────── */
    .eyebrow {
        font-family: var(--font-mono);
        font-size: .75rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: .6rem;
        display: flex;
            align-items: center;
            gap: 0.8rem;
    }

    .eyebrow a {
        color: var(--accent-dim);
    }
    .supa {
        vertical-align: super;
        font-size:10px;
    }
/* ── Cards ──────────────────────────────────────────────────────── */
    .card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 1.75rem;
        transition: border-color .2s, box-shadow .2s;
    }

    .card-centered {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap:8px;
    }

    .card:hover {
        border-color: var(--border-light);
    }

    .card-sub {
        color: var(--text-muted);
        font-size: .85rem;
        margin-top: -.35rem;
        margin-bottom: 1.2rem;
    }
    .card-comment {
        font-size: 10px;
        margin-top:20px;
        color: var(--text-dim);
        letter-spacing: 0.4px;
    }

    .engine {
        font-family: var(--font-mono);
        font-size:0.7rem;
        color: #5b5f4d;
        letter-spacing: 1px;
        margin-top:4px;
    }
    .sites_parcentage {
        font-size:0.8rem;
        color:var(--text-dimBU);
        padding-left:2px;
    }
/* ── Hero ───────────────────────────────────────────────────────── */
    .hero {
        padding: 3rem 0 2rem;
        border-bottom: 1px solid var(--border);
    }

    .hero h1 {
        margin: .5rem auto 1rem;
    }

    .hero-sub {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats {
        display: flex;
        justify-content: flex-start;
        gap: 3rem;
        flex-wrap: wrap;
    }

    .stat {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: .25rem;
    }

    .stat-num {
        font-family: var(--font-display);
        font-size: 1.2rem;
        color: var(--accent);
    }

    .stat-label {
        font-size: 1.1rem;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--text-muted);
    }
    .path_cont {
        display: flex;
        flex-direction: row;
        gap:8px;
        align-items: center;
    }
    .path_cont a {
        line-height: 0;
        margin-bottom: .7rem;
        padding:0px 4px;
    }

/* Home links */
    .home-links {
        margin-top: 5rem;
    }

    .home-links h2 {
        margin-bottom: 1.25rem;
    }

    .card-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: var(--gap);
    }

    .bench-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 1.75rem;
        color: var(--text);
        transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
    }
    .bench-card-special {
        background: #14150f;
        border: 1px solid var(--accent);
    }
    .bench-card-special:hover {
        border: 1px solid var(--accent);
    }
    .bench-hidden {
        opacity: 0;
    }
    .conclusions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .conclusions .bench-card {
        width:49%;
    }

    .conclusions .bench-card h3 {
        font-size: 1.2rem;
        color: var(--accent);
    }
    .conclusions .bench-card p {
        font-size: 1rem;
    }

    .bench-card:hover {
        text-decoration: none;
        border-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
    }

    .bench-icon {
        font-size: 1.44rem;
    }

    .bench-card h3 {
        font-family: var(--font-body);
        font-size: 1.15rem;
        letter-spacing: 0.5px;
        color: var(--accent);
        margin-top:10px;
    }

    .bench-card p {
        font-size: .98rem;
        color: var(--text-muted);
    }

/* ── Benchmark Hero ─────────────────────────────────────────────── */
    .bench-hero {
        padding: 3rem 0 2rem;
        border-bottom: 1px solid var(--border);
        margin-bottom: 2rem;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .bench-hero h1 {
        margin-bottom: .5rem;
    }

    .bench-hero .hero-sub {
        color: var(--text-muted);
        font-size: .95rem;
    }

/* ── Report Hero ────────────────────────────────────────────────── */
    .report-hero {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
        padding: 3rem 0 2rem;
        border-bottom: 1px solid var(--border);
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .report-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 5vw, 3.4rem);
        margin-bottom: .75rem;
    }

    .audit-meta {
        font-size: .8rem;
        color: var(--text-dim);
        margin-top: .5rem;
        font-family: var(--font-mono);
    }

    .site-url {
        margin-top: .35rem;
        font-size: .85rem;
        font-family: var(--font-mono);
    }

/* ── Score Ring ─────────────────────────────────────────────────── */
    .total-score-ring {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 130px;
        height: 130px;
        border-radius: 50%;
        border: 4px solid var(--border);
        flex-shrink: 0;
        transition: border-color .3s;
    }

    .total-score-ring.score-high {
        border-color: var(--accent);
        box-shadow: 0 0 24px rgba(133, 222, 74, 0.2);
    }

    .total-score-ring.score-mid {
        border-color: var(--amber);
        box-shadow: 0 0 24px rgba(251, 191, 36, .2);
    }

    .total-score-ring.score-low {
        border-color: var(--red);
        box-shadow: 0 0 24px rgba(248, 113, 113, .2);
    }

    .ring-num {
        font-family: var(--font-display);
        font-size: 2.2rem;
        line-height: 1;
    }

    .ring-label {
        font-size: .7rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--text-muted);
        margin-top: .2rem;
    }

/* ── Meta Tags / Badges ─────────────────────────────────────────── */
    .meta-tags {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
        margin-bottom: .75rem;
    }

    .badge {
        background: var(--bg-card2);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: .25rem .75rem;
        font-size: .75rem;
        font-family: var(--font-mono);
        color: var(--text-muted);
        letter-spacing: .04em;
        white-space: nowrap;
    }


    .badge a {
        font-size: 10px;
    }
    .badge a,
    .hero-sub .badge a,
    .meta-tags .badge a {
        color: var(--badger);
    }
    .badge a:hover,
    .hero-sub .badge a:hover,
    .meta-tags .badge a:hover {
        color: var(--accent);
        text-decoration: none;
    }
    .dimmed {
        opacity: 0.5;
        transition: opacity 180ms ease-in;
    }
    tr:hover .dimmed,
    td:hover .dimmed,
    .dimmed:hover {
        opacity: 1;
    }
    .linkedBadge {
        display: inline-block;
        background: var(--bg-card2trans);
        border: 1px solid var(--border-trans);
        border-radius: 20px;
        padding: .2rem .75rem .1rem .75rem;
        min-width: 45px;
        font-size: .75rem;
        font-family: var(--font-mono);
        color: var(--badger);
        letter-spacing: .04em;
        white-space: nowrap;
        text-align: center;
    }
    .linkedBadge:hover {
        color: var(--accent);
        text-decoration: none;
    }
    .badge-big {
        padding: .7rem 1rem .5rem 1rem;
        margin-left:20px;
        border: 1px solid var(--accent-dim);
        line-height:3;
    }

    .badge-big a {
        font-size: 1rem;
    }
    .dom-not-found {
        color: var(--accent);
        font-weight: 600;
    }

/* ── Score Pills ────────────────────────────────────────────────── */
    .pill {
        display: inline-block;
        padding: .2rem .6rem;
        border-radius: 6px;
        font-family: var(--font-mono);
        font-size: .8rem;
        font-weight: 500;
    }
    .pill-mini {
        font-size:10px;
        padding: 2px 6px;
    }

    .pill.score-high {
        background: var(--green-bg);
        color: var(--green);
    }

    .pill.score-mid {
        background: var(--amber-bg);
        color: var(--amber);
    }

    .pill.score-low {
        background: var(--red-bg);
        color: var(--red);
    }

    .pill.score-na {
        background: var(--bg-card2);
        color: var(--text-muted);
    }



/* ── Score Bars ─────────────────────────────────────────────────── */
    .score-bars {
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
    }

    .score-row {
        display: flex;
        flex-direction: column;
        gap: .4rem;
    }

    .score-meta {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .score-label {
        font-size: .82rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .score-value {
        font-family: var(--font-mono);
        font-size: .88rem;
        padding: .1rem .4rem;
        border-radius: 6px;
    }

    .score-value.score-high {
        color: var(--green);
    }

    .score-value.score-mid {
        color: var(--amber);
    }

    .score-value.score-low {
        color: var(--red);
    }

    .score-value.score-na {
        color: var(--text-dim);
    }

    .bar-track {
        position: relative;
        height: 10px;
        height:2px;
        background: var(--bg-card2);
        border-radius: 99px;
        overflow: visible;
    }

    .bar-fill {
        height: 100%;
        height: 2px;
        border-radius: 99px;
        transition: width .6s var(--ease);
    }

    .bar-fill.score-high {
        background: linear-gradient(90deg, #22c55e, var(--accent));
    }

    .bar-fill.score-mid {
        background: linear-gradient(90deg, #d97706, var(--amber));
    }

    .bar-fill.score-low {
        background: linear-gradient(90deg, #dc2626, var(--red));
    }

    .bar-fill.score-na {
        background: var(--border-light);
    }

/* Compare tick */
    .bar-compare {
        position: absolute;
        top: -7px;
        width: 2px;
        height: 18px;
        background: var(--gold);
        border-radius: 2px;
        transform: translateX(-50%);
    }

    .bar-legend {
        font-size: .72rem;
        color: var(--text-dim);
        margin-top: .6rem;
        display: flex;
        align-items: center;
        gap: .4rem;
    }

    .legend-dot {
        display: inline-block;
        width: 2px;
        height: 15px;
        border-radius: 50%;
    }

    .legend-dot.compare {
        background: var(--gold);
    }

/* ── Score Diff ─────────────────────────────────────────────────── */
    .score-diff {
        font-family: var(--font-mono);
        font-size: .78rem;
        padding: .15rem .45rem;
        border-radius: 4px;
    }

    .score-diff.pos {
        background: var(--green-bg);
        color: var(--green);
    }

    .score-diff.neg {
        background: var(--red-bg);
        color: var(--red);
    }

/* ── Compare Visual ─────────────────────────────────────────────── */
    .compare-visual {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin: 1.25rem 0;
    }

    .compare-track {
        position: relative;
        height: 32px;
        background: var(--bg-card2);
        border-radius: var(--radius-mini);
        overflow: hidden;
    }

    .compare-fill {
        height: 100%;
        border-radius: var(--radius-mini);
        display: flex;
        align-items: center;
        padding-left: .75rem;
        min-width: 4%;
        transition: width .7s var(--ease);
        position: relative;
    }

    .compare-fill.site {
        background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    }

    .compare-fill.avg {
        background: linear-gradient(90deg, #45403c, #595959);
    }

    .compare-tip {
        font-size: .75rem;
        font-family: var(--font-mono);
        color: rgba(255, 255, 255, .85);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .compare-legend {
        display: flex;
        gap: 1.5rem;
        font-size: .8rem;
        color: var(--text-muted);
    }

    .swatch {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 3px;
        vertical-align: middle;
        margin-right: .3rem;
    }

    .swatch.site {
        background: #3b82f6;
    }

    .swatch.avg {
        background: #45403c;
    }

/* ── Detail Cards ───────────────────────────────────────────────── */
    .detail-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
    }
    .detail-chunk {
        display: inline-flex;
        align-items: center;
        gap: 12px;
    }

    .detail-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .detail-list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }

    .detail-list li {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
        font-size: .85rem;
        padding: .45rem 0;
        border-bottom: 1px solid var(--border);
    }

    .detail-list li:last-child {
        border-bottom: none;
    }

    .dk {
        color: var(--text-muted);
        flex-shrink: 0;
    }

    .dv {
        font-family: var(--font-mono);
        color: var(--text);
        text-align: right;
        word-break: break-all;
    }

    .no-data {
        color: var(--text-dim);
        font-size: .85rem;
        font-style: italic;
    }

    .detail-header .pill {
        font-size:18px;
        border: 3px solid #878a831a;
        border-radius: 18px;
        box-shadow: 0px 0px 6px #0c0c0c;
    }

/* ── Report Grid ────────────────────────────────────────────────── */
    .report-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
    }

    .scores-card {
        grid-column: 1;
    }

    .compare-card {
        grid-column: 2;
    }

    .detail-card {
        grid-column: span 1;
    }

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

    .scores-card,
    .compare-card,
    .detail-card {
        grid-column: 1;
    }
    .conclusions .bench-card {
        width: 100%;
    }
}

/* ── Bench Grid ─────────────────────────────────────────────────── */
.bench-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

.leaderboard-card {
    grid-column: 1 / -1;
}

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

    .leaderboard-card {
        grid-column: 1;
    }
}

/* ── KPI Strip ──────────────────────────────────────────────────── */
    .kpi-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 1px;
        background: var(--border);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .kpi {
        flex: 1;
        min-width: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem 1rem;
        background: var(--bg-card);
        text-align: center;
        gap: .3rem;
    }

    .kpi-num {
        font-family: var(--font-display);
        font-size: 1.7rem;
        color: var(--text);
        line-height: 1;
    }

    .kpi-num a {
        color: var(--accent);
        font-size: 18px;
    }

    .kpi-label {
        font-size: .7rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .best-kpi .kpi-num {
        color: var(--green);
    }

    .worst-kpi .kpi-num {
        color: var(--red);
    }

/* ── Data Table ─────────────────────────────────────────────────── */
    .data-table {
        width: 100%;
        border-collapse: collapse;
        font-size: .88rem;
    }

    .data-table th {
        text-align: left;
        padding: .6rem .75rem;
        font-size: .72rem;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--text-dim);
        border-bottom: 1px solid var(--border);
        font-family: var(--font-body);
        font-weight: 600;
    }

    .data-table td {
        padding: .7rem .75rem;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
    }

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

    .data-table tbody tr:hover td {
        background: var(--bg-card2);
    }

    .rank {
        font-family: var(--font-mono);
        font-size: .78rem;
        color: var(--text-dim);
        width: 40px;
    }

    .value_cell_center {
        text-align: center;
    }

    .domain-link {
        color: var(--text-tinted);
        font-size: 13px;
        font-family: var(--font-mono);
    }

    .domain-link:hover {
        color: var(--gold);
        text-decoration: none;
    }

/* ── Vertical Chips ─────────────────────────────────────────────── */
    .vertical-grid {
        display: flex;
        flex-wrap: wrap;
        gap: .6rem;
    }

    .vertical-chip {
        display: flex;
        flex-direction: column;
        gap: .2rem;
        background: var(--bg-card2);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: .75rem 1rem;
        color: var(--text);
        transition: border-color .2s, transform .15s;
    }

    .vertical-chip:hover {
        text-decoration: none;
        border-color: var(--gold);
        transform: translateY(-2px);
    }

    .vc-name {
        font-weight: 700;
        font-size: .9rem;
    }

    .vc-meta {
        font-size: .72rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: .3rem;
    }

/* ── Distribution Chart ─────────────────────────────────────────── */
    .dist-chart {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        margin-top: .5rem;
    }

    .dist-row {
        display: flex;
        align-items: center;
        gap: .75rem;
    }

    .dist-label {
        font-family: var(--font-mono);
        font-size: .78rem;
        color: var(--text-muted);
        min-width: 60px;
        text-align: right;
    }

    .dist-track {
        flex: 1;
        height: 20px;
        background: var(--bg-card2);
        border-radius: 4px;
        overflow: hidden;
    }

    .dist-fill {
        height: 100%;
        background: linear-gradient(90deg, #1d4ed8, #3b82f6);
        border-radius: 4px;
        transition: width .5s var(--ease);
    }

    .dist-cnt {
        font-family: var(--font-mono);
        font-size: .78rem;
        color: var(--text-muted);
        min-width: 24px;
        text-align: right;
    }

/* ── Error Pages ────────────────────────────────────────────────── */
    .error-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 6rem 1rem;
        gap: 1rem;
    }

    .error-code {
        font-family: var(--font-display);
        font-size: clamp(5rem, 15vw, 9rem);
        color: var(--border-light);
        line-height: 1;
    }

    .error-page h1 {
        color: var(--text-muted);
    }

    .error-page p {
        color: var(--text-dim);
        max-width: 380px;
    }


    .common-comparison {
        margin-top: 4rem;
        padding: 3rem 0 2rem;
        border-top: 1px solid var(--border);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
    }
    .common-comparison-item {
        display: inline-flex;
        align-items: center;
        flex-direction: column;
        gap: 16px;
        padding: 2rem 1rem;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 8px;
    }
    .common-comparison-link {
        padding: 0rem 1rem;
        min-width: 290px;
        width:100%;
        font-size: 1.3rem;
    }
    .common-tip{
        padding: 6px 10px;
    }
    a:hover .common-tip {
        text-decoration: none;
    }


/* ── Buttons ────────────────────────────────────────────────────── */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        padding: .65rem 1.4rem;
        border-radius: var(--radius);
        border: none;
        margin: 4px;
        font-weight: 700;
        font-size: .88rem;
        letter-spacing: .03em;
        transition: background .2s, transform .15s, box-shadow .2s;
        cursor: pointer;
    }

    .btn-primary {
        background: var(--accent);
        color: #0e0f11;
    }

    .btn-primary:hover {
        background: #689f29;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .table-wrap {
        overflow-x: auto;
        margin-top: 1.5rem;
        border: 1px solid var(--border);
    }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 1.5rem;
    font-size: .78rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* ── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .site-header {
        padding: .9rem 1rem;
    }

    nav {
        gap: 1rem;
    }

    .page-wrap {
        padding: 1.5rem 1rem 3rem;
    }

    .kpi-strip {
        flex-direction: column;
    }

    .report-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .total-score-ring {
        /* align-self: flex-start; */
    }
    .common-comparison {
        grid-template-columns: 1fr;
    }
    .data-table th {
        padding: .7rem .35rem;
        font-size:0.6rem;
    }
        
    .data-table td {
        padding: .7rem .35rem;
        font-size:0.6rem;
    }
    .domain-link {
        font-size: 12px;
    }
}




/* ══════════════════════════════════════════════════════════════════
   COMPARISON VIEWS
   ══════════════════════════════════════════════════════════════════ */

/* ── Comparison accent colours ───────────────────────────────────── */
:root {
    --side-a: #60a5fa;
    /* blue  */
    --side-a-bg: rgba(96, 165, 250, .12);
    --side-b: #f472b6;
    /* pink  */
    --side-b-bg: rgba(244, 114, 182, .12);
}

/* ── Compare hero ────────────────────────────────────────────────── */
    .cmp-hero {
        padding: 3rem 0 2rem;
        border-bottom: 1px solid var(--border);
        margin-bottom: 2rem;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .cmp-hero h1 {
        margin-bottom: .75rem;
    }

    .cmp-hero .hero-sub {
        color: var(--text-muted);
        font-size: .95rem;
    }

/* ── Winner badge ────────────────────────────────────────────────── */
    .winner-badge {
        display: inline-block;
        padding: .3rem 1rem;
        border-radius: 20px;
        font-family: var(--font-mono);
        font-size: .78rem;
        font-weight: 500;
        letter-spacing: .06em;
        text-transform: uppercase;
        margin-top: .5rem;
    }

    .winner-badge.winner-a {
        background: var(--side-a-bg);
        color: var(--side-a);
        border: 1px solid var(--side-a);
    }

    .winner-badge.winner-b {
        background: var(--side-b-bg);
        color: var(--side-b);
        border: 1px solid var(--side-b);
    }

    .winner-badge.winner-tie {
        background: var(--bg-card2);
        color: var(--text-muted);
        border: 1px solid var(--border-light);
    }

/* ── Compare form ────────────────────────────────────────────────── */
    .cmp-form-wrap {
        margin: 3rem auto;
    }

    .cmp-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .cmp-inputs {
        display: flex;
        align-items: flex-end;
        gap: 1.5rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .cmp-input-group {
        flex: 1;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        gap: .4rem;
    }

    .cmp-input-group label {
        font-size: .75rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--text-muted);
        font-weight: 600;
    }

    .cmp-input-group input,
    .cmp-input-group select {
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: var(--radius);
        padding: .75rem 1rem;
        color: var(--text);
        font-family: var(--font-mono);
        font-size: .95rem;
        outline: none;
        transition: border-color .2s, box-shadow .2s;
        width: 100%;
    }

    .cmp-input-group input:focus,
    .cmp-input-group select:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-glow);
    }

    .cmp-input-group select option {
        background: var(--bg-card);
    }

    .cmp-vs {
        font-family: var(--font-display);
        font-size: 1.4rem;
        color: var(--accent);
        flex-shrink: 0;
        padding-top: 1.4rem;
    }
    .cmp-h-vs {
        color:#878787;
        font-style: italic;
        font-size:0.6em;
    }

/* ── Three-column layout (A | label | B) ────────────────────────── */
    .cmp-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-bottom: 0;
        border: 1px solid var(--border);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        overflow: hidden;
    }

    .cmp-site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1rem;
        gap: .5rem;
        text-align: center;
    }

    .cmp-site-header.side-a {
        border-right: 1px solid var(--border);
    }

    .cmp-site-header.side-b {
        border-left: 1px solid var(--border);
    }

    .cmp-site-name {
        font-family: var(--font-display);
        font-size: 1.3rem;
        color: var(--text);
        word-break: break-all;
    }

    .cmp-site-name.prom {
        text-align: center;
        font-size: 1.6rem;
        margin-bottom:10px;
    }

    .cmp-site-header.side-a .cmp-site-name {
        color: var(--side-a);
    }

    .cmp-site-header.side-b .cmp-site-name {
        color: var(--side-b);
    }

    .cmp-site-meta {
        display: flex;
        flex-wrap: wrap;
        gap: .35rem;
        justify-content: center;
    }

    .cmp-site-meta_head {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap:4px;
    }

    .cmp-centre-header {
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

    .cmp-centre-label {
        font-size: .7rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--text-dim);
    }

/* ── Score table ─────────────────────────────────────────────────── */
    .cmp-score-table {
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .cmp-score-row {
        display: grid;
        grid-template-columns: 1fr 160px 1fr;
        border-bottom: 1px solid var(--border);
    }

    .cmp-score-row:last-child {
        border-bottom: none;
    }

    .cmp-score-row:hover .cmp-score-side {
        background: rgba(255, 255, 255, .02);
    }

    .cmp-score-side {
        display: flex;
        align-items: center;
        padding: .9rem 1rem;
        gap: .75rem;
        transition: background .15s;
    }

    .cmp-score-side.side-a {
        flex-direction: row-reverse;
    }

    .cmp-score-side.side-b {
        flex-direction: row-reverse;
    }



    .cmp-score-val {
        font-family: var(--font-mono);
        font-size: .95rem;
        font-weight: 500;
        min-width: 36px;
        flex-shrink: 0;
        text-align: center;
        padding: 2px 6px;
        border-radius: 8px;
    }

    .cmp-bar-track {
        flex: 1;
        height: 2px;
        background: var(--bg-card2);
        border-radius: 99px;
        overflow: hidden;
    }

    .cmp-bar-track.rtl {
        direction: rtl;
    }

    .cmp-bar-fill-a,
    .cmp-bar-fill-b {
        height: 2px;
        border-radius: 99px;
        transition: width .5s var(--ease);
    }

    .cmp-bar-fill-a {
        background: var(--side-a);
    }

    .cmp-bar-fill-b {
        background: var(--side-b);
    }


/* Override colour classes on compare bars so they use side colours */
    .cmp-bar-fill-a.score-high{
        background: linear-gradient(90deg, #22c55e, var(--accent));
    }
    .cmp-bar-fill-a.score-mid{
        background: linear-gradient(90deg, #d97706, var(--amber));
    }
    .cmp-bar-fill-a.score-low {
        background: linear-gradient(90deg, #dc2626, var(--red));
    }

    .cmp-bar-fill-b.score-high{
        background: linear-gradient(270deg, #22c55e, var(--accent));
    }
    .cmp-bar-fill-b.score-mid{
        background: linear-gradient(270deg, #d97706, var(--amber));
    }
    .cmp-bar-fill-b.score-low {
        background: linear-gradient(270deg, #dc2626, var(--red));
    }

    .cmp-score-mid {
        display: flex;
        align-items: center;
        justify-content: center;
        /* background: var(--bg-card2); */
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
        padding: .5rem .4rem;
    }

    .cmp-dim-label {
        font-size: .72rem;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--text-muted);
        text-align: center;
        font-weight: 600;
    }

/* ── Meta/summary grid ───────────────────────────────────────────── */
.cmp-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

@media (max-width: 860px) {
    .cmp-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Field label column in detail table ──────────────────────────── */
    .cmp-field-label {
        text-align: center;
        font-size: .72rem;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--text-dim);
        font-weight: 600;
    }

    .cmp-diff td:first-child {
        color: var(--side-a);
    }

    .cmp-diff td:last-child {
        color: var(--side-b);
    }

/* ── Dual summary bars ───────────────────────────────────────────── */
    .cmp-summary-bars {
        display: flex;
        flex-direction: column;
        gap: .9rem;
    }

    .dual-bar-row {
        display: grid;
        grid-template-columns: 110px 1fr 50px;
        align-items: center;
        gap: .75rem;
    }

    .dual-bar-label {
        font-size: .78rem;
        color: var(--text-muted);
        text-align: right;
        font-weight: 600;
        letter-spacing: .04em;
    }

    .dual-bar-tracks {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dual-track {
        height: 10px;
        background: var(--bg-card2);
        border-radius: 99px;
        overflow: hidden;
    }

    .dual-fill {
        height: 100%;
        border-radius: 99px;
        transition: width .5s var(--ease);
        position: relative;
    }
    .dual-fill.side-b-fill.score-mid,
    .dual-fill.side-a-fill.score-mid {
        background: linear-gradient(90deg, #d9770612, #fbbf2455);
    }
    .dual-fill.side-b-fill.score-low,
    .dual-fill.side-a-fill.score-low {
        background: linear-gradient(90deg, #f8717112, #f8717155);
    }
    .dual-fill.side-b-fill.score-high,
    .dual-fill.side-a-fill.score-high {
        background: linear-gradient(90deg, #4ade8012, #4ade8055);
    }
    .dual-fill.side-b-fill::before,
    .dual-fill.side-a-fill::before {
        content: '';
        width: 18px;
        height: 18px;
        position: absolute;
        left: -4px;
        top: -4px;
        border-radius: 20px;
        background: var(--side-a);
        border: 4px solid #121212;
    }
    .dual-fill.side-b-fill::before {
        background: var(--side-b);
    }
    .dual-fill.side-b-fill::after,
    .dual-fill.side-a-fill::after {
        content: '';
        width: 10px;
        height: 10px;
        position: absolute;
        right: 0px;
        border-radius: 9px;
        background: inherit;
    }
    .dual-fill.side-b-fill.score-high::after,
    .dual-fill.side-a-fill.score-high::after {
        background:var(--accent);
    }
    .dual-fill.side-b-fill.score-mid::after,
    .dual-fill.side-a-fill.score-mid::after {
        background: var(--amber);
    }
    .dual-fill.side-b-fill.score-low::after,
    .dual-fill.side-a-fill.score-low::after {
        background: var(--danger);
    }


    .dual-bar-vals {
        display: flex;
        flex-direction: column;
        gap: 2px;
        font-family: var(--font-mono);
        font-size: .75rem;
        text-align: center;
        border-radius: 6px;
        overflow: hidden;
    }

    .dual-bar-vals .score-high {
        color: var(--green);
    }

    .dual-bar-vals .score-mid {
        color: var(--amber);
    }

    .dual-bar-vals .score-low {
        color: var(--red);
    }

    .dual-bar-legend {
        display: flex;
        gap: 1.5rem;
        font-size: .8rem;
        color: var(--text-muted);
        margin-top: 1rem;
    }

    .side-a-swatch {
        background: var(--side-a);
    }

    .side-b-swatch {
        background: var(--side-b);
    }

/* ── Industry overlap table extras ──────────────────────────────── */
    .cnt-badge {
        font-family: var(--font-mono);
        font-size: .68rem;
        color: var(--text-dim);
        margin-left: .3rem;
    }

    .winner-cell {
        font-weight: 700;
        font-size: .85rem;
    }

    .winner-cell.text-a {
        color: var(--side-a);
    }

    .winner-cell.text-b {
        color: var(--side-b);
    }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 640px) {

    .cmp-columns,
    .cmp-score-row {
        grid-template-columns: 1fr;
    }

    .cmp-centre-header,
    .cmp-score-mid {
        display: none;
    }

    .cmp-site-header.side-b {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .cmp-score-side.side-b {
        flex-direction: row;
        border-top: 1px solid var(--border);
    }

    .dual-bar-row {
        grid-template-columns: 90px 1fr 50px;
    }
}

/* Compare nav accent */
.nav-link-compare {
    color: var(--side-a);
    opacity: .85;
}

.nav-link-compare:hover {
    color: var(--side-a);
    opacity: 1;
}


/* Container for the gauge */
.lighthouse-gauge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    line-height: 1;
    position: relative;
    border: 2px solid white;
    border-radius: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size:12px;
}

/* Color Rules Based on Score Ranges */
.score-na {
    border-color: #777777; 
    color: #777777;
}
.score-high { 
    border-color: #0c9d58; 
    color: #0c9d58;
    background: var(--green-bg);
        color: var(--green);
}
/* 90-100 */
.score-mid,
.score-average { 
    border-color: #ffb400; 
    color: #ffb400;
    background: var(--amber-bg);
        color: var(--amber);
}
/* 50-89 */
.score-low { 
    border-color: #d93025; 
    color: #d93025;
    background: var(--red-bg);
        color: var(--red);
}
/* 0-49 */
.metrics-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #2e2e2e;
    border: 1px solid #2e2e2e;
    margin-bottom: 1.2rem;
    width: 100%;
    border-radius: 3px;
}
.metrics-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #2e2e2e;
    border: 1px solid #2e2e2e;
    margin-bottom: 1.2rem;
    width: 100%;
    border-radius: 3px;
}
.metrics-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #2e2e2e;
    border: 1px solid #2e2e2e;
    margin-bottom: 1.2rem;
    width: 100%;
    border-radius: 3px;
}
.metrics-unbordered {
    border: none;
    background: none;
}
.metric-box {
    background: #171717;
    padding: 0.9rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.metrics-unbordered .metric-box {
    border: none;
        background: none;
}
.metric-val {
    font-family: 'Space Mono', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #868686;
    display: block;
    line-height: 1;
}
.metric-lbl {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
    margin-top: 0.35rem;
    display: block;
}

.accentTxt,
.metric-val.accent {
    color: #74b42c;
}

.warnTxt,
.metric-val.warn {
    color: #d7a717;
}

.dangerTxt,
.metric-val.danger {
    color: #d74747;
}




/* =========================
   WEBSITE Report
========================= */

.website-general-report {}

/* subtle top accent line */
.website-general-report::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(116, 180, 44, 0.7),
            transparent);
}

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

.website-general-report-header {
    margin-bottom: 34px;
}

.website-general-score {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 0.9rem;
}

.website-general-score-value {
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    color: #74b42c;
    letter-spacing: -2px;
}

.website-general-score-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
}

.website-general-score-description {
    margin: 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 1.7;
}

/* =========================
   Grid
========================= */

.website-general-dimensions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 18px;
    margin-top:20px;
}

/* =========================
   Card
========================= */

.website-general-dimension {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 22px;
    position: relative;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.website-general-dimension:hover {
    border-color:rgba(116, 180, 44, 0.22);
    transform:  translateY(-1px);
}

/* =========================
   Card Top
========================= */

.website-general-dimension-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.website-general-dimension-top h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 650;
    /* color: #ffffff; */
    color: #cdcdcd;
}

/* =========================
   Score Badge
========================= */

.website-general-dimension-score {
    flex-shrink: 0;
    min-width: 64px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background:  rgba(116, 180, 44, 0.12);
    border: 1px solid rgba(116, 180, 44, 0.18);
    color: #9ad85c;
    font-size: 0.9rem;
    font-weight: 700;
}

/* =========================
   Description
========================= */

.website-general-dimension-description {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =========================
   Opportunities
========================= */

.website-general-opportunities {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.website-general-opportunities-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    /* color: #74b42c; */
    color:#757f6a;
    margin-bottom: 12px;
}

.website-general-opportunities ul {
    margin: 0;
    padding-left: 18px;
}

.website-general-opportunities li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    line-height: 1.6;
    font-family: var(--font-mono);
}

.website-general-opportunities li:last-child {
    margin-bottom: 0;
}

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

@media (max-width: 768px) {

    .website-general-report {
        padding: 22px;
    }

    .website-general-score {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .swebsite-general-score-value {
        font-size: 48px;
    }

    .website-general-dimensions {
        grid-template-columns: 1fr;
    }
}





/* ══════════════════════════════════════════════════════════════════
   LIST VIEW
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero ────────────────────────────────────────────────────────── */
.list-hero {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.list-hero h1 {
    margin-bottom: .5rem;
}

.list-type-badge {
    font-family: var(--font-mono);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    border: 1px solid var(--gold-glow);
    background: var(--gold-pale);
    padding: 6px 10px 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
    position: relative;
    top: -3px;
}
h1 .list-type-badge {
    top: -10px;
}
h3 .list-type-badge {
    font-size: .5rem;
    top: -10px;
    left: 5px;
}

.badge-platform {
    border: 1px solid var(--platform-border);
    background: var(--platform-bg);
    color: var(--platform-text);
}
.badge-vertical {
    border: 1px solid var(--vertical-border);
    background: var(--vertical-bg);
    color: var(--vertical-text);
}
.badge-site {
    border: 1px solid var(--site-border);
    background: var(--site-bg);
    color: var(--site-text);
}

.list-total {
    color: var(--text-muted);
    font-size: .9rem;
    margin-top: .35rem;
    font-family: var(--font-mono);
}

/* ── Controls bar ────────────────────────────────────────────────── */
.list-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: .75rem;
}

.list-range {
    font-size: .82rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.list-controls-right {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.per-page-label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-right: .25rem;
}

.pp-btn {
    font-family: var(--font-mono);
    font-size: .8rem;
    padding: .3rem .65rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-muted);
    transition: border-color .15s, color .15s, background .15s;
}

.pp-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    text-decoration: none;
}

.pp-btn.pp-active {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--gold);
}

/* ── Table wrapper (horizontal scroll on small screens) ──────────── */
.list-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

/* ── List table overrides ────────────────────────────────────────── */
.list-table {
    min-width: 780px;
}

.list-table th a {
    color: var(--text-dim);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 600;
    white-space: nowrap;
}

.list-table th a:hover {
    color: var(--gold);
    text-decoration: none;
}

.list-table th.sort-active a {
    color: var(--gold);
}

.col-rank {
    width: 46px;
}

.col-domain {
    min-width: 180px;
}

.col-total_score,
.col-structure_score,
.col-load_complexity_score,
.col-security_score,
.col-ai_readability_score,
.col-lighthouse_score {
    width: 80px;
    text-align: center;
}

.list-table td.col-total_score,
.list-table td.col-structure_score,
.list-table td.col-load_complexity_score,
.list-table td.col-security_score,
.list-table td.col-ai_readability_score,
.list-table td.col-lighthouse_score {
    text-align: center;
}

.col-ctx {
    width: 100px;
}

.col-date {
    width: 100px;
}

.list-date {
    font-family: var(--font-mono);
    font-size: 0.7em;
    color: var(--text-dim);
}

.ctx-link {
    color: var(--text-muted);
    font-size: .82rem;
}

.ctx-link:hover {
    /* color: var(--gold); */
    color: var(--text-tinted);
    text-decoration: none;
}

/* ── Pagination ──────────────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
    padding: 1rem 0 2rem;
}

.page-btn {
    font-family: var(--font-mono);
    font-size: .82rem;
    padding: .4rem .75rem;
    border-radius: 7px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-muted);
    transition: border-color .15s, color .15s, background .15s;
    min-width: 36px;
    text-align: center;
}

.page-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    text-decoration: none;
}

.page-btn.page-active {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--gold);
    font-weight: 700;
}

.page-btn.page-disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

.page-ellipsis {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: .82rem;
    padding: 0 .25rem;
}
/* ── Platforms list extras ───────────────────────────────────────── */
.platforms-table {
    min-width: 900px;
}

.col-actions {
    white-space: nowrap;
}

.action-link {
    font-family: var(--font-mono);
    font-size: .73rem;
    padding: .2rem .55rem;
    border-radius: 5px;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    margin-right: .3rem;
    transition: border-color .15s, color .15s;
}

.action-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    text-decoration: none;
}





/* =========================
   AI Readability Report
========================= */

        .ai-report {
        }

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

        .ai-report-header {
            margin-bottom: 36px;
        }

        .ai-score {
            display: flex;
            align-items: baseline;
            gap: 14px;
            margin-bottom: 14px;
        }

        .ai-score-value {
            font-size: 62px;
            font-weight: 700;
            line-height: 1;
            color: #74b42c;
            letter-spacing: -2px;
        }

        .ai-score-label {
            font-size: 16px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.72);
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .ai-score-description {
            max-width: 700px;
            font-size: 16px;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.74);
            margin: 0;
        }

        /* =========================
        Dimensions Grid
        ========================= */

        .ai-dimensions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 22px;
        }

        /* =========================
        Dimension Card
        ========================= */

        .ai-dimension {

            background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015));
                border: 1px solid rgba(255, 255, 255, 0.06);
                border-radius: 12px;
                padding: 22px;
                position: relative;
                transition: border-color 0.2s ease, transform 0.2s ease;
        }

        .ai-dimension:hover {

                border-color:
                        rgba(116, 180, 44, 0.22);
                
                    transform:
                        translateY(-1px);
        }

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

        .ai-dimension-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
            margin-bottom: 18px;
        }

        .ai-dimension-top h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            line-height: 1.35;
            color: #ffffff;
        }

        .ai-dimension-score {
            flex-shrink: 0;

            min-width: 62px;
            height: 62px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 50%;

            background:
                linear-gradient(145deg,
                    rgba(116, 180, 44, 0.22),
                    rgba(116, 180, 44, 0.08));

            border: 1px solid rgba(116, 180, 44, 0.25);

            color: #74b42c;
            font-size: 18px;
            font-weight: 700;
        }

        /* =========================
        Description
        ========================= */

        .ai-dimension-description {
            margin: 0 0 22px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 15px;
            line-height: 1.7;
        }

        /* =========================
        Opportunities
        ========================= */

        .ai-opportunities {
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
        }

        .ai-opportunities-title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #74b42c;
            margin-bottom: 12px;
        }

        .ai-opportunities ul {
            margin: 0;
            padding-left: 18px;
        }

        .ai-opportunities li {
            margin-bottom: 10px;
            color: rgba(255, 255, 255, 0.52);
            line-height: 1.6;
            font-size: 14px;
            font-family: var(--font-mono);
        }

        .ai-opportunities li:last-child {
            margin-bottom: 0;
        }

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

        @media (max-width: 768px) {

            .ai-report {
                padding: 22px;
            }

            .ai-score {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            .ai-score-value {
                font-size: 52px;
            }

            .ai-dimensions {
                grid-template-columns: 1fr;
            }

            .ai-dimension-top {
                align-items: flex-start;
            }
}


















/* =========================
   Security Report
========================= */

        .security-report {
        }

        /* subtle top accent line */

        .security-report::before {
            content: "";

            position: absolute;

            top: 0;
            left: 0;
            right: 0;

            height: 2px;

            background:
                linear-gradient(90deg,
                    transparent,
                    rgba(116, 180, 44, 0.7),
                    transparent);
        }

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

        .security-report-header {
            margin-bottom: 34px;
        }

        .security-score {
            display: flex;
            align-items: center;
            gap: 18px;

            margin-bottom: 14px;
        }

        .security-score-value {
            font-size: 58px;
            font-weight: 800;
            line-height: 1;

            color: #74b42c;

            letter-spacing: -2px;
        }

        .security-score-label {
            font-size: 13px;
            font-weight: 700;

            text-transform: uppercase;

            letter-spacing: 0.14em;

            color: rgba(255, 255, 255, 0.55);
        }

        .security-score-description {
            margin: 0;

            max-width: 720px;

            color: rgba(255, 255, 255, 0.72);

            font-size: 15px;

            line-height: 1.7;
        }

        /* =========================
        Grid
        ========================= */

        .security-dimensions {
            display: grid;

            grid-template-columns:
                repeat(auto-fit, minmax(320px, 1fr));

            gap: 18px;
        }

        /* =========================
        Card
        ========================= */

        .security-dimension {
            background:
                linear-gradient(180deg,
                    rgba(255, 255, 255, 0.025),
                    rgba(255, 255, 255, 0.015));

            border:
                1px solid rgba(255, 255, 255, 0.06);

            border-radius: 12px;

            padding: 22px;

            position: relative;

            transition:
                border-color 0.2s ease,
                transform 0.2s ease;
        }

        .security-dimension:hover {
            border-color:
                rgba(116, 180, 44, 0.22);

            transform:
                translateY(-1px);
        }

        /* =========================
        Card Top
        ========================= */

        .security-dimension-top {
            display: flex;

            justify-content: space-between;

            align-items: flex-start;

            gap: 16px;

            margin-bottom: 18px;
        }

        .security-dimension-top h3 {
            margin: 0;

            font-size: 17px;

            line-height: 1.4;

            font-weight: 650;

            color: #ffffff;
        }

        /* =========================
        Score Badge
        ========================= */

        .security-dimension-score {
            flex-shrink: 0;

            min-width: 64px;
            height: 34px;

            display: flex;

            align-items: center;
            justify-content: center;

            border-radius: 999px;

            background:
                rgba(116, 180, 44, 0.12);

            border:
                1px solid rgba(116, 180, 44, 0.18);

            color: #9ad85c;

            font-size: 14px;

            font-weight: 700;
        }

        /* =========================
        Description
        ========================= */

        .security-dimension-description {
            margin: 0 0 20px;

            color: rgba(255, 255, 255, 0.74);

            font-size: 14px;

            line-height: 1.7;
        }

        /* =========================
        Opportunities
        ========================= */

        .security-opportunities {
            margin-top: auto;

            padding-top: 16px;

            border-top:
                1px dashed rgba(255, 255, 255, 0.08);
        }

        .security-opportunities-title {
            font-size: 12px;

            font-weight: 700;

            letter-spacing: 0.08em;

            text-transform: uppercase;

            color: #74b42c;

            margin-bottom: 12px;
        }

        .security-opportunities ul {
            margin: 0;
            padding-left: 18px;
        }

        .security-opportunities li {
            margin-bottom: 10px;

            color: rgba(255, 255, 255, 0.68);

            font-size: 13px;

            line-height: 1.6;
        }

        .security-opportunities li:last-child {
            margin-bottom: 0;
        }

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

        @media (max-width: 768px) {

            .security-report {
                padding: 22px;
            }

            .security-score {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .security-score-value {
                font-size: 48px;
            }

            .security-dimensions {
                grid-template-columns: 1fr;
            }
            .hero-stats {
                gap: 20px;
            }
            .hero .hero-sub .badge {
                line-height: 30px;
            }
            
        }


/* Mobile nav - - - - - - - - - - - - - - - - - - */
    #menu_toggle {
        /* display: inline-block; */
        float: right;
        padding: 13px 20px;
    }

    #mobile_nav {
        position: absolute;
        top: 0;
        left: -1px;
        text-align: center;
    }

    #m_menu {
        padding-top: 120px;
        text-align: center;
    }

    .mobile_menu_item {
        color: #5a5959;
        margin-top: 36px;
        font-size: 14px;
        font-weight: 300;
        cursor: pointer;
    }

    .navigation__toggle {
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        width: 40px;
        height: 40px;
        z-index: 8001;
        border-radius: 2px;
        cursor: pointer;
        padding: 0px;
    }

    .burger {
        position: absolute;
        top: 0px;
        width: 20px;
        height: 20px;
        display: block;
        margin: 8px;
    }

    .hamburger-icon {
        position: absolute;
        left: 0px;
        display: block;
        width: 100%;
        background-color: #b6b6b6;
        height: 2px;
    }

    .top {
        top: 0px;
        transform: matrix(1, 0, 0, 1, 0, 0);
        transition: 300ms;
    }

    .middle {
        top: 7px;
        transform: matrix(1, 0, 0, 1, 0, 0);
        transition: 300ms;
    }

    .bottom {
        top: 14px;
        transform: matrix(1, 0, 0, 1, 0, 0);
        transition: 300ms;
    }

    .top-open {
        top: 7px;
        transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, 0, 0);
    }

    .middle-open {
        top: 7px;
        transform: matrix(0.7071, -0.7071, 0.7071, 0.7071, 0, 0);
    }

    .bottom-open {
        top: 7px;
        transform: matrix(0.7071, 0.7071, -0.7071, 0.7071, 0, 0);
    }

/* == */
/* Mobile Nav Background */
.swm_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, #000000 5%, #1f2021 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    /* z-index: 1000; */
}

.swm_bg.seeme {
    opacity: 1;
}

/* Burger Animation */
#burger {
    cursor: pointer;
}

#burger .burger_line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

#bt {
    top: 0;
}

#bm {
    top: 7px;
}

#bb {
    top: 14px;
}

/* Burger Open State */
#burger.open #bt {
    top: 7px;
    transform: rotate(45deg);
}

#burger.open #bm {
    top: 7px;
    transform: rotate(45deg);
    opacity: 0;
}

#burger.open #bb {
    top: 7px;
    transform: rotate(-45deg);
}

/* Nav Container */
.swm_nav_cont {
    margin-top: 80px;
    height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
}

.swm_nav_cont ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu Items */
.menu_item {
    margin: 0;
    padding: 0;
}

.swm_item {
    /* border-bottom: 1px solid #2a2a2a; */
}

/* Stagger Animation */
.swm_step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.swm_step.swm_step_01 {
    opacity: 1;
    transform: translateY(0);
}

/* Inliner */
.swm_inliner {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

/* Links */
.swm_inliner a {
    color: #74b42c;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    flex: 1;
    transition: color 0.2s ease;
}

.swm_inliner a:hover {
    color: #00a8ff;
}