﻿:root {
    --bg: #040a18;
    --ink: #eef3fc;
    --mut: #8fa2c2;
    --cy: #22d3f5;
    --vi: #8b5cf6;
    --am: #ffb224;
    --li: #c3ff47;
    --glass: rgba(8,18,40,.58);
    --ln: rgba(120,160,230,.2);
    color-scheme: dark;
    --d: 'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;
    --b: 'Figtree',ui-sans-serif,system-ui,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.6 var(--b);
    overflow-x: hidden;
    padding-top: env(safe-area-inset-top,0);
    padding-bottom: env(safe-area-inset-bottom,0);
}

#gl {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.vig {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%,transparent 40%,rgba(4,10,24,.85) 100%);
}

#glow {
    position: fixed;
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(34,211,245,.09),transparent 65%);
    z-index: 1;
    pointer-events: none;
    left: 50%;
    top: 50%;
}

#bar {
    position: fixed;
    top: env(safe-area-inset-top,0);
    left: 0;
    height: 2px;
    width: 0;
    z-index: 60;
    background: linear-gradient(90deg,var(--cy),var(--vi),var(--am));
}

nav {
    position: fixed;
    top: env(safe-area-inset-top,0);
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 4vw;
    background: linear-gradient(rgba(4,10,24,.92),rgba(4,10,24,0));
}

.logo {
    font: 800 20px var(--d);
    letter-spacing: -.5px;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .logo i {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        background: linear-gradient(135deg,var(--cy),var(--vi));
        display: block;
        box-shadow: 0 0 24px rgba(34,211,245,.5);
    }

#chap {
    flex: 1;
    text-align: center;
    color: var(--mut);
    font-size: 14px;
    transition: opacity .3s;
}

.nl {
    display: flex;
    gap: 22px;
    margin: 0 22px 0 auto;
}

    .nl a, footer a {
        color: var(--mut);
        text-decoration: none;
        font-size: 15px;
        transition: color .2s;
    }

        .nl a:hover, footer a:hover {
            color: var(--ink);
        }

.btn {
    font: 600 15px var(--b);
    color: #04101f;
    background: linear-gradient(100deg,var(--cy),#7fe9ff);
    border: 0;
    border-radius: 99px;
    padding: 14px 26px;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(34,211,245,.35);
    transition: transform .2s,box-shadow .2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.3;
}

    .btn:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 0 60px rgba(34,211,245,.6);
    }

    .btn.o {
        background: transparent;
        color: var(--ink);
        border: 1px solid var(--ln);
        box-shadow: none;
    }

:focus-visible {
    outline: 2px solid var(--cy);
    outline-offset: 3px;
}

main {
    position: relative;
    z-index: 2;
}

.ch {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 6vw;
}

    .ch.r {
        justify-content: flex-end;
    }

    .ch.c {
        justify-content: center;
        text-align: center;
    }

.box {
    max-width: min(1040px,100%);
}

.wide {
    max-width: 1240px;
    width: 100%;
}

h1, h2 {
    font-family: var(--d);
    margin: 0;
    letter-spacing: -.045em;
    line-height: .96;
    font-weight: 800;
    text-wrap: balance;
}

h1 {
    font-size: clamp(46px,8.8vw,136px);
}

h2 {
    font-size: clamp(40px,6.2vw,96px);
}

.ln {
    display: block;
    overflow: hidden;
    padding-bottom: .08em;
    white-space: nowrap;
}

    .ln > span {
        display: block;
        transform: translateY(110%);
        animation: up 1.1s cubic-bezier(.2,.8,.1,1) forwards;
    }

    .ln:nth-child(2) > span {
        animation-delay: .12s;
    }

    .ln:nth-child(3) > span {
        animation-delay: .24s;
    }

@keyframes up {
    to {
        transform: none;
    }
}

.g {
    background: linear-gradient(100deg,var(--cy),var(--vi) 60%,#d06bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

p.l {
    color: #c9d6ec;
    font-size: clamp(18px,1.9vw,27px);
    max-width: 900px;
    line-height: 1.5;
    margin: 26px 0 0;
}

.c p.l {
    margin-inline: auto;
    max-width: 980px;
}

.mut {
    color: var(--mut);
    font-size: 15px;
}

/* Content is visible by default so a missing stylesheet/script never hides the page. */
.rv {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Animate reveal only when the page JavaScript has loaded successfully. */
.js-available .rv {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 1s, transform 1s cubic-bezier(.2,.8,.1,1), filter 1s;
}

    .js-available .rv.in {
        opacity: 1;
        transform: none;
        filter: none;
    }

.acts {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 34px;
}

    .acts .btn {
        padding: 18px 34px;
        font-size: 17px;
    }

.c .acts {
    justify-content: center;
}

.cue {
    position: absolute;
    left: 50%;
    bottom: 30px;
    translate: -50% 0;
    color: var(--mut);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fl 2.4s ease-in-out infinite;
}

    .cue:after {
        content: "";
        width: 1px;
        height: 38px;
        background: linear-gradient(var(--cy),transparent);
    }

@keyframes fl {
    50% {
        transform: translateY(8px);
    }
}

.glass {
    background: var(--glass);
    border: 1px solid var(--ln);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 100px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06);
}

.tilt {
    transform-style: preserve-3d;
    transition: transform .15s ease-out;
    will-change: transform;
}

.serp {
    padding: 30px;
    margin-top: 34px;
    font-size: 18px;
}

.sbar {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px 22px;
    border-radius: 99px;
    border: 1px solid var(--ln);
    background: rgba(3,9,22,.7);
}

    .sbar b {
        font-weight: 500;
    }

.caret {
    width: 2px;
    height: 1.1em;
    background: var(--cy);
    animation: bl 1s steps(2) infinite;
}

@keyframes bl {
    50% {
        opacity: 0;
    }
}

.ad {
    margin-top: 16px;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid rgba(255,178,36,.4);
    background: rgba(255,178,36,.06);
    transform: translateZ(40px);
    opacity: 1;
    transition: opacity .8s 1.6s;
}

.js-available .ad {
    opacity: 0;
}

.js-available .in .ad {
    opacity: 1;
}

.ad small {
    color: var(--am);
    font-weight: 600;
    font-size: 14px;
}

.ad div {
    font-weight: 600;
    margin-top: 2px;
}

.ad.real {
    border-color: var(--ln);
    background: rgba(255,255,255,.03);
    transform: translateZ(10px);
    transition-delay: 2.2s;
}

.chain {
    margin-top: 34px;
    padding: 14px 36px;
}

.hop {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--ln);
    opacity: .25;
    transition: opacity .5s;
}

    .hop:last-child {
        border: 0;
    }

    .hop.on {
        opacity: 1;
    }

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cy);
    box-shadow: 0 0 0 0 rgba(34,211,245,.6);
}

.hop.on .dot {
    animation: pg 1.6s infinite;
}

.hop.w .dot {
    background: var(--am);
}

@keyframes pg {
    to {
        box-shadow: 0 0 0 14px transparent;
    }
}

.hop code {
    font: 500 17px ui-monospace,Menlo,monospace;
    color: #cfe0ff;
}

.hop em {
    margin-left: auto;
    font-style: normal;
    color: var(--mut);
    font-size: 15px;
}

.ent {
    padding: 44px;
    margin-top: 34px;
    text-align: left;
}

    .ent .nm {
        font: 800 clamp(34px,5vw,68px) var(--d);
        letter-spacing: -.03em;
        color: var(--li);
        text-shadow: 0 0 40px rgba(195,255,71,.35);
        min-height: 1.2em;
        font-variant-ligatures: none;
    }

.kv {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    gap: 18px;
    margin-top: 26px;
}

    .kv span {
        display: block;
        color: var(--mut);
        font-size: 14px;
    }

    .kv b {
        font-weight: 600;
        font-size: 19px;
    }

.tg {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(195,255,71,.1);
    color: var(--li);
    font-size: 15px;
    font-weight: 600;
}

.ev {
    margin-top: 34px;
    padding: 34px;
    text-align: left;
}

    .ev .kv {
        margin-top: 0;
    }

.warc {
    margin-top: 22px;
    height: 6px;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    overflow: hidden;
}

    .warc i {
        display: block;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg,var(--cy),var(--li));
        transition: width 2.4s cubic-bezier(.3,.7,.2,1);
    }

.in .warc i {
    width: 100%;
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 18px;
    margin-top: 54px;
    perspective: 1100px;
    text-align: left;
}

.card {
    padding: 26px;
}

    .card h3 {
        font: 600 22px var(--d);
        margin: 0 0 8px;
        letter-spacing: -.02em;
    }

    .card p {
        margin: 0;
        color: var(--mut);
        font-size: 15px;
    }

    .card .ic {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 26px;
        background: linear-gradient(135deg,var(--c,var(--cy)),transparent);
        border: 1px solid var(--ln);
        transform: translateZ(30px);
    }

.vs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
    text-align: left;
    overflow: hidden;
}

    .vs div {
        padding: 26px 30px;
    }

        .vs div + div {
            background: rgba(34,211,245,.06);
            border-left: 1px solid var(--ln);
        }

    .vs h4 {
        margin: 0 0 14px;
        font: 600 15px var(--b);
        color: var(--mut);
    }

    .vs div + div h4 {
        color: var(--cy);
    }

    .vs p {
        margin: 0;
        padding: 11px 0;
        border-top: 1px solid var(--ln);
        font-size: 15px;
    }

details {
    border-bottom: 1px solid var(--ln);
    text-align: left;
}

summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font: 600 19px var(--d);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

    summary::-webkit-details-marker {
        display: none;
    }

    summary:after {
        content: "+";
        color: var(--cy);
        font-size: 26px;
        line-height: 1;
        transition: transform .3s;
    }

details[open] summary:after {
    transform: rotate(45deg);
}

details p {
    margin: 0 0 22px;
    color: var(--mut);
    max-width: 680px;
    animation: fd .5s;
}

@keyframes fd {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

.faq {
    margin-top: 44px;
    max-width: 780px;
    margin-inline: auto;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 20px;
    text-align: left;
}

.xc {
    padding: 34px;
    text-decoration: none;
    color: var(--ink);
    transition: transform .25s,border-color .25s;
    display: block;
}

    .xc:hover {
        transform: translateY(-4px);
        border-color: var(--cy);
    }

    .xc small {
        color: var(--cy);
        font-weight: 600;
        letter-spacing: .14em;
        font-size: 12px;
    }

    .xc h3 {
        font: 800 clamp(24px,3vw,34px)/1.1 var(--d);
        letter-spacing: -.03em;
        margin: 12px 0 18px;
    }

    .xc span {
        color: var(--cy);
        font-weight: 600;
    }

.dash {
    margin-top: 44px;
    text-align: left;
    overflow: hidden;
}

.dh {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ln);
}

    .dh i {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }

        .dh i:nth-child(1) {
            background: #ff5f57;
        }

        .dh i:nth-child(2) {
            background: #febc2e;
        }

        .dh i:nth-child(3) {
            background: #28c840;
        }

    .dh span {
        margin-left: auto;
        font: 600 12px var(--b);
        letter-spacing: .12em;
        color: var(--li);
    }

.dg {
    display: grid;
    grid-template-columns: .8fr 2.2fr;
    gap: 22px;
    padding: 22px;
}

.sts {
    display: grid;
    gap: 16px;
    align-content: start;
}

.stc {
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--ln);
}

    .stc small {
        color: var(--li);
        font-weight: 600;
        letter-spacing: .1em;
        font-size: 12px;
    }

    .stc.lf small {
        color: var(--am);
    }

    .stc b {
        display: block;
        font: 800 34px/1.1 var(--d);
        margin-top: 8px;
        letter-spacing: -.03em;
        font-variant-numeric: tabular-nums;
    }

    .stc span {
        display: block;
        color: var(--mut);
        font-size: 13px;
        margin-bottom: 4px;
    }

.lgh {
    font: 600 12px var(--b);
    letter-spacing: .12em;
    color: var(--mut);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ln);
    margin-bottom: 16px;
}

.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

    .cols h4 {
        margin: 0 0 12px;
        font: 600 16px var(--d);
    }

.le {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--ln);
    background: rgba(3,9,22,.55);
    margin-bottom: 12px;
    font-size: 14px;
    animation: fd .6s both;
}

    .le small {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        color: var(--mut);
        font-size: 10.5px;
        letter-spacing: .06em;
        margin-bottom: 8px;
    }

    .le b {
        display: block;
        font-weight: 600;
    }

    .le span {
        color: #c3d1ea;
    }

#live {
    align-items: flex-start;
    padding-top: 92px;
}

    #live h2 {
        font-size: clamp(34px,4.8vw,66px);
    }

    #live .dash {
        margin-top: 34px;
    }

footer {
    position: relative;
    z-index: 2;
    padding: 40px 6vw 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--mut);
    font-size: 14px;
    border-top: 1px solid var(--ln);
    background: rgba(4,10,24,.8);
}

@media(max-width:860px) {
    .dg, .cols {
        grid-template-columns: 1fr;
    }
}

@media(max-width:760px) {
    #chap {
        display: none;
    }

    .ch {
        padding: 100px 22px;
    }

        .ch.r {
            justify-content: flex-start;
        }

    .vs {
        grid-template-columns: 1fr;
    }

        .vs div + div {
            border-left: 0;
            border-top: 1px solid var(--ln);
        }

    .hop em {
        display: none;
    }

    .ent {
        padding: 24px;
    }
}

@media(max-width:560px) {
    .nl {
        display: none;
    }

    nav .btn {
        padding: 10px 14px !important;
        font-size: 13px;
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .rv, .js-available .rv, .ln > span {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .ad, .js-available .ad {
        opacity: 1;
    }
}
/* TEMPORARY DIAGNOSTIC TEST */
.rv,
.rv.in,
.ad,
.ad.real,
.warc i {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

.ch,
.ch .box,
.ch .wide {
    visibility: visible !important;
}


/* Responsive navigation */
.site-nav {
    /*position: relative;*/
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .site-nav-links .nl {
        display: flex;
        align-items: center;
        gap: 28px;
    }

        .site-nav-links .nl a {
            text-decoration: none;
        }

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex-shrink: 0;
}

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 5px auto;
        border-radius: 2px;
        background: #ffffff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    /* Hamburger animation */
    .mobile-menu-toggle.active span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

/* Mobile layout */
@media (max-width: 767px) {
    .site-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

        .site-nav #chap {
            display: none;
        }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 22px;
        background: #07101f;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    }

        .site-nav-links.is-open {
            display: flex;
        }

        .site-nav-links .nl {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 0;
            width: 100%;
        }

            .site-nav-links .nl a {
                display: block;
                padding: 14px 0;
                color: #ffffff;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

                .site-nav-links .nl a:last-child {
                    border-bottom: none;
                }

        .site-nav-links .audit-btn {
            display: block;
            width: 100%;
            box-sizing: border-box;
            text-align: center;
            padding: 13px 16px !important;
        }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu-toggle span {
        transition: none;
    }
}
/* Fix Live Threat dashboard on mobile */
#live,
#live .wide,
#live .dash,
#live .dg,
#live .lg,
#live .cols,
#live .cols > div {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

    #live .dash {
        width: 100%;
        overflow: hidden;
    }

    #live .dg {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
        gap: 18px;
        padding: 20px;
    }

    #live .cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    #live .le {
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

        #live .le small {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 6px;
            min-width: 0;
        }

            #live .le small span,
            #live .le b,
            #live .le > span {
                min-width: 0;
                overflow-wrap: anywhere;
                word-break: break-word;
            }

    #live .mask-text,
    #live .trim-text-more {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

/* Tablet and mobile */
@media (max-width: 860px) {
    #live .dg {
        grid-template-columns: minmax(0, 1fr);
    }

    #live .cols {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Small mobile screens */
@media (max-width: 560px) {
    #live {
        padding: 90px 14px 50px;
    }

        #live .dash {
            border-radius: 14px;
            margin-top: 24px;
        }

        #live .dg {
            padding: 12px;
            gap: 18px;
        }

        #live .stc {
            padding: 16px;
        }

            #live .stc b {
                font-size: 30px;
            }

        #live .cols {
            gap: 12px;
        }

        #live .le {
            padding: 12px;
            font-size: 13px;
        }

            #live .le small {
                font-size: 10px;
            }

        #live .dh {
            padding: 12px;
            gap: 6px;
        }

            #live .dh span {
                font-size: 10px;
                letter-spacing: 0.05em;
            }

        #live h2 {
            font-size: clamp(32px, 8vw, 42px);
            line-height: 1.1;
        }
}
