:root {
  /* Light SaaS default â€” Verisoul-mapped (REA): blue #3d6dff, mint #00c999 */
  --bg: #f4f6fb;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: #e2e7f0;
  --text: #101828;
  --muted: #5b6b86;
  --accent: #3d6dff;
  --pass: #00c999;
  --warn: #f0a11a;
  --fail: #ef5b5b;
  --unknown: #94a3b8;
  --radius: 14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 "Source Sans 3", "Segoe UI", sans-serif; }
body.app .brand, body.app h1, body.app h2, body.app h3 { font-family: Manrope, "Segoe UI", sans-serif; letter-spacing: -.02em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: .86em; word-break: break-all; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85em; }
[hidden] { display: none !important; }

.topbar { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg2) 85%, transparent); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; color: var(--text); font-size: 1.1rem; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark, .m-mark {
  width: 28px; height: 28px; border-radius: 8px; display: inline-block;
  background: url('/assets/img/favicon.svg') center / contain no-repeat;
  box-shadow: none !important;
  flex-shrink: 0;
}
.brand-mark { width: 24px; height: 24px; }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 42px 20px 18px; }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.02em; }
.lead { color: var(--muted); max-width: 760px; font-size: 1.05rem; margin: 0; }
.hl-real { color: var(--pass); } .hl-sus { color: var(--warn); } .hl-fake { color: var(--fail); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.grid { display: grid; gap: 18px; margin-bottom: 18px; }
.grid > .card { margin-bottom: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; background: var(--accent); color: #fff; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn[disabled] { opacity: .6; cursor: default; }
.input { width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; }

/* Scanner */
.scanner { display: flex; gap: 28px; align-items: center; padding: 30px; }
.scanner h2 { margin: 0 0 10px; }
.scanner.failed h2 { color: var(--fail); }
.scan-anim { width: 92px; height: 92px; position: relative; flex: none; }
.scan-anim span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--accent); animation: spin 1.1s linear infinite; }
.scan-anim span:nth-child(2) { inset: 12px; border-top-color: var(--pass); animation-duration: 1.6s; animation-direction: reverse; }
.scan-anim span:nth-child(3) { inset: 24px; border-top-color: var(--warn); animation-duration: .8s; }
.scanner.failed .scan-anim span { animation: none; border-top-color: var(--fail); }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 12px; }
.steps li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .9em; }
.steps li.active { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 3px #5b8cff22; }
.steps li.done { border-color: color-mix(in srgb, var(--pass) 50%, var(--line)); color: var(--pass); }
.steps li.done::before { content: "âœ“ "; }

/* Verdict */
.verdict { padding: 26px; position: relative; overflow: hidden; }
.verdict::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--vc); }
.verdict-REAL { --vc: var(--pass); }
.verdict-SUSPICIOUS { --vc: var(--warn); }
.verdict-HIGH_RISK { --vc: var(--fail); }
.verdict-UNKNOWN { --vc: var(--unknown); }
.verdict { background: linear-gradient(120deg, color-mix(in srgb, var(--vc) 13%, var(--card)) 0%, var(--card) 55%); border-color: color-mix(in srgb, var(--vc) 40%, var(--line)); }
.verdict-main { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
@media (max-width: 700px) { .verdict-main { grid-template-columns: 1fr; } .gauge { justify-self: start; } }
.verdict-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: #fff; background: var(--vc); box-shadow: 0 8px 30px color-mix(in srgb, var(--vc) 45%, transparent); }
.verdict-kicker { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--muted); }
.verdict-label { margin: 2px 0; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--vc); letter-spacing: -.01em; line-height: 1.1; }
.verdict-sub { margin: 0 0 8px; font-weight: 600; }
.verdict-summary { margin: 0; color: var(--muted); max-width: 720px; }
.verdict-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92em; color: var(--muted); }
.verdict-meta b { color: var(--text); }
.verdict-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.gauge { width: 132px; height: 132px; }
.gauge-bg { fill: none; stroke: var(--line); stroke-width: 10; }
.gauge-fg { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.g-REAL { stroke: var(--pass); } .g-SUSPICIOUS { stroke: var(--warn); } .g-HIGH_RISK { stroke: var(--fail); } .g-UNKNOWN { stroke: var(--unknown); }
.gauge-num { fill: var(--text); font-size: 30px; font-weight: 800; text-anchor: middle; }
.gauge-lbl { fill: var(--muted); font-size: 10px; letter-spacing: .2em; text-anchor: middle; }

.s-pass { color: var(--pass); } .s-warn { color: var(--warn); } .s-fail { color: var(--fail); } .s-info { color: var(--accent); }

/* Panels */
.panel h3 { margin: 0 0 14px; font-size: 1.05rem; }
.panel h4 { margin: 18px 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 7px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: .92em; }
.kv dd { margin: 0; word-break: break-word; }
.kv dd.big { font-size: 1.05em; font-weight: 700; }
.map { width: 100%; height: 220px; border: 1px solid var(--line); border-radius: 10px; margin-top: 14px; }

.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 140px 1fr 44px; gap: 10px; align-items: center; }
.bar-label { font-size: .92em; }
.bar-track { height: 9px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; transition: width .8s ease; }
.b-pass { background: var(--pass); } .b-warn { background: var(--warn); } .b-fail { background: var(--fail); }
.bar-val { font-family: var(--mono); font-size: .85em; text-align: right; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 4px 11px; border-radius: 999px; font-size: .85em; border: 1px solid var(--line); }
.chip-on { color: var(--fail); border-color: color-mix(in srgb, var(--fail) 55%, var(--line)); background: color-mix(in srgb, var(--fail) 10%, transparent); }
.chip-off { color: var(--muted); }
.codes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.codes-group { text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; color: var(--muted); width: 70px; }
.code { background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); padding: 1px 7px; border-radius: 6px; font-size: .78em; }

.tabs { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.tab { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 6px 14px; border-radius: 999px; font: inherit; font-size: .9em; cursor: pointer; }
.tab.active { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.check-cat { margin: 20px 0 8px !important; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.check-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8em; font-weight: 800; color: #fff; background: var(--muted); margin-top: 1px; }
.check.s-pass .check-icon { background: var(--pass); }
.check.s-warn .check-icon { background: var(--warn); }
.check.s-fail .check-icon { background: var(--fail); }
.check.s-info .check-icon { background: var(--accent); }
.check.s-pass, .check.s-info { color: var(--text); }
.check-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.check-ev { margin: 4px 0 0; color: var(--muted); }
.check-meta { margin: 6px 0 0; font-size: .82em; color: var(--muted); }
.tag { font-size: .72em; padding: 1px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.tag-fail { background: var(--fail); color: #fff; }

.table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .9em; }
.table th, .table td { text-align: left; padding: 7px 6px; border-top: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; }
.pill { padding: 1px 8px; border-radius: 999px; font-size: .8em; font-weight: 700; }
.p-REAL { color: var(--pass); } .p-SUSPICIOUS { color: var(--warn); } .p-HIGH_RISK { color: var(--fail); } .p-UNKNOWN { color: var(--unknown); }
.live { color: var(--accent); margin: 12px 0 0; font-family: var(--mono); }
.timings { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.timing { font-size: .78em; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; color: var(--muted); }
.timing b { color: var(--text); font-weight: 600; }
details.panel summary { cursor: pointer; font-weight: 700; }
.raw { max-height: 520px; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: .8em; margin-top: 14px; }

/* Ads */
.ad-slot { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
.ad-slot > [data-pt] { width: 100%; }
.ad-slot .pt-unit { margin: 0 auto 18px; }
.ad-pair { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 760px) { .ad-pair { grid-template-columns: 1fr 1fr; } }
.ad-after-report { display: none; }
.report-ready .ad-after-report.ad-slot { display: flex; }
.report-ready .ad-pair.ad-after-report { display: grid; }

/* Content pages */
.prose { max-width: 860px; }
.prose h2 { margin-top: 34px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; margin: 12px 0 20px; }
.prose th, .prose td { text-align: left; border-top: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.prose th { color: var(--muted); }
.prose li { margin-bottom: 6px; }

.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0; color: var(--muted); font-size: .9em; }
.footer p { margin: 4px 0; }

/* SaaS */
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.nav-cta { color: #fff !important; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.nav-cta:hover { text-decoration: none; filter: brightness(1.08); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
.feature-grid h3 { margin: 0 0 8px; }
.feature-grid p { margin: 0; }
.integrate-card { margin: 10px 0 28px; }
.integrate-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .integrate-grid { grid-template-columns: 1fr; } }
.code-block { background: #0a1220; color: #d7e3ff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow: auto; font-size: .82rem; line-height: 1.45; margin: 0; }
@media (prefers-color-scheme: light) { .code-block { background: #0f172a; } }
.price { font-size: 2rem; font-weight: 800; margin: 8px 0; }
.card-featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 3px #5b8cff22; }
.pricing-teaser { margin-bottom: 40px; }
.auth-wrap { max-width: 480px; padding: 40px 20px 60px; }
.auth-card h1 { margin: 0 0 8px; font-size: 1.7rem; }
.auth-form { display: grid; gap: 12px; margin: 18px 0; }
.auth-form label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.auth-form .input { margin-top: 0; }
.flash { padding: 12px 14px; border-radius: 10px; margin: 14px 0; font-size: .92rem; }
.flash-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.flash-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.dash { padding: 28px 20px 60px; }
.dash-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 18px; flex-wrap: wrap; }
.dash-head h1 { margin: 0; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stat { font-size: 1.8rem; font-weight: 800; margin: 8px 0; }
.cf-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.meter { height: 8px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.meter > span { display: block; height: 100%; background: var(--accent); }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2, .card h2 { margin: 0 0 12px; font-size: 1.1rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.pill { display: inline-block; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); margin: 2px 4px 2px 0; }
.steps-ol { margin: 0 0 14px; padding-left: 18px; color: var(--muted); }
.steps-ol li { margin-bottom: 8px; }
.docs { padding: 28px 20px 60px; max-width: 900px; }
.docs .card h2 { margin-top: 0; }

/* Verisoul-style app shell — light enterprise */
.dash-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; background: #f6f7f9; }
.vs-shell .dash-side {
  background: #eef0f4; color: #1f2937; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 10px; border-right: 1px solid #e2e5eb;
}
.vs-shell .dash-side a { color: #4b5563; text-decoration: none; }
.vs-shell .dash-side a:hover { color: #111827; background: #e4e7ee; }
.vs-shell .dash-side a.active { color: #111827; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.vs-shell .dash-side-brand { display: flex; gap: 10px; align-items: center; padding: 6px 8px 14px; border-bottom: 1px solid #e2e5eb; }
.vs-shell .dash-side-brand strong { display: block; color: #111827; font-family: Manrope, sans-serif; font-size: .95rem; }
.dash-side { background: #0b1220; color: #c9d6ef; padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.dash-side a { color: #9aabcb; text-decoration: none; }
.dash-side a:hover, .dash-side a.active { color: #fff; }
.dash-side-brand { display: flex; gap: 10px; align-items: center; padding: 6px 8px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.dash-side-brand strong { display: block; color: #fff; font-family: Manrope, sans-serif; }
.dash-side-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 8px 0; }
.dash-side-nav a { padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.dash-side-nav a.active { background: rgba(61,109,255,.22); color: #fff; }
.dash-nav-label { margin: 14px 10px 4px; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; font-weight: 700; }
.vs-shell .dash-nav-label { color: #9ca3af; }
.dash-side-foot { display: flex; flex-direction: column; gap: 8px; padding: 12px 10px 4px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.vs-shell .dash-side-foot { border-top-color: #e2e5eb; }
.dash-user-chip { display: grid; gap: 2px; margin-bottom: 6px; }
.dash-user-chip strong { font-size: .85rem; color: inherit; }
.dash-main { padding: 20px 28px 48px; background: #f6f7f9; }
.vs-shell .dash-main { background: #fafbfc; }
.dash-main-head { margin-bottom: 16px; }
.dash-main-head h1 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; font-weight: 700; }
.vs-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.vs-head-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vs-prod-dot { font-size: .8rem; font-weight: 600; color: #15803d; display: inline-flex; align-items: center; gap: 6px; }
.vs-prod-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.vs-stat { border: 1px solid #e5e7eb; box-shadow: none; border-radius: 10px; background: #fff; }
.vs-filter-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; }
.vs-embed summary { cursor: pointer; font-weight: 600; font-size: .88rem; color: #374151; }
.vs-table-card { padding: 0; overflow: hidden; }
.vs-table-card .card-head { padding: 14px 16px 0; }
.vs-table-wrap { overflow: auto; }
.vs-table { font-size: .82rem; background: #fff; }
.vs-table th { position: sticky; top: 0; background: #f9fafb; font-size: .68rem; white-space: nowrap; }
.vs-table td { white-space: nowrap; vertical-align: middle; }
.vs-table tbody tr:hover { background: #f8fafc; }
.dec-pill { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .75rem; font-weight: 700; }
.dec-fake { background: #fee2e2; color: #b91c1c; }
.dec-real { background: #dcfce7; color: #166534; }
.dec-sus { background: #ffedd5; color: #c2410c; }
.dec-unknown { background: #f1f5f9; color: #475569; }
.cc-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 22px; border-radius: 999px; background: #f3f4f6; font-weight: 700; font-size: .72rem; }
.host-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; font-size: .75rem; font-weight: 600; }
.btn-sm, .input-sm { font-size: .8rem !important; padding: 4px 8px !important; }
.quota-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin-shell .dash-side { background: #101828; }
.admin-shell .dash-side a { color: #9aabcb; }
.admin-shell .dash-side a.active { background: rgba(61,109,255,.22); color: #fff; }
.tier-bars { display: grid; gap: 6px; margin: 10px 0; font-size: .92rem; }
.tier-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.tier-dot.real { background: #00c999; } .tier-dot.sus { background: #f0a11a; } .tier-dot.fake { background: #ef5b5b; }
.tier-track { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--line); }
.tier-track i { display: block; height: 100%; }
.signal-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.signal-pills span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.list-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
body.app .topbar { display: none; }
body.app .footer { display: none; }
.admin-shell .dash-side { background: #101828; }
.admin-shell .dash-side-brand strong::after { content: " · ADMIN"; font-size: .65rem; color: #7aa2ff; letter-spacing: .08em; }

/* Verisoul Account Investigation */
.inv-head { padding: 22px; }
.inv-head-top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 18px; }
.inv-title { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; }
.inv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-head-grid { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: start; }
@media (max-width: 800px) { .inv-head-grid { grid-template-columns: 1fr; } }
.inv-gauge-wrap { text-align: center; }
.inv-gauge { width: 140px; height: 140px; margin: 0 auto; }
.inv-gauge-sub { margin: 6px 0 0; }
.inv-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
@media (min-width: 960px) { .inv-meta-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.inv-meta-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.inv-meta-value { font-size: .95rem; word-break: break-word; }
.inv-copy { margin-left: 6px; border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: .72rem; padding: 2px 6px; cursor: pointer; }
.inv-list-tag { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 8px; border-radius: 6px; background: #fff7ed; color: #c2410c; border: 1px solid #fdba74; font-size: .8rem; font-weight: 700; }
.inv-country { margin-right: 10px; font-weight: 600; }
.inv-summary { margin: 16px 0 0; }
.inv-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 8px 0 16px; }
.inv-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.inv-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.inv-flags h3, .inv-why h3 { margin-top: 0; }
.inv-flag-rows { display: grid; gap: 14px; }
.inv-flag-row { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); align-items: start; }
@media (max-width: 700px) { .inv-flag-row { grid-template-columns: 1fr; } }
.inv-flag-left { display: flex; flex-direction: column; gap: 6px; }
.inv-lvl { display: inline-flex; width: fit-content; font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; }
.inv-lvl-low { background: #ecfdf5; color: #047857; }
.inv-lvl-moderate { background: #fffbeb; color: #b45309; }
.inv-lvl-high { background: #fef2f2; color: #b91c1c; }
.inv-flag-chips, .inv-drivers { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: #f8fafc; font-size: .82rem; font-weight: 600; color: var(--muted); }
.inv-chip-hot { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.inv-reasons { display: grid; gap: 10px; margin: 10px 0 16px; }
.inv-reason { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.inv-tunnel { padding: 10px 12px; border-radius: 10px; background: #fff1f2; color: #9f1239; font-weight: 600; }
.inv-lat-table { font-size: .9rem; }
.inv-pane > .card { margin-bottom: 16px; }
.inv-gauge-big {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto;
  display: grid; place-items: center; text-align: center;
  font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1.1;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(#ef5b5b calc(var(--p) * 1%), #e2e7f0 0);
  border: 1px solid var(--line);
}
.inv-gauge-big span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 4px; }
.inv-dash-main { max-width: 1180px; }
.inv-dash-report { display: grid; gap: 14px; }
.inv-dash-report .inv-head,
.inv-dash-report .inv-flags,
.inv-dash-report .card { border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(16,24,40,.04); border-radius: 12px; background: #fff; }
.inv-dash-report .inv-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) {
  .inv-dash-report .inv-meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.inv-dash-report .inv-tabs { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 4px; margin-bottom: 12px; gap: 2px; }
.inv-dash-report .inv-tab { border-radius: 8px; }
.inv-dash-report .inv-tab.active { background: #111827; color: #fff; border-bottom-color: transparent; }
@media (max-width: 900px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .dash-side-nav { flex-direction: row; flex-wrap: wrap; }
  .dash-side-foot { flex-direction: row; border: 0; }
}


/* ===== marketing (Verisoul-mapped) ===== */
/* Fizoic marketing â€” Verisoul-inspired product UI (REA-mapped tokens) */
:root {
  --fz-bg: #f4f6fb;
  --fz-bg-deep: #0b1220;
  --fz-surface: #ffffff;
  --fz-line: #e2e7f0;
  --fz-text: #101828;
  --fz-muted: #5b6b86;
  --fz-blue: #3d6dff;
  --fz-blue-deep: #1a46e8;
  --fz-mint: #00c999;
  --fz-coral: #ef5b5b;
  --fz-amber: #f0a11a;
  --fz-radius: 18px;
  --fz-shadow: 0 18px 50px rgba(16, 24, 40, .08);
  --fz-font: "Source Sans 3", "Segoe UI", sans-serif;
  --fz-display: Manrope, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mkt {
  margin: 0;
  background: var(--fz-bg);
  color: var(--fz-text);
  font-family: var(--fz-font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.mkt a { color: inherit; text-decoration: none; }
body.mkt img { max-width: 100%; display: block; }

.m-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.m-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fz-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fz-blue);
  margin: 0 0 14px;
}
.m-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--fz-mint); box-shadow: 0 0 0 4px rgba(0,201,153,.18);
}

/* Topbar */
.m-top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(244,246,251,.82);
  border-bottom: 1px solid rgba(226,231,240,.9);
}
.m-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 18px;
}
.m-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fz-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: -.02em;
}
/* .m-mark logo defined with .brand-mark above */
.m-nav { display: flex; align-items: center; gap: 22px; }
.m-nav a { color: var(--fz-muted); font-weight: 600; font-size: .95rem; }
.m-nav a:hover { color: var(--fz-text); }
.m-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 999px;
  background: var(--fz-blue); color: #fff !important; font-weight: 700;
  box-shadow: 0 10px 24px rgba(61,109,255,.28);
}
.m-nav-cta:hover { background: var(--fz-blue-deep); }

.m-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--fz-display); font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.m-btn:hover { transform: translateY(-1px); }
.m-btn-primary {
  background: var(--fz-blue); color: #fff;
  box-shadow: 0 14px 30px rgba(61,109,255,.28);
}
.m-btn-primary:hover { background: var(--fz-blue-deep); }
.m-btn-ghost {
  background: #fff; border-color: var(--fz-line); color: var(--fz-text);
}
.m-btn-ghost:hover { border-color: #c9d3e6; }

/* Hero */
.m-hero {
  padding: 72px 0 36px;
  position: relative;
  overflow: hidden;
}
.m-hero::before {
  content: "";
  position: absolute; inset: -20% 10% auto -10%; height: 70%;
  background:
    radial-gradient(circle at 20% 40%, rgba(61,109,255,.18), transparent 42%),
    radial-gradient(circle at 70% 20%, rgba(0,201,153,.14), transparent 40%);
  pointer-events: none;
}
.m-hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center;
}
.m-hero h1 {
  font-family: var(--fz-display);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  line-height: 1.05; letter-spacing: -.04em;
  margin: 0 0 18px; font-weight: 800;
}
.m-hero h1 .hl {
  background: linear-gradient(90deg, var(--fz-blue), #00a8ff 55%, var(--fz-mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.m-lead {
  margin: 0 0 28px; color: var(--fz-muted); font-size: 1.12rem; max-width: 34rem;
}
.m-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.m-trust-note { color: var(--fz-muted); font-size: .9rem; margin: 0; }

.m-hero-panel {
  background: var(--fz-surface);
  border: 1px solid var(--fz-line);
  border-radius: 24px;
  box-shadow: var(--fz-shadow);
  padding: 18px;
  animation: m-rise .7s ease both;
}
.m-panel-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; padding: 0 4px;
}
.m-panel-top strong { font-family: var(--fz-display); font-size: .85rem; }
.m-dots { display: flex; gap: 6px; }
.m-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d7dde9; display: block; }
.m-decision {
  border-radius: 16px; padding: 18px; margin-bottom: 12px;
  border: 1px solid var(--fz-line);
  background: linear-gradient(135deg, #f7f9ff, #fff);
}
.m-decision.real { border-color: rgba(0,201,153,.35); background: linear-gradient(135deg, #edfff8, #fff); }
.m-decision.fake { border-color: rgba(239,91,91,.35); background: linear-gradient(135deg, #fff1f1, #fff); }
.m-decision.sus { border-color: rgba(240,161,26,.4); background: linear-gradient(135deg, #fff8ea, #fff); }
.m-decision-kicker {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--fz-muted); margin: 0 0 6px;
}
.m-decision-label {
  font-family: var(--fz-display); font-size: 1.7rem; font-weight: 800; margin: 0 0 8px;
}
.m-decision.real .m-decision-label { color: #059669; }
.m-decision.fake .m-decision-label { color: #dc2626; }
.m-decision.sus .m-decision-label { color: #d97706; }
.m-signal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.m-signal {
  border: 1px solid var(--fz-line); border-radius: 12px; padding: 10px 12px; background: #fff;
  font-size: .84rem;
}
.m-signal b { display: block; font-family: var(--fz-display); font-size: .78rem; color: var(--fz-muted); font-weight: 700; }
.m-signal span.ok { color: #059669; font-weight: 700; }
.m-signal span.bad { color: #dc2626; font-weight: 700; }

/* Logo strip */
.m-logos {
  padding: 18px 0 10px; color: var(--fz-muted); text-align: center; font-size: .9rem;
}
.m-logo-row {
  margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  opacity: .72; font-family: var(--fz-display); font-weight: 700; letter-spacing: -.01em;
}

/* Sections */
.m-section { padding: 72px 0; }
.m-section h2 {
  font-family: var(--fz-display); font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -.03em; line-height: 1.15; margin: 0 0 14px; font-weight: 800;
}
.m-section .m-sub { color: var(--fz-muted); max-width: 40rem; margin: 0 0 34px; font-size: 1.05rem; }

.m-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.m-card {
  background: var(--fz-surface); border: 1px solid var(--fz-line);
  border-radius: var(--fz-radius); padding: 22px; box-shadow: 0 1px 0 rgba(16,24,40,.02);
  transition: transform .2s ease, box-shadow .2s ease;
}
.m-card:hover { transform: translateY(-3px); box-shadow: var(--fz-shadow); }
.m-card-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #eef3ff; color: var(--fz-blue); font-weight: 800; margin-bottom: 14px;
  font-family: var(--fz-display); font-size: .85rem;
}
.m-card h3 {
  font-family: var(--fz-display); font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -.01em;
}
.m-card p { margin: 0; color: var(--fz-muted); font-size: .95rem; }

.m-platform {
  background: var(--fz-bg-deep); color: #e8eefc; border-radius: 28px; padding: 42px;
  box-shadow: var(--fz-shadow);
}
.m-platform h2 { color: #fff; }
.m-platform .m-sub { color: #9aabcb; }
.m-platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.m-plat-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 18px;
}
.m-plat-card h3 {
  font-family: var(--fz-display); font-size: 1rem; margin: 0 0 8px; color: #fff;
}
.m-plat-card p { margin: 0; color: #9aabcb; font-size: .92rem; }

.m-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
}
.m-code {
  background: #0b1220; color: #d7e6ff; border-radius: 18px; padding: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .82rem; line-height: 1.5; overflow: auto;
  border: 1px solid #1d2a44;
}
.m-code .cm { color: #7f93b8; }
.m-code .ky { color: #7dd3fc; }
.m-code .st { color: #86efac; }

.m-pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.m-price-card {
  background: #fff; border: 1px solid var(--fz-line); border-radius: 20px; padding: 24px;
}
.m-price-card.featured {
  border-color: rgba(61,109,255,.45);
  box-shadow: 0 0 0 4px rgba(61,109,255,.08), var(--fz-shadow);
}
.m-price {
  font-family: var(--fz-display); font-size: 2.4rem; font-weight: 800; margin: 8px 0 14px;
  letter-spacing: -.03em;
}
.m-price span { font-size: 1rem; color: var(--fz-muted); font-weight: 600; }
.m-price-card ul { margin: 0 0 18px; padding-left: 18px; color: var(--fz-muted); }
.m-price-card li { margin: 6px 0; }

.m-footer {
  border-top: 1px solid var(--fz-line); padding: 36px 0 48px; margin-top: 20px;
  color: var(--fz-muted); font-size: .92rem;
}
.m-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px;
}
.m-footer h4 {
  font-family: var(--fz-display); color: var(--fz-text); margin: 0 0 12px; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.m-footer a { display: block; margin: 8px 0; color: var(--fz-muted); }
.m-footer a:hover { color: var(--fz-text); }

@keyframes m-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.m-hero-copy { animation: m-rise .55s ease both; }

@media (max-width: 960px) {
  .m-hero-grid, .m-feat-grid, .m-platform-grid, .m-pricing, .m-split, .m-footer-grid {
    grid-template-columns: 1fr;
  }
  .m-nav a:not(.m-nav-cta) { display: none; }
  .m-hero { padding-top: 42px; }
  .m-platform { padding: 28px 20px; }
}

.vs-row-actions { white-space: nowrap; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form { display: inline; margin: 0; }
.btn-danger { color: #b91c1c !important; border-color: rgba(185, 28, 28, .35) !important; }
.btn-danger:hover { background: rgba(185, 28, 28, .08) !important; }
.vs-filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 14px;
}
.vs-filters .input { margin: 0; max-width: 280px; }
.vs-filters select.input { max-width: 160px; }

.inv-vs-signals .vs-sig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.vs-sig-col h4 { margin: 0 0 8px; font-size: .95rem; }
.vs-sig-score {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: .85rem; margin: 4px 0;
}
.vs-sig-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.vs-sig-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; padding: 3px 8px; border-radius: 999px;
  background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0;
}
.vs-sig-pill.on { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.vs-sig-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #94a3b8; display: inline-block;
}
.vs-sig-pill.on .vs-sig-dot { background: #dc2626; }
@media (max-width: 900px) {
  .inv-vs-signals .vs-sig-grid { grid-template-columns: 1fr; }
}
