  :root {
    /* DPL-frontend brand sync 2026-05-21 — landing tokens aligned with
       the SOC console (frontend/src/app/globals.css + dashboard cards)
       so a prospect clicking through to app.dipoli.io sees the same
       palette they were just looking at. */
    --bg: #15131C;            /* page-level background (--background) */
    --bg-2: #0A0B14;          /* card-base under the gradient overlay */
    --ink: #E6E9F5;           /* --foreground */
    --ink-dim: #8B90B5;       /* --muted-foreground */
    --ink-mute: #6D7290;      /* deeper muted; bumped from #5D6280 to lift contrast on card surfaces */
    --primary: #9387FF;       /* --primary */
    --primary-2: #7C5CFC;     /* deeper accent for gradient stops */
    --primary-soft: rgba(147,135,255,0.10);
    --primary-edge: rgba(147,135,255,0.32);
    --approve: #65D97C;       /* decision green */
    --review: #FFB547;        /* decision amber */
    --block: #FF5E78;         /* decision red */
    /* Card surface = gradient overlay over #0A0B14 (real frontend
       uses this pattern on every card; the shadcn nominal #1F2445
       stays only as the hover/elevated surface). */
    --card: linear-gradient(0deg, rgba(128,140,209,0.10) 0%, rgba(128,140,209,0.10) 100%), #0A0B14;
    --card-2: #1F2445;        /* hover/elevated card surface */
    --border: rgba(42,47,86,0.7);
    --border-2: rgba(147,135,255,0.18);
    --radius: 14px;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--bg); }

  /* Smooth-scroll к anchor links в nav. scroll-padding-top = ровно nav
     height (70px) — заголовок прижимается прямо к нижней кромке navbar. */
  html { scroll-behavior: smooth; scroll-padding-top: 70px; }

  /* Skip-link для keyboard / screen-reader users — прыжок мимо nav к
     основному контенту. Виден только при focus. */
  .skip-link {
    position: absolute; top: -100px; left: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--primary);
    color: #0B0717;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top .2s;
  }
  .skip-link:focus-visible { top: 16px; outline: 2px solid #fff; outline-offset: 2px; }

  /* Global :focus-visible outline для всех interactive элементов —
     keyboard navigation остаётся понятной даже когда базовый outline:none
     срезан в .btn / .tab. */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Уважение к prefers-reduced-motion: вырубаем все декоративные
     animations (pulse, scan, tabIn, liveCore, liveRing, rowIn, ring
     animations). User с motion sensitivity получает статичный layout. */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  body {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
  }
  body::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: -1px -1px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  }
  .glow-1 {
    position: fixed; top: -200px; left: 30%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(124,92,252,0.22) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
  }
  .mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
  main, nav, footer { position: relative; z-index: 1; }

  /* ─────────── NAV ─────────── */
  .nav {
    position: sticky; top: 0; z-index: 30;
    height: 70px;
    background: rgba(5,5,7,0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner {
    max-width: 1320px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; gap: 36px; padding: 0 40px;
  }
  .brand { height: 26px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand img { height: 26px; width: auto; }
  .nav-links { display: flex; gap: 32px; flex: 1; margin-left: 24px; }
  .nav-links a {
    color: var(--ink-dim); font-size: 13.5px; font-weight: 500;
    text-decoration: none; transition: color .2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta { display: flex; gap: 12px; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 9px;
    height: 40px; padding: 0 18px;
    border-radius: 10px; font-size: 13.5px; font-weight: 600;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: transform .15s, box-shadow .2s, border-color .2s, background .2s, color .2s;
    color: var(--ink);
  }
  .btn-ghost { color: var(--ink-dim); border-color: var(--border-2); background: transparent; }
  .btn-ghost:hover { color: var(--ink); border-color: rgba(255,255,255,0.25); }
  .btn-primary {
    color: #0B0717;
    background: linear-gradient(180deg, #B4A0FF 0%, #9387FF 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 8px 22px rgba(124,92,252,0.35);
  }
  .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 28px rgba(124,92,252,0.5); }
  .btn-lg { height: 50px; padding: 0 26px; font-size: 14.5px; border-radius: 12px; }
  .btn .arrow { transition: transform .2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ─────────── LAYOUT ─────────── */
  .container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

  /* ─────────── HERO ─────────── */
  .hero { padding: 120px 0 60px; position: relative; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--primary-edge);
    background: var(--primary-soft);
    color: var(--primary);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 11.5px; font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 36px;
  }
  .eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); box-shadow: 0 0 10px var(--primary);
    animation: pulse 2.4s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
  }
  h1.hero-title {
    font-size: clamp(48px, 7.4vw, 108px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.96;
    margin: 0 0 36px;
    max-width: 1180px;
    text-wrap: balance;
  }
  h1.hero-title .grad {
    background: linear-gradient(180deg, #C7BBFF 0%, #9387FF 60%, #7C5CFC 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .hero-sub {
    font-size: 19px;
    color: var(--ink-dim);
    max-width: 640px;
    margin: 0 0 44px;
    text-wrap: pretty;
    line-height: 1.55;
  }
  .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 80px; }

  /* ─────────── SECTION FRAMING ─────────── */
  /* Section flow — padding-top перенесён в margin-top, чтобы scroll-target
     anchor link'а ложился НА eyebrow (section-num), а не в 72px пустоты
     padding-top сверху. Margin живёт снаружи box'а — это меняет scroll
     position, но визуальный inter-section gap сохраняется (72px bottom
     + 72px margin-top = 144px = что было раньше padding 72 + 72). */
  .section { padding: 0 0 72px 0; margin-top: 72px; position: relative; }
  .section-num {
    display: inline-block;
    color: var(--primary);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
  }
  .section-h {
    font-size: clamp(36px, 5.4vw, 76px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.98;
    margin: 0 0 28px;
    max-width: 980px;
    text-wrap: balance;
  }
  .section-lead {
    color: var(--ink-dim);
    font-size: 18px;
    max-width: 580px;
    margin: 0 0 64px;
    line-height: 1.55;
  }

  /* ─────────── PRODUCT SHOWCASE ─────────── */
  /* Showcase идёт сразу за Hero — hero уже даёт padding-bottom 60,
     поэтому showcase margin-top 0 (без extra 72px). Inter-section gap
     к следующей секции = padding-bottom 72 + её margin-top 72 = 144. */
  .showcase { padding: 0 0 72px; margin-top: 0; }
  .showcase-intro { margin-bottom: 36px; max-width: 720px; }
  .showcase-h { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 10px; line-height: 1.05; }
  .showcase-sub { color: var(--ink-dim); font-size: 16px; margin: 0; line-height: 1.55; }
  .tabs-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 26px;
    flex-wrap: wrap;
  }
  .tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; }
  .tab {
    background: transparent;
    border: 0;
    padding: 18px 18px 22px 18px;
    text-align: left;
    cursor: pointer;
    color: var(--ink-mute);
    transition: color .25s, background .25s;
    position: relative;
    border-radius: 8px 8px 0 0;
  }
  .tab:hover { color: var(--ink-dim); background: rgba(255,255,255,0.015); }
  .tab .t-name { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: inherit; margin-bottom: 6px; }
  .tab .t-meta { display: block; font-size: 12px; color: var(--ink-mute); line-height: 1.45; letter-spacing: 0; }
  .tab.active {
    color: var(--ink);
    background: linear-gradient(180deg, rgba(147,135,255,0.10) 0%, rgba(147,135,255,0.02) 100%);
  }
  .tab.active .t-meta { color: var(--ink-dim); }
  .tab.active::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--primary) 80%, transparent 100%);
    box-shadow: 0 0 18px rgba(147,135,255,0.7);
    animation: tabIn .35s ease;
  }
  @keyframes tabIn { from { transform: scaleX(0.4); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
  .auto-pill {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 6px 14px 6px 12px;
    border: 1px solid var(--border-2);
    border-radius: 999px;
    color: var(--ink-dim);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: rgba(147,135,255,0.04);
  }
  .auto-pill .live { position: relative; width: 8px; height: 8px; display: inline-block; }
  .auto-pill .live::before,
  .auto-pill .live::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--primary);
  }
  .auto-pill .live::before {
    box-shadow: 0 0 12px rgba(147,135,255,0.6), 0 0 24px rgba(147,135,255,0.25);
    animation: liveCore 2.4s ease-in-out infinite;
  }
  .auto-pill .live::after {
    opacity: 0.55;
    animation: liveRing 2.4s ease-out infinite;
  }
  @keyframes liveCore {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.78); opacity: 0.6; }
  }
  @keyframes liveRing {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(3); opacity: 0; }
  }

  .browser {
    border-radius: 16px;
    overflow: hidden;
    /* DPL-frontend brand sync — match the real product page surface
       (page bg = the gradient overlay over #0A0B14, NOT the shadcn
       card token #1F2445 which was leaking a purple navy tint into
       the mocks). Mirrors the exact gradient frontend uses on
       .app-shell / transactions / clients pages. */
    background:
      linear-gradient(0deg, rgba(128,140,209,0.10) 0%, rgba(128,140,209,0.10) 100%),
      #0A0B14;
    border: 1px solid var(--border-2);
    box-shadow:
      0 80px 140px -50px rgba(0,0,0,0.9),
      0 30px 60px -30px rgba(124,92,252,0.25),
      0 0 0 1px var(--border);
    position: relative;
  }
  .browser-bar {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid var(--border);
  }
  .dots { display: flex; gap: 6px; }
  .dots span { width: 10px; height: 10px; border-radius: 50%; }
  .dots span:nth-child(1) { background: #FF5F57; }
  .dots span:nth-child(2) { background: #FEBC2E; }
  .dots span:nth-child(3) { background: #28C840; }
  .url {
    flex: 1; max-width: 480px; margin: 0 auto;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 12px;
    border-radius: 7px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--ink-dim);
    font-size: 12px;
  }
  .url .lock { color: var(--approve); }
  /* Per-scene stage heights so every page fits its full content
     (Иван spotted dashboard truncated below Recent evaluations) —
     each value = mock-nav 50 + mock-page content + buffer. */
  .browser-stage { position: relative; height: 920px; overflow: hidden; transition: height .45s cubic-bezier(.2,.8,.2,1); }
  .browser-stage.h-dash { height: 940px; }
  .browser-stage.h-tx   { height: 720px; }
  .browser-stage.h-bl   { height: 580px; }
  .browser-stage.h-det  { height: 1040px; }
  .scene { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s; }
  .scene.active { opacity: 1; pointer-events: auto; }

  /* ─── mock topnav ─── */
  .mock-nav {
    height: 56px;
    border-bottom: 1px solid var(--border);
    background: rgba(8,8,14,0.6);
    display: flex; align-items: center; gap: 18px;
    padding: 0 18px;
  }
  .mock-nav .brand { height: 22px; }
  .mock-nav .brand img { height: 22px; }
  .mock-nav .vsep { width: 1px; height: 20px; background: var(--border); }
  .mock-tabs { display: flex; gap: 6px; flex: 1; }
  .mock-tab {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 12px;
    border-radius: 999px;
    font-size: 12.5px; font-weight: 600;
    color: var(--ink-mute);
    border: 1px solid transparent;
  }
  .mock-tab.is-active {
    color: var(--ink);
    background: var(--primary-soft);
    border-color: var(--primary-edge);
  }
  .mock-tab svg { width: 13px; height: 13px; }
  .mock-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 6px; font-size: 11px; font-weight: 500;
  }
  .pill-healthy { background: rgba(93,214,143,0.10); color: var(--approve); }
  .pill-shadow { background: rgba(255,181,71,0.10); color: var(--review); }
  .pill-healthy .dot { width: 6px; height: 6px; background: var(--approve); border-radius: 50%; animation: pulse 2s infinite; }
  .mock-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff; font-size: 10px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* ─── mock layout ─── */
  .mock-page { padding: 18px; }
  .mock-h1 { font-size: 20px; font-weight: 700; margin: 0 0 16px; letter-spacing: -0.02em; }
  .grid-5 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; }
  .grid-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 12px; }

  /* Hero metric — byte-identical with frontend HeroMetric component
     (components/dashboard/hero-metric.tsx). 90deg gradient #485590→#808CD1,
     val 44px, rings 220px with overlay checkmark path, scan-strip on left. */
  .hero-metric {
    position: relative; overflow: hidden;
    border-radius: 16px; padding: 24px;
    background: linear-gradient(90deg, #485590 0%, #808CD1 100%);
    box-shadow: 0 16px 40px -12px rgba(124,92,252,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
    color: #fff;
  }
  .hero-metric .lbl { position: relative; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.70); margin-bottom: 12px; }
  .hero-metric .nrow { position: relative; display: flex; align-items: baseline; gap: 12px; }
  .hero-metric .val { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
  .hero-metric .sub { font-size: 13px; color: rgba(255,255,255,0.60); font-weight: 500; }
  .hero-metric svg.rings {
    position: absolute; right: -32px; bottom: -32px; width: 220px; height: 220px;
    opacity: 0.25; pointer-events: none;
  }
  .hero-metric .scan-strip { position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.40) 50%, transparent 100%);
    pointer-events: none;
  }

  /* Metric card — byte-identical with frontend MetricCard component
     (components/dashboard/metric-card.tsx). 5px padding, label-on-top
     val-below structure with icbox in top-right; top accent bar 2px
     opacity 60. */
  .metric {
    position: relative; overflow: hidden;
    border: 1px solid var(--border); border-radius: 12px;
    background: var(--card);
    padding: 20px;
  }
  .metric .top-bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: .6; }
  .metric .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .metric .head .meta { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .metric .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }
  .metric .val { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
  .metric .icbox {
    width: 32px; height: 32px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    flex-shrink: 0;
  }
  .metric .delta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 11px; font-weight: 600; }
  .metric .delta .lab { color: var(--ink-mute); font-weight: 400; font-size: 10px; }
  .metric .delta svg { width: 12px; height: 12px; }
  /* Per-variant tint — gradient bg only, no glow (real MetricCard
     declares a glow in iconVariants but never wires it to the icbox
     className — landing was over-decorating). */
  .v-block .top-bar { background: var(--block); }
  .v-block .icbox { background: linear-gradient(135deg, rgba(239,68,68,0.25), rgba(239,68,68,0.05)); }
  .v-block .icbox svg { color: #F87171; }
  .v-approve .top-bar { background: var(--approve); }
  .v-approve .icbox { background: linear-gradient(135deg, rgba(101,217,124,0.25), rgba(101,217,124,0.05)); }
  .v-approve .icbox svg { color: var(--approve); }
  .v-blue .top-bar { background: var(--primary); }
  .v-blue .icbox { background: linear-gradient(135deg, rgba(124,92,252,0.25), rgba(124,92,252,0.05)); }
  .v-blue .icbox svg { color: #B4A0FF; }
  .v-review .top-bar { background: var(--review); }
  .v-review .icbox { background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(245,158,11,0.05)); }
  .v-review .icbox svg { color: #FBBF24; }

  /* Panel — byte-identical with frontend dashboard cards
     (VolumeChart, DecisionPie, RecentTransactions, TopRules).
     Each has a blurred orb decoration in a corner — colored
     per panel role. */
  .panel {
    border: 1px solid var(--border); border-radius: 8px;
    background: var(--card);
    padding: 20px; position: relative; overflow: hidden;
  }
  /* w-28 h-28 blur-3xl opacity-10 in real product (Tailwind
     blur-3xl = blur(64px)) — landing was at 48px so the orb stayed
     defined enough to read as a visible halo. */
  .panel .orb { position: absolute; width: 112px; height: 112px; border-radius: 50%; filter: blur(64px); opacity: 0.10; pointer-events: none; }
  .panel .orb.tl { top: -40px; left: -40px; }
  .panel .orb.tr { top: -40px; right: -40px; }
  .panel .orb.br { bottom: -40px; right: -40px; }
  .panel .orb.c-primary { background: var(--primary); }
  .panel .orb.c-approve { background: var(--approve); }
  .panel .orb.c-review { background: var(--review); }
  .panel .orb.c-block { background: var(--block); }
  .panel-h { position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 16px; }

  .volume-svg { width: 100%; height: 200px; display: block; }
  .volume-grid line { stroke: var(--border); stroke-dasharray: 3 3; }
  .volume-axis text { fill: var(--ink-mute); font-size: 10px; font-family: ui-monospace; }
  .volume-area { fill: url(#fillVolume); }
  .volume-line { fill: none; stroke: var(--primary); stroke-width: 1.8; }

  .pie-row { display: flex; align-items: center; gap: 18px; }
  .pie-svg { width: 140px; height: 140px; flex-shrink: 0; }
  .legend { flex: 1; display: flex; flex-direction: column; gap: 10px; }
  .legend-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
  .legend-row .lf { display: inline-flex; align-items: center; gap: 8px; }
  .legend-row .swatch { width: 9px; height: 9px; border-radius: 50%; }
  .legend-row .pct { color: var(--ink-mute); font-size: 11px; min-width: 42px; text-align: right; }

  table.tx { width: 100%; border-collapse: collapse; }
  table.tx th, table.tx td { padding: 9px 6px; text-align: left; font-size: 11.5px; border-bottom: 1px solid var(--border); }
  table.tx th { color: var(--ink-mute); font-weight: 500; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
  table.tx td { color: var(--ink); }
  table.tx td.mono, table.tx th.mono { font-family: ui-monospace, monospace; font-size: 11px; }
  table.tx tr.row-anim { animation: rowIn .5s ease both; }
  @keyframes rowIn {
    from { opacity: 0; transform: translateY(-6px); background: var(--primary-soft); }
    to { opacity: 1; transform: translateY(0); background: transparent; }
  }
  .badge { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 10.5px; font-weight: 600; }
  .b-approve { background: rgba(93,214,143,0.16); color: var(--approve); }
  .b-review { background: rgba(255,181,71,0.16); color: var(--review); }
  .b-block { background: rgba(255,94,120,0.18); color: var(--block); }
  .score-low { color: var(--approve); }
  .score-mid { color: var(--review); }
  .score-hi { color: var(--block); }

  .rule { margin-bottom: 12px; }
  .rule-row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; }
  .rule-bar { height: 5px; background: rgba(255,255,255,0.05); border-radius: 999px; overflow: hidden; }
  .rule-bar > span {
    display: block; height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    border-radius: 999px;
    transition: width 1s cubic-bezier(.2,.8,.2,1);
  }

  .filter-bar {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
    padding: 16px; border: 1px solid var(--border); border-radius: 8px;
    /* Brand sync — matches real Transactions page filter bar (same
       gradient overlay surface as the table container below). */
    background: var(--card); margin-bottom: 12px;
  }

  /* Transactions scene — toolbar + filter additions */
  .tx-clear { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-mute); font-size: 12px; cursor: pointer; }
  .tx-clear:hover { color: var(--ink); }
  .tx-clear svg { width: 14px; height: 14px; }
  .tx-export {
    display: inline-flex; align-items: center; gap: 6px;
    height: 30px; padding: 0 12px;
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    border-radius: 6px; color: var(--ink); font-size: 12px; font-weight: 500;
    cursor: pointer;
  }
  .tx-export:hover { background: rgba(255,255,255,0.05); }
  .tx-export svg { width: 14px; height: 14px; }
  .tx-filter .cs2 { grid-column: span 2; }
  .tx-filter .cs3 { grid-column: span 3; }
  .tx-filter .ipt { position: relative; height: 34px; padding: 0 10px; display: flex; align-items: center; font-size: 13px; }
  .tx-filter .ipt.with-icon { padding-left: 28px; }
  .tx-filter .ipt.with-icon > svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; color: var(--ink-mute); }
  .tx-filter .ipt.sel { justify-content: space-between; }
  .tx-filter .ipt.sel > svg { width: 13px; height: 13px; color: var(--ink-mute); }
  .tx-filter .ipt .ph { color: rgba(255,255,255,0.32); }
  .tx-filter .auto-bl {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: end; padding-bottom: 8px;
    font-size: 12px; color: var(--ink-mute);
    text-transform: none; letter-spacing: 0; font-weight: 400;
  }
  .tx-filter .auto-bl .cb {
    width: 13px; height: 13px; border-radius: 3px; border: 1px solid var(--border);
    background: rgba(0,0,0,0.4); flex-shrink: 0;
  }
  .sortable { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
  .sortable svg { width: 12px; height: 12px; opacity: 0.4; }
  .sortable.active { color: var(--ink); }
  .sortable.active svg { opacity: 1; }
  .pager {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--ink-mute);
  }
  .pager .mono { color: var(--ink); font-family: ui-monospace, monospace; }
  .pager-btns { display: flex; gap: 8px; }
  .pg {
    display: inline-flex; align-items: center; gap: 4px;
    height: 28px; padding: 0 10px;
    background: transparent; border: 1px solid var(--border);
    border-radius: 6px; color: var(--ink); font-size: 12px; cursor: pointer;
  }
  .pg:hover:not(.disabled) { background: rgba(255,255,255,0.04); }
  .pg.disabled { opacity: 0.4; cursor: not-allowed; }
  .pg svg { width: 12px; height: 12px; }
  .filter-bar > div { display: flex; flex-direction: column; gap: 4px; }
  .filter-bar label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); }
  .filter-bar .ipt {
    height: 30px; padding: 0 10px;
    background: rgba(0,0,0,0.4); border: 1px solid var(--border);
    border-radius: 7px; font-size: 11.5px; color: var(--ink);
    display: flex; align-items: center;
  }
  .seg { display: inline-flex; gap: 0; height: 30px; border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
  .seg button { background: transparent; border: 0; color: var(--ink-mute); font-size: 11px; font-weight: 600; padding: 0 8px; cursor: pointer; }
  .seg button.act { background: var(--primary-soft); color: var(--ink); }

  .tx-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .tx-count { color: var(--ink-mute); font-size: 12.5px; }
  .tx-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }

  /* Blocklist scene — underline tabs, checkbox cells, sticky bulk bar */
  .bl-tabs.bl-tabs { display: flex; gap: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; padding: 0; margin-bottom: 18px; }
  .bl-tabs.bl-tabs button {
    background: transparent; border: 0; border-bottom: 2px solid transparent;
    color: var(--ink-mute); font-size: 13px; font-weight: 500;
    padding: 8px 16px; cursor: pointer;
    transition: color .2s, border-color .2s;
  }
  .bl-tabs.bl-tabs button:hover { color: var(--ink); }
  .bl-tabs.bl-tabs button.act { color: var(--ink); border-bottom-color: var(--primary); background: transparent; }
  table.tx td .cb-row, table.tx th .cb {
    display: inline-block; width: 13px; height: 13px; border-radius: 3px;
    border: 1px solid var(--border); background: rgba(0,0,0,0.4);
  }
  table.tx td .cb-row.checked, table.tx th .cb.checked { background: var(--primary); border-color: var(--primary); position: relative; }
  table.tx td .cb-row.checked::after, table.tx th .cb.checked::after {
    content: ""; position: absolute; left: 3px; top: 0; width: 5px; height: 9px;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg);
  }
  .bl-bulk {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 12px;
    min-width: 360px; padding: 12px 16px;
    background: linear-gradient(0deg, rgba(128,140,209,0.10) 0%, rgba(128,140,209,0.10) 100%), #15131C;
    border: 1px solid var(--border); border-radius: 8px;
    box-shadow: 0 24px 48px -16px rgba(0,0,0,0.6);
    font-size: 13px; color: var(--ink);
    z-index: 4;
  }
  .bl-bulk .mono { font-family: ui-monospace, monospace; font-weight: 600; }
  .bl-bulk-clear { color: var(--ink-mute); font-size: 12px; cursor: pointer; }
  .bl-bulk-clear:hover { color: var(--ink); }
  .bl-bulk-del {
    display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 12px;
    background: var(--block); color: #fff; border: 0; border-radius: 6px;
    font-size: 12px; font-weight: 500; cursor: pointer;
  }
  .bl-bulk-del:hover { opacity: 0.9; }
  .bl-bulk-del svg { width: 13px; height: 13px; }

  /* legacy bl-tabs kept for fallback */
  .bl-tabs { display: inline-flex; gap: 4px; border: 1px solid var(--border); border-radius: 8px; padding: 3px; margin-bottom: 14px; }
  .bl-tabs button {
    background: transparent; border: 0; color: var(--ink-mute); padding: 6px 14px;
    border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer;
  }
  .bl-tabs button.act { background: var(--primary-soft); color: var(--ink); }
  .bl-desc { color: var(--ink-dim); font-size: 13px; max-width: 720px; margin: 8px 0 16px; }

  /* ─── TX details ─── */
  .det-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-mute); font-size: 12px; text-decoration: none; margin-bottom: 10px; }
  .det-back:hover { color: var(--ink-dim); }
  /* DPL-frontend brand sync — tx-detail header mirrors real page:
     mono tx-id 24px + Copy icon + Share button + decision badge. */
  .det-h2 { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
  .det-h2 .id-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .det-h2 .tx-id { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
  .det-h2 .copy-btn { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: transparent; color: var(--ink-mute); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .det-h2 .copy-btn:hover { color: var(--ink); border-color: var(--border-2); }
  .det-h2 .time { font-size: 12px; color: var(--ink-mute); margin-top: 6px; }
  .det-h2 .chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .det-h2 .chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); font-size: 11px; color: var(--ink-dim); }
  .det-h2 .chip .n { font-family: "JetBrains Mono", monospace; color: var(--ink); font-weight: 600; }
  .det-h2 .actions { display: flex; gap: 8px; align-items: center; }
  .det-h2 .share-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.02); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
  .det-h2 .share-btn:hover { background: rgba(255,255,255,0.05); border-color: var(--border-2); }
  .det-h2 .dec-badge { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid; font-size: 13px; font-weight: 600; }
  .det-h2 .dec-badge.dec-approve { background: rgba(101,217,124,0.10); border-color: rgba(101,217,124,0.35); color: var(--approve); }
  .det-h2 .dec-badge.dec-review { background: rgba(255,181,71,0.10); border-color: rgba(255,181,71,0.35); color: var(--review); }
  .det-h2 .dec-badge.dec-block { background: rgba(255,94,120,0.10); border-color: rgba(255,94,120,0.35); color: var(--block); }
  /* ScoreHero — themed gradient by tier matches real frontend exactly. */
  .det-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; align-items: stretch; }
  .det-score-hero {
    position: relative; overflow: hidden;
    border-radius: 18px; padding: 24px;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  }
  /* Gradient direction + stops byte-identical with frontend SCORE_HERO
     constant (transactions/[id]/page.tsx:81-99). 90deg horizontal sweep,
     dark→bright wider color range so the gradient is actually visible
     against the rendered dark background. */
  .det-score-hero.tier-approve { background: linear-gradient(90deg, #234F36 0%, #4AA160 100%); box-shadow: 0 16px 40px -12px rgba(101,217,124,0.38), inset 0 1px 0 rgba(255,255,255,0.10); }
  .det-score-hero.tier-review  { background: linear-gradient(90deg, #5E4215 0%, #BF8232 100%); box-shadow: 0 16px 40px -12px rgba(255,181,71,0.38), inset 0 1px 0 rgba(255,255,255,0.10); }
  .det-score-hero.tier-block   { background: linear-gradient(90deg, #5D233A 0%, #BD4560 100%); box-shadow: 0 16px 40px -12px rgba(255,94,120,0.40), inset 0 1px 0 rgba(255,255,255,0.10); }
  .det-score-hero .rings { position: absolute; right: -32px; bottom: -32px; width: 220px; height: 220px; opacity: 0.25; pointer-events: none; }
  .det-score-hero .leftbar { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.40) 50%, transparent 100%); }
  .det-score-hero .hero-h { position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 12px; }
  .det-score-hero .hero-num { position: relative; display: flex; align-items: baseline; gap: 8px; }
  .det-score-hero .hero-num .big { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
  .det-score-hero .hero-num .of  { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); }
  .det-score-hero .bar-row { position: relative; height: 6px; background: rgba(255,255,255,0.15); border-radius: 999px; margin-top: 16px; }
  .det-score-hero .bar-row .bar { position: absolute; top: 0; left: 0; bottom: 0; border-radius: 999px; }
  .det-score-hero.tier-approve .bar-row .bar { background: var(--approve); }
  .det-score-hero.tier-review  .bar-row .bar { background: var(--review); }
  .det-score-hero.tier-block   .bar-row .bar { background: var(--block); }
  .det-score-hero .bar-row .marker { position: absolute; top: 50%; width: 14px; height: 14px; background: #fff; border-radius: 50%; transform: translate(-50%, -50%); z-index: 1; }
  .det-score-hero.tier-approve .bar-row .marker { box-shadow: 0 0 0 2px var(--approve), 0 2px 6px rgba(0,0,0,0.4); }
  .det-score-hero.tier-review  .bar-row .marker { box-shadow: 0 0 0 2px var(--review), 0 2px 6px rgba(0,0,0,0.4); }
  .det-score-hero.tier-block   .bar-row .marker { box-shadow: 0 0 0 2px var(--block), 0 2px 6px rgba(0,0,0,0.4); }
  .det-score-hero .ladder { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10px; font-weight: 500; }
  .det-score-hero .ladder span { color: rgba(255,255,255,0.5); }
  .det-score-hero .ladder span.active { color: #fff; font-weight: 700; }
  /* Summary card — header (SectionTitle + headline) + reason items list. */
  .det-summary-card { padding: 0; }
  .det-summary-card .sum-hdr { padding: 16px 18px 14px; border-bottom: 1px solid var(--border); }
  .det-summary-card .sum-hdr .lab { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }
  .det-summary-card .sum-hdr .headline { font-size: 14.5px; font-weight: 600; line-height: 1.4; margin-top: 6px; color: var(--ink); }
  .det-summary-card .sum-hdr .hint { font-size: 12px; color: var(--ink-dim); margin-top: 6px; line-height: 1.55; }
  .det-summary-card .reasons { padding: 4px 0; }
  .det-summary-card .reasons .reason-item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 18px; }
  .det-summary-card .reasons .reason-item + .reason-item { border-top: 1px solid rgba(42,47,86,0.4); }
  .det-summary-card .reasons .ico { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
  .det-summary-card .reasons .ico.t-approve { background: rgba(101,217,124,0.10); color: var(--approve); }
  .det-summary-card .reasons .ico.t-review  { background: rgba(255,181,71,0.10);  color: var(--review); }
  .det-summary-card .reasons .ico.t-block   { background: rgba(255,94,120,0.10);  color: var(--block); }
  .det-summary-card .reasons .ico.t-info    { background: rgba(147,135,255,0.10); color: var(--primary); }
  .det-summary-card .reasons h6 { font-size: 12.5px; font-weight: 600; margin: 0 0 3px; color: var(--ink); }
  .det-summary-card .reasons p { color: var(--ink-dim); font-size: 12px; line-height: 1.55; margin: 0; }
  /* Detail bottom row — Transaction card on left, Same-IP on right. */
  .det-bot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 16px; align-items: stretch; }
  .det-tx-card { padding: 20px; }
  .det-tx-card .sect-title { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 14px; }
  .det-tx-card .fld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 16px; }
  .det-tx-card .fld { display: flex; flex-direction: column; gap: 4px; }
  .det-tx-card .fld .f-l { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
  .det-tx-card .fld .f-v { font-size: 12.5px; color: var(--ink); }
  .det-tx-card .fld .f-v.mono { font-family: "JetBrains Mono", monospace; font-size: 11.5px; }
  .det-tx-card .fld .f-v.dim { color: var(--ink-mute); }
  .det-tx-card .fld .f-v.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .det-tx-card .fld .b-inline { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 600; vertical-align: middle; }
  .det-tx-card .fld .b-inline.b-wl { background: rgba(101,217,124,0.16); color: var(--approve); }
  /* Same-IP card — list of recent transactions sharing the IP. */
  .det-sameip-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
  .det-sameip-card .sect-title { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }
  .det-sameip-card .ip-line { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--ink); }
  .det-sameip-card .ip-meta { font-size: 11.5px; color: var(--ink-mute); }
  .det-sameip-card .sameip-list { display: flex; flex-direction: column; }
  .det-sameip-card .sameip-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(42,47,86,0.4); font-size: 11.5px; }
  .det-sameip-card .sameip-row:last-child { border-bottom: 0; }
  .det-sameip-card .sameip-row .sr-time { color: var(--ink-mute); font-family: "JetBrains Mono", monospace; font-size: 10.5px; }
  .det-sameip-card .sameip-row .sr-id { font-family: "JetBrains Mono", monospace; color: var(--primary); font-size: 11px; }
  .det-sameip-card .sameip-row .sr-amt { font-variant-numeric: tabular-nums; color: var(--ink); }
  .det-sameip-card .sameip-row .badge { font-size: 9.5px; padding: 2px 6px; }
  .det-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }
  .det-title { display: flex; flex-direction: column; gap: 4px; }
  .det-title .id { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
  .det-title .ts { font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--ink-mute); }
  .det-mini { display: flex; gap: 22px; }
  .det-mini .k { font-family: ui-monospace, monospace; font-size: 18px; font-weight: 700; color: var(--ink); }
  .det-mini .l { font-size: 10.5px; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }
  .det-banner {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 16px;
    border: 1px solid rgba(93,214,143,0.30);
    background: rgba(93,214,143,0.06);
    border-radius: 12px;
    margin: 10px 0 14px;
    color: var(--ink-dim);
    font-size: 12.5px;
    line-height: 1.5;
  }
  .det-banner svg { color: var(--approve); flex-shrink: 0; margin-top: 1px; }
  .det-banner strong { color: var(--ink); font-weight: 600; }
  .det-grid { display: grid; grid-template-columns: 1.05fr 1.4fr; gap: 12px; }
  .det-score { padding: 18px; }
  .score-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .score-h .lab { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
  .score-h .badge { font-size: 10.5px; }
  .score-num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--approve); }
  .score-num .of { font-size: 16px; font-weight: 500; color: var(--ink-mute); margin-left: 6px; }
  .score-track {
    position: relative; height: 8px; background: rgba(255,255,255,0.05);
    border-radius: 999px; overflow: visible; margin: 22px 0 8px;
  }
  .score-track .fill {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--approve) 0%, var(--review) 50%, var(--block) 100%);
    border-radius: 999px;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s cubic-bezier(.2,.8,.2,1);
  }
  .score-track .marker {
    position: absolute; top: -4px; width: 2px; height: 16px;
    background: var(--ink); border-radius: 1px;
    transition: left 1.4s cubic-bezier(.2,.8,.2,1);
  }
  .score-track .tick { position: absolute; top: 12px; transform: translateX(-50%); font-family: ui-monospace, monospace; font-size: 10px; color: var(--ink-mute); white-space: nowrap; }
  .score-track .tick.t-app { left: 0%; color: var(--approve); }
  .score-track .tick.t-rev { left: 41%; color: var(--review); }
  .score-track .tick.t-blk { left: 71%; color: var(--block); }

  .det-summary { padding: 18px; }
  .det-summary .panel-h { margin-bottom: 12px; }
  .reason-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
  .reason-item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
  .reason-item .ico {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(93,214,143,0.12); border: 1px solid rgba(93,214,143,0.32);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--approve);
  }
  .reason-item h6 { font-size: 13px; font-weight: 600; margin: 2px 0 4px; }
  .reason-item p { color: var(--ink-dim); font-size: 12px; line-height: 1.5; margin: 0; }

  .det-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 12px; }
  .det-tx { padding: 18px; }
  .tx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 10px; }
  .tx-fields .f-l { font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
  .tx-fields .f-v { font-family: ui-monospace, monospace; font-size: 13px; color: var(--ink); word-break: break-all; }
  .tx-fields .f-v.dim { color: var(--ink-mute); }
  .det-where { padding: 18px; }
  .where-ip { font-family: ui-monospace, monospace; font-size: 18px; font-weight: 700; }
  .where-line { font-size: 12px; color: var(--ink-dim); margin-top: 4px; }
  .where-stats { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
  .where-stat { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 0; border-top: 1px dashed var(--border); }
  .where-stat:first-child { border-top: 0; padding-top: 0; }
  .where-stat .k { color: var(--ink-mute); }
  .where-stat .v { font-family: ui-monospace, monospace; color: var(--ink); }

  /* ─────────── DEFENSE CARDS ─────────── */
  .defense-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
  }
  .def-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)) , var(--card);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, transform .25s;
  }
  .def-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
  .def-eyebrow {
    color: var(--primary);
    font-family: "JetBrains Mono", monospace;
    font-size: 11.5px; font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
  }
  .def-card h3 {
    font-size: 22px; font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    line-height: 1.2;
  }
  .def-card p {
    color: var(--ink-dim);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 24px;
  }

  /* layered chain */
  .chain { display: flex; align-items: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
  .chain-box {
    flex: 1; min-width: 90px;
    border: 1px solid var(--border-2);
    border-radius: 12px;
    background: var(--card-2);
    padding: 14px 12px;
    position: relative;
    overflow: hidden;
  }
  .chain-box::before {
    content: '';
    position: absolute;
    left: -10%; top: 0; bottom: 0; width: 30%;
    background: linear-gradient(90deg, transparent, var(--primary-edge), transparent);
    animation: scan 3.4s ease-in-out infinite;
    opacity: 0.6;
  }
  .chain-box:nth-child(3)::before { animation-delay: 0.6s; }
  .chain-box:nth-child(5)::before { animation-delay: 1.2s; }
  @keyframes scan { 0%, 100% { transform: translateX(0); opacity: 0; } 50% { transform: translateX(380%); opacity: 0.7; } }
  .chain-tag {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid var(--primary-edge);
    border-radius: 6px;
    padding: 2px 7px;
    margin-bottom: 10px;
  }
  .chain-box .name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
  .chain-box .role { color: var(--ink-mute); font-family: "JetBrains Mono", monospace; font-size: 10.5px; margin-top: 3px; }
  .chain-arr { color: var(--ink-mute); flex-shrink: 0; }
  .verdict-box {
    margin-top: 12px;
    border: 1px solid rgba(93,214,143,0.35);
    background: rgba(93,214,143,0.06);
    border-radius: 12px;
    padding: 12px 16px;
  }
  .verdict-box .v-lbl {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; color: rgba(93,214,143,0.8);
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px;
  }
  .verdict-box .v-val {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px; font-weight: 600; color: var(--approve); letter-spacing: 0.04em;
  }

  /* decision bars */
  .dist-row { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 12px; }
  .dist-row:last-child { margin-bottom: 0; }
  .dist-tag {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
    padding: 4px 8px; border-radius: 6px; text-align: center;
  }
  .dist-bar { height: 8px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
  .dist-bar > span { display: block; height: 100%; border-radius: 999px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
  .dist-pct { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-dim); text-align: right; font-variant-numeric: tabular-nums; }

  /* explanation card */
  .reason-card {
    margin-top: 18px;
    border: 1px solid rgba(255,94,120,0.30);
    background: rgba(255,94,120,0.05);
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
  }
  .reason-pill {
    width: 56px; height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255,94,120,0.40);
    background: rgba(255,94,120,0.08);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--block);
    font-family: "JetBrains Mono", monospace;
    flex-shrink: 0;
  }
  .reason-pill .pill-tag { font-size: 9px; letter-spacing: 0.1em; }
  .reason-pill .pill-num { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; margin-top: 2px; }
  .reason-text { color: var(--ink-dim); font-size: 13.5px; line-height: 1.55; }

  /* ─────────── SIGNALS GRID ─────────── */
  .signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
  .signal {
    background: var(--card);
    padding: 28px 26px;
    transition: background .25s;
  }
  .signal:hover { background: var(--card-2); }
  .signal .num {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    display: block;
  }
  .signal h4 { font-size: 17px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.015em; }
  .signal p { color: var(--ink-dim); font-size: 13.5px; margin: 0; line-height: 1.55; }

  /* ─────────── PIPELINE / HOW IT WORKS ─────────── */
  .pipeline {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    padding: 36px 28px 30px;
  }
  .pipe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
  }
  .pipe-step {
    position: relative;
    padding: 0 22px;
    border-right: 1px dashed var(--border);
  }
  .pipe-step:last-child { border-right: 0; }
  .pipe-step .pn {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px; color: var(--primary);
    letter-spacing: 0.06em;
    margin-bottom: 14px;
  }
  .pipe-step .pt {
    font-size: 19px; font-weight: 600; letter-spacing: -0.02em;
    margin: 0 0 10px;
  }
  .pipe-step p {
    color: var(--ink-dim); font-size: 13px; line-height: 1.55; margin: 0 0 16px;
  }
  .pipe-step .pipe-tag {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    padding: 4px 9px;
    border-radius: 7px;
    background: var(--primary-soft);
    border: 1px solid var(--primary-edge);
    color: var(--primary);
  }
  .pipe-foot {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--ink-mute);
    font-size: 13px;
    display: flex; gap: 10px; align-items: center;
  }
  .pipe-foot strong { color: var(--ink-dim); font-weight: 500; }

  /* ─────────── WHO ─────────── */
  .who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .who-list { display: flex; flex-direction: column; gap: 16px; }
  .who-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    /* Brand sync — match product card surface (gradient overlay over
       #0A0B14), same as dashboard/transactions/blocklist cards. Was
       --card-2 (#1F2445) — too navy-purple, out of palette. */
    background: var(--card);
    padding: 18px 20px;
    display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  }
  .who-ic {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--primary-soft);
    border: 1px solid var(--primary-edge);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--primary);
  }
  .who-item h5 { font-size: 14.5px; font-weight: 600; margin: 0 0 3px; letter-spacing: -0.01em; }
  .who-item span { color: var(--ink-mute); font-size: 12.5px; }

  /* ─────────── CTA ─────────── */
  .cta-section { padding: 130px 0 100px; }
  .cta-card {
    position: relative; overflow: hidden;
    padding: 80px 60px;
    border-radius: 24px;
    background:
      radial-gradient(ellipse 60% 80% at 80% 100%, rgba(124,92,252,0.30) 0%, transparent 60%),
      linear-gradient(180deg, #11101A 0%, #08080E 100%);
    border: 1px solid var(--border-2);
  }
  .cta-card::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(147,135,255,0.5) 1px, transparent 1px),
      linear-gradient(90deg, rgba(147,135,255,0.5) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: 0.04;
    pointer-events: none;
  }
  .cta-num { color: var(--primary); font-family: "JetBrains Mono", monospace; font-size: 13px; margin-bottom: 22px; position: relative; }
  .cta-h {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 700; letter-spacing: -0.025em;
    margin: 0 0 22px; line-height: 1.05; max-width: 800px; position: relative;
  }
  .cta-p { color: var(--ink-dim); font-size: 17px; max-width: 620px; margin: 0 0 36px; line-height: 1.55; position: relative; }
  .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

  /* ─────────── FOOTER ─────────── */
  footer {
    border-top: 1px solid var(--border);
    padding: 36px 0 30px;
  }
  .foot { max-width: 1320px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
  .foot .left { display: flex; align-items: center; gap: 16px; color: var(--ink-mute); font-size: 12.5px; }
  .foot .left img { height: 22px; }
  .foot .right { display: flex; gap: 26px; }
  .foot .right a { color: var(--ink-dim); font-size: 12.5px; text-decoration: none; }
  .foot .right a:hover { color: var(--ink); }

  /* ─────────── RESPONSIVE ─────────── */
  @media (max-width: 1100px) {
    .defense-grid { grid-template-columns: 1fr; }
    .pipe-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .pipe-step { border-right: 0; padding: 0 12px; }
    .who-grid { grid-template-columns: 1fr; gap: 30px; }
  }
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .signal-grid { grid-template-columns: 1fr; }
    .tabs { grid-template-columns: repeat(2, 1fr); }
    .grid-5 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .browser-stage { height: 600px; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .cta-card { padding: 50px 28px; }
    .container { padding: 0 24px; }
    .nav-inner { padding: 0 24px; }
    .foot { padding: 0 24px; }
  }
  @media (max-width: 600px) {
    .grid-5 { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .tabs { grid-template-columns: 1fr; }
    .pipe-grid { grid-template-columns: 1fr; }
    .browser-stage { height: 480px; }
    .browser-bar .url { display: none; }
    .hero { padding: 80px 0 40px; }
    .section { padding: 0 0 48px 0; margin-top: 48px; }
  }
