/* ============================================================
   Vendor Trust Index - instrument-console treatment
   Builds on design-system.css tokens (Inter + JetBrains Mono,
   technical grid). All classes are vt- prefixed.
   ============================================================ */

.vt-shell {
    width: min(1440px, 100% - 3rem);
    margin-inline: auto;
}

/* Section rhythm is owned here, not by Tailwind utilities: the compiled
   app.css bundle only contains classes present at its last build, so
   layout-critical spacing must not depend on it. */
.vt-shell > * + * {
    margin-top: var(--vt-section-gap, 3rem);
}

.vt-shell--detail {
    --vt-section-gap: 1.5rem;
}

/* ---------- typography helpers ---------- */

.vt-mono {
    font-family: 'JetBrains Mono', monospace;
}

.vt-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-900);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.vt-eyebrow::before {
    content: "";
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: var(--blue-600);
}

.vt-title {
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--gray-900);
}

.vt-lede {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 56ch;
}

.vt-section-h {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.vt-section-h::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gray-300), transparent);
}

.vt-section-h .vt-count {
    color: var(--blue-600);
}

/* ---------- hero ---------- */

.vt-hero {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .vt-hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 3.5rem;
    }

    /* Center the wall against the title block so the column's empty
       space distributes above and below instead of pooling underneath. */
    .vt-hero > aside {
        align-self: center;
    }
}

.vt-signal-strip {
    display: grid;
    gap: 1.25rem;
    margin-top: 2.75rem;
}

@media (min-width: 640px) {
    .vt-signal-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
}

.vt-signal {
    padding: 0.35rem 1.2rem 0.5rem;
    border-left: 2px solid var(--gray-200);
    transition: border-color 0.25s ease;
}

.vt-signal:hover {
    border-left-color: var(--blue-500);
}

.vt-signal-idx {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue-600);
    letter-spacing: 0.15em;
}

.vt-signal-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gray-900);
    margin: 0.2rem 0 0.25rem;
}

.vt-signal-desc {
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--gray-500);
}

/* neutrality wall panel */

.vt-wall {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1.6rem 1.7rem 1.5rem;
    box-shadow: 0 10px 30px -18px rgba(37, 99, 235, 0.35);
    overflow: hidden;
}

.vt-wall::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
}

.vt-wall-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.vt-wall-tag::after {
    content: "LOCKED";
    margin-left: auto;
    font-size: 0.62rem;
    color: var(--green-600);
    border: 1px solid currentColor;
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    letter-spacing: 0.12em;
}

.vt-wall p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--gray-700);
}

.vt-wall strong {
    color: var(--gray-900);
}

/* ---------- stat strip ---------- */

.vt-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .vt-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vt-stat {
    padding: 1.5rem 1.7rem;
    border-top: 1px solid var(--gray-100);
}

.vt-stat:nth-child(-n+2) {
    border-top: 0;
}

@media (min-width: 768px) {
    .vt-stat {
        border-top: 0;
        border-left: 1px solid var(--gray-100);
    }

    .vt-stat:first-child {
        border-left: 0;
    }
}

.vt-stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.1;
}

.vt-stat-num .vt-dim {
    color: var(--gray-400);
}

.vt-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-top: 0.35rem;
}

/* ---------- private lookup console ---------- */

.vt-console {
    position: relative;
    background:
        radial-gradient(120% 140% at 85% 0%, rgba(59, 130, 246, 0.18), transparent 55%),
        linear-gradient(180deg, #0f172a 0%, #111827 100%);
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 2.3rem 2.4rem 2.1rem;
    color: var(--gray-200);
    overflow: hidden;
}

.vt-console::after {
    content: "a3f9 c0de 77b1 4e02 9d4c e51a 0b8f 23aa 6f1d b94e 88c2 1a7f 4dd0 91be 3c55 e8a9 72f4 0d36 cb18 5e9c a3f9 c0de 77b1 4e02 9d4c e51a 0b8f 23aa 6f1d b94e";
    position: absolute;
    inset: auto -2rem -1.4rem -2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.35em;
    color: rgba(148, 163, 184, 0.12);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.vt-console-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.vt-console-tag .vt-cursor {
    width: 7px;
    height: 14px;
    background: #60a5fa;
    animation: vt-blink 1.1s steps(1) infinite;
}

@keyframes vt-blink {
    50% { opacity: 0; }
}

.vt-console h2 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 0.45rem;
}

.vt-console-sub {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray-400);
    max-width: 62ch;
    margin-bottom: 1.3rem;
}

.vt-console-sub strong {
    color: var(--gray-200);
}

.vt-console-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .vt-console-form {
        flex-direction: row;
    }
}

.vt-console select,
.vt-console input[type="text"] {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    background: rgba(2, 6, 23, 0.65);
    border: 1px solid #334155;
    border-radius: 9px;
    color: var(--gray-100);
    padding: 0.72rem 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vt-console select:focus,
.vt-console input[type="text"]:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.vt-console input[type="text"]::placeholder {
    color: var(--gray-500);
}

.vt-console select {
    flex: 0 0 auto;
}

.vt-console input[type="text"] {
    flex: 1;
}

.vt-console-btn {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    background: var(--blue-600);
    color: var(--white);
    border: 0;
    border-radius: 9px;
    padding: 0.72rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.vt-console-btn:hover {
    background: var(--blue-500);
    transform: translateY(-1px);
}

.vt-console-result {
    margin-top: 1.1rem;
    position: relative;
    z-index: 1;
}

.vt-console-result .vt-result-box {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.88rem;
    line-height: 1.6;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    border: 1px solid #334155;
    background: rgba(2, 6, 23, 0.55);
    color: var(--gray-300);
}

.vt-result-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--gray-300);
}

/* status badge: reads like an instrument readout */
.vt-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.vt-result-badge svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

/* ---- MISS: no match, red status ---- */
.vt-console-result .vt-result-box.vt-result--miss {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(160deg, rgba(239, 68, 68, 0.07), rgba(2, 6, 23, 0.55));
}

.vt-result-badge--miss {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.45);
}

.vt-result-box.vt-result--miss .vt-result-text {
    color: #fecaca;
}

/* ---- HIT: match found, festive green ---- */
.vt-console-result .vt-result-box.vt-result--hit {
    border-color: rgba(34, 197, 94, 0.5);
    background: linear-gradient(160deg, rgba(34, 197, 94, 0.1), rgba(2, 6, 23, 0.55));
    animation:
        vt-result-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both,
        vt-hit-glow 1.6s ease-out 0.1s 2 alternate;
}

.vt-result-badge--hit {
    color: #86efac;
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 14px -4px rgba(34, 197, 94, 0.7);
}

.vt-result-box.vt-result--hit .vt-result-text {
    color: #d1fae5;
}

.vt-result-box.vt-result--hit a {
    color: #6ee7b7;
}

/* animated checkmark stroke for the festive hit badge */
.vt-check-draw path {
    stroke-dasharray: 22;
    stroke-dashoffset: 22;
    animation: vt-check-draw 0.45s ease 0.18s forwards;
}

/* ---- SCAN: hashing/matching in flight ---- */
.vt-result-badge--scan {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.45);
    animation: vt-badge-pulse 1.2s ease-in-out infinite;
}

.vt-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(147, 197, 253, 0.3);
    border-top-color: #93c5fd;
    border-radius: 50%;
    animation: vt-spin 0.7s linear infinite;
}

@keyframes vt-result-pop {
    0% { opacity: 0; transform: scale(0.96) translateY(6px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes vt-hit-glow {
    0% { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.18), 0 0 42px -6px rgba(34, 197, 94, 0.75); }
    100% { box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12), 0 8px 28px -14px rgba(34, 197, 94, 0.4); }
}

@keyframes vt-check-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes vt-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.45); }
    50% { box-shadow: 0 0 0 4px rgba(59, 130, 246, 0); }
}

@keyframes vt-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .vt-console-result .vt-result-box.vt-result--hit,
    .vt-result-badge--scan,
    .vt-spinner { animation: none; }
    .vt-check-draw path { stroke-dashoffset: 0; animation: none; }
}

.vt-console-result a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vt-console-privacy {
    margin-top: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: var(--gray-500);
}

/* ---------- vendor cards ---------- */

.vt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.15rem;
}

.vt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1.4rem 1.5rem 1.3rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: vt-rise 0.5s ease both;
}

.vt-card:nth-child(2) { animation-delay: 0.04s; }
.vt-card:nth-child(3) { animation-delay: 0.08s; }
.vt-card:nth-child(4) { animation-delay: 0.12s; }
.vt-card:nth-child(5) { animation-delay: 0.16s; }
.vt-card:nth-child(6) { animation-delay: 0.2s; }
.vt-card:nth-child(n+7) { animation-delay: 0.24s; }

@keyframes vt-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vt-card,
    .vt-console-tag .vt-cursor,
    .vt-led::after {
        animation: none !important;
    }
}

.vt-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 14px 30px -16px rgba(15, 23, 42, 0.25);
}

.vt-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.vt-card-name {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gray-900);
    line-height: 1.3;
}

/* Vendor origin flag (storefront country). Nudged up a hair so the emoji
   sits on the text baseline rather than dropping below it. */
.vt-flag {
    font-size: 1.05em;
    line-height: 1;
    vertical-align: -0.05em;
}

.vt-card-score {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin: 0.8rem 0 0.55rem;
    font-family: 'JetBrains Mono', monospace;
}

.vt-card-score .vt-num {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.vt-card-score .vt-num.vt-unrated {
    color: var(--gray-300);
}

.vt-card-score .vt-denom {
    font-size: 0.78rem;
    color: var(--gray-400);
}

.vt-card-score .vt-n {
    margin-left: auto;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.vt-card-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--gray-500);
    flex: 1;
}

.vt-card-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.95rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--gray-200);
    flex-wrap: wrap;
}

/* ---------- status LED + chips ---------- */

.vt-led {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vt-led::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.vt-led--active {
    color: var(--green-600);
}

.vt-led--active::before {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: vt-pulse 2.4s ease-out infinite;
}

@keyframes vt-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.vt-led--silent {
    color: var(--amber-500);
}

.vt-led--vanished,
.vt-led--exit-scam {
    color: var(--red-500);
}

.vt-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 0.22rem 0.5rem;
}

.vt-chip--flag {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.vt-chip--ghost {
    color: var(--gray-500);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.vt-chip--disclosure {
    color: var(--blue-600);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
}

/* ---------- acquisition-channel badge (§0.5) ----------
   A factual "how you acquire it" label. The calm legitimacy gradient is
   carried by the tone modifier (licensed = affirmative green, regulated =
   steady blue, gray = muted neutral) — deliberately NOT a red/amber risk
   scale: per-vendor risk is the Trust score's job, and a red stamp on a
   named business would widen the defamation surface. */
.vt-channel {
    display: inline-flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 0.22rem 0.5rem;
    white-space: nowrap;
    text-decoration: none;
}

a.vt-channel:hover {
    text-decoration: underline;
}

.vt-channel--licensed {
    color: var(--green-600, #16a34a);
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.vt-channel--regulated {
    color: var(--blue-600, #2563eb);
    background: var(--blue-50, #eff6ff);
    border: 1px solid var(--blue-100, #dbeafe);
}

.vt-channel--gray {
    color: var(--gray-600, #475569);
    background: var(--gray-100, #f1f5f9);
    border: 1px solid var(--gray-200, #e2e8f0);
}

/* Non-linked vendor domain on gray-market (editorial-only) pages: it names
   the review's subject + lets a reader spot a typosquat, but is never an
   outbound link. Make the non-interactivity legible. */
.vt-domain {
    cursor: default;
    -webkit-user-select: all;
    user-select: all;
}

/* Channel guide on the methodology page: label ⟶ plain-language meaning. */
.vt-channel-guide {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.vt-channel-row {
    display: grid;
    grid-template-columns: 12.5rem 1fr;
    gap: 0.5rem 1.1rem;
    align-items: start;
}

.vt-channel-row dt {
    margin: 0;
}

.vt-channel-row dd {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--gray-600, #475569);
}

@media (max-width: 560px) {
    .vt-channel-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

/* ---------- cluster page ---------- */

.vt-cluster-head {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2.3rem 2.4rem;
    display: grid;
    gap: 1.8rem;
}

@media (min-width: 900px) {
    .vt-cluster-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

/* Width wrapper so the shared ds-breadcrumbs partial aligns with the
   vt-shell content column when rendered above the page header band. */
.vt-breadcrumbs-bar {
    width: min(1440px, 100% - 3rem);
    margin-inline: auto;
}

.vt-cluster-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.vt-cluster-meta a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* score module */

.vt-scorebox {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.vt-ring {
    position: relative;
    width: 118px;
    height: 118px;
    flex: 0 0 auto;
}

.vt-ring svg {
    transform: rotate(-90deg);
}

.vt-ring-track {
    fill: none;
    stroke: var(--gray-100);
    stroke-width: 9;
}

.vt-ring-value {
    fill: none;
    stroke: var(--blue-600);
    stroke-width: 9;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease;
}

.vt-ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
}

.vt-ring-label .vt-num {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1;
}

.vt-ring-label .vt-denom {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: var(--gray-400);
    margin-top: 0.25rem;
}

.vt-stamp {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400);
    border: 2px dashed var(--gray-300);
    border-radius: 10px;
    padding: 0.9rem 1.3rem;
    transform: rotate(-2deg);
    text-align: center;
    line-height: 1.5;
}

.vt-scorebox-detail {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    display: grid;
    gap: 0.35rem;
}

.vt-scorebox-detail .vt-k {
    color: var(--gray-400);
}

/* cluster body grid */

.vt-cluster-grid {
    display: grid;
    gap: 1.4rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .vt-cluster-grid {
        grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    }
}

.vt-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 1.7rem 1.8rem;
}

.vt-panel + .vt-panel {
    margin-top: 1.4rem;
}

.vt-empty {
    border: 1.5px dashed var(--gray-300);
    border-radius: 10px;
    padding: 1.3rem 1.4rem;
    margin-top: 1rem;
}

.vt-empty .vt-empty-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-400);
    display: block;
    margin-bottom: 0.45rem;
}

.vt-empty p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--gray-500);
}

/* test + review entries */

.vt-record {
    display: flex;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px dashed var(--gray-200);
}

.vt-record:last-child {
    border-bottom: 0;
}

.vt-record-rail {
    width: 3px;
    border-radius: 2px;
    background: var(--green-500);
    flex: 0 0 auto;
}

.vt-record-rail.vt-fail {
    background: var(--red-500);
}

.vt-record-body {
    flex: 1;
}

.vt-record-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.vt-record-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-top: 0.3rem;
}

/* research criteria meters */

.vt-meter-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
}

.vt-meter-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    flex: 1;
    min-width: 0;
}

.vt-meter {
    display: flex;
    gap: 3px;
}

.vt-meter span {
    width: 16px;
    height: 7px;
    border-radius: 2px;
    background: var(--gray-200);
}

.vt-meter span.on {
    background: var(--blue-500);
}

.vt-meter-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--gray-400);
    width: 2.4rem;
    text-align: right;
}

/* red flags */

.vt-flags {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.vt-flag-item {
    display: flex;
    gap: 0.7rem;
    align-items: baseline;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--gray-700);
}

.vt-flag-item::before {
    content: "FLAG";
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 4px;
    padding: 0.12rem 0.4rem;
    flex: 0 0 auto;
}

/* pricing table */

.vt-price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--gray-200);
    font-size: 0.84rem;
}

.vt-price-row:last-child {
    border-bottom: 0;
}

.vt-price-row .vt-price {
    font-family: 'JetBrains Mono', monospace;
    color: var(--gray-900);
    white-space: nowrap;
}

.vt-price-row .vt-product {
    color: var(--gray-600);
}

/* disclosure + legal */

.vt-disclosure {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.vt-disclosure::before {
    content: "DISCLOSURE";
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #b45309;
    flex: 0 0 auto;
}

.vt-legal {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background:
        repeating-linear-gradient(-45deg,
            rgba(148, 163, 184, 0.05) 0 10px,
            transparent 10px 20px),
        var(--white);
    padding: 1.8rem 2rem;
}

.vt-legal h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.7rem;
}

.vt-legal p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.vt-legal p + p {
    margin-top: 0.6rem;
}

/* ---------- suggest a vendor ---------- */

.vt-cta-tile {
    align-items: flex-start;
    justify-content: center;
    border-style: dashed;
    border-width: 1.5px;
    background: transparent;
}

.vt-cta-tile:hover {
    background: var(--white);
    border-style: solid;
}

.vt-cta-plus {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue-600);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.vt-suggest-grid {
    display: grid;
    gap: 1rem 1.4rem;
}

@media (min-width: 768px) {
    .vt-suggest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.vt-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vt-field-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.vt-field--full {
    grid-column: 1 / -1;
}

.vt-field--submit {
    justify-content: flex-end;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .vt-field--submit {
        grid-column: 2;
        align-items: flex-end;
    }
}

.vt-contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    align-items: center;
    padding: 0.55rem 0;
}

.vt-contact-row + .vt-contact-row {
    border-top: 1px dashed var(--gray-200);
}

@media (min-width: 768px) {
    .vt-contact-row {
        grid-template-columns: 165px 185px minmax(0, 1fr) 34px;
    }
}

.vt-contact-row select:disabled {
    color: var(--gray-500);
    background-color: var(--gray-50);
    cursor: default;
}

/* Currency-prefixed number input: a "$" adornment sits inside the field
   so a bare pledge amount reads as money at a glance. */
.vt-input-money {
    position: relative;
    display: flex;
    align-items: center;
}

.vt-input-money-adornment {
    position: absolute;
    left: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-500);
    pointer-events: none;
}

.vt-input-money .ds-input {
    width: 100%;
    padding-left: 1.85rem;
}

.vt-row-remove {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--gray-400);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.vt-row-remove:hover {
    color: var(--red-500);
    border-color: var(--red-500);
}

.vt-add-contact {
    align-self: flex-start;
    margin-top: 0.55rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--blue-600);
    background: none;
    border: 1.5px dashed var(--blue-100);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.vt-add-contact:hover {
    border-color: var(--blue-500);
    background: var(--blue-50);
}

/* snapshot provenance note */

.vt-provenance {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    line-height: 1.6;
    color: var(--gray-400);
}

/* community reviews */

.vt-review-head {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.vt-stars {
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--gray-300);
}

.vt-stars .vt-star.on {
    color: var(--amber-500, #f59e0b);
}

.vt-review-byline {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--gray-400);
}

.vt-report-btn {
    background: none;
    border: 0;
    padding: 0;
    margin-left: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-300);
    cursor: pointer;
}

.vt-report-btn:hover {
    color: var(--red-500);
    text-decoration: underline;
}

/* review form */

.vt-review-form-box {
    margin-top: 1.6rem;
    padding-top: 1.3rem;
    border-top: 1px dashed var(--gray-200);
}

.vt-form-h {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--gray-500);
}

.vt-form-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-top: 0.7rem;
}

.vt-star-input {
    display: flex;
    gap: 0.15rem;
}

.vt-star-btn {
    background: none;
    border: 0;
    padding: 0.1rem;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--gray-300);
    cursor: pointer;
    transition: transform 0.08s ease;
}

.vt-star-btn:hover {
    transform: scale(1.12);
}

.vt-star-btn.on {
    color: var(--amber-500, #f59e0b);
}

.vt-review-contact {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .vt-review-contact {
        grid-template-columns: 1fr 1fr 1.4fr;
    }
}

.vt-review-contact select:disabled {
    opacity: 0.65;
}

/* report modal */

.vt-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.55);
}

.vt-modal.hidden {
    display: none;
}

.vt-modal-box {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.25);
    padding: 1.4rem 1.5rem;
    width: 100%;
    max-width: 30rem;
}

.vt-modal-box textarea {
    width: 100%;
}

.vt-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1rem;
}

.vt-record-rail.vt-pending {
    background: var(--gray-300);
}

/* test pools */

.vt-progress {
    height: 0.55rem;
    border-radius: 999px;
    background: var(--gray-200);
    overflow: hidden;
    margin-top: 0.9rem;
}

.vt-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-500), var(--green-500));
    min-width: 2px;
    transition: width 0.4s ease;
}

/* ============================================================
   Methodology page: score-formula treatment
   Extends the instrument-console language: mono labels, blue
   accent, bordered cards. Scoped under .vt-method / page classes
   so nothing here leaks into the directory or cluster pages.
   ============================================================ */

/* faint engineering grid behind the whole page for atmosphere */
.vt-method {
    position: relative;
}

.vt-method::before {
    content: "";
    position: absolute;
    inset: -2rem 0 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

/* ---------- hero ---------- */

.vt-method-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gray-500);
    margin: 0.9rem 0 0.6rem;
}

.vt-method-eyebrow::before {
    width: 30px;
    height: 3px;
}

.vt-method-asof {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-top: 1.1rem;
}

/* ---------- score inputs as cards ---------- */

.vt-signal-strip--cards {
    gap: 1rem;
}

@media (min-width: 640px) {
    .vt-signal-strip--cards {
        gap: 1rem;
    }
}

.vt-signal-strip--cards .vt-signal {
    position: relative;
    padding: 1.2rem 1.25rem 1.3rem;
    border: 1px solid var(--gray-200);
    border-left: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.vt-signal-strip--cards .vt-signal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.vt-signal-strip--cards .vt-signal:hover {
    border-color: var(--blue-200, #bfdbfe);
    border-left-color: var(--blue-200, #bfdbfe);
    box-shadow: 0 14px 30px -22px rgba(37, 99, 235, 0.55);
    transform: translateY(-2px);
}

.vt-signal-strip--cards .vt-signal:hover::before {
    transform: scaleX(1);
}

.vt-signal-strip--cards .vt-signal-idx {
    font-size: 0.72rem;
    opacity: 0.85;
}

/* ---------- score formula band ---------- */

.vt-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.6rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background:
        repeating-linear-gradient(-45deg,
            rgba(37, 99, 235, 0.035) 0 10px,
            transparent 10px 20px),
        var(--gray-50);
}

.vt-formula-term {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 7px;
    padding: 0.4rem 0.65rem;
}

.vt-formula-op {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-400);
}

.vt-formula-arrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-600);
    margin: 0 0.1rem;
}

.vt-formula-out {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
    border-radius: 7px;
    padding: 0.4rem 0.7rem;
    box-shadow: 0 8px 20px -12px rgba(37, 99, 235, 0.8);
}

.vt-formula-out strong {
    font-weight: 800;
}

.vt-formula-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-top: 0.7rem;
}

/* ---------- exclusions grid ---------- */

.vt-exclude-grid {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 700px) {
    .vt-exclude-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vt-exclude--wide {
        grid-column: 1 / -1;
    }
}

.vt-exclude {
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1.05rem;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    background: var(--white);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.vt-exclude:hover {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.02);
}

.vt-exclude-mark {
    flex: none;
    width: 1.4rem;
    height: 1.4rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--red-500);
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
}

.vt-exclude-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 0.2rem;
}

.vt-exclude-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--gray-500);
}

/* ---------- identity source tags ---------- */

.vt-method-identity {
    border-color: var(--blue-100);
    background:
        radial-gradient(120% 140% at 100% 0%,
            rgba(37, 99, 235, 0.05), transparent 55%),
        var(--white);
}

.vt-source-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
}

.vt-source-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue-600);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.vt-source-tag:hover {
    background: var(--blue-600);
    color: var(--white);
    transform: translateY(-1px);
}

/* ---------- on-load reveal (staggered) ---------- */

.vt-method-reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: vt-method-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.vt-method-reveal:nth-child(1) { animation-delay: 0.02s; }
.vt-method-reveal:nth-child(2) { animation-delay: 0.1s; }
.vt-method-reveal:nth-child(3) { animation-delay: 0.18s; }
.vt-method-reveal:nth-child(4) { animation-delay: 0.26s; }
.vt-method-reveal:nth-child(5) { animation-delay: 0.34s; }

@keyframes vt-method-rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vt-method-reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .vt-signal-strip--cards .vt-signal,
    .vt-source-tag,
    .vt-exclude {
        transition: none;
    }
}

/* ---------- how-pools-work: FAQ accordion ---------- */

.vt-faq {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vt-faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    overflow: hidden;
}

.vt-faq-item > summary {
    cursor: pointer;
    list-style: none;
    padding: 0.95rem 1.15rem;
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.vt-faq-item > summary::-webkit-details-marker {
    display: none;
}

.vt-faq-item > summary::after {
    content: "+";
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    color: var(--gray-400);
    flex-shrink: 0;
}

.vt-faq-item[open] > summary::after {
    content: "\2212";
}

.vt-faq-item[open] > summary {
    border-bottom: 1px solid var(--gray-200);
}

.vt-faq-answer {
    padding: 0.95rem 1.15rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ---------- cluster page: status color treatment ---------- */

/* Filled status pill for the sidebar readout. Same color semantics as the
   header LED (active=green, silent=amber, vanished/exit-scam=red), but a
   solid badge so a vendor's standing is scannable at a glance. */
.vt-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid currentColor;
    white-space: nowrap;
}

.vt-status-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.vt-status-badge--active {
    color: var(--green-600);
    background: rgba(34, 197, 94, 0.10);
}

.vt-status-badge--silent {
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
}

.vt-status-badge--vanished,
.vt-status-badge--exit-scam {
    color: var(--red-500);
    background: rgba(239, 68, 68, 0.10);
}

/* Status-tinted top accent on the cluster header card. */
.vt-cluster-head {
    position: relative;
    overflow: hidden;
}

.vt-cluster-head::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gray-300);
}

.vt-cluster-head--active::before { background: var(--green-500); }
.vt-cluster-head--silent::before { background: var(--amber-500); }
.vt-cluster-head--vanished::before,
.vt-cluster-head--exit-scam::before { background: var(--red-500); }

/* Score-graded research-criteria meters: the lit segments and the n/5
   readout take the same red/amber/green signal as the pros/cons, so a
   weak score reads as weak without parsing the number. */
.vt-meter-row--low .vt-meter span.on { background: var(--red-500); }
.vt-meter-row--mid .vt-meter span.on { background: var(--amber-500); }
.vt-meter-row--high .vt-meter span.on { background: var(--green-500); }

.vt-meter-row--low .vt-meter-num { color: var(--red-500); }
.vt-meter-row--mid .vt-meter-num { color: #b45309; }

/* ── Display ad slot (anonymous visitors only) ──────────────────────────
   AdSense unit styled to sit quietly inside the instrument aesthetic: a
   hairline frame carrying a JetBrains Mono micro-label, so it reads as
   clearly-demarcated paid inventory and stays visually subordinate to the
   Trust Index content it sits beside. The score and the ad must never be
   mistaken for one another. Rendered by vendor_trust/_ad.html. */
.vt-ad {
    margin: 1.5rem 0;
    padding: 0.6rem 0.85rem 0.85rem;
    border: 1px solid var(--gray-200, #e4e4e7);
    border-radius: 3px;
    background: var(--gray-50, #fafafa);
}
.vt-ad-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400, #a1a1aa);
    margin-bottom: 0.55rem;
}
.vt-meter-row--high .vt-meter-num { color: var(--green-600); }

/* ---------- embedded explainer video (how-pools-work) ---------- */
/* A gradient ring frame using the page's two accent colors (blue = the
   flow, green = verified) so the player reads as part of the Trust Index
   system rather than a bolted-on YouTube embed. */
.vt-video {
    margin: 1.15rem 0 0;
}

.vt-video-frame {
    position: relative;
    padding: 3px;                 /* gradient ring thickness */
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-500), var(--green-500) 92%);
    box-shadow: 0 26px 50px -22px rgba(15, 23, 42, 0.45),
                0 8px 18px -10px rgba(37, 99, 235, 0.25);
}

.vt-video-frame > video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 15px;
    background: #0b1220;          /* matches the title-card canvas while it loads */
}

.vt-video-chip {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(11, 18, 32, 0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    pointer-events: none;         /* never blocks the native controls */
}

.vt-video-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 8px -1px rgba(34, 197, 94, 0.9);
}

.vt-video-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: var(--gray-500);
}

.vt-video-caption a {
    color: var(--blue-600);
    font-weight: 600;
    text-decoration: none;
}

.vt-video-caption a:hover {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    /* Honor reduced-motion: stop the loop visually; the poster + native
       controls let the user start it deliberately. */
    .vt-video-frame > video { animation: none; }
}
